IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/sumatrapdf/ext/lcms2/testbed/extr_testcms2.c_CheckLabOutputGray.c'
source_filename = "AnghaBench/sumatrapdf/ext/lcms2/testbed/extr_testcms2.c_CheckLabOutputGray.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TYPE_Lab_DBL = dso_local local_unnamed_addr global i32 0, align 4
@TYPE_GRAY_8 = dso_local local_unnamed_addr global i32 0, align 4
@INTENT_RELATIVE_COLORIMETRIC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @CheckLabOutputGray], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @CheckLabOutputGray() #0 {
%1 = tail call ptr (...) @Create_GrayLab() #2
%2 = tail call i32 (...) @DbgThread() #2
%3 = tail call ptr @cmsCreateLab4Profile(i32 noundef %2, ptr noundef null) #2
%4 = icmp eq ptr %1, null
%5 = icmp eq ptr %3, null
%6 = select i1 %4, i1 true, i1 %5
br i1 %6, label %39, label %7
7: ; preds = %0
%8 = tail call i32 (...) @DbgThread() #2
%9 = load i32, ptr @TYPE_Lab_DBL, align 4, !tbaa !5
%10 = load i32, ptr @TYPE_GRAY_8, align 4, !tbaa !5
%11 = load i32, ptr @INTENT_RELATIVE_COLORIMETRIC, align 4, !tbaa !5
%12 = tail call i32 @cmsCreateTransform(i32 noundef %8, ptr noundef nonnull %3, i32 noundef %9, ptr noundef nonnull %1, i32 noundef %10, i32 noundef %11, i32 noundef 0) #2
%13 = tail call i32 (...) @DbgThread() #2
%14 = tail call i32 @cmsCloseProfile(i32 noundef %13, ptr noundef nonnull %1) #2
%15 = tail call i32 (...) @DbgThread() #2
%16 = tail call i32 @cmsCloseProfile(i32 noundef %15, ptr noundef nonnull %3) #2
%17 = tail call i32 @CheckOutGray(i32 noundef %12, i32 noundef 0, i32 noundef 0) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %39, label %19
19: ; preds = %7
%20 = tail call i32 @CheckOutGray(i32 noundef %12, i32 noundef 100, i32 noundef 255) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %39, label %25
22: ; preds = %25
%23 = add nuw nsw i32 %26, 1
%24 = icmp eq i32 %23, 100
br i1 %24, label %36, label %25, !llvm.loop !9
25: ; preds = %19, %22
%26 = phi i32 [ %23, %22 ], [ 0, %19 ]
%27 = sitofp i32 %26 to double
%28 = fmul double %27, 2.550000e+02
%29 = fdiv double %28, 1.000000e+02
%30 = fadd double %29, 5.000000e-01
%31 = fptosi double %30 to i32
%32 = tail call i64 @floor(i32 noundef %31) #2
%33 = trunc i64 %32 to i32
%34 = tail call i32 @CheckOutGray(i32 noundef %12, i32 noundef %26, i32 noundef %33) #2
%35 = icmp eq i32 %34, 0
br i1 %35, label %39, label %22
36: ; preds = %22
%37 = tail call i32 (...) @DbgThread() #2
%38 = tail call i32 @cmsDeleteTransform(i32 noundef %37, i32 noundef %12) #2
br label %39
39: ; preds = %25, %19, %7, %0, %36
%40 = phi i32 [ 1, %36 ], [ 0, %0 ], [ 0, %7 ], [ 0, %19 ], [ 0, %25 ]
ret i32 %40
}
declare ptr @Create_GrayLab(...) local_unnamed_addr #1
declare ptr @cmsCreateLab4Profile(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DbgThread(...) local_unnamed_addr #1
declare i32 @cmsCreateTransform(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cmsCloseProfile(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @CheckOutGray(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @floor(i32 noundef) local_unnamed_addr #1
declare i32 @cmsDeleteTransform(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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/lcms2/testbed/extr_testcms2.c_CheckLabOutputGray.c'
source_filename = "AnghaBench/sumatrapdf/ext/lcms2/testbed/extr_testcms2.c_CheckLabOutputGray.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TYPE_Lab_DBL = common local_unnamed_addr global i32 0, align 4
@TYPE_GRAY_8 = common local_unnamed_addr global i32 0, align 4
@INTENT_RELATIVE_COLORIMETRIC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @CheckLabOutputGray], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @CheckLabOutputGray() #0 {
%1 = tail call ptr @Create_GrayLab() #2
%2 = tail call i32 @DbgThread() #2
%3 = tail call ptr @cmsCreateLab4Profile(i32 noundef %2, ptr noundef null) #2
%4 = icmp eq ptr %1, null
%5 = icmp eq ptr %3, null
%6 = select i1 %4, i1 true, i1 %5
br i1 %6, label %39, label %7
7: ; preds = %0
%8 = tail call i32 @DbgThread() #2
%9 = load i32, ptr @TYPE_Lab_DBL, align 4, !tbaa !6
%10 = load i32, ptr @TYPE_GRAY_8, align 4, !tbaa !6
%11 = load i32, ptr @INTENT_RELATIVE_COLORIMETRIC, align 4, !tbaa !6
%12 = tail call i32 @cmsCreateTransform(i32 noundef %8, ptr noundef nonnull %3, i32 noundef %9, ptr noundef nonnull %1, i32 noundef %10, i32 noundef %11, i32 noundef 0) #2
%13 = tail call i32 @DbgThread() #2
%14 = tail call i32 @cmsCloseProfile(i32 noundef %13, ptr noundef nonnull %1) #2
%15 = tail call i32 @DbgThread() #2
%16 = tail call i32 @cmsCloseProfile(i32 noundef %15, ptr noundef nonnull %3) #2
%17 = tail call i32 @CheckOutGray(i32 noundef %12, i32 noundef 0, i32 noundef 0) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %39, label %19
19: ; preds = %7
%20 = tail call i32 @CheckOutGray(i32 noundef %12, i32 noundef 100, i32 noundef 255) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %39, label %25
22: ; preds = %25
%23 = add nuw nsw i32 %26, 1
%24 = icmp eq i32 %23, 100
br i1 %24, label %36, label %25, !llvm.loop !10
25: ; preds = %19, %22
%26 = phi i32 [ %23, %22 ], [ 0, %19 ]
%27 = mul nuw nsw i32 %26, 255
%28 = uitofp nneg i32 %27 to double
%29 = fdiv double %28, 1.000000e+02
%30 = fadd double %29, 5.000000e-01
%31 = fptosi double %30 to i32
%32 = tail call i64 @floor(i32 noundef %31) #2
%33 = trunc i64 %32 to i32
%34 = tail call i32 @CheckOutGray(i32 noundef %12, i32 noundef %26, i32 noundef %33) #2
%35 = icmp eq i32 %34, 0
br i1 %35, label %39, label %22
36: ; preds = %22
%37 = tail call i32 @DbgThread() #2
%38 = tail call i32 @cmsDeleteTransform(i32 noundef %37, i32 noundef %12) #2
br label %39
39: ; preds = %25, %19, %7, %0, %36
%40 = phi i32 [ 1, %36 ], [ 0, %0 ], [ 0, %7 ], [ 0, %19 ], [ 0, %25 ]
ret i32 %40
}
declare ptr @Create_GrayLab(...) local_unnamed_addr #1
declare ptr @cmsCreateLab4Profile(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DbgThread(...) local_unnamed_addr #1
declare i32 @cmsCreateTransform(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cmsCloseProfile(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @CheckOutGray(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @floor(i32 noundef) local_unnamed_addr #1
declare i32 @cmsDeleteTransform(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| sumatrapdf_ext_lcms2_testbed_extr_testcms2.c_CheckLabOutputGray |
; ModuleID = 'AnghaBench/linux/drivers/pci/controller/dwc/extr_pci-dra7xx.c_dra7xx_pcie_get_features.c'
source_filename = "AnghaBench/linux/drivers/pci/controller/dwc/extr_pci-dra7xx.c_dra7xx_pcie_get_features.c"
target datalayout = "e-m:e-p270:32:32-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.pci_epc_features = type { i32 }
@dra7xx_pcie_epc_features = dso_local constant %struct.pci_epc_features zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dra7xx_pcie_get_features], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef nonnull ptr @dra7xx_pcie_get_features(ptr nocapture readnone %0) #0 {
ret ptr @dra7xx_pcie_epc_features
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/pci/controller/dwc/extr_pci-dra7xx.c_dra7xx_pcie_get_features.c'
source_filename = "AnghaBench/linux/drivers/pci/controller/dwc/extr_pci-dra7xx.c_dra7xx_pcie_get_features.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pci_epc_features = type { i32 }
@dra7xx_pcie_epc_features = common global %struct.pci_epc_features zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @dra7xx_pcie_get_features], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef nonnull ptr @dra7xx_pcie_get_features(ptr nocapture readnone %0) #0 {
ret ptr @dra7xx_pcie_epc_features
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_pci_controller_dwc_extr_pci-dra7xx.c_dra7xx_pcie_get_features |
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_inode.c_btrfs_clear_delalloc_extent.c'
source_filename = "AnghaBench/linux/fs/btrfs/extr_inode.c_btrfs_clear_delalloc_extent.c"
target datalayout = "e-m:e-p270:32:32-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.extent_state = type { i32, i64, i64 }
%struct.btrfs_inode = type { i64, i32, i64, i32, i32, ptr, i64 }
%struct.btrfs_fs_info = type { i32, i32, ptr }
@EXTENT_DEFRAG = dso_local local_unnamed_addr global i32 0, align 4
@EXTENT_DELALLOC = dso_local local_unnamed_addr global i32 0, align 4
@EXTENT_CLEAR_META_RESV = dso_local local_unnamed_addr global i32 0, align 4
@BTRFS_DATA_RELOC_TREE_OBJECTID = dso_local local_unnamed_addr global i64 0, align 8
@EXTENT_NORESERVE = dso_local local_unnamed_addr global i32 0, align 4
@EXTENT_CLEAR_DATA_RESV = dso_local local_unnamed_addr global i32 0, align 4
@BTRFS_INODE_IN_DELALLOC_LIST = dso_local local_unnamed_addr global i32 0, align 4
@EXTENT_DELALLOC_NEW = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @btrfs_clear_delalloc_extent(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = tail call ptr @BTRFS_I(ptr noundef %0) #2
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = tail call ptr @btrfs_sb(i32 noundef %5) #2
%7 = getelementptr inbounds %struct.extent_state, ptr %1, i64 0, i32 2
%8 = load i64, ptr %7, align 8, !tbaa !10
%9 = add nsw i64 %8, 1
%10 = getelementptr inbounds %struct.extent_state, ptr %1, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = sub i64 %9, %11
%13 = tail call i32 @count_max_extents(i64 noundef %12) #2
%14 = load i32, ptr %1, align 8, !tbaa !14
%15 = load i32, ptr @EXTENT_DEFRAG, align 4, !tbaa !15
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %30, label %18
18: ; preds = %3
%19 = load i32, ptr %2, align 4, !tbaa !15
%20 = and i32 %19, %15
%21 = icmp eq i32 %20, 0
br i1 %21, label %30, label %22
22: ; preds = %18
%23 = getelementptr inbounds %struct.btrfs_inode, ptr %4, i64 0, i32 1
%24 = tail call i32 @spin_lock(ptr noundef nonnull %23) #2
%25 = getelementptr inbounds %struct.btrfs_inode, ptr %4, i64 0, i32 6
%26 = load i64, ptr %25, align 8, !tbaa !16
%27 = sub nsw i64 %26, %12
store i64 %27, ptr %25, align 8, !tbaa !16
%28 = tail call i32 @spin_unlock(ptr noundef nonnull %23) #2
%29 = load i32, ptr %1, align 8, !tbaa !14
br label %30
30: ; preds = %22, %18, %3
%31 = phi i32 [ %29, %22 ], [ %14, %18 ], [ %14, %3 ]
%32 = load i32, ptr @EXTENT_DELALLOC, align 4, !tbaa !15
%33 = and i32 %32, %31
%34 = icmp eq i32 %33, 0
br i1 %34, label %101, label %35
35: ; preds = %30
%36 = load i32, ptr %2, align 4, !tbaa !15
%37 = and i32 %36, %32
%38 = icmp eq i32 %37, 0
br i1 %38, label %101, label %39
39: ; preds = %35
%40 = getelementptr inbounds %struct.btrfs_inode, ptr %4, i64 0, i32 5
%41 = load ptr, ptr %40, align 8, !tbaa !19
%42 = tail call i32 @btrfs_is_free_space_inode(ptr noundef %4) #2
%43 = icmp eq i32 %42, 0
%44 = getelementptr inbounds %struct.btrfs_inode, ptr %4, i64 0, i32 1
%45 = tail call i32 @spin_lock(ptr noundef nonnull %44) #2
%46 = sub nsw i32 0, %13
%47 = tail call i32 @btrfs_mod_outstanding_extents(ptr noundef %4, i32 noundef %46) #2
%48 = tail call i32 @spin_unlock(ptr noundef nonnull %44) #2
%49 = load i32, ptr %2, align 4, !tbaa !15
%50 = load i32, ptr @EXTENT_CLEAR_META_RESV, align 4, !tbaa !15
%51 = and i32 %50, %49
%52 = icmp eq i32 %51, 0
br i1 %52, label %59, label %53
53: ; preds = %39
%54 = getelementptr inbounds %struct.btrfs_fs_info, ptr %6, i64 0, i32 2
%55 = load ptr, ptr %54, align 8, !tbaa !20
%56 = icmp eq ptr %41, %55
br i1 %56, label %59, label %57
57: ; preds = %53
%58 = tail call i32 @btrfs_delalloc_release_metadata(ptr noundef nonnull %4, i64 noundef %12, i32 noundef 0) #2
br label %59
59: ; preds = %57, %53, %39
%60 = tail call i64 @btrfs_is_testing(ptr noundef %6) #2
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %121
62: ; preds = %59
%63 = load i64, ptr %41, align 8, !tbaa !22
%64 = load i64, ptr @BTRFS_DATA_RELOC_TREE_OBJECTID, align 8, !tbaa !25
%65 = icmp ne i64 %63, %64
%66 = select i1 %65, i1 %43, i1 false
br i1 %66, label %67, label %81
67: ; preds = %62
%68 = load i32, ptr %1, align 8, !tbaa !14
%69 = load i32, ptr @EXTENT_NORESERVE, align 4, !tbaa !15
%70 = and i32 %69, %68
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %81
72: ; preds = %67
%73 = load i32, ptr %2, align 4, !tbaa !15
%74 = load i32, ptr @EXTENT_CLEAR_DATA_RESV, align 4, !tbaa !15
%75 = and i32 %74, %73
%76 = icmp eq i32 %75, 0
br i1 %76, label %81, label %77
77: ; preds = %72
%78 = getelementptr inbounds %struct.btrfs_inode, ptr %4, i64 0, i32 4
%79 = load i64, ptr %10, align 8, !tbaa !13
%80 = tail call i32 @btrfs_free_reserved_data_space_noquota(ptr noundef nonnull %78, i64 noundef %79, i64 noundef %12) #2
br label %81
81: ; preds = %77, %72, %67, %62
%82 = getelementptr inbounds %struct.btrfs_fs_info, ptr %6, i64 0, i32 1
%83 = sub nsw i64 0, %12
%84 = load i32, ptr %6, align 8, !tbaa !26
%85 = tail call i32 @percpu_counter_add_batch(ptr noundef nonnull %82, i64 noundef %83, i32 noundef %84) #2
%86 = tail call i32 @spin_lock(ptr noundef nonnull %44) #2
%87 = load i64, ptr %4, align 8, !tbaa !27
%88 = sub nsw i64 %87, %12
store i64 %88, ptr %4, align 8, !tbaa !27
%89 = icmp eq i64 %87, %12
%90 = select i1 %43, i1 %89, i1 false
br i1 %90, label %91, label %98
91: ; preds = %81
%92 = load i32, ptr @BTRFS_INODE_IN_DELALLOC_LIST, align 4, !tbaa !15
%93 = getelementptr inbounds %struct.btrfs_inode, ptr %4, i64 0, i32 3
%94 = tail call i64 @test_bit(i32 noundef %92, ptr noundef nonnull %93) #2
%95 = icmp eq i64 %94, 0
br i1 %95, label %98, label %96
96: ; preds = %91
%97 = tail call i32 @btrfs_del_delalloc_inode(ptr noundef nonnull %41, ptr noundef nonnull %4) #2
br label %98
98: ; preds = %96, %91, %81
%99 = tail call i32 @spin_unlock(ptr noundef nonnull %44) #2
%100 = load i32, ptr %1, align 8, !tbaa !14
br label %101
101: ; preds = %98, %35, %30
%102 = phi i32 [ %100, %98 ], [ %31, %35 ], [ %31, %30 ]
%103 = load i32, ptr @EXTENT_DELALLOC_NEW, align 4, !tbaa !15
%104 = and i32 %103, %102
%105 = icmp eq i32 %104, 0
br i1 %105, label %121, label %106
106: ; preds = %101
%107 = load i32, ptr %2, align 4, !tbaa !15
%108 = and i32 %107, %103
%109 = icmp eq i32 %108, 0
br i1 %109, label %121, label %110
110: ; preds = %106
%111 = getelementptr inbounds %struct.btrfs_inode, ptr %4, i64 0, i32 1
%112 = tail call i32 @spin_lock(ptr noundef nonnull %111) #2
%113 = getelementptr inbounds %struct.btrfs_inode, ptr %4, i64 0, i32 2
%114 = load i64, ptr %113, align 8, !tbaa !28
%115 = icmp sge i64 %114, %12
%116 = zext i1 %115 to i32
%117 = tail call i32 @ASSERT(i32 noundef %116) #2
%118 = load i64, ptr %113, align 8, !tbaa !28
%119 = sub nsw i64 %118, %12
store i64 %119, ptr %113, align 8, !tbaa !28
%120 = tail call i32 @spin_unlock(ptr noundef nonnull %111) #2
br label %121
121: ; preds = %59, %101, %106, %110
ret void
}
declare ptr @BTRFS_I(ptr noundef) local_unnamed_addr #1
declare ptr @btrfs_sb(i32 noundef) local_unnamed_addr #1
declare i32 @count_max_extents(i64 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @btrfs_is_free_space_inode(ptr noundef) local_unnamed_addr #1
declare i32 @btrfs_mod_outstanding_extents(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @btrfs_delalloc_release_metadata(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @btrfs_is_testing(ptr noundef) local_unnamed_addr #1
declare i32 @btrfs_free_reserved_data_space_noquota(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @percpu_counter_add_batch(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @btrfs_del_delalloc_inode(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"inode", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 16}
!11 = !{!"extent_state", !7, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!11, !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !12, i64 40}
!17 = !{!"btrfs_inode", !12, i64 0, !7, i64 8, !12, i64 16, !7, i64 24, !7, i64 28, !18, i64 32, !12, i64 40}
!18 = !{!"any pointer", !8, i64 0}
!19 = !{!17, !18, i64 32}
!20 = !{!21, !18, i64 8}
!21 = !{!"btrfs_fs_info", !7, i64 0, !7, i64 4, !18, i64 8}
!22 = !{!23, !12, i64 0}
!23 = !{!"btrfs_root", !24, i64 0}
!24 = !{!"TYPE_2__", !12, i64 0}
!25 = !{!12, !12, i64 0}
!26 = !{!21, !7, i64 0}
!27 = !{!17, !12, i64 0}
!28 = !{!17, !12, i64 16}
| ; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_inode.c_btrfs_clear_delalloc_extent.c'
source_filename = "AnghaBench/linux/fs/btrfs/extr_inode.c_btrfs_clear_delalloc_extent.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EXTENT_DEFRAG = common local_unnamed_addr global i32 0, align 4
@EXTENT_DELALLOC = common local_unnamed_addr global i32 0, align 4
@EXTENT_CLEAR_META_RESV = common local_unnamed_addr global i32 0, align 4
@BTRFS_DATA_RELOC_TREE_OBJECTID = common local_unnamed_addr global i64 0, align 8
@EXTENT_NORESERVE = common local_unnamed_addr global i32 0, align 4
@EXTENT_CLEAR_DATA_RESV = common local_unnamed_addr global i32 0, align 4
@BTRFS_INODE_IN_DELALLOC_LIST = common local_unnamed_addr global i32 0, align 4
@EXTENT_DELALLOC_NEW = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @btrfs_clear_delalloc_extent(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = tail call ptr @BTRFS_I(ptr noundef %0) #2
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call ptr @btrfs_sb(i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %1, i64 16
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = add nsw i64 %8, 1
%10 = getelementptr inbounds i8, ptr %1, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !14
%12 = sub i64 %9, %11
%13 = tail call i32 @count_max_extents(i64 noundef %12) #2
%14 = load i32, ptr %1, align 8, !tbaa !15
%15 = load i32, ptr @EXTENT_DEFRAG, align 4, !tbaa !16
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %30, label %18
18: ; preds = %3
%19 = load i32, ptr %2, align 4, !tbaa !16
%20 = and i32 %19, %15
%21 = icmp eq i32 %20, 0
br i1 %21, label %30, label %22
22: ; preds = %18
%23 = getelementptr inbounds i8, ptr %4, i64 8
%24 = tail call i32 @spin_lock(ptr noundef nonnull %23) #2
%25 = getelementptr inbounds i8, ptr %4, i64 40
%26 = load i64, ptr %25, align 8, !tbaa !17
%27 = sub nsw i64 %26, %12
store i64 %27, ptr %25, align 8, !tbaa !17
%28 = tail call i32 @spin_unlock(ptr noundef nonnull %23) #2
%29 = load i32, ptr %1, align 8, !tbaa !15
br label %30
30: ; preds = %22, %18, %3
%31 = phi i32 [ %29, %22 ], [ %14, %18 ], [ %14, %3 ]
%32 = load i32, ptr @EXTENT_DELALLOC, align 4, !tbaa !16
%33 = and i32 %32, %31
%34 = icmp eq i32 %33, 0
br i1 %34, label %101, label %35
35: ; preds = %30
%36 = load i32, ptr %2, align 4, !tbaa !16
%37 = and i32 %36, %32
%38 = icmp eq i32 %37, 0
br i1 %38, label %101, label %39
39: ; preds = %35
%40 = getelementptr inbounds i8, ptr %4, i64 32
%41 = load ptr, ptr %40, align 8, !tbaa !20
%42 = tail call i32 @btrfs_is_free_space_inode(ptr noundef %4) #2
%43 = icmp eq i32 %42, 0
%44 = getelementptr inbounds i8, ptr %4, i64 8
%45 = tail call i32 @spin_lock(ptr noundef nonnull %44) #2
%46 = sub nsw i32 0, %13
%47 = tail call i32 @btrfs_mod_outstanding_extents(ptr noundef %4, i32 noundef %46) #2
%48 = tail call i32 @spin_unlock(ptr noundef nonnull %44) #2
%49 = load i32, ptr %2, align 4, !tbaa !16
%50 = load i32, ptr @EXTENT_CLEAR_META_RESV, align 4, !tbaa !16
%51 = and i32 %50, %49
%52 = icmp eq i32 %51, 0
br i1 %52, label %59, label %53
53: ; preds = %39
%54 = getelementptr inbounds i8, ptr %6, i64 8
%55 = load ptr, ptr %54, align 8, !tbaa !21
%56 = icmp eq ptr %41, %55
br i1 %56, label %59, label %57
57: ; preds = %53
%58 = tail call i32 @btrfs_delalloc_release_metadata(ptr noundef nonnull %4, i64 noundef %12, i32 noundef 0) #2
br label %59
59: ; preds = %57, %53, %39
%60 = tail call i64 @btrfs_is_testing(ptr noundef %6) #2
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %121
62: ; preds = %59
%63 = load i64, ptr %41, align 8, !tbaa !23
%64 = load i64, ptr @BTRFS_DATA_RELOC_TREE_OBJECTID, align 8, !tbaa !26
%65 = icmp ne i64 %63, %64
%66 = select i1 %65, i1 %43, i1 false
br i1 %66, label %67, label %81
67: ; preds = %62
%68 = load i32, ptr %1, align 8, !tbaa !15
%69 = load i32, ptr @EXTENT_NORESERVE, align 4, !tbaa !16
%70 = and i32 %69, %68
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %81
72: ; preds = %67
%73 = load i32, ptr %2, align 4, !tbaa !16
%74 = load i32, ptr @EXTENT_CLEAR_DATA_RESV, align 4, !tbaa !16
%75 = and i32 %74, %73
%76 = icmp eq i32 %75, 0
br i1 %76, label %81, label %77
77: ; preds = %72
%78 = getelementptr inbounds i8, ptr %4, i64 28
%79 = load i64, ptr %10, align 8, !tbaa !14
%80 = tail call i32 @btrfs_free_reserved_data_space_noquota(ptr noundef nonnull %78, i64 noundef %79, i64 noundef %12) #2
br label %81
81: ; preds = %77, %72, %67, %62
%82 = getelementptr inbounds i8, ptr %6, i64 4
%83 = sub nsw i64 0, %12
%84 = load i32, ptr %6, align 8, !tbaa !27
%85 = tail call i32 @percpu_counter_add_batch(ptr noundef nonnull %82, i64 noundef %83, i32 noundef %84) #2
%86 = tail call i32 @spin_lock(ptr noundef nonnull %44) #2
%87 = load i64, ptr %4, align 8, !tbaa !28
%88 = sub nsw i64 %87, %12
store i64 %88, ptr %4, align 8, !tbaa !28
%89 = icmp eq i64 %87, %12
%90 = select i1 %43, i1 %89, i1 false
br i1 %90, label %91, label %98
91: ; preds = %81
%92 = load i32, ptr @BTRFS_INODE_IN_DELALLOC_LIST, align 4, !tbaa !16
%93 = getelementptr inbounds i8, ptr %4, i64 24
%94 = tail call i64 @test_bit(i32 noundef %92, ptr noundef nonnull %93) #2
%95 = icmp eq i64 %94, 0
br i1 %95, label %98, label %96
96: ; preds = %91
%97 = tail call i32 @btrfs_del_delalloc_inode(ptr noundef nonnull %41, ptr noundef nonnull %4) #2
br label %98
98: ; preds = %96, %91, %81
%99 = tail call i32 @spin_unlock(ptr noundef nonnull %44) #2
%100 = load i32, ptr %1, align 8, !tbaa !15
br label %101
101: ; preds = %98, %35, %30
%102 = phi i32 [ %100, %98 ], [ %31, %35 ], [ %31, %30 ]
%103 = load i32, ptr @EXTENT_DELALLOC_NEW, align 4, !tbaa !16
%104 = and i32 %103, %102
%105 = icmp eq i32 %104, 0
br i1 %105, label %121, label %106
106: ; preds = %101
%107 = load i32, ptr %2, align 4, !tbaa !16
%108 = and i32 %107, %103
%109 = icmp eq i32 %108, 0
br i1 %109, label %121, label %110
110: ; preds = %106
%111 = getelementptr inbounds i8, ptr %4, i64 8
%112 = tail call i32 @spin_lock(ptr noundef nonnull %111) #2
%113 = getelementptr inbounds i8, ptr %4, i64 16
%114 = load i64, ptr %113, align 8, !tbaa !29
%115 = icmp sge i64 %114, %12
%116 = zext i1 %115 to i32
%117 = tail call i32 @ASSERT(i32 noundef %116) #2
%118 = load i64, ptr %113, align 8, !tbaa !29
%119 = sub nsw i64 %118, %12
store i64 %119, ptr %113, align 8, !tbaa !29
%120 = tail call i32 @spin_unlock(ptr noundef nonnull %111) #2
br label %121
121: ; preds = %59, %101, %106, %110
ret void
}
declare ptr @BTRFS_I(ptr noundef) local_unnamed_addr #1
declare ptr @btrfs_sb(i32 noundef) local_unnamed_addr #1
declare i32 @count_max_extents(i64 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @btrfs_is_free_space_inode(ptr noundef) local_unnamed_addr #1
declare i32 @btrfs_mod_outstanding_extents(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @btrfs_delalloc_release_metadata(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @btrfs_is_testing(ptr noundef) local_unnamed_addr #1
declare i32 @btrfs_free_reserved_data_space_noquota(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @percpu_counter_add_batch(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @btrfs_del_delalloc_inode(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"inode", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 16}
!12 = !{!"extent_state", !8, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"long", !9, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!12, !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !13, i64 40}
!18 = !{!"btrfs_inode", !13, i64 0, !8, i64 8, !13, i64 16, !8, i64 24, !8, i64 28, !19, i64 32, !13, i64 40}
!19 = !{!"any pointer", !9, i64 0}
!20 = !{!18, !19, i64 32}
!21 = !{!22, !19, i64 8}
!22 = !{!"btrfs_fs_info", !8, i64 0, !8, i64 4, !19, i64 8}
!23 = !{!24, !13, i64 0}
!24 = !{!"btrfs_root", !25, i64 0}
!25 = !{!"TYPE_2__", !13, i64 0}
!26 = !{!13, !13, i64 0}
!27 = !{!22, !8, i64 0}
!28 = !{!18, !13, i64 0}
!29 = !{!18, !13, i64 16}
| linux_fs_btrfs_extr_inode.c_btrfs_clear_delalloc_extent |
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_vxlan.c_vxlan_socket_mc_leave_group.c'
source_filename = "AnghaBench/freebsd/sys/net/extr_if_vxlan.c_vxlan_socket_mc_leave_group.c"
target datalayout = "e-m:e-p270:32:32-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.sockopt = type { i32, ptr, i32, i32, i32 }
%struct.ip_mreq = type { i32, i32, i32, i32 }
%struct.ipv6_mreq = type { i32, i32, i32, i32 }
@SOPT_SET = dso_local local_unnamed_addr global i32 0, align 4
@IPPROTO_IP = dso_local local_unnamed_addr global i32 0, align 4
@IP_DROP_MEMBERSHIP = dso_local local_unnamed_addr global i32 0, align 4
@IPPROTO_IPV6 = dso_local local_unnamed_addr global i32 0, align 4
@IPV6_LEAVE_GROUP = dso_local local_unnamed_addr global i32 0, align 4
@EAFNOSUPPORT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vxlan_socket_mc_leave_group], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vxlan_socket_mc_leave_group(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 {
%5 = alloca %struct.sockopt, align 8
%6 = alloca %struct.ip_mreq, align 4
%7 = alloca %struct.ipv6_mreq, align 4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3
%8 = call i32 @bzero(ptr noundef nonnull %5, i32 noundef 32) #3
%9 = load i32, ptr @SOPT_SET, align 4, !tbaa !5
%10 = getelementptr inbounds %struct.sockopt, ptr %5, i64 0, i32 4
store i32 %9, ptr %10, align 8, !tbaa !9
%11 = call i64 @VXLAN_SOCKADDR_IS_IPV4(ptr noundef %1) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %25, label %13
13: ; preds = %4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
%14 = load i32, ptr %1, align 4, !tbaa !12
%15 = getelementptr inbounds %struct.ip_mreq, ptr %6, i64 0, i32 3
store i32 %14, ptr %15, align 4, !tbaa !13
%16 = load i32, ptr %2, align 4, !tbaa !12
%17 = getelementptr inbounds %struct.ip_mreq, ptr %6, i64 0, i32 2
store i32 %16, ptr %17, align 4, !tbaa !15
%18 = load i32, ptr @IPPROTO_IP, align 4, !tbaa !5
%19 = getelementptr inbounds %struct.sockopt, ptr %5, i64 0, i32 3
store i32 %18, ptr %19, align 4, !tbaa !16
%20 = load i32, ptr @IP_DROP_MEMBERSHIP, align 4, !tbaa !5
%21 = getelementptr inbounds %struct.sockopt, ptr %5, i64 0, i32 2
store i32 %20, ptr %21, align 8, !tbaa !17
%22 = getelementptr inbounds %struct.sockopt, ptr %5, i64 0, i32 1
store ptr %6, ptr %22, align 8, !tbaa !18
store i32 16, ptr %5, align 8, !tbaa !19
%23 = load i32, ptr %0, align 4, !tbaa !20
%24 = call i32 @sosetopt(i32 noundef %23, ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
br label %40
25: ; preds = %4
%26 = call i64 @VXLAN_SOCKADDR_IS_IPV6(ptr noundef %1) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %38, label %28
28: ; preds = %25
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #3
%29 = load i32, ptr %1, align 4, !tbaa !12
%30 = getelementptr inbounds %struct.ipv6_mreq, ptr %7, i64 0, i32 1
store i32 %29, ptr %30, align 4, !tbaa !22
store i32 %3, ptr %7, align 4, !tbaa !24
%31 = load i32, ptr @IPPROTO_IPV6, align 4, !tbaa !5
%32 = getelementptr inbounds %struct.sockopt, ptr %5, i64 0, i32 3
store i32 %31, ptr %32, align 4, !tbaa !16
%33 = load i32, ptr @IPV6_LEAVE_GROUP, align 4, !tbaa !5
%34 = getelementptr inbounds %struct.sockopt, ptr %5, i64 0, i32 2
store i32 %33, ptr %34, align 8, !tbaa !17
%35 = getelementptr inbounds %struct.sockopt, ptr %5, i64 0, i32 1
store ptr %7, ptr %35, align 8, !tbaa !18
store i32 16, ptr %5, align 8, !tbaa !19
%36 = load i32, ptr %0, align 4, !tbaa !20
%37 = call i32 @sosetopt(i32 noundef %36, ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
br label %40
38: ; preds = %25
%39 = load i32, ptr @EAFNOSUPPORT, align 4, !tbaa !5
br label %40
40: ; preds = %28, %38, %13
%41 = phi i32 [ %24, %13 ], [ %37, %28 ], [ %39, %38 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3
ret i32 %41
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @VXLAN_SOCKADDR_IS_IPV4(ptr noundef) local_unnamed_addr #2
declare i32 @sosetopt(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @VXLAN_SOCKADDR_IS_IPV6(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 24}
!10 = !{!"sockopt", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !6, i64 12}
!14 = !{!"ip_mreq", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!15 = !{!14, !6, i64 8}
!16 = !{!10, !6, i64 20}
!17 = !{!10, !6, i64 16}
!18 = !{!10, !11, i64 8}
!19 = !{!10, !6, i64 0}
!20 = !{!21, !6, i64 0}
!21 = !{!"vxlan_socket", !6, i64 0}
!22 = !{!23, !6, i64 4}
!23 = !{!"ipv6_mreq", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!24 = !{!23, !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_vxlan.c_vxlan_socket_mc_leave_group.c'
source_filename = "AnghaBench/freebsd/sys/net/extr_if_vxlan.c_vxlan_socket_mc_leave_group.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sockopt = type { i32, ptr, i32, i32, i32 }
%struct.ip_mreq = type { i32, i32, i32, i32 }
%struct.ipv6_mreq = type { i32, i32, i32, i32 }
@SOPT_SET = common local_unnamed_addr global i32 0, align 4
@IPPROTO_IP = common local_unnamed_addr global i32 0, align 4
@IP_DROP_MEMBERSHIP = common local_unnamed_addr global i32 0, align 4
@IPPROTO_IPV6 = common local_unnamed_addr global i32 0, align 4
@IPV6_LEAVE_GROUP = common local_unnamed_addr global i32 0, align 4
@EAFNOSUPPORT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vxlan_socket_mc_leave_group], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vxlan_socket_mc_leave_group(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 {
%5 = alloca %struct.sockopt, align 8
%6 = alloca %struct.ip_mreq, align 4
%7 = alloca %struct.ipv6_mreq, align 4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3
%8 = call i32 @bzero(ptr noundef nonnull %5, i32 noundef 32) #3
%9 = load i32, ptr @SOPT_SET, align 4, !tbaa !6
%10 = getelementptr inbounds i8, ptr %5, i64 24
store i32 %9, ptr %10, align 8, !tbaa !10
%11 = call i64 @VXLAN_SOCKADDR_IS_IPV4(ptr noundef %1) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %25, label %13
13: ; preds = %4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
%14 = load i32, ptr %1, align 4, !tbaa !13
%15 = getelementptr inbounds i8, ptr %6, i64 12
store i32 %14, ptr %15, align 4, !tbaa !14
%16 = load i32, ptr %2, align 4, !tbaa !13
%17 = getelementptr inbounds i8, ptr %6, i64 8
store i32 %16, ptr %17, align 4, !tbaa !16
%18 = load i32, ptr @IPPROTO_IP, align 4, !tbaa !6
%19 = getelementptr inbounds i8, ptr %5, i64 20
store i32 %18, ptr %19, align 4, !tbaa !17
%20 = load i32, ptr @IP_DROP_MEMBERSHIP, align 4, !tbaa !6
%21 = getelementptr inbounds i8, ptr %5, i64 16
store i32 %20, ptr %21, align 8, !tbaa !18
%22 = getelementptr inbounds i8, ptr %5, i64 8
store ptr %6, ptr %22, align 8, !tbaa !19
store i32 16, ptr %5, align 8, !tbaa !20
%23 = load i32, ptr %0, align 4, !tbaa !21
%24 = call i32 @sosetopt(i32 noundef %23, ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
br label %40
25: ; preds = %4
%26 = call i64 @VXLAN_SOCKADDR_IS_IPV6(ptr noundef %1) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %38, label %28
28: ; preds = %25
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #3
%29 = load i32, ptr %1, align 4, !tbaa !13
%30 = getelementptr inbounds i8, ptr %7, i64 4
store i32 %29, ptr %30, align 4, !tbaa !23
store i32 %3, ptr %7, align 4, !tbaa !25
%31 = load i32, ptr @IPPROTO_IPV6, align 4, !tbaa !6
%32 = getelementptr inbounds i8, ptr %5, i64 20
store i32 %31, ptr %32, align 4, !tbaa !17
%33 = load i32, ptr @IPV6_LEAVE_GROUP, align 4, !tbaa !6
%34 = getelementptr inbounds i8, ptr %5, i64 16
store i32 %33, ptr %34, align 8, !tbaa !18
%35 = getelementptr inbounds i8, ptr %5, i64 8
store ptr %7, ptr %35, align 8, !tbaa !19
store i32 16, ptr %5, align 8, !tbaa !20
%36 = load i32, ptr %0, align 4, !tbaa !21
%37 = call i32 @sosetopt(i32 noundef %36, ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
br label %40
38: ; preds = %25
%39 = load i32, ptr @EAFNOSUPPORT, align 4, !tbaa !6
br label %40
40: ; preds = %28, %38, %13
%41 = phi i32 [ %24, %13 ], [ %37, %28 ], [ %39, %38 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3
ret i32 %41
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @VXLAN_SOCKADDR_IS_IPV4(ptr noundef) local_unnamed_addr #2
declare i32 @sosetopt(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @VXLAN_SOCKADDR_IS_IPV6(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 24}
!11 = !{!"sockopt", !7, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !7, i64 12}
!15 = !{!"ip_mreq", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!16 = !{!15, !7, i64 8}
!17 = !{!11, !7, i64 20}
!18 = !{!11, !7, i64 16}
!19 = !{!11, !12, i64 8}
!20 = !{!11, !7, i64 0}
!21 = !{!22, !7, i64 0}
!22 = !{!"vxlan_socket", !7, i64 0}
!23 = !{!24, !7, i64 4}
!24 = !{!"ipv6_mreq", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!25 = !{!24, !7, i64 0}
| freebsd_sys_net_extr_if_vxlan.c_vxlan_socket_mc_leave_group |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/sunxi/sun6i-csi/extr_sun6i_video.c_is_pixformat_valid.c'
source_filename = "AnghaBench/linux/drivers/media/platform/sunxi/sun6i-csi/extr_sun6i_video.c_is_pixformat_valid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@supported_pixformats = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_pixformat_valid], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @is_pixformat_valid(i32 noundef %0) #0 {
%2 = load ptr, ptr @supported_pixformats, align 8, !tbaa !5
%3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %16, label %10
5: ; preds = %10
%6 = add nuw nsw i64 %11, 1
%7 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %12) #2
%8 = zext i32 %7 to i64
%9 = icmp ult i64 %6, %8
br i1 %9, label %10, label %16, !llvm.loop !9
10: ; preds = %1, %5
%11 = phi i64 [ %6, %5 ], [ 0, %1 ]
%12 = load ptr, ptr @supported_pixformats, align 8, !tbaa !5
%13 = getelementptr inbounds i32, ptr %12, i64 %11
%14 = load i32, ptr %13, align 4, !tbaa !11
%15 = icmp eq i32 %14, %0
br i1 %15, label %16, label %5
16: ; preds = %10, %5, %1
%17 = phi i32 [ 0, %1 ], [ 0, %5 ], [ 1, %10 ]
ret i32 %17
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/sunxi/sun6i-csi/extr_sun6i_video.c_is_pixformat_valid.c'
source_filename = "AnghaBench/linux/drivers/media/platform/sunxi/sun6i-csi/extr_sun6i_video.c_is_pixformat_valid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@supported_pixformats = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @is_pixformat_valid], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @is_pixformat_valid(i32 noundef %0) #0 {
%2 = load ptr, ptr @supported_pixformats, align 8, !tbaa !6
%3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %16, label %10
5: ; preds = %10
%6 = add nuw nsw i64 %11, 1
%7 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %12) #2
%8 = zext i32 %7 to i64
%9 = icmp ult i64 %6, %8
br i1 %9, label %10, label %16, !llvm.loop !10
10: ; preds = %1, %5
%11 = phi i64 [ %6, %5 ], [ 0, %1 ]
%12 = load ptr, ptr @supported_pixformats, align 8, !tbaa !6
%13 = getelementptr inbounds i32, ptr %12, i64 %11
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = icmp eq i32 %14, %0
br i1 %15, label %16, label %5
16: ; preds = %10, %5, %1
%17 = phi i32 [ 0, %1 ], [ 0, %5 ], [ 1, %10 ]
ret i32 %17
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| linux_drivers_media_platform_sunxi_sun6i-csi_extr_sun6i_video.c_is_pixformat_valid |
; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_icm.c___icm_tr_device_connected.c'
source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_icm.c___icm_tr_device_connected.c"
target datalayout = "e-m:e-p270:32:32-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.icm_tr_event_device_connected = type { i32, i32, i64, i32, %struct.TYPE_3__, i32, i32 }
%struct.TYPE_3__ = type { i32, i64 }
%struct.tb_switch = type { i32, %struct.TYPE_4__, i32 }
%struct.TYPE_4__ = type { i32 }
@ICM_LINK_INFO_APPROVED = dso_local local_unnamed_addr global i32 0, align 4
@ICM_FLAGS_SLEVEL_MASK = dso_local local_unnamed_addr global i32 0, align 4
@ICM_FLAGS_SLEVEL_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@ICM_LINK_INFO_BOOT = dso_local local_unnamed_addr global i32 0, align 4
@ICM_LINK_INFO_REJECTED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [77 x i8] c"switch at %llx was rejected by ICM firmware because topology limit exceeded\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"failed to find parent switch for %llx\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @__icm_tr_device_connected], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__icm_tr_device_connected(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @icm_postpone_rescan(ptr noundef %0) #2
%5 = getelementptr inbounds %struct.icm_tr_event_device_connected, ptr %1, i64 0, i32 4, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !5
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %86
8: ; preds = %3
%9 = getelementptr inbounds %struct.icm_tr_event_device_connected, ptr %1, i64 0, i32 4
%10 = getelementptr inbounds %struct.icm_tr_event_device_connected, ptr %1, i64 0, i32 6
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = getelementptr inbounds %struct.icm_tr_event_device_connected, ptr %1, i64 0, i32 5
%13 = load i32, ptr %12, align 8, !tbaa !13
%14 = tail call i64 @get_route(i32 noundef %11, i32 noundef %13) #2
%15 = load i32, ptr %1, align 8, !tbaa !14
%16 = load i32, ptr @ICM_LINK_INFO_APPROVED, align 4, !tbaa !15
%17 = and i32 %16, %15
%18 = load i32, ptr %9, align 8, !tbaa !16
%19 = load i32, ptr @ICM_FLAGS_SLEVEL_MASK, align 4, !tbaa !15
%20 = and i32 %19, %18
%21 = load i32, ptr @ICM_FLAGS_SLEVEL_SHIFT, align 4, !tbaa !15
%22 = ashr i32 %20, %21
%23 = load i32, ptr @ICM_LINK_INFO_BOOT, align 4, !tbaa !15
%24 = and i32 %23, %15
%25 = load i32, ptr @ICM_LINK_INFO_REJECTED, align 4, !tbaa !15
%26 = and i32 %25, %15
%27 = icmp eq i32 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %8
%29 = tail call i32 @tb_info(ptr noundef %0, ptr noundef nonnull @.str, i64 noundef %14) #2
br label %86
30: ; preds = %8
%31 = getelementptr inbounds %struct.icm_tr_event_device_connected, ptr %1, i64 0, i32 3
%32 = tail call ptr @tb_switch_find_by_uuid(ptr noundef %0, ptr noundef nonnull %31) #2
%33 = icmp eq ptr %32, null
br i1 %33, label %54, label %34
34: ; preds = %30
%35 = tail call i64 @tb_route(ptr noundef nonnull %32) #2
%36 = icmp eq i64 %35, %14
br i1 %36, label %37, label %51
37: ; preds = %34
%38 = getelementptr inbounds %struct.tb_switch, ptr %32, i64 0, i32 2
%39 = load i32, ptr %38, align 4, !tbaa !17
%40 = icmp ne i32 %39, 0
%41 = zext i1 %40 to i32
%42 = icmp eq i32 %17, %41
br i1 %42, label %43, label %51
43: ; preds = %37
%44 = getelementptr inbounds %struct.tb_switch, ptr %32, i64 0, i32 1
%45 = load i32, ptr %44, align 4, !tbaa !20
%46 = tail call ptr @tb_to_switch(i32 noundef %45) #2
%47 = getelementptr inbounds %struct.icm_tr_event_device_connected, ptr %1, i64 0, i32 1
%48 = load i32, ptr %47, align 4, !tbaa !21
%49 = tail call i32 @update_switch(ptr noundef %46, ptr noundef nonnull %32, i64 noundef %14, i32 noundef %48, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %24) #2
%50 = tail call i32 @tb_switch_put(ptr noundef nonnull %32) #2
br label %86
51: ; preds = %37, %34
%52 = tail call i32 @remove_switch(ptr noundef nonnull %32) #2
%53 = tail call i32 @tb_switch_put(ptr noundef nonnull %32) #2
br label %54
54: ; preds = %51, %30
%55 = tail call ptr @tb_switch_find_by_route(ptr noundef %0, i64 noundef %14) #2
%56 = icmp eq ptr %55, null
br i1 %56, label %60, label %57
57: ; preds = %54
%58 = tail call i32 @remove_switch(ptr noundef nonnull %55) #2
%59 = tail call i32 @tb_switch_put(ptr noundef nonnull %55) #2
br label %60
60: ; preds = %57, %54
%61 = tail call ptr @tb_xdomain_find_by_route(ptr noundef %0, i64 noundef %14) #2
%62 = icmp eq ptr %61, null
br i1 %62, label %66, label %63
63: ; preds = %60
%64 = tail call i32 @remove_xdomain(ptr noundef nonnull %61) #2
%65 = tail call i32 @tb_xdomain_put(ptr noundef nonnull %61) #2
br label %66
66: ; preds = %63, %60
%67 = tail call i64 @get_parent_route(i64 noundef %14) #2
%68 = tail call ptr @tb_switch_find_by_route(ptr noundef %0, i64 noundef %67) #2
%69 = icmp eq ptr %68, null
br i1 %69, label %70, label %72
70: ; preds = %66
%71 = tail call i32 @tb_err(ptr noundef %0, ptr noundef nonnull @.str.1, i64 noundef %14) #2
br label %86
72: ; preds = %66
%73 = getelementptr inbounds %struct.icm_tr_event_device_connected, ptr %1, i64 0, i32 2
%74 = load i64, ptr %73, align 8, !tbaa !22
%75 = inttoptr i64 %74 to ptr
%76 = getelementptr inbounds %struct.icm_tr_event_device_connected, ptr %1, i64 0, i32 1
%77 = load i32, ptr %76, align 4, !tbaa !21
%78 = tail call ptr @add_switch(ptr noundef nonnull %68, i64 noundef %14, ptr noundef nonnull %31, ptr noundef %75, i32 noundef 8, i32 noundef %77, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %22, i32 noundef %17, i32 noundef %24) #2
%79 = tail call i32 @IS_ERR(ptr noundef %78) #2
%80 = icmp eq i32 %79, 0
%81 = icmp ne i32 %2, 0
%82 = and i1 %81, %80
br i1 %82, label %83, label %84
83: ; preds = %72
store i32 1, ptr %78, align 4, !tbaa !23
br label %84
84: ; preds = %83, %72
%85 = tail call i32 @tb_switch_put(ptr noundef nonnull %68) #2
br label %86
86: ; preds = %3, %84, %70, %43, %28
ret void
}
declare i32 @icm_postpone_rescan(ptr noundef) local_unnamed_addr #1
declare i64 @get_route(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tb_info(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @tb_switch_find_by_uuid(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @tb_route(ptr noundef) local_unnamed_addr #1
declare ptr @tb_to_switch(i32 noundef) local_unnamed_addr #1
declare i32 @update_switch(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tb_switch_put(ptr noundef) local_unnamed_addr #1
declare i32 @remove_switch(ptr noundef) local_unnamed_addr #1
declare ptr @tb_switch_find_by_route(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @tb_xdomain_find_by_route(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @remove_xdomain(ptr noundef) local_unnamed_addr #1
declare i32 @tb_xdomain_put(ptr noundef) local_unnamed_addr #1
declare i64 @get_parent_route(i64 noundef) local_unnamed_addr #1
declare i32 @tb_err(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @add_switch(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 32}
!6 = !{!"icm_tr_event_device_connected", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !11, i64 24, !7, i64 40, !7, i64 44}
!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, !10, i64 8}
!12 = !{!6, !7, i64 44}
!13 = !{!6, !7, i64 40}
!14 = !{!6, !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !7, i64 24}
!17 = !{!18, !7, i64 8}
!18 = !{!"tb_switch", !7, i64 0, !19, i64 4, !7, i64 8}
!19 = !{!"TYPE_4__", !7, i64 0}
!20 = !{!18, !7, i64 4}
!21 = !{!6, !7, i64 4}
!22 = !{!6, !10, i64 8}
!23 = !{!18, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_icm.c___icm_tr_device_connected.c'
source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_icm.c___icm_tr_device_connected.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ICM_LINK_INFO_APPROVED = common local_unnamed_addr global i32 0, align 4
@ICM_FLAGS_SLEVEL_MASK = common local_unnamed_addr global i32 0, align 4
@ICM_FLAGS_SLEVEL_SHIFT = common local_unnamed_addr global i32 0, align 4
@ICM_LINK_INFO_BOOT = common local_unnamed_addr global i32 0, align 4
@ICM_LINK_INFO_REJECTED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [77 x i8] c"switch at %llx was rejected by ICM firmware because topology limit exceeded\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"failed to find parent switch for %llx\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @__icm_tr_device_connected], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__icm_tr_device_connected(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @icm_postpone_rescan(ptr noundef %0) #2
%5 = getelementptr inbounds i8, ptr %1, i64 32
%6 = load i64, ptr %5, align 8, !tbaa !6
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %86
8: ; preds = %3
%9 = getelementptr inbounds i8, ptr %1, i64 24
%10 = getelementptr inbounds i8, ptr %1, i64 44
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = getelementptr inbounds i8, ptr %1, i64 40
%13 = load i32, ptr %12, align 8, !tbaa !14
%14 = tail call i64 @get_route(i32 noundef %11, i32 noundef %13) #2
%15 = load i32, ptr %1, align 8, !tbaa !15
%16 = load i32, ptr @ICM_LINK_INFO_APPROVED, align 4, !tbaa !16
%17 = and i32 %16, %15
%18 = load i32, ptr %9, align 8, !tbaa !17
%19 = load i32, ptr @ICM_FLAGS_SLEVEL_MASK, align 4, !tbaa !16
%20 = and i32 %19, %18
%21 = load i32, ptr @ICM_FLAGS_SLEVEL_SHIFT, align 4, !tbaa !16
%22 = ashr i32 %20, %21
%23 = load i32, ptr @ICM_LINK_INFO_BOOT, align 4, !tbaa !16
%24 = and i32 %23, %15
%25 = load i32, ptr @ICM_LINK_INFO_REJECTED, align 4, !tbaa !16
%26 = and i32 %25, %15
%27 = icmp eq i32 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %8
%29 = tail call i32 @tb_info(ptr noundef %0, ptr noundef nonnull @.str, i64 noundef %14) #2
br label %86
30: ; preds = %8
%31 = getelementptr inbounds i8, ptr %1, i64 16
%32 = tail call ptr @tb_switch_find_by_uuid(ptr noundef %0, ptr noundef nonnull %31) #2
%33 = icmp eq ptr %32, null
br i1 %33, label %54, label %34
34: ; preds = %30
%35 = tail call i64 @tb_route(ptr noundef nonnull %32) #2
%36 = icmp eq i64 %35, %14
br i1 %36, label %37, label %51
37: ; preds = %34
%38 = getelementptr inbounds i8, ptr %32, i64 8
%39 = load i32, ptr %38, align 4, !tbaa !18
%40 = icmp ne i32 %39, 0
%41 = zext i1 %40 to i32
%42 = icmp eq i32 %17, %41
br i1 %42, label %43, label %51
43: ; preds = %37
%44 = getelementptr inbounds i8, ptr %32, i64 4
%45 = load i32, ptr %44, align 4, !tbaa !21
%46 = tail call ptr @tb_to_switch(i32 noundef %45) #2
%47 = getelementptr inbounds i8, ptr %1, i64 4
%48 = load i32, ptr %47, align 4, !tbaa !22
%49 = tail call i32 @update_switch(ptr noundef %46, ptr noundef nonnull %32, i64 noundef %14, i32 noundef %48, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %24) #2
%50 = tail call i32 @tb_switch_put(ptr noundef nonnull %32) #2
br label %86
51: ; preds = %37, %34
%52 = tail call i32 @remove_switch(ptr noundef nonnull %32) #2
%53 = tail call i32 @tb_switch_put(ptr noundef nonnull %32) #2
br label %54
54: ; preds = %51, %30
%55 = tail call ptr @tb_switch_find_by_route(ptr noundef %0, i64 noundef %14) #2
%56 = icmp eq ptr %55, null
br i1 %56, label %60, label %57
57: ; preds = %54
%58 = tail call i32 @remove_switch(ptr noundef nonnull %55) #2
%59 = tail call i32 @tb_switch_put(ptr noundef nonnull %55) #2
br label %60
60: ; preds = %57, %54
%61 = tail call ptr @tb_xdomain_find_by_route(ptr noundef %0, i64 noundef %14) #2
%62 = icmp eq ptr %61, null
br i1 %62, label %66, label %63
63: ; preds = %60
%64 = tail call i32 @remove_xdomain(ptr noundef nonnull %61) #2
%65 = tail call i32 @tb_xdomain_put(ptr noundef nonnull %61) #2
br label %66
66: ; preds = %63, %60
%67 = tail call i64 @get_parent_route(i64 noundef %14) #2
%68 = tail call ptr @tb_switch_find_by_route(ptr noundef %0, i64 noundef %67) #2
%69 = icmp eq ptr %68, null
br i1 %69, label %70, label %72
70: ; preds = %66
%71 = tail call i32 @tb_err(ptr noundef %0, ptr noundef nonnull @.str.1, i64 noundef %14) #2
br label %86
72: ; preds = %66
%73 = getelementptr inbounds i8, ptr %1, i64 8
%74 = load i64, ptr %73, align 8, !tbaa !23
%75 = inttoptr i64 %74 to ptr
%76 = getelementptr inbounds i8, ptr %1, i64 4
%77 = load i32, ptr %76, align 4, !tbaa !22
%78 = tail call ptr @add_switch(ptr noundef nonnull %68, i64 noundef %14, ptr noundef nonnull %31, ptr noundef %75, i32 noundef 8, i32 noundef %77, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %22, i32 noundef %17, i32 noundef %24) #2
%79 = tail call i32 @IS_ERR(ptr noundef %78) #2
%80 = icmp eq i32 %79, 0
%81 = icmp ne i32 %2, 0
%82 = and i1 %81, %80
br i1 %82, label %83, label %84
83: ; preds = %72
store i32 1, ptr %78, align 4, !tbaa !24
br label %84
84: ; preds = %83, %72
%85 = tail call i32 @tb_switch_put(ptr noundef nonnull %68) #2
br label %86
86: ; preds = %3, %84, %70, %43, %28
ret void
}
declare i32 @icm_postpone_rescan(ptr noundef) local_unnamed_addr #1
declare i64 @get_route(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tb_info(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @tb_switch_find_by_uuid(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @tb_route(ptr noundef) local_unnamed_addr #1
declare ptr @tb_to_switch(i32 noundef) local_unnamed_addr #1
declare i32 @update_switch(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tb_switch_put(ptr noundef) local_unnamed_addr #1
declare i32 @remove_switch(ptr noundef) local_unnamed_addr #1
declare ptr @tb_switch_find_by_route(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @tb_xdomain_find_by_route(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @remove_xdomain(ptr noundef) local_unnamed_addr #1
declare i32 @tb_xdomain_put(ptr noundef) local_unnamed_addr #1
declare i64 @get_parent_route(i64 noundef) local_unnamed_addr #1
declare i32 @tb_err(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @add_switch(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 32}
!7 = !{!"icm_tr_event_device_connected", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !12, i64 24, !8, i64 40, !8, i64 44}
!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, !11, i64 8}
!13 = !{!7, !8, i64 44}
!14 = !{!7, !8, i64 40}
!15 = !{!7, !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !8, i64 24}
!18 = !{!19, !8, i64 8}
!19 = !{!"tb_switch", !8, i64 0, !20, i64 4, !8, i64 8}
!20 = !{!"TYPE_4__", !8, i64 0}
!21 = !{!19, !8, i64 4}
!22 = !{!7, !8, i64 4}
!23 = !{!7, !11, i64 8}
!24 = !{!19, !8, i64 0}
| linux_drivers_thunderbolt_extr_icm.c___icm_tr_device_connected |
; ModuleID = 'AnghaBench/linux/kernel/irq/extr_chip.c_handle_level_irq.c'
source_filename = "AnghaBench/linux/kernel/irq/extr_chip.c_handle_level_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.irq_desc = type { i32, i32, i32, i32 }
@IRQS_REPLAY = dso_local local_unnamed_addr global i32 0, align 4
@IRQS_WAITING = dso_local local_unnamed_addr global i32 0, align 4
@IRQS_PENDING = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @handle_level_irq(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.irq_desc, ptr %0, i64 0, i32 1
%3 = tail call i32 @raw_spin_lock(ptr noundef nonnull %2) #2
%4 = tail call i32 @mask_ack_irq(ptr noundef %0) #2
%5 = tail call i32 @irq_may_run(ptr noundef %0) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %34, label %7
7: ; preds = %1
%8 = load i32, ptr @IRQS_REPLAY, align 4, !tbaa !5
%9 = load i32, ptr @IRQS_WAITING, align 4, !tbaa !5
%10 = or i32 %9, %8
%11 = xor i32 %10, -1
%12 = load i32, ptr %0, align 4, !tbaa !9
%13 = and i32 %12, %11
store i32 %13, ptr %0, align 4, !tbaa !9
%14 = getelementptr inbounds %struct.irq_desc, ptr %0, i64 0, i32 3
%15 = load i32, ptr %14, align 4, !tbaa !11
%16 = icmp eq i32 %15, 0
br i1 %16, label %22, label %17
17: ; preds = %7
%18 = getelementptr inbounds %struct.irq_desc, ptr %0, i64 0, i32 2
%19 = tail call i64 @irqd_irq_disabled(ptr noundef nonnull %18) #2
%20 = icmp ne i64 %19, 0
%21 = zext i1 %20 to i32
br label %22
22: ; preds = %17, %7
%23 = phi i32 [ 1, %7 ], [ %21, %17 ]
%24 = tail call i64 @unlikely(i32 noundef %23) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %30, label %26
26: ; preds = %22
%27 = load i32, ptr @IRQS_PENDING, align 4, !tbaa !5
%28 = load i32, ptr %0, align 4, !tbaa !9
%29 = or i32 %28, %27
store i32 %29, ptr %0, align 4, !tbaa !9
br label %34
30: ; preds = %22
%31 = tail call i32 @kstat_incr_irqs_this_cpu(ptr noundef nonnull %0) #2
%32 = tail call i32 @handle_irq_event(ptr noundef nonnull %0) #2
%33 = tail call i32 @cond_unmask_irq(ptr noundef nonnull %0) #2
br label %34
34: ; preds = %1, %30, %26
%35 = tail call i32 @raw_spin_unlock(ptr noundef nonnull %2) #2
ret void
}
declare i32 @raw_spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mask_ack_irq(ptr noundef) local_unnamed_addr #1
declare i32 @irq_may_run(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i64 @irqd_irq_disabled(ptr noundef) local_unnamed_addr #1
declare i32 @kstat_incr_irqs_this_cpu(ptr noundef) local_unnamed_addr #1
declare i32 @handle_irq_event(ptr noundef) local_unnamed_addr #1
declare i32 @cond_unmask_irq(ptr noundef) local_unnamed_addr #1
declare i32 @raw_spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"irq_desc", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!11 = !{!10, !6, i64 12}
| ; ModuleID = 'AnghaBench/linux/kernel/irq/extr_chip.c_handle_level_irq.c'
source_filename = "AnghaBench/linux/kernel/irq/extr_chip.c_handle_level_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IRQS_REPLAY = common local_unnamed_addr global i32 0, align 4
@IRQS_WAITING = common local_unnamed_addr global i32 0, align 4
@IRQS_PENDING = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @handle_level_irq(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = tail call i32 @raw_spin_lock(ptr noundef nonnull %2) #2
%4 = tail call i32 @mask_ack_irq(ptr noundef %0) #2
%5 = tail call i32 @irq_may_run(ptr noundef %0) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %34, label %7
7: ; preds = %1
%8 = load i32, ptr @IRQS_REPLAY, align 4, !tbaa !6
%9 = load i32, ptr @IRQS_WAITING, align 4, !tbaa !6
%10 = or i32 %9, %8
%11 = xor i32 %10, -1
%12 = load i32, ptr %0, align 4, !tbaa !10
%13 = and i32 %12, %11
store i32 %13, ptr %0, align 4, !tbaa !10
%14 = getelementptr inbounds i8, ptr %0, i64 12
%15 = load i32, ptr %14, align 4, !tbaa !12
%16 = icmp eq i32 %15, 0
br i1 %16, label %22, label %17
17: ; preds = %7
%18 = getelementptr inbounds i8, ptr %0, i64 8
%19 = tail call i64 @irqd_irq_disabled(ptr noundef nonnull %18) #2
%20 = icmp ne i64 %19, 0
%21 = zext i1 %20 to i32
br label %22
22: ; preds = %17, %7
%23 = phi i32 [ 1, %7 ], [ %21, %17 ]
%24 = tail call i64 @unlikely(i32 noundef %23) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %30, label %26
26: ; preds = %22
%27 = load i32, ptr @IRQS_PENDING, align 4, !tbaa !6
%28 = load i32, ptr %0, align 4, !tbaa !10
%29 = or i32 %28, %27
store i32 %29, ptr %0, align 4, !tbaa !10
br label %34
30: ; preds = %22
%31 = tail call i32 @kstat_incr_irqs_this_cpu(ptr noundef nonnull %0) #2
%32 = tail call i32 @handle_irq_event(ptr noundef nonnull %0) #2
%33 = tail call i32 @cond_unmask_irq(ptr noundef nonnull %0) #2
br label %34
34: ; preds = %1, %30, %26
%35 = tail call i32 @raw_spin_unlock(ptr noundef nonnull %2) #2
ret void
}
declare i32 @raw_spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mask_ack_irq(ptr noundef) local_unnamed_addr #1
declare i32 @irq_may_run(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i64 @irqd_irq_disabled(ptr noundef) local_unnamed_addr #1
declare i32 @kstat_incr_irqs_this_cpu(ptr noundef) local_unnamed_addr #1
declare i32 @handle_irq_event(ptr noundef) local_unnamed_addr #1
declare i32 @cond_unmask_irq(ptr noundef) local_unnamed_addr #1
declare i32 @raw_spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"irq_desc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!12 = !{!11, !7, i64 12}
| linux_kernel_irq_extr_chip.c_handle_level_irq |
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_libata-core.c_ata_dev_config_zac.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_libata-core.c_ata_dev_config_zac.c"
target datalayout = "e-m:e-p270:32:32-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.ata_device = type { i64, i32, i32, ptr, ptr, ptr, i32, ptr }
@U32_MAX = dso_local local_unnamed_addr global ptr null, align 8
@ATA_DEV_ZAC = dso_local local_unnamed_addr global i64 0, align 8
@ATA_DFLAG_ZAC = dso_local local_unnamed_addr global i32 0, align 4
@ATA_LOG_ZONED_INFORMATION = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"ATA Zoned Information Log not supported\0A\00", align 1
@ATA_LOG_IDENTIFY_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ata_dev_config_zac], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ata_dev_config_zac(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.ata_device, ptr %0, i64 0, i32 7
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load ptr, ptr %4, align 8, !tbaa !14
%6 = load ptr, ptr @U32_MAX, align 8, !tbaa !16
%7 = getelementptr inbounds %struct.ata_device, ptr %0, i64 0, i32 5
store ptr %6, ptr %7, align 8, !tbaa !17
%8 = getelementptr inbounds %struct.ata_device, ptr %0, i64 0, i32 4
store ptr %6, ptr %8, align 8, !tbaa !18
%9 = getelementptr inbounds %struct.ata_device, ptr %0, i64 0, i32 3
store ptr %6, ptr %9, align 8, !tbaa !19
%10 = load i64, ptr %0, align 8, !tbaa !20
%11 = load i64, ptr @ATA_DEV_ZAC, align 8, !tbaa !21
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %18
13: ; preds = %1
%14 = load i32, ptr @ATA_DFLAG_ZAC, align 4, !tbaa !22
%15 = getelementptr inbounds %struct.ata_device, ptr %0, i64 0, i32 1
%16 = load i32, ptr %15, align 8, !tbaa !23
%17 = or i32 %16, %14
store i32 %17, ptr %15, align 8, !tbaa !23
br label %32
18: ; preds = %1
%19 = getelementptr inbounds %struct.ata_device, ptr %0, i64 0, i32 6
%20 = load i32, ptr %19, align 8, !tbaa !24
%21 = tail call i32 @ata_id_zoned_cap(i32 noundef %20) #2
%22 = icmp eq i32 %21, 1
br i1 %22, label %27, label %23
23: ; preds = %18
%24 = getelementptr inbounds %struct.ata_device, ptr %0, i64 0, i32 1
%25 = load i32, ptr %24, align 8, !tbaa !23
%26 = load i32, ptr @ATA_DFLAG_ZAC, align 4, !tbaa !22
br label %32
27: ; preds = %18
%28 = load i32, ptr @ATA_DFLAG_ZAC, align 4, !tbaa !22
%29 = getelementptr inbounds %struct.ata_device, ptr %0, i64 0, i32 1
%30 = load i32, ptr %29, align 8, !tbaa !23
%31 = or i32 %30, %28
store i32 %31, ptr %29, align 8, !tbaa !23
br label %32
32: ; preds = %23, %27, %13
%33 = phi i32 [ %26, %23 ], [ %28, %27 ], [ %14, %13 ]
%34 = phi i32 [ %25, %23 ], [ %31, %27 ], [ %17, %13 ]
%35 = and i32 %33, %34
%36 = icmp eq i32 %35, 0
br i1 %36, label %51, label %37
37: ; preds = %32
%38 = load i32, ptr @ATA_LOG_ZONED_INFORMATION, align 4, !tbaa !22
%39 = tail call i32 @ata_identify_page_supported(ptr noundef nonnull %0, i32 noundef %38) #2
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = tail call i32 @ata_dev_warn(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
br label %51
43: ; preds = %37
%44 = load i32, ptr @ATA_LOG_IDENTIFY_DEVICE, align 4, !tbaa !22
%45 = load i32, ptr @ATA_LOG_ZONED_INFORMATION, align 4, !tbaa !22
%46 = tail call i32 @ata_read_log_page(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %45, ptr noundef %5, i32 noundef 1) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %43
%49 = getelementptr inbounds i32, ptr %5, i64 8
%50 = tail call i32 @get_unaligned_le64(ptr noundef nonnull %49) #2
unreachable
51: ; preds = %43, %32, %41
ret void
}
declare i32 @ata_id_zoned_cap(i32 noundef) local_unnamed_addr #1
declare i32 @ata_identify_page_supported(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ata_dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ata_read_log_page(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_unaligned_le64(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 48}
!6 = !{!"ata_device", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !10, i64 40, !11, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"ata_port", !11, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!6, !11, i64 32}
!18 = !{!6, !11, i64 24}
!19 = !{!6, !11, i64 16}
!20 = !{!6, !7, i64 0}
!21 = !{!7, !7, i64 0}
!22 = !{!10, !10, i64 0}
!23 = !{!6, !10, i64 8}
!24 = !{!6, !10, i64 40}
| ; ModuleID = 'AnghaBench/linux/drivers/ata/extr_libata-core.c_ata_dev_config_zac.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_libata-core.c_ata_dev_config_zac.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@U32_MAX = common local_unnamed_addr global ptr null, align 8
@ATA_DEV_ZAC = common local_unnamed_addr global i64 0, align 8
@ATA_DFLAG_ZAC = common local_unnamed_addr global i32 0, align 4
@ATA_LOG_ZONED_INFORMATION = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"ATA Zoned Information Log not supported\0A\00", align 1
@ATA_LOG_IDENTIFY_DEVICE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ata_dev_config_zac], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ata_dev_config_zac(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 48
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !13
%5 = load ptr, ptr %4, align 8, !tbaa !15
%6 = load ptr, ptr @U32_MAX, align 8, !tbaa !17
%7 = getelementptr inbounds i8, ptr %0, i64 32
store ptr %6, ptr %7, align 8, !tbaa !18
%8 = getelementptr inbounds i8, ptr %0, i64 24
store ptr %6, ptr %8, align 8, !tbaa !19
%9 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %6, ptr %9, align 8, !tbaa !20
%10 = load i64, ptr %0, align 8, !tbaa !21
%11 = load i64, ptr @ATA_DEV_ZAC, align 8, !tbaa !22
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %18
13: ; preds = %1
%14 = load i32, ptr @ATA_DFLAG_ZAC, align 4, !tbaa !23
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = load i32, ptr %15, align 8, !tbaa !24
%17 = or i32 %16, %14
store i32 %17, ptr %15, align 8, !tbaa !24
br label %32
18: ; preds = %1
%19 = getelementptr inbounds i8, ptr %0, i64 40
%20 = load i32, ptr %19, align 8, !tbaa !25
%21 = tail call i32 @ata_id_zoned_cap(i32 noundef %20) #2
%22 = icmp eq i32 %21, 1
br i1 %22, label %27, label %23
23: ; preds = %18
%24 = getelementptr inbounds i8, ptr %0, i64 8
%25 = load i32, ptr %24, align 8, !tbaa !24
%26 = load i32, ptr @ATA_DFLAG_ZAC, align 4, !tbaa !23
br label %32
27: ; preds = %18
%28 = load i32, ptr @ATA_DFLAG_ZAC, align 4, !tbaa !23
%29 = getelementptr inbounds i8, ptr %0, i64 8
%30 = load i32, ptr %29, align 8, !tbaa !24
%31 = or i32 %30, %28
store i32 %31, ptr %29, align 8, !tbaa !24
br label %32
32: ; preds = %23, %27, %13
%33 = phi i32 [ %26, %23 ], [ %28, %27 ], [ %14, %13 ]
%34 = phi i32 [ %25, %23 ], [ %31, %27 ], [ %17, %13 ]
%35 = and i32 %33, %34
%36 = icmp eq i32 %35, 0
br i1 %36, label %51, label %37
37: ; preds = %32
%38 = load i32, ptr @ATA_LOG_ZONED_INFORMATION, align 4, !tbaa !23
%39 = tail call i32 @ata_identify_page_supported(ptr noundef nonnull %0, i32 noundef %38) #2
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = tail call i32 @ata_dev_warn(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
br label %51
43: ; preds = %37
%44 = load i32, ptr @ATA_LOG_IDENTIFY_DEVICE, align 4, !tbaa !23
%45 = load i32, ptr @ATA_LOG_ZONED_INFORMATION, align 4, !tbaa !23
%46 = tail call i32 @ata_read_log_page(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %45, ptr noundef %5, i32 noundef 1) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %43
%49 = getelementptr inbounds i8, ptr %5, i64 32
%50 = tail call i32 @get_unaligned_le64(ptr noundef nonnull %49) #2
unreachable
51: ; preds = %43, %32, %41
ret void
}
declare i32 @ata_id_zoned_cap(i32 noundef) local_unnamed_addr #1
declare i32 @ata_identify_page_supported(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ata_dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ata_read_log_page(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_unaligned_le64(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 48}
!7 = !{!"ata_device", !8, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !11, i64 40, !12, i64 48}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_2__", !12, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"ata_port", !12, i64 0}
!17 = !{!12, !12, i64 0}
!18 = !{!7, !12, i64 32}
!19 = !{!7, !12, i64 24}
!20 = !{!7, !12, i64 16}
!21 = !{!7, !8, i64 0}
!22 = !{!8, !8, i64 0}
!23 = !{!11, !11, i64 0}
!24 = !{!7, !11, i64 8}
!25 = !{!7, !11, i64 40}
| linux_drivers_ata_extr_libata-core.c_ata_dev_config_zac |
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/ntpdate/extr_ntpdate.c_server_data.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/ntpdate/extr_ntpdate.c_server_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.server = type { i64, ptr, ptr, ptr, ptr }
@NTP_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @server_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @server_data(ptr nocapture noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i64, ptr %0, align 8, !tbaa !5
%6 = load i64, ptr @NTP_SHIFT, align 8, !tbaa !11
%7 = icmp ult i64 %5, %6
br i1 %7, label %8, label %24
8: ; preds = %4
%9 = getelementptr inbounds %struct.server, ptr %0, i64 0, i32 4
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = getelementptr inbounds i32, ptr %10, i64 %5
store i32 %1, ptr %11, align 4, !tbaa !13
%12 = load i32, ptr %2, align 4, !tbaa !13
%13 = getelementptr inbounds %struct.server, ptr %0, i64 0, i32 3
%14 = load ptr, ptr %13, align 8, !tbaa !15
%15 = getelementptr inbounds i32, ptr %14, i64 %5
store i32 %12, ptr %15, align 4, !tbaa !13
%16 = tail call i32 @LFPTOFP(ptr noundef nonnull %2) #2
%17 = getelementptr inbounds %struct.server, ptr %0, i64 0, i32 2
%18 = load ptr, ptr %17, align 8, !tbaa !16
%19 = getelementptr inbounds i32, ptr %18, i64 %5
store i32 %16, ptr %19, align 4, !tbaa !13
%20 = getelementptr inbounds %struct.server, ptr %0, i64 0, i32 1
%21 = load ptr, ptr %20, align 8, !tbaa !17
%22 = getelementptr inbounds i32, ptr %21, i64 %5
store i32 %3, ptr %22, align 4, !tbaa !13
%23 = add nuw i64 %5, 1
store i64 %23, ptr %0, align 8, !tbaa !5
br label %24
24: ; preds = %8, %4
ret void
}
declare i32 @LFPTOFP(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 = !{!"server", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 32}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!6, !10, i64 24}
!16 = !{!6, !10, i64 16}
!17 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ntp/ntpdate/extr_ntpdate.c_server_data.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/ntpdate/extr_ntpdate.c_server_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NTP_SHIFT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @server_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @server_data(ptr nocapture noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i64, ptr %0, align 8, !tbaa !6
%6 = load i64, ptr @NTP_SHIFT, align 8, !tbaa !12
%7 = icmp ult i64 %5, %6
br i1 %7, label %8, label %24
8: ; preds = %4
%9 = getelementptr inbounds i8, ptr %0, i64 32
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = getelementptr inbounds i32, ptr %10, i64 %5
store i32 %1, ptr %11, align 4, !tbaa !14
%12 = load i32, ptr %2, align 4, !tbaa !14
%13 = getelementptr inbounds i8, ptr %0, i64 24
%14 = load ptr, ptr %13, align 8, !tbaa !16
%15 = getelementptr inbounds i32, ptr %14, i64 %5
store i32 %12, ptr %15, align 4, !tbaa !14
%16 = tail call i32 @LFPTOFP(ptr noundef nonnull %2) #2
%17 = getelementptr inbounds i8, ptr %0, i64 16
%18 = load ptr, ptr %17, align 8, !tbaa !17
%19 = getelementptr inbounds i32, ptr %18, i64 %5
store i32 %16, ptr %19, align 4, !tbaa !14
%20 = getelementptr inbounds i8, ptr %0, i64 8
%21 = load ptr, ptr %20, align 8, !tbaa !18
%22 = getelementptr inbounds i32, ptr %21, i64 %5
store i32 %3, ptr %22, align 4, !tbaa !14
%23 = add nuw i64 %5, 1
store i64 %23, ptr %0, align 8, !tbaa !6
br label %24
24: ; preds = %8, %4
ret void
}
declare i32 @LFPTOFP(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 = !{!"server", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 32}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!7, !11, i64 24}
!17 = !{!7, !11, i64 16}
!18 = !{!7, !11, i64 8}
| freebsd_contrib_ntp_ntpdate_extr_ntpdate.c_server_data |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cagg.c_zfAggGenAddbaHeader.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cagg.c_zfAggGenAddbaHeader.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, ptr, i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr }
@ZM_WLAN_FRAME_TYPE_ACTION = dso_local local_unnamed_addr global i32 0, align 4
@wd = dso_local local_unnamed_addr global ptr null, align 8
@ZM_MODE_INFRASTRUCTURE = dso_local local_unnamed_addr global i64 0, align 8
@ZM_MODE_PSEUDO = dso_local local_unnamed_addr global i64 0, align 8
@ZM_MODE_IBSS = dso_local local_unnamed_addr global i64 0, align 8
@ZM_MODE_AP = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @zfAggGenAddbaHeader(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3, ptr nocapture noundef readnone %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = tail call i32 @zmw_get_wlan_dev(ptr noundef %0) #2
%9 = tail call i32 (...) @zmw_declare_for_critical_section() #2
%10 = add nsw i32 %3, 28
store i32 %10, ptr %2, align 4, !tbaa !5
%11 = getelementptr inbounds i32, ptr %2, i64 1
store i32 8, ptr %11, align 4, !tbaa !5
%12 = getelementptr inbounds i32, ptr %2, i64 2
store i32 3841, ptr %12, align 4, !tbaa !5
%13 = getelementptr inbounds i32, ptr %2, i64 3
store i32 11, ptr %13, align 4, !tbaa !5
%14 = load i32, ptr @ZM_WLAN_FRAME_TYPE_ACTION, align 4, !tbaa !5
%15 = getelementptr inbounds i32, ptr %2, i64 4
store i32 %14, ptr %15, align 4, !tbaa !5
%16 = getelementptr inbounds i32, ptr %2, i64 5
store i32 0, ptr %16, align 4, !tbaa !5
%17 = load ptr, ptr @wd, align 8, !tbaa !9
%18 = load i64, ptr %17, align 8, !tbaa !11
%19 = load i64, ptr @ZM_MODE_INFRASTRUCTURE, align 8, !tbaa !15
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %31
21: ; preds = %7
%22 = getelementptr inbounds %struct.TYPE_4__, ptr %17, i64 0, i32 3
%23 = load ptr, ptr %22, align 8, !tbaa !16
%24 = load i32, ptr %23, align 4, !tbaa !5
%25 = getelementptr inbounds i32, ptr %2, i64 12
store i32 %24, ptr %25, align 4, !tbaa !5
%26 = getelementptr inbounds i32, ptr %23, i64 1
%27 = load i32, ptr %26, align 4, !tbaa !5
%28 = getelementptr inbounds i32, ptr %2, i64 13
store i32 %27, ptr %28, align 4, !tbaa !5
%29 = getelementptr inbounds i32, ptr %23, i64 2
%30 = load i32, ptr %29, align 4, !tbaa !5
br label %65
31: ; preds = %7
%32 = load i64, ptr @ZM_MODE_PSEUDO, align 8, !tbaa !15
%33 = icmp eq i64 %18, %32
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = getelementptr inbounds i32, ptr %2, i64 12
store i32 0, ptr %35, align 4, !tbaa !5
%36 = getelementptr inbounds i32, ptr %2, i64 13
store i32 0, ptr %36, align 4, !tbaa !5
br label %65
37: ; preds = %31
%38 = load i64, ptr @ZM_MODE_IBSS, align 8, !tbaa !15
%39 = icmp eq i64 %18, %38
br i1 %39, label %40, label %50
40: ; preds = %37
%41 = getelementptr inbounds %struct.TYPE_4__, ptr %17, i64 0, i32 3
%42 = load ptr, ptr %41, align 8, !tbaa !16
%43 = load i32, ptr %42, align 4, !tbaa !5
%44 = getelementptr inbounds i32, ptr %2, i64 12
store i32 %43, ptr %44, align 4, !tbaa !5
%45 = getelementptr inbounds i32, ptr %42, i64 1
%46 = load i32, ptr %45, align 4, !tbaa !5
%47 = getelementptr inbounds i32, ptr %2, i64 13
store i32 %46, ptr %47, align 4, !tbaa !5
%48 = getelementptr inbounds i32, ptr %42, i64 2
%49 = load i32, ptr %48, align 4, !tbaa !5
br label %65
50: ; preds = %37
%51 = load i64, ptr @ZM_MODE_AP, align 8, !tbaa !15
%52 = icmp eq i64 %18, %51
br i1 %52, label %53, label %68
53: ; preds = %50
%54 = getelementptr inbounds %struct.TYPE_4__, ptr %17, i64 0, i32 1
%55 = load ptr, ptr %54, align 8, !tbaa !17
%56 = load i32, ptr %55, align 4, !tbaa !5
%57 = getelementptr inbounds i32, ptr %2, i64 12
store i32 %56, ptr %57, align 4, !tbaa !5
%58 = getelementptr inbounds i32, ptr %55, i64 1
%59 = load i32, ptr %58, align 4, !tbaa !5
%60 = getelementptr inbounds i32, ptr %2, i64 13
store i32 %59, ptr %60, align 4, !tbaa !5
%61 = getelementptr inbounds i32, ptr %55, i64 2
%62 = load i32, ptr %61, align 4, !tbaa !5
%63 = shl i32 %5, 8
%64 = add nsw i32 %62, %63
br label %65
65: ; preds = %21, %40, %53, %34
%66 = phi i32 [ 0, %34 ], [ %64, %53 ], [ %49, %40 ], [ %30, %21 ]
%67 = getelementptr inbounds i32, ptr %2, i64 14
store i32 %66, ptr %67, align 4, !tbaa !5
br label %68
68: ; preds = %65, %50
%69 = load i32, ptr %1, align 4, !tbaa !5
%70 = getelementptr inbounds i32, ptr %2, i64 6
store i32 %69, ptr %70, align 4, !tbaa !5
%71 = getelementptr inbounds i32, ptr %1, i64 1
%72 = load i32, ptr %71, align 4, !tbaa !5
%73 = getelementptr inbounds i32, ptr %2, i64 7
store i32 %72, ptr %73, align 4, !tbaa !5
%74 = getelementptr inbounds i32, ptr %1, i64 2
%75 = load i32, ptr %74, align 4, !tbaa !5
%76 = getelementptr inbounds i32, ptr %2, i64 8
store i32 %75, ptr %76, align 4, !tbaa !5
%77 = getelementptr inbounds %struct.TYPE_4__, ptr %17, i64 0, i32 1
%78 = load ptr, ptr %77, align 8, !tbaa !17
%79 = load i32, ptr %78, align 4, !tbaa !5
%80 = getelementptr inbounds i32, ptr %2, i64 9
store i32 %79, ptr %80, align 4, !tbaa !5
%81 = getelementptr inbounds i32, ptr %78, i64 1
%82 = load i32, ptr %81, align 4, !tbaa !5
%83 = getelementptr inbounds i32, ptr %2, i64 10
store i32 %82, ptr %83, align 4, !tbaa !5
%84 = load i64, ptr @ZM_MODE_AP, align 8, !tbaa !15
%85 = icmp eq i64 %18, %84
%86 = getelementptr inbounds i32, ptr %78, i64 2
%87 = load i32, ptr %86, align 4, !tbaa !5
%88 = shl i32 %5, 8
%89 = select i1 %85, i32 %88, i32 0
%90 = add nsw i32 %87, %89
%91 = getelementptr inbounds i32, ptr %2, i64 11
store i32 %90, ptr %91, align 4
%92 = tail call i32 @zmw_enter_critical_section(ptr noundef %0) #2
%93 = load ptr, ptr @wd, align 8, !tbaa !9
%94 = getelementptr inbounds %struct.TYPE_4__, ptr %93, i64 0, i32 2
%95 = load i32, ptr %94, align 8, !tbaa !18
%96 = add nsw i32 %95, 1
store i32 %96, ptr %94, align 8, !tbaa !18
%97 = shl i32 %95, 4
%98 = getelementptr inbounds i32, ptr %2, i64 15
store i32 %97, ptr %98, align 4, !tbaa !5
%99 = tail call i32 @zmw_leave_critical_section(ptr noundef %0) #2
ret i32 32
}
declare i32 @zmw_get_wlan_dev(ptr noundef) local_unnamed_addr #1
declare i32 @zmw_declare_for_critical_section(...) local_unnamed_addr #1
declare i32 @zmw_enter_critical_section(ptr noundef) local_unnamed_addr #1
declare i32 @zmw_leave_critical_section(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, !13, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0, !10, i64 8, !6, i64 16, !14, i64 24}
!13 = !{!"long", !7, i64 0}
!14 = !{!"TYPE_3__", !10, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!12, !10, i64 24}
!17 = !{!12, !10, i64 8}
!18 = !{!12, !6, i64 16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cagg.c_zfAggGenAddbaHeader.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cagg.c_zfAggGenAddbaHeader.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ZM_WLAN_FRAME_TYPE_ACTION = common local_unnamed_addr global i32 0, align 4
@wd = common local_unnamed_addr global ptr null, align 8
@ZM_MODE_INFRASTRUCTURE = common local_unnamed_addr global i64 0, align 8
@ZM_MODE_PSEUDO = common local_unnamed_addr global i64 0, align 8
@ZM_MODE_IBSS = common local_unnamed_addr global i64 0, align 8
@ZM_MODE_AP = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @zfAggGenAddbaHeader(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3, ptr nocapture noundef readnone %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = tail call i32 @zmw_get_wlan_dev(ptr noundef %0) #2
%9 = tail call i32 @zmw_declare_for_critical_section() #2
%10 = add nsw i32 %3, 28
store i32 %10, ptr %2, align 4, !tbaa !6
%11 = getelementptr inbounds i8, ptr %2, i64 4
store <2 x i32> <i32 8, i32 3841>, ptr %11, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %2, i64 12
store i32 11, ptr %12, align 4, !tbaa !6
%13 = load i32, ptr @ZM_WLAN_FRAME_TYPE_ACTION, align 4, !tbaa !6
%14 = getelementptr inbounds i8, ptr %2, i64 16
store i32 %13, ptr %14, align 4, !tbaa !6
%15 = getelementptr inbounds i8, ptr %2, i64 20
store i32 0, ptr %15, align 4, !tbaa !6
%16 = load ptr, ptr @wd, align 8, !tbaa !10
%17 = load i64, ptr %16, align 8, !tbaa !12
%18 = load i64, ptr @ZM_MODE_INFRASTRUCTURE, align 8, !tbaa !16
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %30
20: ; preds = %7
%21 = getelementptr inbounds i8, ptr %16, i64 24
%22 = load ptr, ptr %21, align 8, !tbaa !17
%23 = load i32, ptr %22, align 4, !tbaa !6
%24 = getelementptr inbounds i8, ptr %2, i64 48
store i32 %23, ptr %24, align 4, !tbaa !6
%25 = getelementptr inbounds i8, ptr %22, i64 4
%26 = load i32, ptr %25, align 4, !tbaa !6
%27 = getelementptr inbounds i8, ptr %2, i64 52
store i32 %26, ptr %27, align 4, !tbaa !6
%28 = getelementptr inbounds i8, ptr %22, i64 8
%29 = load i32, ptr %28, align 4, !tbaa !6
br label %63
30: ; preds = %7
%31 = load i64, ptr @ZM_MODE_PSEUDO, align 8, !tbaa !16
%32 = icmp eq i64 %17, %31
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = getelementptr inbounds i8, ptr %2, i64 48
store <2 x i32> zeroinitializer, ptr %34, align 4, !tbaa !6
br label %63
35: ; preds = %30
%36 = load i64, ptr @ZM_MODE_IBSS, align 8, !tbaa !16
%37 = icmp eq i64 %17, %36
br i1 %37, label %38, label %48
38: ; preds = %35
%39 = getelementptr inbounds i8, ptr %16, i64 24
%40 = load ptr, ptr %39, align 8, !tbaa !17
%41 = load i32, ptr %40, align 4, !tbaa !6
%42 = getelementptr inbounds i8, ptr %2, i64 48
store i32 %41, ptr %42, align 4, !tbaa !6
%43 = getelementptr inbounds i8, ptr %40, i64 4
%44 = load i32, ptr %43, align 4, !tbaa !6
%45 = getelementptr inbounds i8, ptr %2, i64 52
store i32 %44, ptr %45, align 4, !tbaa !6
%46 = getelementptr inbounds i8, ptr %40, i64 8
%47 = load i32, ptr %46, align 4, !tbaa !6
br label %63
48: ; preds = %35
%49 = load i64, ptr @ZM_MODE_AP, align 8, !tbaa !16
%50 = icmp eq i64 %17, %49
br i1 %50, label %51, label %66
51: ; preds = %48
%52 = getelementptr inbounds i8, ptr %16, i64 8
%53 = load ptr, ptr %52, align 8, !tbaa !18
%54 = load i32, ptr %53, align 4, !tbaa !6
%55 = getelementptr inbounds i8, ptr %2, i64 48
store i32 %54, ptr %55, align 4, !tbaa !6
%56 = getelementptr inbounds i8, ptr %53, i64 4
%57 = load i32, ptr %56, align 4, !tbaa !6
%58 = getelementptr inbounds i8, ptr %2, i64 52
store i32 %57, ptr %58, align 4, !tbaa !6
%59 = getelementptr inbounds i8, ptr %53, i64 8
%60 = load i32, ptr %59, align 4, !tbaa !6
%61 = shl i32 %5, 8
%62 = add nsw i32 %60, %61
br label %63
63: ; preds = %20, %38, %51, %33
%64 = phi i32 [ 0, %33 ], [ %62, %51 ], [ %47, %38 ], [ %29, %20 ]
%65 = getelementptr inbounds i8, ptr %2, i64 56
store i32 %64, ptr %65, align 4, !tbaa !6
br label %66
66: ; preds = %63, %48
%67 = load i32, ptr %1, align 4, !tbaa !6
%68 = getelementptr inbounds i8, ptr %2, i64 24
store i32 %67, ptr %68, align 4, !tbaa !6
%69 = getelementptr inbounds i8, ptr %1, i64 4
%70 = load i32, ptr %69, align 4, !tbaa !6
%71 = getelementptr inbounds i8, ptr %2, i64 28
store i32 %70, ptr %71, align 4, !tbaa !6
%72 = getelementptr inbounds i8, ptr %1, i64 8
%73 = load i32, ptr %72, align 4, !tbaa !6
%74 = getelementptr inbounds i8, ptr %2, i64 32
store i32 %73, ptr %74, align 4, !tbaa !6
%75 = getelementptr inbounds i8, ptr %16, i64 8
%76 = load ptr, ptr %75, align 8, !tbaa !18
%77 = load i32, ptr %76, align 4, !tbaa !6
%78 = getelementptr inbounds i8, ptr %2, i64 36
store i32 %77, ptr %78, align 4, !tbaa !6
%79 = getelementptr inbounds i8, ptr %76, i64 4
%80 = load i32, ptr %79, align 4, !tbaa !6
%81 = getelementptr inbounds i8, ptr %2, i64 40
store i32 %80, ptr %81, align 4, !tbaa !6
%82 = load i64, ptr @ZM_MODE_AP, align 8, !tbaa !16
%83 = icmp eq i64 %17, %82
%84 = getelementptr inbounds i8, ptr %76, i64 8
%85 = load i32, ptr %84, align 4, !tbaa !6
%86 = shl i32 %5, 8
%87 = select i1 %83, i32 %86, i32 0
%88 = add nsw i32 %85, %87
%89 = getelementptr inbounds i8, ptr %2, i64 44
store i32 %88, ptr %89, align 4
%90 = tail call i32 @zmw_enter_critical_section(ptr noundef %0) #2
%91 = load ptr, ptr @wd, align 8, !tbaa !10
%92 = getelementptr inbounds i8, ptr %91, i64 16
%93 = load i32, ptr %92, align 8, !tbaa !19
%94 = add nsw i32 %93, 1
store i32 %94, ptr %92, align 8, !tbaa !19
%95 = shl i32 %93, 4
%96 = getelementptr inbounds i8, ptr %2, i64 60
store i32 %95, ptr %96, align 4, !tbaa !6
%97 = tail call i32 @zmw_leave_critical_section(ptr noundef %0) #2
ret i32 32
}
declare i32 @zmw_get_wlan_dev(ptr noundef) local_unnamed_addr #1
declare i32 @zmw_declare_for_critical_section(...) local_unnamed_addr #1
declare i32 @zmw_enter_critical_section(ptr noundef) local_unnamed_addr #1
declare i32 @zmw_leave_critical_section(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, !14, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0, !11, i64 8, !7, i64 16, !15, i64 24}
!14 = !{!"long", !8, i64 0}
!15 = !{!"TYPE_3__", !11, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!13, !11, i64 24}
!18 = !{!13, !11, i64 8}
!19 = !{!13, !7, i64 16}
| fastsocket_kernel_drivers_staging_otus_80211core_extr_cagg.c_zfAggGenAddbaHeader |
; ModuleID = 'AnghaBench/linux/drivers/media/usb/go7007/extr_go7007-fw.c_seqhead_to_package.c'
source_filename = "AnghaBench/linux/drivers/media/usb/go7007/extr_go7007-fw.c_seqhead_to_package.c"
target datalayout = "e-m:e-p270:32:32-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.go7007 = type { i32, i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @seqhead_to_package], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @seqhead_to_package(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 {
%5 = alloca [40 x i8], align 16
%6 = alloca [100 x i32], align 16
%7 = tail call i32 @vti_bitlen(ptr noundef %0) #4
%8 = load i32, ptr %0, align 8, !tbaa !5
%9 = getelementptr inbounds %struct.go7007, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = sdiv i32 %8, %10
%12 = getelementptr inbounds %struct.go7007, ptr %0, i64 0, i32 2
%13 = load i64, ptr %12, align 8, !tbaa !12
%14 = icmp ne i64 %13, 0
%15 = zext i1 %14 to i32
%16 = shl i32 %11, %15
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %5, i8 0, i64 40, i1 false)
%17 = call i32 %3(ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef 1) #4
call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %6) #4
store i32 8198, ptr %6, align 16, !tbaa !13
%18 = getelementptr inbounds i32, ptr %6, i64 1
store i32 0, ptr %18, align 4, !tbaa !13
%19 = getelementptr inbounds i32, ptr %6, i64 2
store i32 48904, ptr %19, align 8, !tbaa !13
%20 = getelementptr inbounds i32, ptr %6, i64 3
store i32 %16, ptr %20, align 4, !tbaa !13
%21 = getelementptr inbounds i32, ptr %6, i64 4
store i32 48905, ptr %21, align 16, !tbaa !13
%22 = getelementptr inbounds i32, ptr %6, i64 5
store i32 0, ptr %22, align 4, !tbaa !13
%23 = getelementptr inbounds i32, ptr %6, i64 6
store i32 49138, ptr %23, align 8, !tbaa !13
%24 = getelementptr inbounds i32, ptr %6, i64 7
store i32 %7, ptr %24, align 4, !tbaa !13
%25 = getelementptr inbounds i32, ptr %6, i64 8
store i32 49139, ptr %25, align 16, !tbaa !13
%26 = getelementptr inbounds i32, ptr %6, i64 9
%27 = shl nsw i32 -1, %7
%28 = xor i32 %27, -1
store i32 %28, ptr %26, align 4, !tbaa !13
%29 = getelementptr inbounds i32, ptr %6, i64 10
store i32 49126, ptr %29, align 8, !tbaa !13
%30 = getelementptr inbounds i32, ptr %6, i64 11
store i32 0, ptr %30, align 4, !tbaa !13
%31 = getelementptr inbounds i32, ptr %6, i64 12
store i32 49127, ptr %31, align 16, !tbaa !13
%32 = getelementptr inbounds i32, ptr %6, i64 13
%33 = sdiv i32 %16, 1000
%34 = shl nsw i32 %33, 8
store i32 %34, ptr %32, align 4, !tbaa !13
%35 = getelementptr inbounds i32, ptr %6, i64 14
%36 = getelementptr inbounds i32, ptr %6, i64 32
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %35, i8 0, i64 72, i1 false)
store i32 8199, ptr %36, align 16, !tbaa !13
%37 = getelementptr inbounds i32, ptr %6, i64 33
store i32 0, ptr %37, align 4, !tbaa !13
%38 = getelementptr inbounds i32, ptr %6, i64 34
store i32 51200, ptr %38, align 8, !tbaa !13
%39 = getelementptr inbounds i32, ptr %6, i64 35
%40 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 2
%41 = load i8, ptr %40, align 2, !tbaa !14
%42 = zext i8 %41 to i32
%43 = shl nuw nsw i32 %42, 8
%44 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 3
%45 = load i8, ptr %44, align 1, !tbaa !14
%46 = zext i8 %45 to i32
%47 = or disjoint i32 %43, %46
store i32 %47, ptr %39, align 4, !tbaa !13
%48 = getelementptr inbounds i32, ptr %6, i64 36
store i32 51201, ptr %48, align 16, !tbaa !13
%49 = getelementptr inbounds i32, ptr %6, i64 37
%50 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 4
%51 = load i8, ptr %50, align 4, !tbaa !14
%52 = zext i8 %51 to i32
%53 = shl nuw nsw i32 %52, 8
%54 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 5
%55 = load i8, ptr %54, align 1, !tbaa !14
%56 = zext i8 %55 to i32
%57 = or disjoint i32 %53, %56
store i32 %57, ptr %49, align 4, !tbaa !13
%58 = getelementptr inbounds i32, ptr %6, i64 38
store i32 51202, ptr %58, align 8, !tbaa !13
%59 = getelementptr inbounds i32, ptr %6, i64 39
%60 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 6
%61 = load i8, ptr %60, align 2, !tbaa !14
%62 = zext i8 %61 to i32
%63 = shl nuw nsw i32 %62, 8
%64 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 7
%65 = load i8, ptr %64, align 1, !tbaa !14
%66 = zext i8 %65 to i32
%67 = or disjoint i32 %63, %66
store i32 %67, ptr %59, align 4, !tbaa !13
%68 = getelementptr inbounds i32, ptr %6, i64 40
store i32 51203, ptr %68, align 16, !tbaa !13
%69 = getelementptr inbounds i32, ptr %6, i64 41
%70 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 8
%71 = load i8, ptr %70, align 8, !tbaa !14
%72 = zext i8 %71 to i32
%73 = shl nuw nsw i32 %72, 8
%74 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 9
%75 = load i8, ptr %74, align 1, !tbaa !14
%76 = zext i8 %75 to i32
%77 = or disjoint i32 %73, %76
store i32 %77, ptr %69, align 4, !tbaa !13
%78 = getelementptr inbounds i32, ptr %6, i64 42
store i32 50182, ptr %78, align 8, !tbaa !13
%79 = getelementptr inbounds i32, ptr %6, i64 43
store i32 64, ptr %79, align 4, !tbaa !13
%80 = getelementptr inbounds i32, ptr %6, i64 44
store i32 50183, ptr %80, align 16, !tbaa !13
%81 = getelementptr inbounds i32, ptr %6, i64 45
%82 = add nsw i32 %17, -64
store i32 %82, ptr %81, align 4, !tbaa !13
%83 = getelementptr inbounds i32, ptr %6, i64 46
store i32 50715, ptr %83, align 8, !tbaa !13
%84 = getelementptr inbounds i32, ptr %6, i64 47
store i32 1, ptr %84, align 4, !tbaa !13
%85 = getelementptr inbounds i32, ptr %6, i64 48
%86 = getelementptr inbounds i32, ptr %6, i64 64
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %85, i8 0, i64 64, i1 false)
store i32 8206, ptr %86, align 16, !tbaa !13
%87 = getelementptr inbounds i32, ptr %6, i64 65
store i32 0, ptr %87, align 4, !tbaa !13
%88 = getelementptr inbounds i32, ptr %6, i64 66
store i32 51208, ptr %88, align 8, !tbaa !13
%89 = getelementptr inbounds i32, ptr %6, i64 67
%90 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 10
%91 = load i8, ptr %90, align 2, !tbaa !14
%92 = zext i8 %91 to i32
%93 = shl nuw nsw i32 %92, 8
%94 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 11
%95 = load i8, ptr %94, align 1, !tbaa !14
%96 = zext i8 %95 to i32
%97 = or disjoint i32 %93, %96
store i32 %97, ptr %89, align 4, !tbaa !13
%98 = getelementptr inbounds i32, ptr %6, i64 68
store i32 51209, ptr %98, align 16, !tbaa !13
%99 = getelementptr inbounds i32, ptr %6, i64 69
%100 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 12
%101 = load i8, ptr %100, align 4, !tbaa !14
%102 = zext i8 %101 to i32
%103 = shl nuw nsw i32 %102, 8
%104 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 13
%105 = load i8, ptr %104, align 1, !tbaa !14
%106 = zext i8 %105 to i32
%107 = or disjoint i32 %103, %106
store i32 %107, ptr %99, align 4, !tbaa !13
%108 = getelementptr inbounds i32, ptr %6, i64 70
store i32 51210, ptr %108, align 8, !tbaa !13
%109 = getelementptr inbounds i32, ptr %6, i64 71
%110 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 14
%111 = load i8, ptr %110, align 2, !tbaa !14
%112 = zext i8 %111 to i32
%113 = shl nuw nsw i32 %112, 8
%114 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 15
%115 = load i8, ptr %114, align 1, !tbaa !14
%116 = zext i8 %115 to i32
%117 = or disjoint i32 %113, %116
store i32 %117, ptr %109, align 4, !tbaa !13
%118 = getelementptr inbounds i32, ptr %6, i64 72
store i32 51211, ptr %118, align 16, !tbaa !13
%119 = getelementptr inbounds i32, ptr %6, i64 73
%120 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 16
%121 = load i8, ptr %120, align 16, !tbaa !14
%122 = zext i8 %121 to i32
%123 = shl nuw nsw i32 %122, 8
%124 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 17
%125 = load i8, ptr %124, align 1, !tbaa !14
%126 = zext i8 %125 to i32
%127 = or disjoint i32 %123, %126
store i32 %127, ptr %119, align 4, !tbaa !13
%128 = getelementptr inbounds i32, ptr %6, i64 74
store i32 51212, ptr %128, align 8, !tbaa !13
%129 = getelementptr inbounds i32, ptr %6, i64 75
%130 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 18
%131 = load i8, ptr %130, align 2, !tbaa !14
%132 = zext i8 %131 to i32
%133 = shl nuw nsw i32 %132, 8
%134 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 19
%135 = load i8, ptr %134, align 1, !tbaa !14
%136 = zext i8 %135 to i32
%137 = or disjoint i32 %133, %136
store i32 %137, ptr %129, align 4, !tbaa !13
%138 = getelementptr inbounds i32, ptr %6, i64 76
store i32 51213, ptr %138, align 16, !tbaa !13
%139 = getelementptr inbounds i32, ptr %6, i64 77
%140 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 20
%141 = load i8, ptr %140, align 4, !tbaa !14
%142 = zext i8 %141 to i32
%143 = shl nuw nsw i32 %142, 8
%144 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 21
%145 = load i8, ptr %144, align 1, !tbaa !14
%146 = zext i8 %145 to i32
%147 = or disjoint i32 %143, %146
store i32 %147, ptr %139, align 4, !tbaa !13
%148 = getelementptr inbounds i32, ptr %6, i64 78
store i32 51214, ptr %148, align 8, !tbaa !13
%149 = getelementptr inbounds i32, ptr %6, i64 79
%150 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 22
%151 = load i8, ptr %150, align 2, !tbaa !14
%152 = zext i8 %151 to i32
%153 = shl nuw nsw i32 %152, 8
%154 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 23
%155 = load i8, ptr %154, align 1, !tbaa !14
%156 = zext i8 %155 to i32
%157 = or disjoint i32 %153, %156
store i32 %157, ptr %149, align 4, !tbaa !13
%158 = getelementptr inbounds i32, ptr %6, i64 80
store i32 51215, ptr %158, align 16, !tbaa !13
%159 = getelementptr inbounds i32, ptr %6, i64 81
%160 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 24
%161 = load i8, ptr %160, align 8, !tbaa !14
%162 = zext i8 %161 to i32
%163 = shl nuw nsw i32 %162, 8
%164 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 25
%165 = load i8, ptr %164, align 1, !tbaa !14
%166 = zext i8 %165 to i32
%167 = or disjoint i32 %163, %166
store i32 %167, ptr %159, align 4, !tbaa !13
%168 = getelementptr inbounds i32, ptr %6, i64 82
store i32 51216, ptr %168, align 8, !tbaa !13
%169 = getelementptr inbounds i32, ptr %6, i64 83
%170 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 26
%171 = load i8, ptr %170, align 2, !tbaa !14
%172 = zext i8 %171 to i32
%173 = shl nuw nsw i32 %172, 8
%174 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 27
%175 = load i8, ptr %174, align 1, !tbaa !14
%176 = zext i8 %175 to i32
%177 = or disjoint i32 %173, %176
store i32 %177, ptr %169, align 4, !tbaa !13
%178 = getelementptr inbounds i32, ptr %6, i64 84
store i32 51217, ptr %178, align 16, !tbaa !13
%179 = getelementptr inbounds i32, ptr %6, i64 85
%180 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 28
%181 = load i8, ptr %180, align 4, !tbaa !14
%182 = zext i8 %181 to i32
%183 = shl nuw nsw i32 %182, 8
%184 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 29
%185 = load i8, ptr %184, align 1, !tbaa !14
%186 = zext i8 %185 to i32
%187 = or disjoint i32 %183, %186
store i32 %187, ptr %179, align 4, !tbaa !13
%188 = getelementptr inbounds i32, ptr %6, i64 86
store i32 51218, ptr %188, align 8, !tbaa !13
%189 = getelementptr inbounds i32, ptr %6, i64 87
%190 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 30
%191 = load i8, ptr %190, align 2, !tbaa !14
%192 = zext i8 %191 to i32
%193 = shl nuw nsw i32 %192, 8
%194 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 31
%195 = load i8, ptr %194, align 1, !tbaa !14
%196 = zext i8 %195 to i32
%197 = or disjoint i32 %193, %196
store i32 %197, ptr %189, align 4, !tbaa !13
%198 = getelementptr inbounds i32, ptr %6, i64 88
store i32 51219, ptr %198, align 16, !tbaa !13
%199 = getelementptr inbounds i32, ptr %6, i64 89
%200 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 32
%201 = load i8, ptr %200, align 16, !tbaa !14
%202 = zext i8 %201 to i32
%203 = shl nuw nsw i32 %202, 8
%204 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 33
%205 = load i8, ptr %204, align 1, !tbaa !14
%206 = zext i8 %205 to i32
%207 = or disjoint i32 %203, %206
store i32 %207, ptr %199, align 4, !tbaa !13
%208 = getelementptr inbounds i32, ptr %6, i64 90
store i32 51220, ptr %208, align 8, !tbaa !13
%209 = getelementptr inbounds i32, ptr %6, i64 91
%210 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 34
%211 = load i8, ptr %210, align 2, !tbaa !14
%212 = zext i8 %211 to i32
%213 = shl nuw nsw i32 %212, 8
%214 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 35
%215 = load i8, ptr %214, align 1, !tbaa !14
%216 = zext i8 %215 to i32
%217 = or disjoint i32 %213, %216
store i32 %217, ptr %209, align 4, !tbaa !13
%218 = getelementptr inbounds i32, ptr %6, i64 92
store i32 51221, ptr %218, align 16, !tbaa !13
%219 = getelementptr inbounds i32, ptr %6, i64 93
%220 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 36
%221 = load i8, ptr %220, align 4, !tbaa !14
%222 = zext i8 %221 to i32
%223 = shl nuw nsw i32 %222, 8
%224 = getelementptr inbounds [40 x i8], ptr %5, i64 0, i64 37
%225 = load i8, ptr %224, align 1, !tbaa !14
%226 = zext i8 %225 to i32
%227 = or disjoint i32 %223, %226
store i32 %227, ptr %219, align 4, !tbaa !13
%228 = getelementptr inbounds i32, ptr %6, i64 94
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %228, i8 0, i64 24, i1 false)
%229 = call i32 @copy_packages(ptr noundef %1, ptr noundef nonnull %6, i32 noundef 3, i32 noundef %2) #4
call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #4
ret i32 %229
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @vti_bitlen(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i32 @copy_packages(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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"go7007", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/usb/go7007/extr_go7007-fw.c_seqhead_to_package.c'
source_filename = "AnghaBench/linux/drivers/media/usb/go7007/extr_go7007-fw.c_seqhead_to_package.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 @seqhead_to_package], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @seqhead_to_package(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 {
%5 = alloca [40 x i8], align 1
%6 = alloca [100 x i32], align 8
%7 = tail call i32 @vti_bitlen(ptr noundef %0) #4
%8 = load i32, ptr %0, align 8, !tbaa !6
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = sdiv i32 %8, %10
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = icmp ne i64 %13, 0
%15 = zext i1 %14 to i32
%16 = shl i32 %11, %15
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(40) %5, i8 0, i64 40, i1 false)
%17 = call i32 %3(ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef 1) #4
call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %6) #4
store <2 x i32> <i32 8198, i32 0>, ptr %6, align 8, !tbaa !14
%18 = getelementptr inbounds i8, ptr %6, i64 8
store i32 48904, ptr %18, align 8, !tbaa !14
%19 = getelementptr inbounds i8, ptr %6, i64 12
store i32 %16, ptr %19, align 4, !tbaa !14
%20 = getelementptr inbounds i8, ptr %6, i64 16
store <2 x i32> <i32 48905, i32 0>, ptr %20, align 8, !tbaa !14
%21 = getelementptr inbounds i8, ptr %6, i64 24
store i32 49138, ptr %21, align 8, !tbaa !14
%22 = getelementptr inbounds i8, ptr %6, i64 28
store i32 %7, ptr %22, align 4, !tbaa !14
%23 = getelementptr inbounds i8, ptr %6, i64 32
store i32 49139, ptr %23, align 8, !tbaa !14
%24 = getelementptr inbounds i8, ptr %6, i64 36
%25 = shl nsw i32 -1, %7
%26 = xor i32 %25, -1
store i32 %26, ptr %24, align 4, !tbaa !14
%27 = getelementptr inbounds i8, ptr %6, i64 40
store <2 x i32> <i32 49126, i32 0>, ptr %27, align 8, !tbaa !14
%28 = getelementptr inbounds i8, ptr %6, i64 48
store i32 49127, ptr %28, align 8, !tbaa !14
%29 = getelementptr inbounds i8, ptr %6, i64 52
%30 = sdiv i32 %16, 1000
%31 = shl nsw i32 %30, 8
store i32 %31, ptr %29, align 4, !tbaa !14
%32 = getelementptr inbounds i8, ptr %6, i64 56
%33 = getelementptr inbounds i8, ptr %6, i64 128
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %32, i8 0, i64 72, i1 false)
store <2 x i32> <i32 8199, i32 0>, ptr %33, align 8, !tbaa !14
%34 = getelementptr inbounds i8, ptr %6, i64 136
store i32 51200, ptr %34, align 8, !tbaa !14
%35 = getelementptr inbounds i8, ptr %6, i64 140
%36 = getelementptr inbounds i8, ptr %5, i64 2
%37 = load i8, ptr %36, align 1, !tbaa !15
%38 = zext i8 %37 to i32
%39 = shl nuw nsw i32 %38, 8
%40 = getelementptr inbounds i8, ptr %5, i64 3
%41 = load i8, ptr %40, align 1, !tbaa !15
%42 = zext i8 %41 to i32
%43 = or disjoint i32 %39, %42
store i32 %43, ptr %35, align 4, !tbaa !14
%44 = getelementptr inbounds i8, ptr %6, i64 144
store i32 51201, ptr %44, align 8, !tbaa !14
%45 = getelementptr inbounds i8, ptr %6, i64 148
%46 = getelementptr inbounds i8, ptr %5, i64 4
%47 = load i8, ptr %46, align 1, !tbaa !15
%48 = zext i8 %47 to i32
%49 = shl nuw nsw i32 %48, 8
%50 = getelementptr inbounds i8, ptr %5, i64 5
%51 = load i8, ptr %50, align 1, !tbaa !15
%52 = zext i8 %51 to i32
%53 = or disjoint i32 %49, %52
store i32 %53, ptr %45, align 4, !tbaa !14
%54 = getelementptr inbounds i8, ptr %6, i64 152
store i32 51202, ptr %54, align 8, !tbaa !14
%55 = getelementptr inbounds i8, ptr %6, i64 156
%56 = getelementptr inbounds i8, ptr %5, i64 6
%57 = load i8, ptr %56, align 1, !tbaa !15
%58 = zext i8 %57 to i32
%59 = shl nuw nsw i32 %58, 8
%60 = getelementptr inbounds i8, ptr %5, i64 7
%61 = load i8, ptr %60, align 1, !tbaa !15
%62 = zext i8 %61 to i32
%63 = or disjoint i32 %59, %62
store i32 %63, ptr %55, align 4, !tbaa !14
%64 = getelementptr inbounds i8, ptr %6, i64 160
store i32 51203, ptr %64, align 8, !tbaa !14
%65 = getelementptr inbounds i8, ptr %6, i64 164
%66 = getelementptr inbounds i8, ptr %5, i64 8
%67 = load i8, ptr %66, align 1, !tbaa !15
%68 = zext i8 %67 to i32
%69 = shl nuw nsw i32 %68, 8
%70 = getelementptr inbounds i8, ptr %5, i64 9
%71 = load i8, ptr %70, align 1, !tbaa !15
%72 = zext i8 %71 to i32
%73 = or disjoint i32 %69, %72
store i32 %73, ptr %65, align 4, !tbaa !14
%74 = getelementptr inbounds i8, ptr %6, i64 168
store <2 x i32> <i32 50182, i32 64>, ptr %74, align 8, !tbaa !14
%75 = getelementptr inbounds i8, ptr %6, i64 176
store i32 50183, ptr %75, align 8, !tbaa !14
%76 = getelementptr inbounds i8, ptr %6, i64 180
%77 = add nsw i32 %17, -64
store i32 %77, ptr %76, align 4, !tbaa !14
%78 = getelementptr inbounds i8, ptr %6, i64 184
store <2 x i32> <i32 50715, i32 1>, ptr %78, align 8, !tbaa !14
%79 = getelementptr inbounds i8, ptr %6, i64 192
%80 = getelementptr inbounds i8, ptr %6, i64 256
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %79, i8 0, i64 64, i1 false)
store <2 x i32> <i32 8206, i32 0>, ptr %80, align 8, !tbaa !14
%81 = getelementptr inbounds i8, ptr %6, i64 264
store i32 51208, ptr %81, align 8, !tbaa !14
%82 = getelementptr inbounds i8, ptr %6, i64 268
%83 = getelementptr inbounds i8, ptr %5, i64 10
%84 = load i8, ptr %83, align 1, !tbaa !15
%85 = zext i8 %84 to i32
%86 = shl nuw nsw i32 %85, 8
%87 = getelementptr inbounds i8, ptr %5, i64 11
%88 = load i8, ptr %87, align 1, !tbaa !15
%89 = zext i8 %88 to i32
%90 = or disjoint i32 %86, %89
store i32 %90, ptr %82, align 4, !tbaa !14
%91 = getelementptr inbounds i8, ptr %6, i64 272
store i32 51209, ptr %91, align 8, !tbaa !14
%92 = getelementptr inbounds i8, ptr %6, i64 276
%93 = getelementptr inbounds i8, ptr %5, i64 12
%94 = load i8, ptr %93, align 1, !tbaa !15
%95 = zext i8 %94 to i32
%96 = shl nuw nsw i32 %95, 8
%97 = getelementptr inbounds i8, ptr %5, i64 13
%98 = load i8, ptr %97, align 1, !tbaa !15
%99 = zext i8 %98 to i32
%100 = or disjoint i32 %96, %99
store i32 %100, ptr %92, align 4, !tbaa !14
%101 = getelementptr inbounds i8, ptr %6, i64 280
store i32 51210, ptr %101, align 8, !tbaa !14
%102 = getelementptr inbounds i8, ptr %6, i64 284
%103 = getelementptr inbounds i8, ptr %5, i64 14
%104 = load i8, ptr %103, align 1, !tbaa !15
%105 = zext i8 %104 to i32
%106 = shl nuw nsw i32 %105, 8
%107 = getelementptr inbounds i8, ptr %5, i64 15
%108 = load i8, ptr %107, align 1, !tbaa !15
%109 = zext i8 %108 to i32
%110 = or disjoint i32 %106, %109
store i32 %110, ptr %102, align 4, !tbaa !14
%111 = getelementptr inbounds i8, ptr %6, i64 288
store i32 51211, ptr %111, align 8, !tbaa !14
%112 = getelementptr inbounds i8, ptr %6, i64 292
%113 = getelementptr inbounds i8, ptr %5, i64 16
%114 = load i8, ptr %113, align 1, !tbaa !15
%115 = zext i8 %114 to i32
%116 = shl nuw nsw i32 %115, 8
%117 = getelementptr inbounds i8, ptr %5, i64 17
%118 = load i8, ptr %117, align 1, !tbaa !15
%119 = zext i8 %118 to i32
%120 = or disjoint i32 %116, %119
store i32 %120, ptr %112, align 4, !tbaa !14
%121 = getelementptr inbounds i8, ptr %6, i64 296
store i32 51212, ptr %121, align 8, !tbaa !14
%122 = getelementptr inbounds i8, ptr %6, i64 300
%123 = getelementptr inbounds i8, ptr %5, i64 18
%124 = load i8, ptr %123, align 1, !tbaa !15
%125 = zext i8 %124 to i32
%126 = shl nuw nsw i32 %125, 8
%127 = getelementptr inbounds i8, ptr %5, i64 19
%128 = load i8, ptr %127, align 1, !tbaa !15
%129 = zext i8 %128 to i32
%130 = or disjoint i32 %126, %129
store i32 %130, ptr %122, align 4, !tbaa !14
%131 = getelementptr inbounds i8, ptr %6, i64 304
store i32 51213, ptr %131, align 8, !tbaa !14
%132 = getelementptr inbounds i8, ptr %6, i64 308
%133 = getelementptr inbounds i8, ptr %5, i64 20
%134 = load i8, ptr %133, align 1, !tbaa !15
%135 = zext i8 %134 to i32
%136 = shl nuw nsw i32 %135, 8
%137 = getelementptr inbounds i8, ptr %5, i64 21
%138 = load i8, ptr %137, align 1, !tbaa !15
%139 = zext i8 %138 to i32
%140 = or disjoint i32 %136, %139
store i32 %140, ptr %132, align 4, !tbaa !14
%141 = getelementptr inbounds i8, ptr %6, i64 312
store i32 51214, ptr %141, align 8, !tbaa !14
%142 = getelementptr inbounds i8, ptr %6, i64 316
%143 = getelementptr inbounds i8, ptr %5, i64 22
%144 = load i8, ptr %143, align 1, !tbaa !15
%145 = zext i8 %144 to i32
%146 = shl nuw nsw i32 %145, 8
%147 = getelementptr inbounds i8, ptr %5, i64 23
%148 = load i8, ptr %147, align 1, !tbaa !15
%149 = zext i8 %148 to i32
%150 = or disjoint i32 %146, %149
store i32 %150, ptr %142, align 4, !tbaa !14
%151 = getelementptr inbounds i8, ptr %6, i64 320
store i32 51215, ptr %151, align 8, !tbaa !14
%152 = getelementptr inbounds i8, ptr %6, i64 324
%153 = getelementptr inbounds i8, ptr %5, i64 24
%154 = load i8, ptr %153, align 1, !tbaa !15
%155 = zext i8 %154 to i32
%156 = shl nuw nsw i32 %155, 8
%157 = getelementptr inbounds i8, ptr %5, i64 25
%158 = load i8, ptr %157, align 1, !tbaa !15
%159 = zext i8 %158 to i32
%160 = or disjoint i32 %156, %159
store i32 %160, ptr %152, align 4, !tbaa !14
%161 = getelementptr inbounds i8, ptr %6, i64 328
store i32 51216, ptr %161, align 8, !tbaa !14
%162 = getelementptr inbounds i8, ptr %6, i64 332
%163 = getelementptr inbounds i8, ptr %5, i64 26
%164 = load i8, ptr %163, align 1, !tbaa !15
%165 = zext i8 %164 to i32
%166 = shl nuw nsw i32 %165, 8
%167 = getelementptr inbounds i8, ptr %5, i64 27
%168 = load i8, ptr %167, align 1, !tbaa !15
%169 = zext i8 %168 to i32
%170 = or disjoint i32 %166, %169
store i32 %170, ptr %162, align 4, !tbaa !14
%171 = getelementptr inbounds i8, ptr %6, i64 336
store i32 51217, ptr %171, align 8, !tbaa !14
%172 = getelementptr inbounds i8, ptr %6, i64 340
%173 = getelementptr inbounds i8, ptr %5, i64 28
%174 = load i8, ptr %173, align 1, !tbaa !15
%175 = zext i8 %174 to i32
%176 = shl nuw nsw i32 %175, 8
%177 = getelementptr inbounds i8, ptr %5, i64 29
%178 = load i8, ptr %177, align 1, !tbaa !15
%179 = zext i8 %178 to i32
%180 = or disjoint i32 %176, %179
store i32 %180, ptr %172, align 4, !tbaa !14
%181 = getelementptr inbounds i8, ptr %6, i64 344
store i32 51218, ptr %181, align 8, !tbaa !14
%182 = getelementptr inbounds i8, ptr %6, i64 348
%183 = getelementptr inbounds i8, ptr %5, i64 30
%184 = load i8, ptr %183, align 1, !tbaa !15
%185 = zext i8 %184 to i32
%186 = shl nuw nsw i32 %185, 8
%187 = getelementptr inbounds i8, ptr %5, i64 31
%188 = load i8, ptr %187, align 1, !tbaa !15
%189 = zext i8 %188 to i32
%190 = or disjoint i32 %186, %189
store i32 %190, ptr %182, align 4, !tbaa !14
%191 = getelementptr inbounds i8, ptr %6, i64 352
store i32 51219, ptr %191, align 8, !tbaa !14
%192 = getelementptr inbounds i8, ptr %6, i64 356
%193 = getelementptr inbounds i8, ptr %5, i64 32
%194 = load i8, ptr %193, align 1, !tbaa !15
%195 = zext i8 %194 to i32
%196 = shl nuw nsw i32 %195, 8
%197 = getelementptr inbounds i8, ptr %5, i64 33
%198 = load i8, ptr %197, align 1, !tbaa !15
%199 = zext i8 %198 to i32
%200 = or disjoint i32 %196, %199
store i32 %200, ptr %192, align 4, !tbaa !14
%201 = getelementptr inbounds i8, ptr %6, i64 360
store i32 51220, ptr %201, align 8, !tbaa !14
%202 = getelementptr inbounds i8, ptr %6, i64 364
%203 = getelementptr inbounds i8, ptr %5, i64 34
%204 = load i8, ptr %203, align 1, !tbaa !15
%205 = zext i8 %204 to i32
%206 = shl nuw nsw i32 %205, 8
%207 = getelementptr inbounds i8, ptr %5, i64 35
%208 = load i8, ptr %207, align 1, !tbaa !15
%209 = zext i8 %208 to i32
%210 = or disjoint i32 %206, %209
store i32 %210, ptr %202, align 4, !tbaa !14
%211 = getelementptr inbounds i8, ptr %6, i64 368
store i32 51221, ptr %211, align 8, !tbaa !14
%212 = getelementptr inbounds i8, ptr %6, i64 372
%213 = getelementptr inbounds i8, ptr %5, i64 36
%214 = load i8, ptr %213, align 1, !tbaa !15
%215 = zext i8 %214 to i32
%216 = shl nuw nsw i32 %215, 8
%217 = getelementptr inbounds i8, ptr %5, i64 37
%218 = load i8, ptr %217, align 1, !tbaa !15
%219 = zext i8 %218 to i32
%220 = or disjoint i32 %216, %219
store i32 %220, ptr %212, align 4, !tbaa !14
%221 = getelementptr inbounds i8, ptr %6, i64 376
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %221, i8 0, i64 24, i1 false)
%222 = call i32 @copy_packages(ptr noundef %1, ptr noundef nonnull %6, i32 noundef 3, i32 noundef %2) #4
call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #4
ret i32 %222
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @vti_bitlen(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i32 @copy_packages(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 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"go7007", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !11, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!9, !9, i64 0}
| linux_drivers_media_usb_go7007_extr_go7007-fw.c_seqhead_to_package |
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_arc.c_arc_cksum_verify.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_arc.c_arc_cksum_verify.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.TYPE_9__ = type { i32, ptr }
@zfs_flags = dso_local local_unnamed_addr global i32 0, align 4
@ZFS_DEBUG_MODIFY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"buffer modified while frozen!\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @arc_cksum_verify], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @arc_cksum_verify(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%5 = load i32, ptr @zfs_flags, align 4, !tbaa !11
%6 = load i32, ptr @ZFS_DEBUG_MODIFY, align 4, !tbaa !11
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %37, label %9
9: ; preds = %1
%10 = tail call i64 @ARC_BUF_COMPRESSED(ptr noundef nonnull %0) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %37
12: ; preds = %9
%13 = tail call i32 @HDR_HAS_L1HDR(ptr noundef %4) #3
%14 = tail call i32 @ASSERT(i32 noundef %13) #3
%15 = tail call i32 @mutex_enter(ptr noundef %4) #3
%16 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !12
%18 = icmp eq ptr %17, null
br i1 %18, label %22, label %19
19: ; preds = %12
%20 = tail call i64 @HDR_IO_ERROR(ptr noundef nonnull %4) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %19, %12
%23 = tail call i32 @mutex_exit(ptr noundef nonnull %4) #3
br label %37
24: ; preds = %19
%25 = load i32, ptr %0, align 8, !tbaa !15
%26 = tail call i32 @arc_buf_size(ptr noundef nonnull %0) #3
%27 = call i32 @fletcher_2_native(i32 noundef %25, i32 noundef %26, ptr noundef null, ptr noundef nonnull %2) #3
%28 = load ptr, ptr %16, align 8, !tbaa !12
%29 = load i32, ptr %28, align 4, !tbaa !11
%30 = load i32, ptr %2, align 4, !tbaa !11
%31 = call i32 @ZIO_CHECKSUM_EQUAL(i32 noundef %29, i32 noundef %30) #3
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %24
%34 = call i32 @panic(ptr noundef nonnull @.str) #3
br label %35
35: ; preds = %33, %24
%36 = call i32 @mutex_exit(ptr noundef nonnull %4) #3
br label %37
37: ; preds = %9, %1, %35, %22
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 i64 @ARC_BUF_COMPRESSED(ptr noundef) local_unnamed_addr #2
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2
declare i32 @HDR_HAS_L1HDR(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #2
declare i64 @HDR_IO_ERROR(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #2
declare i32 @fletcher_2_native(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @arc_buf_size(ptr noundef) local_unnamed_addr #2
declare i32 @ZIO_CHECKSUM_EQUAL(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @panic(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_10__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 8}
!13 = !{!"TYPE_11__", !14, i64 0}
!14 = !{!"TYPE_9__", !7, i64 0, !10, i64 8}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/zfs/module/zfs/extr_arc.c_arc_cksum_verify.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_arc.c_arc_cksum_verify.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@zfs_flags = common local_unnamed_addr global i32 0, align 4
@ZFS_DEBUG_MODIFY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"buffer modified while frozen!\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @arc_cksum_verify], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @arc_cksum_verify(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%5 = load i32, ptr @zfs_flags, align 4, !tbaa !12
%6 = load i32, ptr @ZFS_DEBUG_MODIFY, align 4, !tbaa !12
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %37, label %9
9: ; preds = %1
%10 = tail call i64 @ARC_BUF_COMPRESSED(ptr noundef nonnull %0) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %37
12: ; preds = %9
%13 = tail call i32 @HDR_HAS_L1HDR(ptr noundef %4) #3
%14 = tail call i32 @ASSERT(i32 noundef %13) #3
%15 = tail call i32 @mutex_enter(ptr noundef %4) #3
%16 = getelementptr inbounds i8, ptr %4, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !13
%18 = icmp eq ptr %17, null
br i1 %18, label %22, label %19
19: ; preds = %12
%20 = tail call i64 @HDR_IO_ERROR(ptr noundef nonnull %4) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %19, %12
%23 = tail call i32 @mutex_exit(ptr noundef nonnull %4) #3
br label %37
24: ; preds = %19
%25 = load i32, ptr %0, align 8, !tbaa !16
%26 = tail call i32 @arc_buf_size(ptr noundef nonnull %0) #3
%27 = call i32 @fletcher_2_native(i32 noundef %25, i32 noundef %26, ptr noundef null, ptr noundef nonnull %2) #3
%28 = load ptr, ptr %16, align 8, !tbaa !13
%29 = load i32, ptr %28, align 4, !tbaa !12
%30 = load i32, ptr %2, align 4, !tbaa !12
%31 = call i32 @ZIO_CHECKSUM_EQUAL(i32 noundef %29, i32 noundef %30) #3
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %24
%34 = call i32 @panic(ptr noundef nonnull @.str) #3
br label %35
35: ; preds = %33, %24
%36 = call i32 @mutex_exit(ptr noundef nonnull %4) #3
br label %37
37: ; preds = %9, %1, %35, %22
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 i64 @ARC_BUF_COMPRESSED(ptr noundef) local_unnamed_addr #2
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2
declare i32 @HDR_HAS_L1HDR(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #2
declare i64 @HDR_IO_ERROR(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #2
declare i32 @fletcher_2_native(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @arc_buf_size(ptr noundef) local_unnamed_addr #2
declare i32 @ZIO_CHECKSUM_EQUAL(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @panic(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_10__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !11, i64 8}
!14 = !{!"TYPE_11__", !15, i64 0}
!15 = !{!"TYPE_9__", !8, i64 0, !11, i64 8}
!16 = !{!7, !8, i64 0}
| zfs_module_zfs_extr_arc.c_arc_cksum_verify |
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/local/extr_3220.c_ConnectToLPCPort.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/local/extr_3220.c_ConnectToLPCPort.c"
target datalayout = "e-m:e-p270:32:32-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 { i32, i32, i32, i32, i32 }
%struct.TYPE_11__ = type { i32, i32, ptr }
%struct.TYPE_13__ = type { i32, i32, i64 }
%struct.TYPE_12__ = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [21 x i32] [i32 92, i32 82, i32 80, i32 67, i32 32, i32 67, i32 111, i32 110, i32 116, i32 114, i32 111, i32 108, i32 92, i32 115, i32 112, i32 111, i32 111, i32 108, i32 115, i32 115, i32 0], align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"NTDLL.DLL\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"NtConnectPort\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"NtCreateSection\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"[-] Error Loading functions\0A\00", align 1
@REQUIRED_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@SecurityIdentification = dso_local local_unnamed_addr global i32 0, align 4
@SECTION_ALL_ACCESS = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_READWRITE = dso_local local_unnamed_addr global i32 0, align 4
@SEC_COMMIT = dso_local local_unnamed_addr global i32 0, align 4
@SHARED_SECTION_SIZE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local { i64, i64 } @ConnectToLPCPort() local_unnamed_addr #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.TYPE_14__, align 4
%3 = alloca %struct.TYPE_14__, align 4
%4 = alloca [100 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca %struct.TYPE_11__, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.TYPE_13__, align 8
%9 = alloca i32, align 4
%10 = alloca %struct.TYPE_12__, align 4
%11 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
store i32 400, ptr %5, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(400) %4, i8 0, i64 400, i1 false), !tbaa !5
%12 = tail call i32 @GetModuleHandle(ptr noundef nonnull @.str.1) #4
%13 = tail call i64 @GetProcAddress(i32 noundef %12, ptr noundef nonnull @.str.2) #4
%14 = tail call i32 @GetModuleHandle(ptr noundef nonnull @.str.1) #4
%15 = tail call i64 @GetProcAddress(i32 noundef %14, ptr noundef nonnull @.str.3) #4
%16 = icmp ne i64 %13, 0
%17 = icmp ne i64 %15, 0
%18 = select i1 %16, i1 %17, i1 false
br i1 %18, label %21, label %19
19: ; preds = %0
%20 = tail call i32 @printf(ptr noundef nonnull @.str.4) #4
br label %54
21: ; preds = %0
%22 = inttoptr i64 %15 to ptr
%23 = inttoptr i64 %13 to ptr
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
store i32 0, ptr %9, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
store i32 4, ptr %11, align 4, !tbaa !5
%24 = load i32, ptr @REQUIRED_SIZE, align 4, !tbaa !5
%25 = getelementptr inbounds %struct.TYPE_13__, ptr %8, i64 0, i32 1
store i32 %24, ptr %25, align 4, !tbaa !9
store i32 0, ptr %8, align 8, !tbaa !12
%26 = ptrtoint ptr %11 to i64
%27 = trunc i64 %26 to i32
store i32 %27, ptr %10, align 4, !tbaa !13
%28 = load i32, ptr @SecurityIdentification, align 4, !tbaa !5
%29 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 3
store i32 %28, ptr %29, align 4, !tbaa !15
%30 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 1
store i32 16777473, ptr %30, align 4, !tbaa !16
%31 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 2
store i32 65536, ptr %31, align 4, !tbaa !17
%32 = load i32, ptr @SECTION_ALL_ACCESS, align 4, !tbaa !5
%33 = load i32, ptr @PAGE_READWRITE, align 4, !tbaa !5
%34 = load i32, ptr @SEC_COMMIT, align 4, !tbaa !5
%35 = call i32 %22(ptr noundef nonnull %7, i32 noundef %32, ptr noundef null, ptr noundef nonnull %8, i32 noundef %33, i32 noundef %34, ptr noundef null) #4
%36 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 20) #4
%37 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 20) #4
store i32 24, ptr %2, align 4, !tbaa !18
%38 = load i32, ptr %7, align 4, !tbaa !5
%39 = getelementptr inbounds %struct.TYPE_14__, ptr %2, i64 0, i32 4
store i32 %38, ptr %39, align 4, !tbaa !20
%40 = load i32, ptr @SHARED_SECTION_SIZE, align 4, !tbaa !5
%41 = getelementptr inbounds %struct.TYPE_14__, ptr %2, i64 0, i32 3
store i32 %40, ptr %41, align 4, !tbaa !21
store i32 12, ptr %3, align 4, !tbaa !18
%42 = call i32 @wcslen(ptr noundef nonnull @.str) #4
%43 = shl nsw i32 %42, 1
store i32 %43, ptr %6, align 8, !tbaa !22
%44 = call i32 @wcslen(ptr noundef nonnull @.str) #4
%45 = shl nsw i32 %44, 1
%46 = add nsw i32 %45, 2
%47 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i64 0, i32 1
store i32 %46, ptr %47, align 4, !tbaa !25
%48 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i64 0, i32 2
store ptr @.str, ptr %48, align 8, !tbaa !26
%49 = call i32 %23(ptr noundef nonnull %1, ptr noundef nonnull %6, ptr noundef nonnull %10, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %9, ptr noundef nonnull %4, ptr noundef nonnull %5) #4
%50 = icmp eq i32 %49, 0
%51 = getelementptr inbounds i8, ptr %2, i64 4
%52 = load i64, ptr %51, align 4
%53 = select i1 %50, i64 %52, i64 0
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
br label %54
54: ; preds = %21, %19
%55 = phi i64 [ %53, %21 ], [ 0, %19 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
%56 = insertvalue { i64, i64 } poison, i64 %55, 0
%57 = insertvalue { i64, i64 } %56, i64 0, 1
ret { i64, i64 } %57
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @GetProcAddress(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GetModuleHandle(ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wcslen(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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"TYPE_13__", !6, i64 0, !6, i64 4, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_12__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!15 = !{!14, !6, i64 12}
!16 = !{!14, !6, i64 4}
!17 = !{!14, !6, i64 8}
!18 = !{!19, !6, i64 0}
!19 = !{!"TYPE_14__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16}
!20 = !{!19, !6, i64 16}
!21 = !{!19, !6, i64 12}
!22 = !{!23, !6, i64 0}
!23 = !{!"TYPE_11__", !6, i64 0, !6, i64 4, !24, i64 8}
!24 = !{!"any pointer", !7, i64 0}
!25 = !{!23, !6, i64 4}
!26 = !{!23, !24, i64 8}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/windows/local/extr_3220.c_ConnectToLPCPort.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/local/extr_3220.c_ConnectToLPCPort.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 { i32, i32, i32, i32, i32 }
%struct.TYPE_11__ = type { i32, i32, ptr }
%struct.TYPE_13__ = type { i32, i32, i64 }
%struct.TYPE_12__ = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [21 x i32] [i32 92, i32 82, i32 80, i32 67, i32 32, i32 67, i32 111, i32 110, i32 116, i32 114, i32 111, i32 108, i32 92, i32 115, i32 112, i32 111, i32 111, i32 108, i32 115, i32 115, i32 0], align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"NTDLL.DLL\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"NtConnectPort\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"NtCreateSection\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"[-] Error Loading functions\0A\00", align 1
@REQUIRED_SIZE = common local_unnamed_addr global i32 0, align 4
@SecurityIdentification = common local_unnamed_addr global i32 0, align 4
@SECTION_ALL_ACCESS = common local_unnamed_addr global i32 0, align 4
@PAGE_READWRITE = common local_unnamed_addr global i32 0, align 4
@SEC_COMMIT = common local_unnamed_addr global i32 0, align 4
@SHARED_SECTION_SIZE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define [2 x i64] @ConnectToLPCPort() local_unnamed_addr #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.TYPE_14__, align 4
%3 = alloca %struct.TYPE_14__, align 4
%4 = alloca [100 x i32], align 4
%5 = alloca i32, align 4
%6 = alloca %struct.TYPE_11__, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.TYPE_13__, align 8
%9 = alloca i32, align 4
%10 = alloca %struct.TYPE_12__, align 4
%11 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
store i32 400, ptr %5, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(400) %4, i8 0, i64 400, i1 false), !tbaa !6
%12 = tail call i32 @GetModuleHandle(ptr noundef nonnull @.str.1) #4
%13 = tail call i64 @GetProcAddress(i32 noundef %12, ptr noundef nonnull @.str.2) #4
%14 = tail call i32 @GetModuleHandle(ptr noundef nonnull @.str.1) #4
%15 = tail call i64 @GetProcAddress(i32 noundef %14, ptr noundef nonnull @.str.3) #4
%16 = icmp ne i64 %13, 0
%17 = icmp ne i64 %15, 0
%18 = select i1 %16, i1 %17, i1 false
br i1 %18, label %21, label %19
19: ; preds = %0
%20 = tail call i32 @printf(ptr noundef nonnull @.str.4) #4
br label %53
21: ; preds = %0
%22 = inttoptr i64 %15 to ptr
%23 = inttoptr i64 %13 to ptr
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
store i32 0, ptr %9, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
store i32 4, ptr %11, align 4, !tbaa !6
%24 = load i32, ptr @REQUIRED_SIZE, align 4, !tbaa !6
%25 = getelementptr inbounds i8, ptr %8, i64 4
store i32 %24, ptr %25, align 4, !tbaa !10
store i32 0, ptr %8, align 8, !tbaa !13
%26 = ptrtoint ptr %11 to i64
%27 = trunc i64 %26 to i32
store i32 %27, ptr %10, align 4, !tbaa !14
%28 = load i32, ptr @SecurityIdentification, align 4, !tbaa !6
%29 = getelementptr inbounds i8, ptr %10, i64 12
store i32 %28, ptr %29, align 4, !tbaa !16
%30 = getelementptr inbounds i8, ptr %10, i64 4
store <2 x i32> <i32 16777473, i32 65536>, ptr %30, align 4, !tbaa !6
%31 = load i32, ptr @SECTION_ALL_ACCESS, align 4, !tbaa !6
%32 = load i32, ptr @PAGE_READWRITE, align 4, !tbaa !6
%33 = load i32, ptr @SEC_COMMIT, align 4, !tbaa !6
%34 = call i32 %22(ptr noundef nonnull %7, i32 noundef %31, ptr noundef null, ptr noundef nonnull %8, i32 noundef %32, i32 noundef %33, ptr noundef null) #4
%35 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 20) #4
%36 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 20) #4
store i32 24, ptr %2, align 4, !tbaa !17
%37 = load i32, ptr %7, align 4, !tbaa !6
%38 = getelementptr inbounds i8, ptr %2, i64 16
store i32 %37, ptr %38, align 4, !tbaa !19
%39 = load i32, ptr @SHARED_SECTION_SIZE, align 4, !tbaa !6
%40 = getelementptr inbounds i8, ptr %2, i64 12
store i32 %39, ptr %40, align 4, !tbaa !20
store i32 12, ptr %3, align 4, !tbaa !17
%41 = call i32 @wcslen(ptr noundef nonnull @.str) #4
%42 = shl nsw i32 %41, 1
store i32 %42, ptr %6, align 8, !tbaa !21
%43 = call i32 @wcslen(ptr noundef nonnull @.str) #4
%44 = shl nsw i32 %43, 1
%45 = add nsw i32 %44, 2
%46 = getelementptr inbounds i8, ptr %6, i64 4
store i32 %45, ptr %46, align 4, !tbaa !24
%47 = getelementptr inbounds i8, ptr %6, i64 8
store ptr @.str, ptr %47, align 8, !tbaa !25
%48 = call i32 %23(ptr noundef nonnull %1, ptr noundef nonnull %6, ptr noundef nonnull %10, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %9, ptr noundef nonnull %4, ptr noundef nonnull %5) #4
%49 = icmp eq i32 %48, 0
%50 = getelementptr inbounds i8, ptr %2, i64 4
%51 = load i64, ptr %50, align 4
%52 = select i1 %49, i64 %51, i64 0
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
br label %53
53: ; preds = %21, %19
%54 = phi i64 [ %52, %21 ], [ 0, %19 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
%55 = insertvalue [2 x i64] poison, i64 %54, 0
%56 = insertvalue [2 x i64] %55, i64 0, 1
ret [2 x i64] %56
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @GetProcAddress(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GetModuleHandle(ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wcslen(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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"TYPE_13__", !7, i64 0, !7, i64 4, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_12__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!16 = !{!15, !7, i64 12}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_14__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!19 = !{!18, !7, i64 16}
!20 = !{!18, !7, i64 12}
!21 = !{!22, !7, i64 0}
!22 = !{!"TYPE_11__", !7, i64 0, !7, i64 4, !23, i64 8}
!23 = !{!"any pointer", !8, i64 0}
!24 = !{!22, !7, i64 4}
!25 = !{!22, !23, i64 8}
| exploitdb_exploits_windows_local_extr_3220.c_ConnectToLPCPort |
; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_put_passthru.c'
source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_put_passthru.c"
target datalayout = "e-m:e-p270:32:32-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_rme9652 = type { i64, i32 }
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_rme9652_put_passthru], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_rme9652_put_passthru(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = tail call i32 @snd_rme9652_use_is_exclusive(ptr noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EBUSY, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %29
9: ; preds = %2
%10 = load ptr, ptr %1, align 8, !tbaa !9
%11 = load i32, ptr %10, align 4, !tbaa !5
%12 = getelementptr inbounds %struct.snd_rme9652, ptr %3, i64 0, i32 1
%13 = tail call i32 @spin_lock_irq(ptr noundef nonnull %12) #2
%14 = load ptr, ptr %1, align 8, !tbaa !9
%15 = load i32, ptr %14, align 4, !tbaa !5
%16 = sext i32 %15 to i64
%17 = load i64, ptr %3, align 8, !tbaa !14
%18 = icmp ne i64 %17, %16
%19 = zext i1 %18 to i32
br i1 %18, label %22, label %20
20: ; preds = %9
%21 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %12) #2
br label %28
22: ; preds = %9
%23 = and i32 %11, 1
%24 = tail call i32 @rme9652_set_passthru(ptr noundef nonnull %3, i32 noundef %23) #2
%25 = freeze i32 %24
%26 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %12) #2
%27 = icmp eq i32 %25, 0
br i1 %27, label %28, label %29
28: ; preds = %20, %22
br label %29
29: ; preds = %28, %22, %6
%30 = phi i32 [ %8, %6 ], [ %19, %28 ], [ %25, %22 ]
ret i32 %30
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare i32 @snd_rme9652_use_is_exclusive(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @rme9652_set_passthru(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(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, !13, i64 0}
!10 = !{!"snd_ctl_elem_value", !11, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"snd_rme9652", !16, i64 0, !6, i64 8}
!16 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_put_passthru.c'
source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_put_passthru.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EBUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snd_rme9652_put_passthru], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @snd_rme9652_put_passthru(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = tail call i32 @snd_rme9652_use_is_exclusive(ptr noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EBUSY, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %29
9: ; preds = %2
%10 = load ptr, ptr %1, align 8, !tbaa !10
%11 = load i32, ptr %10, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %3, i64 8
%13 = tail call i32 @spin_lock_irq(ptr noundef nonnull %12) #2
%14 = load ptr, ptr %1, align 8, !tbaa !10
%15 = load i32, ptr %14, align 4, !tbaa !6
%16 = sext i32 %15 to i64
%17 = load i64, ptr %3, align 8, !tbaa !15
%18 = icmp ne i64 %17, %16
%19 = zext i1 %18 to i32
br i1 %18, label %22, label %20
20: ; preds = %9
%21 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %12) #2
br label %28
22: ; preds = %9
%23 = and i32 %11, 1
%24 = tail call i32 @rme9652_set_passthru(ptr noundef nonnull %3, i32 noundef %23) #2
%25 = freeze i32 %24
%26 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %12) #2
%27 = icmp eq i32 %25, 0
br i1 %27, label %28, label %29
28: ; preds = %20, %22
br label %29
29: ; preds = %28, %22, %6
%30 = phi i32 [ %8, %6 ], [ %19, %28 ], [ %25, %22 ]
ret i32 %30
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare i32 @snd_rme9652_use_is_exclusive(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @rme9652_set_passthru(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(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, !14, i64 0}
!11 = !{!"snd_ctl_elem_value", !12, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"snd_rme9652", !17, i64 0, !7, i64 8}
!17 = !{!"long", !8, i64 0}
| linux_sound_pci_rme9652_extr_rme9652.c_snd_rme9652_put_passthru |
; ModuleID = 'AnghaBench/FFmpeg/tools/extr_crypto_bench.c_run_lavu_aes128.c'
source_filename = "AnghaBench/FFmpeg/tools/extr_crypto_bench.c_run_lavu_aes128.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@run_lavu_aes128.aes = internal unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1
@hardcoded_key = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @run_lavu_aes128], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @run_lavu_aes128(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr @run_lavu_aes128.aes, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = tail call ptr (...) @av_aes_alloc() #2
store ptr %7, ptr @run_lavu_aes128.aes, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = tail call i32 @fatal_error(ptr noundef nonnull @.str) #2
%11 = load ptr, ptr @run_lavu_aes128.aes, align 8, !tbaa !5
br label %12
12: ; preds = %9, %6, %3
%13 = phi ptr [ %11, %9 ], [ %7, %6 ], [ %4, %3 ]
%14 = load i32, ptr @hardcoded_key, align 4, !tbaa !9
%15 = tail call i32 @av_aes_init(ptr noundef %13, i32 noundef %14, i32 noundef 128, i32 noundef 0) #2
%16 = load ptr, ptr @run_lavu_aes128.aes, align 8, !tbaa !5
%17 = lshr i32 %2, 4
%18 = tail call i32 @av_aes_crypt(ptr noundef %16, ptr noundef %0, ptr noundef %1, i32 noundef %17, ptr noundef null, i32 noundef 0) #2
ret void
}
declare ptr @av_aes_alloc(...) local_unnamed_addr #1
declare i32 @fatal_error(ptr noundef) local_unnamed_addr #1
declare i32 @av_aes_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_aes_crypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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/FFmpeg/tools/extr_crypto_bench.c_run_lavu_aes128.c'
source_filename = "AnghaBench/FFmpeg/tools/extr_crypto_bench.c_run_lavu_aes128.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@run_lavu_aes128.aes = internal unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1
@hardcoded_key = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @run_lavu_aes128], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @run_lavu_aes128(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr @run_lavu_aes128.aes, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = tail call ptr @av_aes_alloc() #2
store ptr %7, ptr @run_lavu_aes128.aes, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = tail call i32 @fatal_error(ptr noundef nonnull @.str) #2
%11 = load ptr, ptr @run_lavu_aes128.aes, align 8, !tbaa !6
br label %12
12: ; preds = %9, %6, %3
%13 = phi ptr [ %11, %9 ], [ %7, %6 ], [ %4, %3 ]
%14 = load i32, ptr @hardcoded_key, align 4, !tbaa !10
%15 = tail call i32 @av_aes_init(ptr noundef %13, i32 noundef %14, i32 noundef 128, i32 noundef 0) #2
%16 = load ptr, ptr @run_lavu_aes128.aes, align 8, !tbaa !6
%17 = lshr i32 %2, 4
%18 = tail call i32 @av_aes_crypt(ptr noundef %16, ptr noundef %0, ptr noundef %1, i32 noundef %17, ptr noundef null, i32 noundef 0) #2
ret void
}
declare ptr @av_aes_alloc(...) local_unnamed_addr #1
declare i32 @fatal_error(ptr noundef) local_unnamed_addr #1
declare i32 @av_aes_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_aes_crypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| FFmpeg_tools_extr_crypto_bench.c_run_lavu_aes128 |
; ModuleID = 'AnghaBench/linux/drivers/pci/pcie/extr_ptm.c_pci_ptm_init.c'
source_filename = "AnghaBench/linux/drivers/pci/pcie/extr_ptm.c_pci_ptm_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.pci_dev = type { i32, i32, i32 }
@PCI_EXT_CAP_ID_PTM = dso_local local_unnamed_addr global i32 0, align 4
@PCI_EXP_TYPE_ENDPOINT = dso_local local_unnamed_addr global i64 0, align 8
@PCI_EXP_TYPE_RC_END = dso_local local_unnamed_addr global i64 0, align 8
@PCI_PTM_CAP = dso_local local_unnamed_addr global i64 0, align 8
@PCI_PTM_GRANULARITY_MASK = dso_local local_unnamed_addr global i32 0, align 4
@PCI_PTM_CTRL_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@PCI_PTM_CAP_ROOT = dso_local local_unnamed_addr global i32 0, align 4
@PCI_PTM_CTRL_ROOT = dso_local local_unnamed_addr global i32 0, align 4
@PCI_PTM_CTRL = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @pci_ptm_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = tail call i32 @pci_is_pcie(ptr noundef %0) #3
%4 = icmp eq i32 %3, 0
br i1 %4, label %64, label %5
5: ; preds = %1
%6 = load i32, ptr @PCI_EXT_CAP_ID_PTM, align 4, !tbaa !5
%7 = tail call i32 @pci_find_ext_capability(ptr noundef %0, i32 noundef %6) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %64, label %9
9: ; preds = %5
%10 = tail call i64 @pci_pcie_type(ptr noundef %0) #3
%11 = load i64, ptr @PCI_EXP_TYPE_ENDPOINT, align 8, !tbaa !9
%12 = icmp eq i64 %10, %11
br i1 %12, label %64, label %13
13: ; preds = %9
%14 = tail call i64 @pci_pcie_type(ptr noundef %0) #3
%15 = load i64, ptr @PCI_EXP_TYPE_RC_END, align 8, !tbaa !9
%16 = icmp eq i64 %14, %15
br i1 %16, label %64, label %17
17: ; preds = %13
%18 = sext i32 %7 to i64
%19 = load i64, ptr @PCI_PTM_CAP, align 8, !tbaa !9
%20 = add nsw i64 %19, %18
%21 = call i32 @pci_read_config_dword(ptr noundef %0, i64 noundef %20, ptr noundef nonnull %2) #3
%22 = load i32, ptr %2, align 4, !tbaa !5
%23 = load i32, ptr @PCI_PTM_GRANULARITY_MASK, align 4, !tbaa !5
%24 = and i32 %23, %22
%25 = ashr i32 %24, 8
%26 = call ptr @pci_upstream_bridge(ptr noundef %0) #3
%27 = icmp eq ptr %26, null
br i1 %27, label %44, label %28
28: ; preds = %17
%29 = load i32, ptr %26, align 4, !tbaa !11
%30 = icmp eq i32 %29, 0
br i1 %30, label %44, label %31
31: ; preds = %28
%32 = load i32, ptr @PCI_PTM_CTRL_ENABLE, align 4, !tbaa !5
%33 = getelementptr inbounds %struct.pci_dev, ptr %26, i64 0, i32 1
%34 = load i32, ptr %33, align 4, !tbaa !13
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %31
%37 = getelementptr inbounds %struct.pci_dev, ptr %0, i64 0, i32 1
store i32 0, ptr %37, align 4, !tbaa !13
br label %55
38: ; preds = %31
%39 = icmp sgt i32 %34, %25
%40 = getelementptr inbounds %struct.pci_dev, ptr %0, i64 0, i32 1
br i1 %39, label %43, label %41
41: ; preds = %38
%42 = load i32, ptr %40, align 4, !tbaa !13
br label %55
43: ; preds = %38
store i32 %34, ptr %40, align 4, !tbaa !13
br label %55
44: ; preds = %28, %17
%45 = load i32, ptr %2, align 4, !tbaa !5
%46 = load i32, ptr @PCI_PTM_CAP_ROOT, align 4, !tbaa !5
%47 = and i32 %46, %45
%48 = icmp eq i32 %47, 0
br i1 %48, label %64, label %49
49: ; preds = %44
%50 = load i32, ptr @PCI_PTM_CTRL_ENABLE, align 4, !tbaa !5
%51 = load i32, ptr @PCI_PTM_CTRL_ROOT, align 4, !tbaa !5
%52 = or i32 %51, %50
%53 = getelementptr inbounds %struct.pci_dev, ptr %0, i64 0, i32 2
store i32 1, ptr %53, align 4, !tbaa !14
%54 = getelementptr inbounds %struct.pci_dev, ptr %0, i64 0, i32 1
store i32 %25, ptr %54, align 4, !tbaa !13
br label %55
55: ; preds = %41, %36, %43, %49
%56 = phi i32 [ 0, %36 ], [ %34, %43 ], [ %42, %41 ], [ %25, %49 ]
%57 = phi i32 [ %32, %36 ], [ %32, %43 ], [ %32, %41 ], [ %52, %49 ]
%58 = shl i32 %56, 8
%59 = or i32 %58, %57
%60 = load i64, ptr @PCI_PTM_CTRL, align 8, !tbaa !9
%61 = add nsw i64 %60, %18
%62 = call i32 @pci_write_config_dword(ptr noundef nonnull %0, i64 noundef %61, i32 noundef %59) #3
store i32 1, ptr %0, align 4, !tbaa !11
%63 = call i32 @pci_ptm_info(ptr noundef nonnull %0) #3
br label %64
64: ; preds = %44, %9, %13, %5, %1, %55
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 @pci_is_pcie(ptr noundef) local_unnamed_addr #2
declare i32 @pci_find_ext_capability(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @pci_pcie_type(ptr noundef) local_unnamed_addr #2
declare i32 @pci_read_config_dword(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @pci_upstream_bridge(ptr noundef) local_unnamed_addr #2
declare i32 @pci_write_config_dword(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pci_ptm_info(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"pci_dev", !6, i64 0, !6, i64 4, !6, i64 8}
!13 = !{!12, !6, i64 4}
!14 = !{!12, !6, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/pci/pcie/extr_ptm.c_pci_ptm_init.c'
source_filename = "AnghaBench/linux/drivers/pci/pcie/extr_ptm.c_pci_ptm_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PCI_EXT_CAP_ID_PTM = common local_unnamed_addr global i32 0, align 4
@PCI_EXP_TYPE_ENDPOINT = common local_unnamed_addr global i64 0, align 8
@PCI_EXP_TYPE_RC_END = common local_unnamed_addr global i64 0, align 8
@PCI_PTM_CAP = common local_unnamed_addr global i64 0, align 8
@PCI_PTM_GRANULARITY_MASK = common local_unnamed_addr global i32 0, align 4
@PCI_PTM_CTRL_ENABLE = common local_unnamed_addr global i32 0, align 4
@PCI_PTM_CAP_ROOT = common local_unnamed_addr global i32 0, align 4
@PCI_PTM_CTRL_ROOT = common local_unnamed_addr global i32 0, align 4
@PCI_PTM_CTRL = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @pci_ptm_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = tail call i32 @pci_is_pcie(ptr noundef %0) #3
%4 = icmp eq i32 %3, 0
br i1 %4, label %64, label %5
5: ; preds = %1
%6 = load i32, ptr @PCI_EXT_CAP_ID_PTM, align 4, !tbaa !6
%7 = tail call i32 @pci_find_ext_capability(ptr noundef %0, i32 noundef %6) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %64, label %9
9: ; preds = %5
%10 = tail call i64 @pci_pcie_type(ptr noundef %0) #3
%11 = load i64, ptr @PCI_EXP_TYPE_ENDPOINT, align 8, !tbaa !10
%12 = icmp eq i64 %10, %11
br i1 %12, label %64, label %13
13: ; preds = %9
%14 = tail call i64 @pci_pcie_type(ptr noundef %0) #3
%15 = load i64, ptr @PCI_EXP_TYPE_RC_END, align 8, !tbaa !10
%16 = icmp eq i64 %14, %15
br i1 %16, label %64, label %17
17: ; preds = %13
%18 = sext i32 %7 to i64
%19 = load i64, ptr @PCI_PTM_CAP, align 8, !tbaa !10
%20 = add nsw i64 %19, %18
%21 = call i32 @pci_read_config_dword(ptr noundef %0, i64 noundef %20, ptr noundef nonnull %2) #3
%22 = load i32, ptr %2, align 4, !tbaa !6
%23 = load i32, ptr @PCI_PTM_GRANULARITY_MASK, align 4, !tbaa !6
%24 = and i32 %23, %22
%25 = ashr i32 %24, 8
%26 = call ptr @pci_upstream_bridge(ptr noundef %0) #3
%27 = icmp eq ptr %26, null
br i1 %27, label %44, label %28
28: ; preds = %17
%29 = load i32, ptr %26, align 4, !tbaa !12
%30 = icmp eq i32 %29, 0
br i1 %30, label %44, label %31
31: ; preds = %28
%32 = load i32, ptr @PCI_PTM_CTRL_ENABLE, align 4, !tbaa !6
%33 = getelementptr inbounds i8, ptr %26, i64 4
%34 = load i32, ptr %33, align 4, !tbaa !14
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %31
%37 = getelementptr inbounds i8, ptr %0, i64 4
store i32 0, ptr %37, align 4, !tbaa !14
br label %55
38: ; preds = %31
%39 = icmp sgt i32 %34, %25
%40 = getelementptr inbounds i8, ptr %0, i64 4
br i1 %39, label %43, label %41
41: ; preds = %38
%42 = load i32, ptr %40, align 4, !tbaa !14
br label %55
43: ; preds = %38
store i32 %34, ptr %40, align 4, !tbaa !14
br label %55
44: ; preds = %28, %17
%45 = load i32, ptr %2, align 4, !tbaa !6
%46 = load i32, ptr @PCI_PTM_CAP_ROOT, align 4, !tbaa !6
%47 = and i32 %46, %45
%48 = icmp eq i32 %47, 0
br i1 %48, label %64, label %49
49: ; preds = %44
%50 = load i32, ptr @PCI_PTM_CTRL_ENABLE, align 4, !tbaa !6
%51 = load i32, ptr @PCI_PTM_CTRL_ROOT, align 4, !tbaa !6
%52 = or i32 %51, %50
%53 = getelementptr inbounds i8, ptr %0, i64 8
store i32 1, ptr %53, align 4, !tbaa !15
%54 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %25, ptr %54, align 4, !tbaa !14
br label %55
55: ; preds = %41, %36, %43, %49
%56 = phi i32 [ 0, %36 ], [ %34, %43 ], [ %42, %41 ], [ %25, %49 ]
%57 = phi i32 [ %32, %36 ], [ %32, %43 ], [ %32, %41 ], [ %52, %49 ]
%58 = shl i32 %56, 8
%59 = or i32 %58, %57
%60 = load i64, ptr @PCI_PTM_CTRL, align 8, !tbaa !10
%61 = add nsw i64 %60, %18
%62 = call i32 @pci_write_config_dword(ptr noundef nonnull %0, i64 noundef %61, i32 noundef %59) #3
store i32 1, ptr %0, align 4, !tbaa !12
%63 = call i32 @pci_ptm_info(ptr noundef nonnull %0) #3
br label %64
64: ; preds = %44, %9, %13, %5, %1, %55
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 @pci_is_pcie(ptr noundef) local_unnamed_addr #2
declare i32 @pci_find_ext_capability(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @pci_pcie_type(ptr noundef) local_unnamed_addr #2
declare i32 @pci_read_config_dword(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @pci_upstream_bridge(ptr noundef) local_unnamed_addr #2
declare i32 @pci_write_config_dword(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pci_ptm_info(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"pci_dev", !7, i64 0, !7, i64 4, !7, i64 8}
!14 = !{!13, !7, i64 4}
!15 = !{!13, !7, i64 8}
| linux_drivers_pci_pcie_extr_ptm.c_pci_ptm_init |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/pmc/extr_pmc_util.c_pmc_util_kill_process.c'
source_filename = "AnghaBench/freebsd/usr.sbin/pmc/extr_pmc_util.c_pmc_util_kill_process.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.pmcstat_args = type { i32, i32 }
@FLAG_HAS_COMMANDLINE = dso_local local_unnamed_addr global i32 0, align 4
@SIGINT = dso_local local_unnamed_addr global i32 0, align 4
@EX_OSERR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"ERROR: cannot signal child process\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @pmc_util_kill_process(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @FLAG_HAS_COMMANDLINE, align 4, !tbaa !10
%4 = and i32 %3, %2
%5 = tail call i32 @assert(i32 noundef %4) #2
%6 = getelementptr inbounds %struct.pmcstat_args, ptr %0, i64 0, i32 1
%7 = tail call ptr @SLIST_FIRST(ptr noundef nonnull %6) #2
%8 = icmp ne ptr %7, null
%9 = zext i1 %8 to i32
%10 = tail call i32 @assert(i32 noundef %9) #2
%11 = load i32, ptr %7, align 4, !tbaa !11
%12 = load i32, ptr @SIGINT, align 4, !tbaa !10
%13 = tail call i64 @kill(i32 noundef %11, i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %1
%16 = load i32, ptr @EX_OSERR, align 4, !tbaa !10
%17 = tail call i32 @err(i32 noundef %16, ptr noundef nonnull @.str) #2
br label %18
18: ; preds = %15, %1
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare ptr @SLIST_FIRST(ptr noundef) local_unnamed_addr #1
declare i64 @kill(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @err(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 = !{!"pmcstat_args", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"pmcstat_target", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/pmc/extr_pmc_util.c_pmc_util_kill_process.c'
source_filename = "AnghaBench/freebsd/usr.sbin/pmc/extr_pmc_util.c_pmc_util_kill_process.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FLAG_HAS_COMMANDLINE = common local_unnamed_addr global i32 0, align 4
@SIGINT = common local_unnamed_addr global i32 0, align 4
@EX_OSERR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"ERROR: cannot signal child process\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @pmc_util_kill_process(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @FLAG_HAS_COMMANDLINE, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = tail call i32 @assert(i32 noundef %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = tail call ptr @SLIST_FIRST(ptr noundef nonnull %6) #2
%8 = icmp ne ptr %7, null
%9 = zext i1 %8 to i32
%10 = tail call i32 @assert(i32 noundef %9) #2
%11 = load i32, ptr %7, align 4, !tbaa !12
%12 = load i32, ptr @SIGINT, align 4, !tbaa !11
%13 = tail call i64 @kill(i32 noundef %11, i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %1
%16 = load i32, ptr @EX_OSERR, align 4, !tbaa !11
%17 = tail call i32 @err(i32 noundef %16, ptr noundef nonnull @.str) #2
br label %18
18: ; preds = %15, %1
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare ptr @SLIST_FIRST(ptr noundef) local_unnamed_addr #1
declare i64 @kill(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @err(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 = !{!"pmcstat_args", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"pmcstat_target", !8, i64 0}
| freebsd_usr.sbin_pmc_extr_pmc_util.c_pmc_util_kill_process |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msi/extr_package.c_set_suminfo_prop.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msi/extr_package.c_set_suminfo_prop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ERROR_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [32 x i8] c"Expected ERROR_SUCCESS, got %d\0A\00", align 1
@VT_I4 = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Expected ERROR_SUCCESS, got %u\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_suminfo_prop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @set_suminfo_prop(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i64 @MsiGetSummaryInformationA(i32 noundef %0, ptr noundef null, i32 noundef 1, ptr noundef nonnull %4) #3
%6 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !5
%7 = icmp eq i64 %5, %6
%8 = zext i1 %7 to i32
%9 = call i32 @ok(i32 noundef %8, ptr noundef nonnull @.str, i64 noundef %5) #3
%10 = load i32, ptr %4, align 4, !tbaa !9
%11 = load i32, ptr @VT_I4, align 4, !tbaa !9
%12 = call i64 @MsiSummaryInfoSetPropertyA(i32 noundef %10, i32 noundef %1, i32 noundef %11, i32 noundef %2, ptr noundef null, ptr noundef null) #3
%13 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !5
%14 = icmp eq i64 %12, %13
%15 = zext i1 %14 to i32
%16 = call i32 @ok(i32 noundef %15, ptr noundef nonnull @.str, i64 noundef %12) #3
%17 = load i32, ptr %4, align 4, !tbaa !9
%18 = call i64 @MsiSummaryInfoPersist(i32 noundef %17) #3
%19 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !5
%20 = icmp eq i64 %18, %19
%21 = zext i1 %20 to i32
%22 = call i32 @ok(i32 noundef %21, ptr noundef nonnull @.str.1, i64 noundef %18) #3
%23 = load i32, ptr %4, align 4, !tbaa !9
%24 = call i32 @MsiCloseHandle(i32 noundef %23) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @MsiGetSummaryInformationA(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @MsiSummaryInfoSetPropertyA(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @MsiSummaryInfoPersist(i32 noundef) local_unnamed_addr #2
declare i32 @MsiCloseHandle(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msi/extr_package.c_set_suminfo_prop.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msi/extr_package.c_set_suminfo_prop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ERROR_SUCCESS = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [32 x i8] c"Expected ERROR_SUCCESS, got %d\0A\00", align 1
@VT_I4 = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Expected ERROR_SUCCESS, got %u\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @set_suminfo_prop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @set_suminfo_prop(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i64 @MsiGetSummaryInformationA(i32 noundef %0, ptr noundef null, i32 noundef 1, ptr noundef nonnull %4) #3
%6 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !6
%7 = icmp eq i64 %5, %6
%8 = zext i1 %7 to i32
%9 = call i32 @ok(i32 noundef %8, ptr noundef nonnull @.str, i64 noundef %5) #3
%10 = load i32, ptr %4, align 4, !tbaa !10
%11 = load i32, ptr @VT_I4, align 4, !tbaa !10
%12 = call i64 @MsiSummaryInfoSetPropertyA(i32 noundef %10, i32 noundef %1, i32 noundef %11, i32 noundef %2, ptr noundef null, ptr noundef null) #3
%13 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !6
%14 = icmp eq i64 %12, %13
%15 = zext i1 %14 to i32
%16 = call i32 @ok(i32 noundef %15, ptr noundef nonnull @.str, i64 noundef %12) #3
%17 = load i32, ptr %4, align 4, !tbaa !10
%18 = call i64 @MsiSummaryInfoPersist(i32 noundef %17) #3
%19 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !6
%20 = icmp eq i64 %18, %19
%21 = zext i1 %20 to i32
%22 = call i32 @ok(i32 noundef %21, ptr noundef nonnull @.str.1, i64 noundef %18) #3
%23 = load i32, ptr %4, align 4, !tbaa !10
%24 = call i32 @MsiCloseHandle(i32 noundef %23) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @MsiGetSummaryInformationA(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @MsiSummaryInfoSetPropertyA(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @MsiSummaryInfoPersist(i32 noundef) local_unnamed_addr #2
declare i32 @MsiCloseHandle(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| reactos_modules_rostests_winetests_msi_extr_package.c_set_suminfo_prop |
; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_sqlite3_mutex_leave.c'
source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_sqlite3_mutex_leave.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr }
@sqlite3GlobalConfig = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
; Function Attrs: nounwind uwtable
define dso_local void @sqlite3_mutex_leave(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %6, label %3
3: ; preds = %1
%4 = load ptr, ptr @sqlite3GlobalConfig, align 8, !tbaa !5
%5 = tail call i32 %4(ptr noundef nonnull %0) #1
br label %6
6: ; preds = %3, %1
ret void
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_sqlite3_mutex_leave.c'
source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_sqlite3_mutex_leave.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr }
@sqlite3GlobalConfig = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @sqlite3_mutex_leave(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %6, label %3
3: ; preds = %1
%4 = load ptr, ptr @sqlite3GlobalConfig, align 8, !tbaa !6
%5 = tail call i32 %4(ptr noundef nonnull %0) #1
br label %6
6: ; preds = %3, %1
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| Craft_deps_sqlite_extr_sqlite3.c_sqlite3_mutex_leave |
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/freetype/src/lzw/extr_ftzopen.c_ft_lzwstate_get_code.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/freetype/src/lzw/extr_ftzopen.c_ft_lzwstate_get_code.c"
target datalayout = "e-m:e-p270:32:32-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, i64, i64, i64, i64, i64, i64, ptr, i64 }
@LZW_MAX_BITS = dso_local local_unnamed_addr global i64 0, align 8
@LZW_INIT_BITS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ft_lzwstate_get_code], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ft_lzwstate_get_code(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 8
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %18
8: ; preds = %1
%9 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%10 = load i64, ptr %9, align 8, !tbaa !13
%11 = icmp ult i64 %4, %10
br i1 %11, label %12, label %18
12: ; preds = %8
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4
%16 = load i64, ptr %15, align 8, !tbaa !15
%17 = icmp slt i64 %14, %16
br i1 %17, label %51, label %18
18: ; preds = %12, %8, %1
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%20 = load i64, ptr %19, align 8, !tbaa !14
%21 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4
%22 = load i64, ptr %21, align 8, !tbaa !15
%23 = icmp slt i64 %20, %22
br i1 %23, label %41, label %24
24: ; preds = %18
%25 = add i64 %2, 1
store i64 %25, ptr %0, align 8, !tbaa !5
%26 = load i64, ptr @LZW_MAX_BITS, align 8, !tbaa !16
%27 = icmp ugt i64 %25, %26
br i1 %27, label %88, label %28
28: ; preds = %24
%29 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 5
%30 = load i64, ptr %29, align 8, !tbaa !17
%31 = icmp ult i64 %25, %30
br i1 %31, label %32, label %35
32: ; preds = %28
%33 = shl nuw i64 1, %25
%34 = add i64 %33, -256
br label %39
35: ; preds = %28
%36 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 6
%37 = load i64, ptr %36, align 8, !tbaa !18
%38 = add i64 %37, 1
br label %39
39: ; preds = %35, %32
%40 = phi i64 [ %34, %32 ], [ %38, %35 ]
store i64 %40, ptr %21, align 8, !tbaa !15
br label %41
41: ; preds = %39, %18
%42 = phi i64 [ %25, %39 ], [ %2, %18 ]
br i1 %7, label %47, label %43
43: ; preds = %41
%44 = load i64, ptr @LZW_INIT_BITS, align 8, !tbaa !16
store i64 %44, ptr %0, align 8, !tbaa !5
%45 = shl nuw i64 1, %44
%46 = add i64 %45, -256
store i64 %46, ptr %21, align 8, !tbaa !15
store i64 0, ptr %5, align 8, !tbaa !12
br label %47
47: ; preds = %43, %41
%48 = phi i64 [ %44, %43 ], [ %42, %41 ]
%49 = tail call i64 @ft_lzwstate_refill(ptr noundef nonnull %0) #2
%50 = icmp slt i64 %49, 0
br i1 %50, label %88, label %51
51: ; preds = %47, %12
%52 = phi i64 [ %2, %12 ], [ %48, %47 ]
%53 = phi i64 [ %4, %12 ], [ 0, %47 ]
%54 = add i64 %53, %52
store i64 %54, ptr %3, align 8, !tbaa !11
%55 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 7
%56 = load ptr, ptr %55, align 8, !tbaa !19
%57 = lshr i64 %53, 3
%58 = getelementptr inbounds i64, ptr %56, i64 %57
%59 = and i64 %53, 7
%60 = getelementptr inbounds i64, ptr %58, i64 1
%61 = load i64, ptr %58, align 8, !tbaa !16
%62 = lshr i64 %61, %59
%63 = sub nuw nsw i64 8, %59
%64 = sub i64 %52, %63
%65 = icmp ugt i64 %64, 7
br i1 %65, label %66, label %73
66: ; preds = %51
%67 = getelementptr inbounds i64, ptr %58, i64 2
%68 = load i64, ptr %60, align 8, !tbaa !16
%69 = shl i64 %68, %63
%70 = or i64 %69, %62
%71 = sub nuw nsw i64 16, %59
%72 = add i64 %64, -8
br label %73
73: ; preds = %66, %51
%74 = phi i64 [ %72, %66 ], [ %64, %51 ]
%75 = phi i64 [ %71, %66 ], [ %63, %51 ]
%76 = phi ptr [ %67, %66 ], [ %60, %51 ]
%77 = phi i64 [ %70, %66 ], [ %62, %51 ]
%78 = icmp eq i64 %74, 0
br i1 %78, label %85, label %79
79: ; preds = %73
%80 = load i64, ptr %76, align 8, !tbaa !16
%81 = tail call i64 @LZW_MASK(i64 noundef %74) #2
%82 = and i64 %81, %80
%83 = shl i64 %82, %75
%84 = or i64 %83, %77
br label %85
85: ; preds = %79, %73
%86 = phi i64 [ %84, %79 ], [ %77, %73 ]
%87 = trunc i64 %86 to i32
br label %88
88: ; preds = %47, %24, %85
%89 = phi i32 [ %87, %85 ], [ -1, %24 ], [ -1, %47 ]
ret i32 %89
}
declare i64 @ft_lzwstate_refill(ptr noundef) local_unnamed_addr #1
declare i64 @LZW_MASK(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !10, i64 56, !7, i64 64}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 64}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !7, i64 24}
!15 = !{!6, !7, i64 32}
!16 = !{!7, !7, i64 0}
!17 = !{!6, !7, i64 40}
!18 = !{!6, !7, i64 48}
!19 = !{!6, !10, i64 56}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/freetype/src/lzw/extr_ftzopen.c_ft_lzwstate_get_code.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/freetype/src/lzw/extr_ftzopen.c_ft_lzwstate_get_code.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LZW_MAX_BITS = common local_unnamed_addr global i64 0, align 8
@LZW_INIT_BITS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ft_lzwstate_get_code], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ft_lzwstate_get_code(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !12
%5 = getelementptr inbounds i8, ptr %0, i64 64
%6 = load i64, ptr %5, align 8, !tbaa !13
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %18
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load i64, ptr %9, align 8, !tbaa !14
%11 = icmp ult i64 %4, %10
br i1 %11, label %12, label %18
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %0, i64 24
%14 = load i64, ptr %13, align 8, !tbaa !15
%15 = getelementptr inbounds i8, ptr %0, i64 32
%16 = load i64, ptr %15, align 8, !tbaa !16
%17 = icmp slt i64 %14, %16
br i1 %17, label %51, label %18
18: ; preds = %12, %8, %1
%19 = getelementptr inbounds i8, ptr %0, i64 24
%20 = load i64, ptr %19, align 8, !tbaa !15
%21 = getelementptr inbounds i8, ptr %0, i64 32
%22 = load i64, ptr %21, align 8, !tbaa !16
%23 = icmp slt i64 %20, %22
br i1 %23, label %41, label %24
24: ; preds = %18
%25 = add i64 %2, 1
store i64 %25, ptr %0, align 8, !tbaa !6
%26 = load i64, ptr @LZW_MAX_BITS, align 8, !tbaa !17
%27 = icmp ugt i64 %25, %26
br i1 %27, label %88, label %28
28: ; preds = %24
%29 = getelementptr inbounds i8, ptr %0, i64 40
%30 = load i64, ptr %29, align 8, !tbaa !18
%31 = icmp ult i64 %25, %30
br i1 %31, label %32, label %35
32: ; preds = %28
%33 = shl nuw i64 1, %25
%34 = add i64 %33, -256
br label %39
35: ; preds = %28
%36 = getelementptr inbounds i8, ptr %0, i64 48
%37 = load i64, ptr %36, align 8, !tbaa !19
%38 = add i64 %37, 1
br label %39
39: ; preds = %35, %32
%40 = phi i64 [ %34, %32 ], [ %38, %35 ]
store i64 %40, ptr %21, align 8, !tbaa !16
br label %41
41: ; preds = %39, %18
%42 = phi i64 [ %25, %39 ], [ %2, %18 ]
br i1 %7, label %47, label %43
43: ; preds = %41
%44 = load i64, ptr @LZW_INIT_BITS, align 8, !tbaa !17
store i64 %44, ptr %0, align 8, !tbaa !6
%45 = shl nuw i64 1, %44
%46 = add i64 %45, -256
store i64 %46, ptr %21, align 8, !tbaa !16
store i64 0, ptr %5, align 8, !tbaa !13
br label %47
47: ; preds = %43, %41
%48 = phi i64 [ %44, %43 ], [ %42, %41 ]
%49 = tail call i64 @ft_lzwstate_refill(ptr noundef nonnull %0) #2
%50 = icmp slt i64 %49, 0
br i1 %50, label %88, label %51
51: ; preds = %47, %12
%52 = phi i64 [ %2, %12 ], [ %48, %47 ]
%53 = phi i64 [ %4, %12 ], [ 0, %47 ]
%54 = add i64 %53, %52
store i64 %54, ptr %3, align 8, !tbaa !12
%55 = getelementptr inbounds i8, ptr %0, i64 56
%56 = load ptr, ptr %55, align 8, !tbaa !20
%57 = lshr i64 %53, 3
%58 = getelementptr inbounds i64, ptr %56, i64 %57
%59 = and i64 %53, 7
%60 = getelementptr inbounds i8, ptr %58, i64 8
%61 = load i64, ptr %58, align 8, !tbaa !17
%62 = lshr i64 %61, %59
%63 = sub nuw nsw i64 8, %59
%64 = sub i64 %52, %63
%65 = icmp ugt i64 %64, 7
br i1 %65, label %66, label %73
66: ; preds = %51
%67 = getelementptr inbounds i8, ptr %58, i64 16
%68 = load i64, ptr %60, align 8, !tbaa !17
%69 = shl i64 %68, %63
%70 = or i64 %69, %62
%71 = sub nuw nsw i64 16, %59
%72 = add i64 %64, -8
br label %73
73: ; preds = %66, %51
%74 = phi i64 [ %72, %66 ], [ %64, %51 ]
%75 = phi i64 [ %71, %66 ], [ %63, %51 ]
%76 = phi ptr [ %67, %66 ], [ %60, %51 ]
%77 = phi i64 [ %70, %66 ], [ %62, %51 ]
%78 = icmp eq i64 %74, 0
br i1 %78, label %85, label %79
79: ; preds = %73
%80 = load i64, ptr %76, align 8, !tbaa !17
%81 = tail call i64 @LZW_MASK(i64 noundef %74) #2
%82 = and i64 %81, %80
%83 = shl i64 %82, %75
%84 = or i64 %83, %77
br label %85
85: ; preds = %79, %73
%86 = phi i64 [ %84, %79 ], [ %77, %73 ]
%87 = trunc i64 %86 to i32
br label %88
88: ; preds = %47, %24, %85
%89 = phi i32 [ %87, %85 ], [ -1, %24 ], [ -1, %47 ]
ret i32 %89
}
declare i64 @ft_lzwstate_refill(ptr noundef) local_unnamed_addr #1
declare i64 @LZW_MASK(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !11, i64 56, !8, i64 64}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 64}
!14 = !{!7, !8, i64 16}
!15 = !{!7, !8, i64 24}
!16 = !{!7, !8, i64 32}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !8, i64 40}
!19 = !{!7, !8, i64 48}
!20 = !{!7, !11, i64 56}
| reactos_sdk_lib_3rdparty_freetype_src_lzw_extr_ftzopen.c_ft_lzwstate_get_code |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_invitation.c_p2p_build_invitation_resp.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_invitation.c_p2p_build_invitation_resp.c"
target datalayout = "e-m:e-p270:32:32-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.p2p_data = type { i64, ptr, ptr, ptr, ptr }
@VENDOR_ELEM_P2P_INV_RESP = dso_local local_unnamed_addr global i64 0, align 8
@P2P_INVITATION_RESP = dso_local local_unnamed_addr global i32 0, align 4
@ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @p2p_build_invitation_resp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @p2p_build_invitation_resp(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = getelementptr inbounds %struct.p2p_data, ptr %0, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !5
%11 = icmp eq ptr %10, null
br i1 %11, label %21, label %12
12: ; preds = %8
%13 = load i64, ptr @VENDOR_ELEM_P2P_INV_RESP, align 8, !tbaa !11
%14 = getelementptr inbounds ptr, ptr %10, i64 %13
%15 = load ptr, ptr %14, align 8, !tbaa !12
%16 = icmp eq ptr %15, null
br i1 %16, label %21, label %17
17: ; preds = %12
%18 = tail call i64 @wpabuf_len(ptr noundef nonnull %15) #2
%19 = trunc i64 %18 to i32
%20 = add i32 %19, 1000
br label %21
21: ; preds = %17, %12, %8
%22 = phi i32 [ %20, %17 ], [ 1000, %12 ], [ 1000, %8 ]
%23 = tail call ptr @wpabuf_alloc(i32 noundef %22) #2
%24 = icmp eq ptr %23, null
br i1 %24, label %61, label %25
25: ; preds = %21
%26 = load i32, ptr @P2P_INVITATION_RESP, align 4, !tbaa !13
%27 = tail call i32 @p2p_buf_add_public_action_hdr(ptr noundef nonnull %23, i32 noundef %26, i32 noundef %2) #2
%28 = tail call ptr @p2p_buf_add_ie_hdr(ptr noundef nonnull %23) #2
%29 = tail call i32 @p2p_buf_add_status(ptr noundef nonnull %23, i32 noundef %3) #2
%30 = tail call i32 @p2p_buf_add_config_timeout(ptr noundef nonnull %23, i32 noundef 0, i32 noundef 0) #2
%31 = icmp ne i32 %5, 0
%32 = icmp ne i32 %6, 0
%33 = and i1 %31, %32
br i1 %33, label %34, label %39
34: ; preds = %25
%35 = getelementptr inbounds %struct.p2p_data, ptr %0, i64 0, i32 2
%36 = load ptr, ptr %35, align 8, !tbaa !15
%37 = load i32, ptr %36, align 4, !tbaa !16
%38 = tail call i32 @p2p_buf_add_operating_channel(ptr noundef nonnull %23, i32 noundef %37, i32 noundef %5, i32 noundef %6) #2
br label %39
39: ; preds = %34, %25
%40 = icmp eq ptr %4, null
br i1 %40, label %43, label %41
41: ; preds = %39
%42 = tail call i32 @p2p_buf_add_group_bssid(ptr noundef nonnull %23, ptr noundef nonnull %4) #2
br label %43
43: ; preds = %41, %39
%44 = icmp eq ptr %7, null
br i1 %44, label %50, label %45
45: ; preds = %43
%46 = getelementptr inbounds %struct.p2p_data, ptr %0, i64 0, i32 2
%47 = load ptr, ptr %46, align 8, !tbaa !15
%48 = load i32, ptr %47, align 4, !tbaa !16
%49 = tail call i32 @p2p_buf_add_channel_list(ptr noundef nonnull %23, i32 noundef %48, ptr noundef nonnull %7) #2
br label %50
50: ; preds = %45, %43
%51 = tail call i32 @p2p_buf_update_ie_hdr(ptr noundef nonnull %23, ptr noundef %28) #2
%52 = load ptr, ptr %9, align 8, !tbaa !5
%53 = icmp eq ptr %52, null
br i1 %53, label %61, label %54
54: ; preds = %50
%55 = load i64, ptr @VENDOR_ELEM_P2P_INV_RESP, align 8, !tbaa !11
%56 = getelementptr inbounds ptr, ptr %52, i64 %55
%57 = load ptr, ptr %56, align 8, !tbaa !12
%58 = icmp eq ptr %57, null
br i1 %58, label %61, label %59
59: ; preds = %54
%60 = tail call i32 @wpabuf_put_buf(ptr noundef nonnull %23, ptr noundef nonnull %57) #2
br label %61
61: ; preds = %50, %54, %59, %21
ret ptr %23
}
declare i64 @wpabuf_len(ptr noundef) local_unnamed_addr #1
declare ptr @wpabuf_alloc(i32 noundef) local_unnamed_addr #1
declare i32 @p2p_buf_add_public_action_hdr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @p2p_buf_add_ie_hdr(ptr noundef) local_unnamed_addr #1
declare i32 @p2p_buf_add_status(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @p2p_buf_add_config_timeout(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @p2p_buf_add_operating_channel(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @p2p_buf_add_group_bssid(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @p2p_buf_add_channel_list(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @p2p_buf_update_ie_hdr(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wpabuf_put_buf(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"p2p_data", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!6, !10, i64 16}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_2__", !14, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_invitation.c_p2p_build_invitation_resp.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_invitation.c_p2p_build_invitation_resp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VENDOR_ELEM_P2P_INV_RESP = common local_unnamed_addr global i64 0, align 8
@P2P_INVITATION_RESP = common local_unnamed_addr global i32 0, align 4
@ETH_ALEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @p2p_build_invitation_resp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @p2p_build_invitation_resp(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !6
%11 = icmp eq ptr %10, null
br i1 %11, label %21, label %12
12: ; preds = %8
%13 = load i64, ptr @VENDOR_ELEM_P2P_INV_RESP, align 8, !tbaa !12
%14 = getelementptr inbounds ptr, ptr %10, i64 %13
%15 = load ptr, ptr %14, align 8, !tbaa !13
%16 = icmp eq ptr %15, null
br i1 %16, label %21, label %17
17: ; preds = %12
%18 = tail call i64 @wpabuf_len(ptr noundef nonnull %15) #2
%19 = trunc i64 %18 to i32
%20 = add i32 %19, 1000
br label %21
21: ; preds = %17, %12, %8
%22 = phi i32 [ %20, %17 ], [ 1000, %12 ], [ 1000, %8 ]
%23 = tail call ptr @wpabuf_alloc(i32 noundef %22) #2
%24 = icmp eq ptr %23, null
br i1 %24, label %61, label %25
25: ; preds = %21
%26 = load i32, ptr @P2P_INVITATION_RESP, align 4, !tbaa !14
%27 = tail call i32 @p2p_buf_add_public_action_hdr(ptr noundef nonnull %23, i32 noundef %26, i32 noundef %2) #2
%28 = tail call ptr @p2p_buf_add_ie_hdr(ptr noundef nonnull %23) #2
%29 = tail call i32 @p2p_buf_add_status(ptr noundef nonnull %23, i32 noundef %3) #2
%30 = tail call i32 @p2p_buf_add_config_timeout(ptr noundef nonnull %23, i32 noundef 0, i32 noundef 0) #2
%31 = icmp ne i32 %5, 0
%32 = icmp ne i32 %6, 0
%33 = and i1 %31, %32
br i1 %33, label %34, label %39
34: ; preds = %25
%35 = getelementptr inbounds i8, ptr %0, i64 16
%36 = load ptr, ptr %35, align 8, !tbaa !16
%37 = load i32, ptr %36, align 4, !tbaa !17
%38 = tail call i32 @p2p_buf_add_operating_channel(ptr noundef nonnull %23, i32 noundef %37, i32 noundef %5, i32 noundef %6) #2
br label %39
39: ; preds = %34, %25
%40 = icmp eq ptr %4, null
br i1 %40, label %43, label %41
41: ; preds = %39
%42 = tail call i32 @p2p_buf_add_group_bssid(ptr noundef nonnull %23, ptr noundef nonnull %4) #2
br label %43
43: ; preds = %41, %39
%44 = icmp eq ptr %7, null
br i1 %44, label %50, label %45
45: ; preds = %43
%46 = getelementptr inbounds i8, ptr %0, i64 16
%47 = load ptr, ptr %46, align 8, !tbaa !16
%48 = load i32, ptr %47, align 4, !tbaa !17
%49 = tail call i32 @p2p_buf_add_channel_list(ptr noundef nonnull %23, i32 noundef %48, ptr noundef nonnull %7) #2
br label %50
50: ; preds = %45, %43
%51 = tail call i32 @p2p_buf_update_ie_hdr(ptr noundef nonnull %23, ptr noundef %28) #2
%52 = load ptr, ptr %9, align 8, !tbaa !6
%53 = icmp eq ptr %52, null
br i1 %53, label %61, label %54
54: ; preds = %50
%55 = load i64, ptr @VENDOR_ELEM_P2P_INV_RESP, align 8, !tbaa !12
%56 = getelementptr inbounds ptr, ptr %52, i64 %55
%57 = load ptr, ptr %56, align 8, !tbaa !13
%58 = icmp eq ptr %57, null
br i1 %58, label %61, label %59
59: ; preds = %54
%60 = tail call i32 @wpabuf_put_buf(ptr noundef nonnull %23, ptr noundef nonnull %57) #2
br label %61
61: ; preds = %50, %54, %59, %21
ret ptr %23
}
declare i64 @wpabuf_len(ptr noundef) local_unnamed_addr #1
declare ptr @wpabuf_alloc(i32 noundef) local_unnamed_addr #1
declare i32 @p2p_buf_add_public_action_hdr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @p2p_buf_add_ie_hdr(ptr noundef) local_unnamed_addr #1
declare i32 @p2p_buf_add_status(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @p2p_buf_add_config_timeout(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @p2p_buf_add_operating_channel(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @p2p_buf_add_group_bssid(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @p2p_buf_add_channel_list(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @p2p_buf_update_ie_hdr(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wpabuf_put_buf(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"p2p_data", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!7, !11, i64 16}
!17 = !{!18, !15, i64 0}
!18 = !{!"TYPE_2__", !15, i64 0}
| freebsd_contrib_wpa_src_p2p_extr_p2p_invitation.c_p2p_build_invitation_resp |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_stv0680.c_stv_sndctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_stv0680.c_stv_sndctrl.c"
target datalayout = "e-m:e-p270:32:32-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.gspca_dev = type { i32, i32 }
@USB_DIR_IN = dso_local local_unnamed_addr global i32 0, align 4
@USB_TYPE_VENDOR = dso_local local_unnamed_addr global i32 0, align 4
@USB_RECIP_ENDPOINT = dso_local local_unnamed_addr global i32 0, align 4
@USB_DIR_OUT = dso_local local_unnamed_addr global i32 0, align 4
@USB_RECIP_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [53 x i8] c"usb_control_msg error %i, request = 0x%x, error = %i\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @stv_sndctrl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @stv_sndctrl(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
switch i32 %1, label %40 [
i32 0, label %6
i32 1, label %15
i32 2, label %24
i32 3, label %31
]
6: ; preds = %5
%7 = load i32, ptr @USB_DIR_IN, align 4, !tbaa !5
%8 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !5
%9 = or i32 %8, %7
%10 = load i32, ptr @USB_RECIP_ENDPOINT, align 4, !tbaa !5
%11 = or i32 %9, %10
%12 = getelementptr inbounds %struct.gspca_dev, ptr %0, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !9
%14 = tail call i32 @usb_rcvctrlpipe(i32 noundef %13, i32 noundef 0) #2
br label %40
15: ; preds = %5
%16 = load i32, ptr @USB_DIR_OUT, align 4, !tbaa !5
%17 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !5
%18 = or i32 %17, %16
%19 = load i32, ptr @USB_RECIP_ENDPOINT, align 4, !tbaa !5
%20 = or i32 %18, %19
%21 = getelementptr inbounds %struct.gspca_dev, ptr %0, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !9
%23 = tail call i32 @usb_sndctrlpipe(i32 noundef %22, i32 noundef 0) #2
br label %40
24: ; preds = %5
%25 = load i32, ptr @USB_DIR_IN, align 4, !tbaa !5
%26 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !5
%27 = or i32 %26, %25
%28 = getelementptr inbounds %struct.gspca_dev, ptr %0, i64 0, i32 1
%29 = load i32, ptr %28, align 4, !tbaa !9
%30 = tail call i32 @usb_rcvctrlpipe(i32 noundef %29, i32 noundef 0) #2
br label %40
31: ; preds = %5
%32 = load i32, ptr @USB_DIR_OUT, align 4, !tbaa !5
%33 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !5
%34 = or i32 %33, %32
%35 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !5
%36 = or i32 %34, %35
%37 = getelementptr inbounds %struct.gspca_dev, ptr %0, i64 0, i32 1
%38 = load i32, ptr %37, align 4, !tbaa !9
%39 = tail call i32 @usb_sndctrlpipe(i32 noundef %38, i32 noundef 0) #2
br label %40
40: ; preds = %5, %31, %24, %15, %6
%41 = phi i32 [ 0, %5 ], [ %36, %31 ], [ %27, %24 ], [ %20, %15 ], [ %11, %6 ]
%42 = phi i32 [ 0, %5 ], [ %39, %31 ], [ %30, %24 ], [ %23, %15 ], [ %14, %6 ]
%43 = getelementptr inbounds %struct.gspca_dev, ptr %0, i64 0, i32 1
%44 = load i32, ptr %43, align 4, !tbaa !9
%45 = load i32, ptr %0, align 4, !tbaa !11
%46 = tail call i32 @usb_control_msg(i32 noundef %44, i32 noundef %42, i32 noundef %2, i32 noundef %41, i32 noundef %3, i32 noundef 0, i32 noundef %45, i32 noundef %4, i32 noundef 500) #2
%47 = icmp slt i32 %46, 0
%48 = icmp ne i32 %2, 10
%49 = and i1 %48, %47
br i1 %49, label %50, label %52
50: ; preds = %40
%51 = tail call i32 @err(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2, i32 noundef %46) #2
br label %52
52: ; preds = %50, %40
ret i32 %46
}
declare i32 @usb_rcvctrlpipe(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_sndctrlpipe(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_control_msg(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @err(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"}
!9 = !{!10, !6, i64 4}
!10 = !{!"gspca_dev", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_stv0680.c_stv_sndctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_stv0680.c_stv_sndctrl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@USB_DIR_IN = common local_unnamed_addr global i32 0, align 4
@USB_TYPE_VENDOR = common local_unnamed_addr global i32 0, align 4
@USB_RECIP_ENDPOINT = common local_unnamed_addr global i32 0, align 4
@USB_DIR_OUT = common local_unnamed_addr global i32 0, align 4
@USB_RECIP_DEVICE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [53 x i8] c"usb_control_msg error %i, request = 0x%x, error = %i\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @stv_sndctrl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @stv_sndctrl(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
switch i32 %1, label %40 [
i32 0, label %6
i32 1, label %15
i32 2, label %24
i32 3, label %31
]
6: ; preds = %5
%7 = load i32, ptr @USB_DIR_IN, align 4, !tbaa !6
%8 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !6
%9 = or i32 %8, %7
%10 = load i32, ptr @USB_RECIP_ENDPOINT, align 4, !tbaa !6
%11 = or i32 %9, %10
%12 = getelementptr inbounds i8, ptr %0, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !10
%14 = tail call i32 @usb_rcvctrlpipe(i32 noundef %13, i32 noundef 0) #2
br label %40
15: ; preds = %5
%16 = load i32, ptr @USB_DIR_OUT, align 4, !tbaa !6
%17 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !6
%18 = or i32 %17, %16
%19 = load i32, ptr @USB_RECIP_ENDPOINT, align 4, !tbaa !6
%20 = or i32 %18, %19
%21 = getelementptr inbounds i8, ptr %0, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !10
%23 = tail call i32 @usb_sndctrlpipe(i32 noundef %22, i32 noundef 0) #2
br label %40
24: ; preds = %5
%25 = load i32, ptr @USB_DIR_IN, align 4, !tbaa !6
%26 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !6
%27 = or i32 %26, %25
%28 = getelementptr inbounds i8, ptr %0, i64 4
%29 = load i32, ptr %28, align 4, !tbaa !10
%30 = tail call i32 @usb_rcvctrlpipe(i32 noundef %29, i32 noundef 0) #2
br label %40
31: ; preds = %5
%32 = load i32, ptr @USB_DIR_OUT, align 4, !tbaa !6
%33 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !6
%34 = or i32 %33, %32
%35 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !6
%36 = or i32 %34, %35
%37 = getelementptr inbounds i8, ptr %0, i64 4
%38 = load i32, ptr %37, align 4, !tbaa !10
%39 = tail call i32 @usb_sndctrlpipe(i32 noundef %38, i32 noundef 0) #2
br label %40
40: ; preds = %5, %31, %24, %15, %6
%41 = phi i32 [ 0, %5 ], [ %36, %31 ], [ %27, %24 ], [ %20, %15 ], [ %11, %6 ]
%42 = phi i32 [ 0, %5 ], [ %39, %31 ], [ %30, %24 ], [ %23, %15 ], [ %14, %6 ]
%43 = getelementptr inbounds i8, ptr %0, i64 4
%44 = load i32, ptr %43, align 4, !tbaa !10
%45 = load i32, ptr %0, align 4, !tbaa !12
%46 = tail call i32 @usb_control_msg(i32 noundef %44, i32 noundef %42, i32 noundef %2, i32 noundef %41, i32 noundef %3, i32 noundef 0, i32 noundef %45, i32 noundef %4, i32 noundef 500) #2
%47 = icmp slt i32 %46, 0
%48 = icmp ne i32 %2, 10
%49 = and i1 %48, %47
br i1 %49, label %50, label %52
50: ; preds = %40
%51 = tail call i32 @err(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2, i32 noundef %46) #2
br label %52
52: ; preds = %50, %40
ret i32 %46
}
declare i32 @usb_rcvctrlpipe(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_sndctrlpipe(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_control_msg(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @err(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"}
!10 = !{!11, !7, i64 4}
!11 = !{!"gspca_dev", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
| fastsocket_kernel_drivers_media_video_gspca_extr_stv0680.c_stv_sndctrl |
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_stx104.c_stx104_gpio_get_multiple.c'
source_filename = "AnghaBench/linux/drivers/iio/adc/extr_stx104.c_stx104_gpio_get_multiple.c"
target datalayout = "e-m:e-p270:32:32-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 @stx104_gpio_get_multiple], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @stx104_gpio_get_multiple(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @gpiochip_get_data(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call i64 @inb(i32 noundef %5) #2
store i64 %6, ptr %2, align 8, !tbaa !10
ret i32 0
}
declare ptr @gpiochip_get_data(ptr noundef) local_unnamed_addr #1
declare i64 @inb(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 = !{!"stx104_gpio", !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}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_stx104.c_stx104_gpio_get_multiple.c'
source_filename = "AnghaBench/linux/drivers/iio/adc/extr_stx104.c_stx104_gpio_get_multiple.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 @stx104_gpio_get_multiple], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @stx104_gpio_get_multiple(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @gpiochip_get_data(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call i64 @inb(i32 noundef %5) #2
store i64 %6, ptr %2, align 8, !tbaa !11
ret i32 0
}
declare ptr @gpiochip_get_data(ptr noundef) local_unnamed_addr #1
declare i64 @inb(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 = !{!"stx104_gpio", !8, i64 0}
!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}
| linux_drivers_iio_adc_extr_stx104.c_stx104_gpio_get_multiple |
; ModuleID = 'AnghaBench/rufus/src/ext2fs/extr_inline_data.c_ext2fs_inline_data_set.c'
source_filename = "AnghaBench/rufus/src/ext2fs/extr_inline_data.c_ext2fs_inline_data_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ext2_inode = type { i64 }
%struct.ext2_inline_data = type { i64, ptr, i32, i32 }
@EXT4_MIN_INLINE_DATA_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@EXT2_ET_INLINE_DATA_NO_SPACE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i64 @ext2fs_inline_data_set(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #0 {
%6 = alloca %struct.ext2_inode, align 8
%7 = alloca %struct.ext2_inline_data, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #5
%10 = getelementptr inbounds %struct.ext2_inline_data, ptr %7, i64 0, i32 1
%11 = getelementptr inbounds %struct.ext2_inline_data, ptr %7, i64 0, i32 2
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, i8 0, i64 16, i1 false)
store i32 %1, ptr %11, align 8, !tbaa !5
%12 = getelementptr inbounds %struct.ext2_inline_data, ptr %7, i64 0, i32 3
store i32 %0, ptr %12, align 4, !tbaa !12
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
%13 = icmp eq ptr %2, null
br i1 %13, label %14, label %17
14: ; preds = %5
%15 = call i64 @ext2fs_read_inode(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %6) #5
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %57
17: ; preds = %14, %5
%18 = phi ptr [ %2, %5 ], [ %6, %14 ]
%19 = load i64, ptr @EXT4_MIN_INLINE_DATA_SIZE, align 8, !tbaa !13
%20 = icmp ult i64 %19, %4
br i1 %20, label %25, label %21
21: ; preds = %17
%22 = load i64, ptr %18, align 8, !tbaa !14
%23 = inttoptr i64 %22 to ptr
%24 = call i32 @memcpy(ptr noundef %23, ptr noundef %3, i64 noundef %4) #5
br label %52
25: ; preds = %17
%26 = call i64 @ext2fs_xattr_inode_max_size(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %8) #5
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %57
28: ; preds = %25
%29 = call i64 @ext2fs_inline_data_size(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %9) #5
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %57
31: ; preds = %28
%32 = load i64, ptr %9, align 8, !tbaa !13
%33 = load i64, ptr @EXT4_MIN_INLINE_DATA_SIZE, align 8, !tbaa !13
%34 = icmp eq i64 %32, %4
br i1 %34, label %42, label %35
35: ; preds = %31
%36 = load i64, ptr %8, align 8, !tbaa !13
%37 = call i64 @llvm.umax.i64(i64 %33, i64 %32)
%38 = add i64 %37, %36
%39 = icmp ult i64 %38, %4
br i1 %39, label %40, label %42
40: ; preds = %35
%41 = load i64, ptr @EXT2_ET_INLINE_DATA_NO_SPACE, align 8, !tbaa !13
br label %57
42: ; preds = %35, %31
%43 = load i64, ptr %18, align 8, !tbaa !14
%44 = inttoptr i64 %43 to ptr
%45 = call i32 @memcpy(ptr noundef %44, ptr noundef %3, i64 noundef %33) #5
%46 = load i64, ptr @EXT4_MIN_INLINE_DATA_SIZE, align 8, !tbaa !13
%47 = icmp ult i64 %46, %4
br i1 %47, label %48, label %50
48: ; preds = %42
%49 = sub i64 %4, %46
store i64 %49, ptr %7, align 8, !tbaa !16
br label %50
50: ; preds = %48, %42
%51 = getelementptr inbounds i8, ptr %3, i64 %46
store ptr %51, ptr %10, align 8, !tbaa !17
br label %52
52: ; preds = %50, %21
%53 = call i64 @ext2fs_write_inode(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %18) #5
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = call i64 @ext2fs_inline_data_ea_set(ptr noundef nonnull %7) #5
br label %57
57: ; preds = %52, %28, %25, %14, %55, %40
%58 = phi i64 [ %56, %55 ], [ %41, %40 ], [ %15, %14 ], [ %26, %25 ], [ %29, %28 ], [ %53, %52 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
ret i64 %58
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @ext2fs_read_inode(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @ext2fs_xattr_inode_max_size(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ext2fs_inline_data_size(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ext2fs_write_inode(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ext2fs_inline_data_ea_set(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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #3
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"ext2_inline_data", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 20}
!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 = !{!6, !11, i64 20}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"ext2_inode", !7, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/rufus/src/ext2fs/extr_inline_data.c_ext2fs_inline_data_set.c'
source_filename = "AnghaBench/rufus/src/ext2fs/extr_inline_data.c_ext2fs_inline_data_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ext2_inode = type { i64 }
%struct.ext2_inline_data = type { i64, ptr, i32, i32 }
@EXT4_MIN_INLINE_DATA_SIZE = common local_unnamed_addr global i64 0, align 8
@EXT2_ET_INLINE_DATA_NO_SPACE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @ext2fs_inline_data_set(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #0 {
%6 = alloca %struct.ext2_inode, align 8
%7 = alloca %struct.ext2_inline_data, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #5
%10 = getelementptr inbounds i8, ptr %7, i64 8
%11 = getelementptr inbounds i8, ptr %7, i64 16
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, i8 0, i64 16, i1 false)
store i32 %1, ptr %11, align 8, !tbaa !6
%12 = getelementptr inbounds i8, ptr %7, i64 20
store i32 %0, ptr %12, align 4, !tbaa !13
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
%13 = icmp eq ptr %2, null
br i1 %13, label %14, label %17
14: ; preds = %5
%15 = call i64 @ext2fs_read_inode(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %6) #5
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %57
17: ; preds = %14, %5
%18 = phi ptr [ %2, %5 ], [ %6, %14 ]
%19 = load i64, ptr @EXT4_MIN_INLINE_DATA_SIZE, align 8, !tbaa !14
%20 = icmp ult i64 %19, %4
br i1 %20, label %25, label %21
21: ; preds = %17
%22 = load i64, ptr %18, align 8, !tbaa !15
%23 = inttoptr i64 %22 to ptr
%24 = call i32 @memcpy(ptr noundef %23, ptr noundef %3, i64 noundef %4) #5
br label %52
25: ; preds = %17
%26 = call i64 @ext2fs_xattr_inode_max_size(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %8) #5
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %57
28: ; preds = %25
%29 = call i64 @ext2fs_inline_data_size(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %9) #5
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %57
31: ; preds = %28
%32 = load i64, ptr %9, align 8, !tbaa !14
%33 = load i64, ptr @EXT4_MIN_INLINE_DATA_SIZE, align 8, !tbaa !14
%34 = icmp eq i64 %32, %4
br i1 %34, label %42, label %35
35: ; preds = %31
%36 = load i64, ptr %8, align 8, !tbaa !14
%37 = call i64 @llvm.umax.i64(i64 %33, i64 %32)
%38 = add i64 %37, %36
%39 = icmp ult i64 %38, %4
br i1 %39, label %40, label %42
40: ; preds = %35
%41 = load i64, ptr @EXT2_ET_INLINE_DATA_NO_SPACE, align 8, !tbaa !14
br label %57
42: ; preds = %35, %31
%43 = load i64, ptr %18, align 8, !tbaa !15
%44 = inttoptr i64 %43 to ptr
%45 = call i32 @memcpy(ptr noundef %44, ptr noundef %3, i64 noundef %33) #5
%46 = load i64, ptr @EXT4_MIN_INLINE_DATA_SIZE, align 8, !tbaa !14
%47 = icmp ult i64 %46, %4
br i1 %47, label %48, label %50
48: ; preds = %42
%49 = sub i64 %4, %46
store i64 %49, ptr %7, align 8, !tbaa !17
br label %50
50: ; preds = %48, %42
%51 = getelementptr inbounds i8, ptr %3, i64 %46
store ptr %51, ptr %10, align 8, !tbaa !18
br label %52
52: ; preds = %50, %21
%53 = call i64 @ext2fs_write_inode(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %18) #5
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = call i64 @ext2fs_inline_data_ea_set(ptr noundef nonnull %7) #5
br label %57
57: ; preds = %52, %28, %25, %14, %55, %40
%58 = phi i64 [ %56, %55 ], [ %41, %40 ], [ %15, %14 ], [ %26, %25 ], [ %29, %28 ], [ %53, %52 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
ret i64 %58
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @ext2fs_read_inode(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @ext2fs_xattr_inode_max_size(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ext2fs_inline_data_size(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ext2fs_write_inode(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ext2fs_inline_data_ea_set(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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #3
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"ext2_inline_data", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 20}
!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 = !{!7, !12, i64 20}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"ext2_inode", !8, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!7, !11, i64 8}
| rufus_src_ext2fs_extr_inline_data.c_ext2fs_inline_data_set |
; ModuleID = 'AnghaBench/netdata/web/api/queries/des/extr_des.c_grouping_reset_des.c'
source_filename = "AnghaBench/netdata/web/api/queries/des/extr_des.c_grouping_reset_des.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local void @grouping_reset_des(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = inttoptr i64 %2 to ptr
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, i8 0, i64 24, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/netdata/web/api/queries/des/extr_des.c_grouping_reset_des.c'
source_filename = "AnghaBench/netdata/web/api/queries/des/extr_des.c_grouping_reset_des.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define void @grouping_reset_des(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = inttoptr i64 %2 to ptr
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, i8 0, i64 24, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| netdata_web_api_queries_des_extr_des.c_grouping_reset_des |
; ModuleID = 'AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_control.c_getacmin.c'
source_filename = "AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_control.c_getacmin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MINFREE_CONTROL_ENTRY = dso_local local_unnamed_addr global i32 0, align 4
@mutex = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @getacmin(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%3 = tail call i32 (...) @setac_locked() #4
%4 = load i32, ptr @MINFREE_CONTROL_ENTRY, align 4, !tbaa !5
%5 = call i64 @getstrfromtype_locked(i32 noundef %4, ptr noundef nonnull %2) #4
%6 = icmp slt i64 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %1
%8 = load ptr, ptr %2, align 8, !tbaa !9
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = call i32 @atoi(ptr nocapture noundef nonnull %8)
store i32 %11, ptr %0, align 4, !tbaa !5
br label %12
12: ; preds = %7, %1, %10
%13 = phi i32 [ 0, %10 ], [ -2, %1 ], [ -1, %7 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i32 %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @setac_locked(...) local_unnamed_addr #2
declare i64 @getstrfromtype_locked(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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/freebsd/contrib/openbsm/libbsm/extr_bsm_control.c_getacmin.c'
source_filename = "AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_control.c_getacmin.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MINFREE_CONTROL_ENTRY = common local_unnamed_addr global i32 0, align 4
@mutex = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2, 1) i32 @getacmin(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%3 = tail call i32 @setac_locked() #4
%4 = load i32, ptr @MINFREE_CONTROL_ENTRY, align 4, !tbaa !6
%5 = call i64 @getstrfromtype_locked(i32 noundef %4, ptr noundef nonnull %2) #4
%6 = icmp slt i64 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %1
%8 = load ptr, ptr %2, align 8, !tbaa !10
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = call i32 @atoi(ptr nocapture noundef nonnull %8)
store i32 %11, ptr %0, align 4, !tbaa !6
br label %12
12: ; preds = %7, %1, %10
%13 = phi i32 [ 0, %10 ], [ -2, %1 ], [ -1, %7 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i32 %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @setac_locked(...) local_unnamed_addr #2
declare i64 @getstrfromtype_locked(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture 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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| freebsd_contrib_openbsm_libbsm_extr_bsm_control.c_getacmin |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_cmdline.c_svn_cmdline_cstring_from_utf8.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_cmdline.c_svn_cmdline_cstring_from_utf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@output_encoding = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @svn_cmdline_cstring_from_utf8(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @svn_utf_cstring_from_utf8(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
ret ptr %4
}
declare ptr @svn_utf_cstring_from_utf8(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_cmdline.c_svn_cmdline_cstring_from_utf8.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_cmdline.c_svn_cmdline_cstring_from_utf8.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@output_encoding = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @svn_cmdline_cstring_from_utf8(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @svn_utf_cstring_from_utf8(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
ret ptr %4
}
declare ptr @svn_utf_cstring_from_utf8(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_subversion_subversion_libsvn_subr_extr_cmdline.c_svn_cmdline_cstring_from_utf8 |
; ModuleID = 'AnghaBench/Cello/src/extr_Concat.c_Concat_Methods.c'
source_filename = "AnghaBench/Cello/src/extr_Concat.c_Concat_Methods.c"
target datalayout = "e-m:e-p270:32:32-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.Method = type { ptr, ptr, ptr }
@Concat_Methods.methods = internal global [3 x %struct.Method] [%struct.Method { ptr @.str, ptr @.str.1, ptr @.str.2 }, %struct.Method { ptr @.str.3, ptr @.str.4, ptr @.str.5 }, %struct.Method zeroinitializer], align 16
@.str = private unnamed_addr constant [7 x i8] c"append\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"void append(var self, var obj);\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"Append the object `obj` to the object `self`.\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"concat\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"void concat(var self, var obj);\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"Concatenate the object `obj` to the object `self`.\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @Concat_Methods], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef nonnull ptr @Concat_Methods() #0 {
ret ptr @Concat_Methods.methods
}
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/Cello/src/extr_Concat.c_Concat_Methods.c'
source_filename = "AnghaBench/Cello/src/extr_Concat.c_Concat_Methods.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.Method = type { ptr, ptr, ptr }
@Concat_Methods.methods = internal global [3 x %struct.Method] [%struct.Method { ptr @.str, ptr @.str.1, ptr @.str.2 }, %struct.Method { ptr @.str.3, ptr @.str.4, ptr @.str.5 }, %struct.Method zeroinitializer], align 8
@.str = private unnamed_addr constant [7 x i8] c"append\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"void append(var self, var obj);\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"Append the object `obj` to the object `self`.\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"concat\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"void concat(var self, var obj);\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"Concatenate the object `obj` to the object `self`.\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @Concat_Methods], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef nonnull ptr @Concat_Methods() #0 {
ret ptr @Concat_Methods.methods
}
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)"}
| Cello_src_extr_Concat.c_Concat_Methods |
; ModuleID = 'AnghaBench/DOOM/linuxdoom-1.10/extr_st_stuff.c_ST_doPaletteStuff.c'
source_filename = "AnghaBench/DOOM/linuxdoom-1.10/extr_st_stuff.c_ST_doPaletteStuff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, ptr, i32 }
@plyr = dso_local local_unnamed_addr global ptr null, align 8
@pw_strength = dso_local local_unnamed_addr global i64 0, align 8
@NUMREDPALS = dso_local local_unnamed_addr global i32 0, align 4
@STARTREDPALS = dso_local local_unnamed_addr global i64 0, align 8
@NUMBONUSPALS = dso_local local_unnamed_addr global i32 0, align 4
@STARTBONUSPALS = dso_local local_unnamed_addr global i64 0, align 8
@pw_ironfeet = dso_local local_unnamed_addr global i64 0, align 8
@RADIATIONPAL = dso_local local_unnamed_addr global i32 0, align 4
@st_palette = dso_local local_unnamed_addr global i32 0, align 4
@lu_palette = dso_local local_unnamed_addr global i32 0, align 4
@PU_CACHE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ST_doPaletteStuff() local_unnamed_addr #0 {
%1 = load ptr, ptr @plyr, align 8, !tbaa !5
%2 = load i32, ptr %1, align 8, !tbaa !9
%3 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load i64, ptr @pw_strength, align 8, !tbaa !13
%6 = getelementptr inbounds i32, ptr %4, i64 %5
%7 = load i32, ptr %6, align 4, !tbaa !15
%8 = icmp eq i32 %7, 0
%9 = ashr i32 %7, 6
%10 = sub nsw i32 12, %9
%11 = tail call i32 @llvm.smax.i32(i32 %10, i32 %2)
%12 = select i1 %8, i32 %2, i32 %11
%13 = icmp eq i32 %12, 0
br i1 %13, label %24, label %14
14: ; preds = %0
%15 = add nsw i32 %12, 7
%16 = ashr i32 %15, 3
%17 = load i32, ptr @NUMREDPALS, align 4, !tbaa !15
%18 = icmp slt i32 %16, %17
%19 = add nsw i32 %17, -1
%20 = select i1 %18, i32 %16, i32 %19
%21 = load i64, ptr @STARTREDPALS, align 8, !tbaa !13
%22 = trunc i64 %21 to i32
%23 = add i32 %20, %22
br label %48
24: ; preds = %0
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 2
%26 = load i32, ptr %25, align 8, !tbaa !16
%27 = icmp eq i32 %26, 0
br i1 %27, label %38, label %28
28: ; preds = %24
%29 = add nsw i32 %26, 7
%30 = ashr i32 %29, 3
%31 = load i32, ptr @NUMBONUSPALS, align 4, !tbaa !15
%32 = icmp slt i32 %30, %31
%33 = add nsw i32 %31, -1
%34 = select i1 %32, i32 %30, i32 %33
%35 = load i64, ptr @STARTBONUSPALS, align 8, !tbaa !13
%36 = trunc i64 %35 to i32
%37 = add i32 %34, %36
br label %48
38: ; preds = %24
%39 = load i64, ptr @pw_ironfeet, align 8, !tbaa !13
%40 = getelementptr inbounds i32, ptr %4, i64 %39
%41 = load i32, ptr %40, align 4, !tbaa !15
%42 = icmp slt i32 %41, 129
%43 = and i32 %41, 8
%44 = icmp eq i32 %43, 0
%45 = and i1 %42, %44
%46 = load i32, ptr @RADIATIONPAL, align 4
%47 = select i1 %45, i32 0, i32 %46
br label %48
48: ; preds = %38, %28, %14
%49 = phi i32 [ %23, %14 ], [ %37, %28 ], [ %47, %38 ]
%50 = load i32, ptr @st_palette, align 4, !tbaa !15
%51 = icmp eq i32 %49, %50
br i1 %51, label %61, label %52
52: ; preds = %48
store i32 %49, ptr @st_palette, align 4, !tbaa !15
%53 = load i32, ptr @lu_palette, align 4, !tbaa !15
%54 = load i32, ptr @PU_CACHE, align 4, !tbaa !15
%55 = tail call i64 @W_CacheLumpNum(i32 noundef %53, i32 noundef %54) #3
%56 = inttoptr i64 %55 to ptr
%57 = mul nsw i32 %49, 768
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = tail call i32 @I_SetPalette(ptr noundef %59) #3
br label %61
61: ; preds = %52, %48
ret void
}
declare i64 @W_CacheLumpNum(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @I_SetPalette(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0, !6, i64 8, !11, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !11, i64 16}
| ; ModuleID = 'AnghaBench/DOOM/linuxdoom-1.10/extr_st_stuff.c_ST_doPaletteStuff.c'
source_filename = "AnghaBench/DOOM/linuxdoom-1.10/extr_st_stuff.c_ST_doPaletteStuff.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@plyr = common local_unnamed_addr global ptr null, align 8
@pw_strength = common local_unnamed_addr global i64 0, align 8
@NUMREDPALS = common local_unnamed_addr global i32 0, align 4
@STARTREDPALS = common local_unnamed_addr global i64 0, align 8
@NUMBONUSPALS = common local_unnamed_addr global i32 0, align 4
@STARTBONUSPALS = common local_unnamed_addr global i64 0, align 8
@pw_ironfeet = common local_unnamed_addr global i64 0, align 8
@RADIATIONPAL = common local_unnamed_addr global i32 0, align 4
@st_palette = common local_unnamed_addr global i32 0, align 4
@lu_palette = common local_unnamed_addr global i32 0, align 4
@PU_CACHE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ST_doPaletteStuff() local_unnamed_addr #0 {
%1 = load ptr, ptr @plyr, align 8, !tbaa !6
%2 = load i32, ptr %1, align 8, !tbaa !10
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !13
%5 = load i64, ptr @pw_strength, align 8, !tbaa !14
%6 = getelementptr inbounds i32, ptr %4, i64 %5
%7 = load i32, ptr %6, align 4, !tbaa !16
%8 = icmp eq i32 %7, 0
%9 = ashr i32 %7, 6
%10 = sub nsw i32 12, %9
%11 = tail call i32 @llvm.smax.i32(i32 %10, i32 %2)
%12 = select i1 %8, i32 %2, i32 %11
%13 = icmp eq i32 %12, 0
br i1 %13, label %24, label %14
14: ; preds = %0
%15 = add nsw i32 %12, 7
%16 = ashr i32 %15, 3
%17 = load i32, ptr @NUMREDPALS, align 4, !tbaa !16
%18 = icmp slt i32 %16, %17
%19 = add nsw i32 %17, -1
%20 = select i1 %18, i32 %16, i32 %19
%21 = load i64, ptr @STARTREDPALS, align 8, !tbaa !14
%22 = trunc i64 %21 to i32
%23 = add i32 %20, %22
br label %48
24: ; preds = %0
%25 = getelementptr inbounds i8, ptr %1, i64 16
%26 = load i32, ptr %25, align 8, !tbaa !17
%27 = icmp eq i32 %26, 0
br i1 %27, label %38, label %28
28: ; preds = %24
%29 = add nsw i32 %26, 7
%30 = ashr i32 %29, 3
%31 = load i32, ptr @NUMBONUSPALS, align 4, !tbaa !16
%32 = icmp slt i32 %30, %31
%33 = add nsw i32 %31, -1
%34 = select i1 %32, i32 %30, i32 %33
%35 = load i64, ptr @STARTBONUSPALS, align 8, !tbaa !14
%36 = trunc i64 %35 to i32
%37 = add i32 %34, %36
br label %48
38: ; preds = %24
%39 = load i64, ptr @pw_ironfeet, align 8, !tbaa !14
%40 = getelementptr inbounds i32, ptr %4, i64 %39
%41 = load i32, ptr %40, align 4, !tbaa !16
%42 = icmp slt i32 %41, 129
%43 = and i32 %41, 8
%44 = icmp eq i32 %43, 0
%45 = and i1 %42, %44
%46 = load i32, ptr @RADIATIONPAL, align 4
%47 = select i1 %45, i32 0, i32 %46
br label %48
48: ; preds = %38, %28, %14
%49 = phi i32 [ %23, %14 ], [ %37, %28 ], [ %47, %38 ]
%50 = load i32, ptr @st_palette, align 4, !tbaa !16
%51 = icmp eq i32 %49, %50
br i1 %51, label %61, label %52
52: ; preds = %48
store i32 %49, ptr @st_palette, align 4, !tbaa !16
%53 = load i32, ptr @lu_palette, align 4, !tbaa !16
%54 = load i32, ptr @PU_CACHE, align 4, !tbaa !16
%55 = tail call i64 @W_CacheLumpNum(i32 noundef %53, i32 noundef %54) #3
%56 = inttoptr i64 %55 to ptr
%57 = mul nsw i32 %49, 768
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = tail call i32 @I_SetPalette(ptr noundef %59) #3
br label %61
61: ; preds = %52, %48
ret void
}
declare i64 @W_CacheLumpNum(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @I_SetPalette(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0, !7, i64 8, !12, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!11, !12, i64 16}
| DOOM_linuxdoom-1.10_extr_st_stuff.c_ST_doPaletteStuff |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/amjkeyboard/amj66/extr_amj66.c_matrix_scan_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/amjkeyboard/amj66/extr_amj66.c_matrix_scan_kb.c"
target datalayout = "e-m:e-p270:32:32-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 @matrix_scan_kb() local_unnamed_addr #0 {
%1 = tail call i32 (...) @matrix_scan_user() #2
ret void
}
declare i32 @matrix_scan_user(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/amjkeyboard/amj66/extr_amj66.c_matrix_scan_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/amjkeyboard/amj66/extr_amj66.c_matrix_scan_kb.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 @matrix_scan_kb() local_unnamed_addr #0 {
%1 = tail call i32 @matrix_scan_user() #2
ret void
}
declare i32 @matrix_scan_user(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| qmk_firmware_keyboards_amjkeyboard_amj66_extr_amj66.c_matrix_scan_kb |
; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-lp55xx-common.c_lp55xx_reset_device.c'
source_filename = "AnghaBench/linux/drivers/leds/extr_leds-lp55xx-common.c_lp55xx_reset_device.c"
target datalayout = "e-m:e-p270:32:32-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 @lp55xx_reset_device], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lp55xx_reset_device(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = load i32, ptr %2, align 4, !tbaa !14
%6 = tail call i32 @lp55xx_write(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %5) #2
ret void
}
declare i32 @lp55xx_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, !7, i64 0}
!6 = !{!"lp55xx_chip", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 4}
!11 = !{!"lp55xx_device_config", !12, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0, !13, i64 4}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-lp55xx-common.c_lp55xx_reset_device.c'
source_filename = "AnghaBench/linux/drivers/leds/extr_leds-lp55xx-common.c_lp55xx_reset_device.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 @lp55xx_reset_device], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lp55xx_reset_device(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = load i32, ptr %2, align 4, !tbaa !15
%6 = tail call i32 @lp55xx_write(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %5) #2
ret void
}
declare i32 @lp55xx_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, !8, i64 0}
!7 = !{!"lp55xx_chip", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 4}
!12 = !{!"lp55xx_device_config", !13, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0, !14, i64 4}
!14 = !{!"int", !9, i64 0}
!15 = !{!12, !14, i64 0}
| linux_drivers_leds_extr_leds-lp55xx-common.c_lp55xx_reset_device |
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace_dynevent.c_dyn_event_seq_stop.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_trace_dynevent.c_dyn_event_seq_stop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@event_mutex = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @dyn_event_seq_stop(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call i32 @mutex_unlock(ptr noundef nonnull @event_mutex) #2
ret void
}
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace_dynevent.c_dyn_event_seq_stop.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_trace_dynevent.c_dyn_event_seq_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@event_mutex = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @dyn_event_seq_stop(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call i32 @mutex_unlock(ptr noundef nonnull @event_mutex) #2
ret void
}
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_kernel_trace_extr_trace_dynevent.c_dyn_event_seq_stop |
; ModuleID = 'AnghaBench/linux/arch/mips/cavium-octeon/executive/extr_cvmx-bootmem.c_cvmx_bootmem_phy_set_size.c'
source_filename = "AnghaBench/linux/arch/mips/cavium-octeon/executive/extr_cvmx-bootmem.c_cvmx_bootmem_phy_set_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SIZE_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @cvmx_bootmem_phy_set_size], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cvmx_bootmem_phy_set_size(i64 noundef %0, i64 noundef %1) #0 {
%3 = load i64, ptr @SIZE_OFFSET, align 8, !tbaa !5
%4 = add i64 %3, %0
%5 = or i64 %4, -9223372036854775808
%6 = tail call i32 @cvmx_write64_uint64(i64 noundef %5, i64 noundef %1) #2
ret void
}
declare i32 @cvmx_write64_uint64(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/mips/cavium-octeon/executive/extr_cvmx-bootmem.c_cvmx_bootmem_phy_set_size.c'
source_filename = "AnghaBench/linux/arch/mips/cavium-octeon/executive/extr_cvmx-bootmem.c_cvmx_bootmem_phy_set_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SIZE_OFFSET = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @cvmx_bootmem_phy_set_size], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cvmx_bootmem_phy_set_size(i64 noundef %0, i64 noundef %1) #0 {
%3 = load i64, ptr @SIZE_OFFSET, align 8, !tbaa !6
%4 = add i64 %3, %0
%5 = or i64 %4, -9223372036854775808
%6 = tail call i32 @cvmx_write64_uint64(i64 noundef %5, i64 noundef %1) #2
ret void
}
declare i32 @cvmx_write64_uint64(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_mips_cavium-octeon_executive_extr_cvmx-bootmem.c_cvmx_bootmem_phy_set_size |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_inet_connection_sock.c_inet_csk_accept.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_inet_connection_sock.c_inet_csk_accept.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@TCP_LISTEN = dso_local local_unnamed_addr global i64 0, align 8
@O_NONBLOCK = dso_local local_unnamed_addr global i32 0, align 4
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@TCP_SYN_RECV = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @inet_csk_accept(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = tail call ptr @inet_csk(ptr noundef %0) #2
%5 = tail call i32 @lock_sock(ptr noundef %0) #2
%6 = load i32, ptr @EINVAL, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
%8 = load i64, ptr %0, align 8, !tbaa !9
%9 = load i64, ptr @TCP_LISTEN, align 8, !tbaa !12
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %35
11: ; preds = %3
%12 = tail call i64 @reqsk_queue_empty(ptr noundef %4) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %25, label %14
14: ; preds = %11
%15 = load i32, ptr @O_NONBLOCK, align 4, !tbaa !5
%16 = and i32 %15, %1
%17 = tail call i64 @sock_rcvtimeo(ptr noundef nonnull %0, i32 noundef %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load i32, ptr @EAGAIN, align 4, !tbaa !5
%21 = sub nsw i32 0, %20
br label %35
22: ; preds = %14
%23 = tail call i32 @inet_csk_wait_for_connect(ptr noundef nonnull %0, i64 noundef %17) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %35
25: ; preds = %22, %11
%26 = tail call ptr @reqsk_queue_get_child(ptr noundef %4, ptr noundef nonnull %0) #2
%27 = load i64, ptr %26, align 8, !tbaa !9
%28 = load i64, ptr @TCP_SYN_RECV, align 8, !tbaa !12
%29 = icmp eq i64 %27, %28
%30 = zext i1 %29 to i32
%31 = tail call i32 @WARN_ON(i32 noundef %30) #2
br label %32
32: ; preds = %35, %25
%33 = phi ptr [ null, %35 ], [ %26, %25 ]
%34 = tail call i32 @release_sock(ptr noundef nonnull %0) #2
ret ptr %33
35: ; preds = %22, %19, %3
%36 = phi i32 [ %7, %3 ], [ %23, %22 ], [ %21, %19 ]
store i32 %36, ptr %2, align 4, !tbaa !5
br label %32
}
declare ptr @inet_csk(ptr noundef) local_unnamed_addr #1
declare i32 @lock_sock(ptr noundef) local_unnamed_addr #1
declare i64 @reqsk_queue_empty(ptr noundef) local_unnamed_addr #1
declare i64 @sock_rcvtimeo(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inet_csk_wait_for_connect(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @reqsk_queue_get_child(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @release_sock(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 = !{!"sock", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_inet_connection_sock.c_inet_csk_accept.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_inet_connection_sock.c_inet_csk_accept.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@TCP_LISTEN = common local_unnamed_addr global i64 0, align 8
@O_NONBLOCK = common local_unnamed_addr global i32 0, align 4
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@TCP_SYN_RECV = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @inet_csk_accept(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = tail call ptr @inet_csk(ptr noundef %0) #2
%5 = tail call i32 @lock_sock(ptr noundef %0) #2
%6 = load i32, ptr @EINVAL, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
%8 = load i64, ptr %0, align 8, !tbaa !10
%9 = load i64, ptr @TCP_LISTEN, align 8, !tbaa !13
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %35
11: ; preds = %3
%12 = tail call i64 @reqsk_queue_empty(ptr noundef %4) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %25, label %14
14: ; preds = %11
%15 = load i32, ptr @O_NONBLOCK, align 4, !tbaa !6
%16 = and i32 %15, %1
%17 = tail call i64 @sock_rcvtimeo(ptr noundef nonnull %0, i32 noundef %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load i32, ptr @EAGAIN, align 4, !tbaa !6
%21 = sub nsw i32 0, %20
br label %35
22: ; preds = %14
%23 = tail call i32 @inet_csk_wait_for_connect(ptr noundef nonnull %0, i64 noundef %17) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %35
25: ; preds = %22, %11
%26 = tail call ptr @reqsk_queue_get_child(ptr noundef %4, ptr noundef nonnull %0) #2
%27 = load i64, ptr %26, align 8, !tbaa !10
%28 = load i64, ptr @TCP_SYN_RECV, align 8, !tbaa !13
%29 = icmp eq i64 %27, %28
%30 = zext i1 %29 to i32
%31 = tail call i32 @WARN_ON(i32 noundef %30) #2
br label %32
32: ; preds = %35, %25
%33 = phi ptr [ null, %35 ], [ %26, %25 ]
%34 = tail call i32 @release_sock(ptr noundef nonnull %0) #2
ret ptr %33
35: ; preds = %22, %19, %3
%36 = phi i32 [ %7, %3 ], [ %23, %22 ], [ %21, %19 ]
store i32 %36, ptr %2, align 4, !tbaa !6
br label %32
}
declare ptr @inet_csk(ptr noundef) local_unnamed_addr #1
declare i32 @lock_sock(ptr noundef) local_unnamed_addr #1
declare i64 @reqsk_queue_empty(ptr noundef) local_unnamed_addr #1
declare i64 @sock_rcvtimeo(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inet_csk_wait_for_connect(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @reqsk_queue_get_child(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @release_sock(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 = !{!"sock", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
| fastsocket_kernel_net_ipv4_extr_inet_connection_sock.c_inet_csk_accept |
; ModuleID = 'AnghaBench/freebsd/sys/dev/atkbdc/extr_psm.c_proc_versapad.c'
source_filename = "AnghaBench/freebsd/sys/dev/atkbdc/extr_psm.c_proc_versapad.c"
target datalayout = "e-m:e-p270:32:32-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.psm_softc = type { i32, i32, i32 }
@proc_versapad.butmap_versapad = internal unnamed_addr constant [8 x i32] [i32 0, i32 128, i32 0, i32 128, i32 129, i32 129, i32 129, i32 129], align 16
@MOUSE_PS2VERSA_BUTTONS = dso_local local_unnamed_addr global i32 0, align 4
@MOUSE_PS2VERSA_TAP = dso_local local_unnamed_addr global i32 0, align 4
@MOUSE_BUTTON4DOWN = dso_local local_unnamed_addr global i32 0, align 4
@MOUSE_PS2VERSA_IN_USE = dso_local local_unnamed_addr global i32 0, align 4
@PSM_FLAGS_FINGERDOWN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @proc_versapad], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @proc_versapad(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef %3, ptr nocapture noundef %4, ptr nocapture readnone %5) #0 {
%7 = load ptr, ptr %1, align 8, !tbaa !5
%8 = load i32, ptr %7, align 4, !tbaa !10
store i32 0, ptr %4, align 4, !tbaa !10
store i32 0, ptr %3, align 4, !tbaa !10
%9 = load i32, ptr @MOUSE_PS2VERSA_BUTTONS, align 4, !tbaa !10
%10 = and i32 %9, %8
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [8 x i32], ptr @proc_versapad.butmap_versapad, i64 0, i64 %11
%13 = load i32, ptr %12, align 4, !tbaa !10
store i32 %13, ptr %2, align 4, !tbaa !12
%14 = load i32, ptr @MOUSE_PS2VERSA_TAP, align 4, !tbaa !10
%15 = and i32 %14, %8
%16 = icmp eq i32 %15, 0
%17 = load i32, ptr @MOUSE_BUTTON4DOWN, align 4
%18 = select i1 %16, i32 0, i32 %17
%19 = or i32 %18, %13
store i32 %19, ptr %2, align 4, !tbaa !12
%20 = load i32, ptr @MOUSE_PS2VERSA_IN_USE, align 4, !tbaa !10
%21 = and i32 %20, %8
%22 = icmp eq i32 %21, 0
br i1 %22, label %77, label %23
23: ; preds = %6
%24 = getelementptr inbounds i32, ptr %7, i64 1
%25 = load i32, ptr %24, align 4, !tbaa !10
%26 = getelementptr inbounds i32, ptr %7, i64 4
%27 = load i32, ptr %26, align 4, !tbaa !10
%28 = shl i32 %27, 8
%29 = and i32 %28, 3840
%30 = or i32 %29, %25
%31 = getelementptr inbounds i32, ptr %7, i64 2
%32 = load i32, ptr %31, align 4, !tbaa !10
%33 = shl i32 %27, 4
%34 = and i32 %33, 3840
%35 = or i32 %34, %32
%36 = and i32 %30, 2048
%37 = icmp eq i32 %36, 0
%38 = add nsw i32 %30, -4096
%39 = select i1 %37, i32 %30, i32 %38
%40 = and i32 %35, 2048
%41 = icmp eq i32 %40, 0
%42 = add nsw i32 %35, -4096
%43 = select i1 %41, i32 %35, i32 %42
%44 = load i32, ptr %0, align 4, !tbaa !14
%45 = load i32, ptr @PSM_FLAGS_FINGERDOWN, align 4, !tbaa !10
%46 = and i32 %45, %44
%47 = icmp eq i32 %46, 0
br i1 %47, label %72, label %48
48: ; preds = %23
%49 = getelementptr inbounds %struct.psm_softc, ptr %0, i64 0, i32 1
%50 = load i32, ptr %49, align 4, !tbaa !16
%51 = sub nsw i32 %50, %39
store i32 %51, ptr %3, align 4, !tbaa !10
%52 = getelementptr inbounds %struct.psm_softc, ptr %0, i64 0, i32 2
%53 = load i32, ptr %52, align 4, !tbaa !17
%54 = sub nsw i32 %43, %53
store i32 %54, ptr %4, align 4, !tbaa !10
%55 = load i32, ptr %3, align 4, !tbaa !10
%56 = icmp slt i32 %55, 0
br i1 %56, label %59, label %57
57: ; preds = %48
%58 = icmp eq i32 %55, 0
br i1 %58, label %63, label %59
59: ; preds = %57, %48
%60 = phi i32 [ 1, %48 ], [ -1, %57 ]
%61 = add nsw i32 %55, %60
store i32 %61, ptr %3, align 4, !tbaa !10
%62 = load i32, ptr %4, align 4, !tbaa !10
br label %63
63: ; preds = %59, %57
%64 = phi i32 [ %62, %59 ], [ %54, %57 ]
%65 = icmp slt i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %63
%67 = add nsw i32 %64, 1
store i32 %67, ptr %4, align 4, !tbaa !10
br label %74
68: ; preds = %63
%69 = icmp eq i32 %64, 0
br i1 %69, label %74, label %70
70: ; preds = %68
%71 = add nsw i32 %64, -1
store i32 %71, ptr %4, align 4, !tbaa !10
br label %74
72: ; preds = %23
%73 = or i32 %45, %44
store i32 %73, ptr %0, align 4, !tbaa !14
br label %74
74: ; preds = %66, %70, %68, %72
%75 = getelementptr inbounds %struct.psm_softc, ptr %0, i64 0, i32 1
store i32 %39, ptr %75, align 4, !tbaa !16
%76 = getelementptr inbounds %struct.psm_softc, ptr %0, i64 0, i32 2
store i32 %43, ptr %76, align 4, !tbaa !17
br label %82
77: ; preds = %6
%78 = load i32, ptr @PSM_FLAGS_FINGERDOWN, align 4, !tbaa !10
%79 = xor i32 %78, -1
%80 = load i32, ptr %0, align 4, !tbaa !14
%81 = and i32 %80, %79
store i32 %81, ptr %0, align 4, !tbaa !14
br label %82
82: ; preds = %77, %74
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_6__", !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"psm_softc", !11, i64 0, !11, i64 4, !11, i64 8}
!16 = !{!15, !11, i64 4}
!17 = !{!15, !11, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/atkbdc/extr_psm.c_proc_versapad.c'
source_filename = "AnghaBench/freebsd/sys/dev/atkbdc/extr_psm.c_proc_versapad.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@proc_versapad.butmap_versapad = internal unnamed_addr constant [8 x i32] [i32 0, i32 128, i32 0, i32 128, i32 129, i32 129, i32 129, i32 129], align 4
@MOUSE_PS2VERSA_BUTTONS = common local_unnamed_addr global i32 0, align 4
@MOUSE_PS2VERSA_TAP = common local_unnamed_addr global i32 0, align 4
@MOUSE_BUTTON4DOWN = common local_unnamed_addr global i32 0, align 4
@MOUSE_PS2VERSA_IN_USE = common local_unnamed_addr global i32 0, align 4
@PSM_FLAGS_FINGERDOWN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @proc_versapad], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @proc_versapad(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef %3, ptr nocapture noundef %4, ptr nocapture readnone %5) #0 {
%7 = load ptr, ptr %1, align 8, !tbaa !6
%8 = load i32, ptr %7, align 4, !tbaa !11
store i32 0, ptr %4, align 4, !tbaa !11
store i32 0, ptr %3, align 4, !tbaa !11
%9 = load i32, ptr @MOUSE_PS2VERSA_BUTTONS, align 4, !tbaa !11
%10 = and i32 %9, %8
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [8 x i32], ptr @proc_versapad.butmap_versapad, i64 0, i64 %11
%13 = load i32, ptr %12, align 4, !tbaa !11
store i32 %13, ptr %2, align 4, !tbaa !13
%14 = load i32, ptr @MOUSE_PS2VERSA_TAP, align 4, !tbaa !11
%15 = and i32 %14, %8
%16 = icmp eq i32 %15, 0
%17 = load i32, ptr @MOUSE_BUTTON4DOWN, align 4
%18 = select i1 %16, i32 0, i32 %17
%19 = or i32 %18, %13
store i32 %19, ptr %2, align 4, !tbaa !13
%20 = load i32, ptr @MOUSE_PS2VERSA_IN_USE, align 4, !tbaa !11
%21 = and i32 %20, %8
%22 = icmp eq i32 %21, 0
br i1 %22, label %71, label %23
23: ; preds = %6
%24 = getelementptr inbounds i8, ptr %7, i64 4
%25 = getelementptr inbounds i8, ptr %7, i64 16
%26 = load i32, ptr %25, align 4, !tbaa !11
%27 = load <2 x i32>, ptr %24, align 4, !tbaa !11
%28 = insertelement <2 x i32> poison, i32 %26, i64 0
%29 = shufflevector <2 x i32> %28, <2 x i32> poison, <2 x i32> zeroinitializer
%30 = shl <2 x i32> %29, <i32 8, i32 4>
%31 = and <2 x i32> %30, <i32 3840, i32 3840>
%32 = or <2 x i32> %31, %27
%33 = and <2 x i32> %32, <i32 2048, i32 2048>
%34 = icmp eq <2 x i32> %33, zeroinitializer
%35 = add nsw <2 x i32> %32, <i32 -4096, i32 -4096>
%36 = select <2 x i1> %34, <2 x i32> %32, <2 x i32> %35
%37 = load i32, ptr %0, align 4, !tbaa !15
%38 = load i32, ptr @PSM_FLAGS_FINGERDOWN, align 4, !tbaa !11
%39 = and i32 %38, %37
%40 = icmp eq i32 %39, 0
br i1 %40, label %67, label %41
41: ; preds = %23
%42 = getelementptr inbounds i8, ptr %0, i64 4
%43 = load i32, ptr %42, align 4, !tbaa !17
%44 = extractelement <2 x i32> %36, i64 0
%45 = sub nsw i32 %43, %44
store i32 %45, ptr %3, align 4, !tbaa !11
%46 = getelementptr inbounds i8, ptr %0, i64 8
%47 = load i32, ptr %46, align 4, !tbaa !18
%48 = extractelement <2 x i32> %36, i64 1
%49 = sub nsw i32 %48, %47
store i32 %49, ptr %4, align 4, !tbaa !11
%50 = load i32, ptr %3, align 4, !tbaa !11
%51 = icmp slt i32 %50, 0
br i1 %51, label %54, label %52
52: ; preds = %41
%53 = icmp eq i32 %50, 0
br i1 %53, label %58, label %54
54: ; preds = %52, %41
%55 = phi i32 [ 1, %41 ], [ -1, %52 ]
%56 = add nsw i32 %50, %55
store i32 %56, ptr %3, align 4, !tbaa !11
%57 = load i32, ptr %4, align 4, !tbaa !11
br label %58
58: ; preds = %54, %52
%59 = phi i32 [ %57, %54 ], [ %49, %52 ]
%60 = icmp slt i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %58
%62 = add nsw i32 %59, 1
store i32 %62, ptr %4, align 4, !tbaa !11
br label %69
63: ; preds = %58
%64 = icmp eq i32 %59, 0
br i1 %64, label %69, label %65
65: ; preds = %63
%66 = add nsw i32 %59, -1
store i32 %66, ptr %4, align 4, !tbaa !11
br label %69
67: ; preds = %23
%68 = or i32 %38, %37
store i32 %68, ptr %0, align 4, !tbaa !15
br label %69
69: ; preds = %61, %65, %63, %67
%70 = getelementptr inbounds i8, ptr %0, i64 4
store <2 x i32> %36, ptr %70, align 4, !tbaa !11
br label %76
71: ; preds = %6
%72 = load i32, ptr @PSM_FLAGS_FINGERDOWN, align 4, !tbaa !11
%73 = xor i32 %72, -1
%74 = load i32, ptr %0, align 4, !tbaa !15
%75 = and i32 %74, %73
store i32 %75, ptr %0, align 4, !tbaa !15
br label %76
76: ; preds = %71, %69
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_6__", !12, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"psm_softc", !12, i64 0, !12, i64 4, !12, i64 8}
!17 = !{!16, !12, i64 4}
!18 = !{!16, !12, i64 8}
| freebsd_sys_dev_atkbdc_extr_psm.c_proc_versapad |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/regulator/extr_wm8350-regulator.c_wm8350_dcdc_set_suspend_enable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/regulator/extr_wm8350-regulator.c_wm8350_dcdc_set_suspend_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.TYPE_2__ = type { i32, i32, i32, i32 }
@WM8350_DCDC1_LOW_POWER = dso_local local_unnamed_addr global i32 0, align 4
@WM8350_DCDC_HIB_MODE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@WM8350_DCDC3_LOW_POWER = dso_local local_unnamed_addr global i32 0, align 4
@WM8350_DCDC4_LOW_POWER = dso_local local_unnamed_addr global i32 0, align 4
@WM8350_DCDC6_LOW_POWER = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wm8350_dcdc_set_suspend_enable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wm8350_dcdc_set_suspend_enable(ptr noundef %0) #0 {
%2 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2
%3 = tail call i32 @rdev_get_id(ptr noundef %0) #2
switch i32 %3, label %31 [
i32 133, label %4
i32 131, label %11
i32 130, label %18
i32 128, label %25
]
4: ; preds = %1
%5 = load i32, ptr @WM8350_DCDC1_LOW_POWER, align 4, !tbaa !5
%6 = tail call i32 @wm8350_reg_read(ptr noundef %2, i32 noundef %5) #2
%7 = load i32, ptr @WM8350_DCDC1_LOW_POWER, align 4, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 3
%9 = load i32, ptr %8, align 4, !tbaa !9
%10 = tail call i32 @wm8350_reg_write(ptr noundef %2, i32 noundef %7, i32 noundef %9) #2
br label %34
11: ; preds = %1
%12 = load i32, ptr @WM8350_DCDC3_LOW_POWER, align 4, !tbaa !5
%13 = tail call i32 @wm8350_reg_read(ptr noundef %2, i32 noundef %12) #2
%14 = load i32, ptr @WM8350_DCDC3_LOW_POWER, align 4, !tbaa !5
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 2
%16 = load i32, ptr %15, align 4, !tbaa !12
%17 = tail call i32 @wm8350_reg_write(ptr noundef %2, i32 noundef %14, i32 noundef %16) #2
br label %34
18: ; preds = %1
%19 = load i32, ptr @WM8350_DCDC4_LOW_POWER, align 4, !tbaa !5
%20 = tail call i32 @wm8350_reg_read(ptr noundef %2, i32 noundef %19) #2
%21 = load i32, ptr @WM8350_DCDC4_LOW_POWER, align 4, !tbaa !5
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !13
%24 = tail call i32 @wm8350_reg_write(ptr noundef %2, i32 noundef %21, i32 noundef %23) #2
br label %34
25: ; preds = %1
%26 = load i32, ptr @WM8350_DCDC6_LOW_POWER, align 4, !tbaa !5
%27 = tail call i32 @wm8350_reg_read(ptr noundef %2, i32 noundef %26) #2
%28 = load i32, ptr @WM8350_DCDC6_LOW_POWER, align 4, !tbaa !5
%29 = load i32, ptr %2, align 4, !tbaa !14
%30 = tail call i32 @wm8350_reg_write(ptr noundef nonnull %2, i32 noundef %28, i32 noundef %29) #2
br label %34
31: ; preds = %1
%32 = load i32, ptr @EINVAL, align 4, !tbaa !5
%33 = sub nsw i32 0, %32
br label %34
34: ; preds = %4, %11, %18, %25, %31
%35 = phi i32 [ %33, %31 ], [ 0, %25 ], [ 0, %18 ], [ 0, %11 ], [ 0, %4 ]
ret i32 %35
}
declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @rdev_get_id(ptr noundef) local_unnamed_addr #1
declare i32 @wm8350_reg_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wm8350_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"}
!9 = !{!10, !6, i64 12}
!10 = !{!"wm8350", !11, i64 0}
!11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!12 = !{!10, !6, i64 8}
!13 = !{!10, !6, i64 4}
!14 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/regulator/extr_wm8350-regulator.c_wm8350_dcdc_set_suspend_enable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/regulator/extr_wm8350-regulator.c_wm8350_dcdc_set_suspend_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WM8350_DCDC1_LOW_POWER = common local_unnamed_addr global i32 0, align 4
@WM8350_DCDC_HIB_MODE_MASK = common local_unnamed_addr global i32 0, align 4
@WM8350_DCDC3_LOW_POWER = common local_unnamed_addr global i32 0, align 4
@WM8350_DCDC4_LOW_POWER = common local_unnamed_addr global i32 0, align 4
@WM8350_DCDC6_LOW_POWER = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wm8350_dcdc_set_suspend_enable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @wm8350_dcdc_set_suspend_enable(ptr noundef %0) #0 {
%2 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2
%3 = tail call i32 @rdev_get_id(ptr noundef %0) #2
switch i32 %3, label %31 [
i32 133, label %4
i32 131, label %11
i32 130, label %18
i32 128, label %25
]
4: ; preds = %1
%5 = load i32, ptr @WM8350_DCDC1_LOW_POWER, align 4, !tbaa !6
%6 = tail call i32 @wm8350_reg_read(ptr noundef %2, i32 noundef %5) #2
%7 = load i32, ptr @WM8350_DCDC1_LOW_POWER, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %2, i64 12
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = tail call i32 @wm8350_reg_write(ptr noundef %2, i32 noundef %7, i32 noundef %9) #2
br label %34
11: ; preds = %1
%12 = load i32, ptr @WM8350_DCDC3_LOW_POWER, align 4, !tbaa !6
%13 = tail call i32 @wm8350_reg_read(ptr noundef %2, i32 noundef %12) #2
%14 = load i32, ptr @WM8350_DCDC3_LOW_POWER, align 4, !tbaa !6
%15 = getelementptr inbounds i8, ptr %2, i64 8
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = tail call i32 @wm8350_reg_write(ptr noundef %2, i32 noundef %14, i32 noundef %16) #2
br label %34
18: ; preds = %1
%19 = load i32, ptr @WM8350_DCDC4_LOW_POWER, align 4, !tbaa !6
%20 = tail call i32 @wm8350_reg_read(ptr noundef %2, i32 noundef %19) #2
%21 = load i32, ptr @WM8350_DCDC4_LOW_POWER, align 4, !tbaa !6
%22 = getelementptr inbounds i8, ptr %2, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !14
%24 = tail call i32 @wm8350_reg_write(ptr noundef %2, i32 noundef %21, i32 noundef %23) #2
br label %34
25: ; preds = %1
%26 = load i32, ptr @WM8350_DCDC6_LOW_POWER, align 4, !tbaa !6
%27 = tail call i32 @wm8350_reg_read(ptr noundef %2, i32 noundef %26) #2
%28 = load i32, ptr @WM8350_DCDC6_LOW_POWER, align 4, !tbaa !6
%29 = load i32, ptr %2, align 4, !tbaa !15
%30 = tail call i32 @wm8350_reg_write(ptr noundef nonnull %2, i32 noundef %28, i32 noundef %29) #2
br label %34
31: ; preds = %1
%32 = load i32, ptr @EINVAL, align 4, !tbaa !6
%33 = sub nsw i32 0, %32
br label %34
34: ; preds = %4, %11, %18, %25, %31
%35 = phi i32 [ %33, %31 ], [ 0, %25 ], [ 0, %18 ], [ 0, %11 ], [ 0, %4 ]
ret i32 %35
}
declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @rdev_get_id(ptr noundef) local_unnamed_addr #1
declare i32 @wm8350_reg_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wm8350_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"}
!10 = !{!11, !7, i64 12}
!11 = !{!"wm8350", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!13 = !{!11, !7, i64 8}
!14 = !{!11, !7, i64 4}
!15 = !{!11, !7, i64 0}
| fastsocket_kernel_drivers_regulator_extr_wm8350-regulator.c_wm8350_dcdc_set_suspend_enable |
; ModuleID = 'AnghaBench/linux/drivers/crypto/cavium/zip/extr_zip_regs.h_ZIP_QUEX_ERR_ENA_W1S.c'
source_filename = "AnghaBench/linux/drivers/crypto/cavium/zip/extr_zip_regs.h_ZIP_QUEX_ERR_ENA_W1S.c"
target datalayout = "e-m:e-p270:32:32-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"ZIP_QUEX_ERR_ENA_W1S: %llu\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ZIP_QUEX_ERR_ENA_W1S], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @ZIP_QUEX_ERR_ENA_W1S(i32 noundef %0) #0 {
%2 = icmp slt i32 %0, 8
br i1 %2, label %3, label %7
3: ; preds = %1
%4 = shl i32 %0, 3
%5 = and i32 %4, 56
%6 = or disjoint i32 %5, 13312
br label %9
7: ; preds = %1
%8 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %0) #2
br label %9
9: ; preds = %7, %3
%10 = phi i32 [ %6, %3 ], [ 0, %7 ]
ret i32 %10
}
declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/crypto/cavium/zip/extr_zip_regs.h_ZIP_QUEX_ERR_ENA_W1S.c'
source_filename = "AnghaBench/linux/drivers/crypto/cavium/zip/extr_zip_regs.h_ZIP_QUEX_ERR_ENA_W1S.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"ZIP_QUEX_ERR_ENA_W1S: %llu\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ZIP_QUEX_ERR_ENA_W1S], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 13369) i32 @ZIP_QUEX_ERR_ENA_W1S(i32 noundef %0) #0 {
%2 = icmp slt i32 %0, 8
br i1 %2, label %3, label %7
3: ; preds = %1
%4 = shl i32 %0, 3
%5 = and i32 %4, 56
%6 = or disjoint i32 %5, 13312
br label %9
7: ; preds = %1
%8 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %0) #2
br label %9
9: ; preds = %7, %3
%10 = phi i32 [ %6, %3 ], [ 0, %7 ]
ret i32 %10
}
declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_crypto_cavium_zip_extr_zip_regs.h_ZIP_QUEX_ERR_ENA_W1S |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/rpc.lockd/extr_lock_proc.c_nlm4_nm_lock_4_svc.c'
source_filename = "AnghaBench/freebsd/usr.sbin/rpc.lockd/extr_lock_proc.c_nlm4_nm_lock_4_svc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { %struct.TYPE_6__, i32 }
%struct.TYPE_6__ = type { i32 }
@nlm4_nm_lock_4_svc.res = internal global %struct.TYPE_7__ zeroinitializer, align 4
@debug_level = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [13 x i8] c"nlm4_nm_lock\00", align 1
@nlm4_granted = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef nonnull ptr @nlm4_nm_lock_4_svc(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr @debug_level, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @log_from_addr(ptr noundef nonnull @.str, ptr noundef %1) #2
br label %7
7: ; preds = %5, %2
%8 = load i32, ptr %0, align 4, !tbaa !9
store i32 %8, ptr getelementptr inbounds (%struct.TYPE_7__, ptr @nlm4_nm_lock_4_svc.res, i64 0, i32 1), align 4, !tbaa !12
%9 = load i32, ptr @nlm4_granted, align 4, !tbaa !15
store i32 %9, ptr @nlm4_nm_lock_4_svc.res, align 4, !tbaa !16
ret ptr @nlm4_nm_lock_4_svc.res
}
declare i32 @log_from_addr(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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_8__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 4}
!13 = !{!"TYPE_7__", !14, i64 0, !11, i64 4}
!14 = !{!"TYPE_6__", !11, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!13, !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/rpc.lockd/extr_lock_proc.c_nlm4_nm_lock_4_svc.c'
source_filename = "AnghaBench/freebsd/usr.sbin/rpc.lockd/extr_lock_proc.c_nlm4_nm_lock_4_svc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_7__ = type { %struct.TYPE_6__, i32 }
%struct.TYPE_6__ = type { i32 }
@nlm4_nm_lock_4_svc.res = internal global %struct.TYPE_7__ zeroinitializer, align 4
@debug_level = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [13 x i8] c"nlm4_nm_lock\00", align 1
@nlm4_granted = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef nonnull ptr @nlm4_nm_lock_4_svc(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr @debug_level, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @log_from_addr(ptr noundef nonnull @.str, ptr noundef %1) #2
br label %7
7: ; preds = %5, %2
%8 = load i32, ptr %0, align 4, !tbaa !10
store i32 %8, ptr getelementptr inbounds (i8, ptr @nlm4_nm_lock_4_svc.res, i64 4), align 4, !tbaa !13
%9 = load i32, ptr @nlm4_granted, align 4, !tbaa !16
store i32 %9, ptr @nlm4_nm_lock_4_svc.res, align 4, !tbaa !17
ret ptr @nlm4_nm_lock_4_svc.res
}
declare i32 @log_from_addr(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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_8__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 4}
!14 = !{!"TYPE_7__", !15, i64 0, !12, i64 4}
!15 = !{!"TYPE_6__", !12, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!14, !12, i64 0}
| freebsd_usr.sbin_rpc.lockd_extr_lock_proc.c_nlm4_nm_lock_4_svc |
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxr/extr_qlnxr_os.c_qlnxr_alloc_resources.c'
source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxr/extr_qlnxr_os.c_qlnxr_alloc_resources.c"
target datalayout = "e-m:e-p270:32:32-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.qlnxr_dev = type { i32, ptr, ptr, ptr, i64, i32, i32, i32, i32, ptr }
%struct.TYPE_9__ = type { i32, i32, ptr, ptr, ptr, ptr, i32 }
%struct.TYPE_8__ = type { i32, i32 }
@.str = private unnamed_addr constant [7 x i8] c"enter\0A\00", align 1
@QLNXR_MAX_SGID = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"idr_lock\00", align 1
@MTX_DEF = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"sgid_lock\00", align 1
@QLNXR_MAX_MSIX = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [22 x i8] c"dev->sb_start = 0x%x\0A\00", align 1
@u32 = dso_local local_unnamed_addr global i32 0, align 4
@ECORE_RDMA_MAX_CNQ_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@QLNXR_ROCE_MAX_CNQ_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@ECORE_CHAIN_USE_TO_CONSUME_PRODUCE = dso_local local_unnamed_addr global i32 0, align 4
@ECORE_CHAIN_MODE_PBL = dso_local local_unnamed_addr global i32 0, align 4
@ECORE_CHAIN_CNT_TYPE_U16 = dso_local local_unnamed_addr global i32 0, align 4
@ECORE_ROCE_PROTOCOL_INDEX = dso_local local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [15 x i8] c"qlnxr%d@pci:%d\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"exit\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"exit -ENOMEM\0A\00", align 1
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qlnxr_alloc_resources], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @qlnxr_alloc_resources(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.qlnxr_dev, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = tail call i32 (ptr, ptr, ...) @QL_DPRINT12(ptr noundef %3, ptr noundef nonnull @.str) #2
%5 = getelementptr inbounds %struct.qlnxr_dev, ptr %0, i64 0, i32 9
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = load i32, ptr @QLNXR_MAX_SGID, align 4, !tbaa !13
%8 = shl i32 %7, 2
%9 = tail call i32 @bzero(ptr noundef %6, i32 noundef %8) #2
%10 = getelementptr inbounds %struct.qlnxr_dev, ptr %0, i64 0, i32 8
%11 = load i32, ptr @MTX_DEF, align 4, !tbaa !13
%12 = tail call i32 @mtx_init(ptr noundef nonnull %10, ptr noundef nonnull @.str.1, ptr noundef null, i32 noundef %11) #2
%13 = getelementptr inbounds %struct.qlnxr_dev, ptr %0, i64 0, i32 7
%14 = load i32, ptr @MTX_DEF, align 4, !tbaa !13
%15 = tail call i32 @mtx_init(ptr noundef nonnull %13, ptr noundef nonnull @.str.2, ptr noundef null, i32 noundef %14) #2
%16 = getelementptr inbounds %struct.qlnxr_dev, ptr %0, i64 0, i32 6
%17 = tail call i32 @idr_init(ptr noundef nonnull %16) #2
%18 = getelementptr inbounds %struct.qlnxr_dev, ptr %0, i64 0, i32 3
%19 = load ptr, ptr %18, align 8, !tbaa !14
%20 = load i32, ptr @QLNXR_MAX_MSIX, align 4, !tbaa !13
%21 = shl i32 %20, 2
%22 = tail call i32 @bzero(ptr noundef %19, i32 noundef %21) #2
%23 = getelementptr inbounds %struct.qlnxr_dev, ptr %0, i64 0, i32 2
%24 = load ptr, ptr %23, align 8, !tbaa !15
%25 = load i32, ptr @QLNXR_MAX_MSIX, align 4, !tbaa !13
%26 = shl i32 %25, 2
%27 = tail call i32 @bzero(ptr noundef %24, i32 noundef %26) #2
%28 = getelementptr inbounds %struct.qlnxr_dev, ptr %0, i64 0, i32 5
%29 = load i32, ptr %28, align 8, !tbaa !16
%30 = tail call i64 @ecore_rdma_get_sb_id(i32 noundef %29, i32 noundef 0) #2
%31 = getelementptr inbounds %struct.qlnxr_dev, ptr %0, i64 0, i32 4
store i64 %30, ptr %31, align 8, !tbaa !17
%32 = tail call i32 (ptr, ptr, ...) @QL_DPRINT12(ptr noundef %3, ptr noundef nonnull @.str.3, i64 noundef %30) #2
%33 = load i32, ptr @u32, align 4, !tbaa !13
%34 = load i32, ptr @ECORE_RDMA_MAX_CNQ_SIZE, align 4, !tbaa !13
%35 = load i32, ptr @QLNXR_ROCE_MAX_CNQ_SIZE, align 4, !tbaa !13
%36 = tail call i32 @min_t(i32 noundef %33, i32 noundef %34, i32 noundef %35) #2
%37 = load i32, ptr %0, align 8, !tbaa !18
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %79
39: ; preds = %1, %48
%40 = phi i64 [ %75, %48 ], [ 0, %1 ]
%41 = load ptr, ptr %2, align 8, !tbaa !5
%42 = load ptr, ptr %18, align 8, !tbaa !14
%43 = getelementptr inbounds %struct.TYPE_9__, ptr %42, i64 %40
%44 = load i64, ptr %31, align 8, !tbaa !17
%45 = add nsw i64 %44, %40
%46 = tail call i32 @qlnx_alloc_mem_sb(ptr noundef %41, ptr noundef %43, i64 noundef %45) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %81
48: ; preds = %39
%49 = load ptr, ptr %2, align 8, !tbaa !5
%50 = getelementptr inbounds %struct.TYPE_8__, ptr %49, i64 0, i32 1
%51 = load i32, ptr @ECORE_CHAIN_USE_TO_CONSUME_PRODUCE, align 4, !tbaa !13
%52 = load i32, ptr @ECORE_CHAIN_MODE_PBL, align 4, !tbaa !13
%53 = load i32, ptr @ECORE_CHAIN_CNT_TYPE_U16, align 4, !tbaa !13
%54 = load ptr, ptr %23, align 8, !tbaa !15
%55 = getelementptr inbounds %struct.TYPE_9__, ptr %54, i64 %40, i32 6
%56 = tail call i32 @ecore_chain_alloc(ptr noundef nonnull %50, i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %36, i32 noundef 8, ptr noundef nonnull %55, ptr noundef null) #2
%57 = load ptr, ptr %23, align 8, !tbaa !15
%58 = getelementptr inbounds %struct.TYPE_9__, ptr %57, i64 %40, i32 5
store ptr %0, ptr %58, align 8, !tbaa !19
%59 = load ptr, ptr %18, align 8, !tbaa !14
%60 = getelementptr inbounds %struct.TYPE_9__, ptr %59, i64 %40
%61 = getelementptr inbounds %struct.TYPE_9__, ptr %57, i64 %40, i32 4
store ptr %60, ptr %61, align 8, !tbaa !21
%62 = getelementptr inbounds %struct.TYPE_9__, ptr %59, i64 %40, i32 2
%63 = load ptr, ptr %62, align 8, !tbaa !22
%64 = load ptr, ptr %63, align 8, !tbaa !23
%65 = load i64, ptr @ECORE_ROCE_PROTOCOL_INDEX, align 8, !tbaa !25
%66 = getelementptr inbounds i32, ptr %64, i64 %65
%67 = getelementptr inbounds %struct.TYPE_9__, ptr %57, i64 %40, i32 3
store ptr %66, ptr %67, align 8, !tbaa !26
%68 = getelementptr inbounds %struct.TYPE_9__, ptr %57, i64 %40
%69 = trunc i64 %40 to i32
store i32 %69, ptr %68, align 8, !tbaa !27
%70 = getelementptr inbounds %struct.TYPE_9__, ptr %57, i64 %40, i32 1
%71 = load i32, ptr %70, align 4, !tbaa !28
%72 = load ptr, ptr %2, align 8, !tbaa !5
%73 = load i32, ptr %72, align 4, !tbaa !29
%74 = tail call i32 @sprintf(i32 noundef %71, ptr noundef nonnull @.str.4, i32 noundef %69, i32 noundef %73) #2
%75 = add nuw nsw i64 %40, 1
%76 = load i32, ptr %0, align 8, !tbaa !18
%77 = sext i32 %76 to i64
%78 = icmp slt i64 %75, %77
br i1 %78, label %39, label %79, !llvm.loop !31
79: ; preds = %48, %1
%80 = tail call i32 (ptr, ptr, ...) @QL_DPRINT12(ptr noundef %3, ptr noundef nonnull @.str.5) #2
br label %86
81: ; preds = %39
%82 = tail call i32 @qlnxr_free_resources(ptr noundef nonnull %0) #2
%83 = tail call i32 (ptr, ptr, ...) @QL_DPRINT12(ptr noundef %3, ptr noundef nonnull @.str.6) #2
%84 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%85 = sub nsw i32 0, %84
br label %86
86: ; preds = %81, %79
%87 = phi i32 [ %85, %81 ], [ 0, %79 ]
ret i32 %87
}
declare i32 @QL_DPRINT12(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @idr_init(ptr noundef) local_unnamed_addr #1
declare i64 @ecore_rdma_get_sb_id(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @min_t(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qlnx_alloc_mem_sb(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ecore_chain_alloc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qlnxr_free_resources(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 = !{!"qlnxr_dev", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !10, i64 56}
!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, !10, i64 56}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !10, i64 24}
!15 = !{!6, !10, i64 16}
!16 = !{!6, !7, i64 40}
!17 = !{!6, !11, i64 32}
!18 = !{!6, !7, i64 0}
!19 = !{!20, !10, i64 32}
!20 = !{!"TYPE_9__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40}
!21 = !{!20, !10, i64 24}
!22 = !{!20, !10, i64 8}
!23 = !{!24, !10, i64 0}
!24 = !{!"TYPE_7__", !10, i64 0}
!25 = !{!11, !11, i64 0}
!26 = !{!20, !10, i64 16}
!27 = !{!20, !7, i64 0}
!28 = !{!20, !7, i64 4}
!29 = !{!30, !7, i64 0}
!30 = !{!"TYPE_8__", !7, i64 0, !7, i64 4}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxr/extr_qlnxr_os.c_qlnxr_alloc_resources.c'
source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxr/extr_qlnxr_os.c_qlnxr_alloc_resources.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_9__ = type { i32, i32, ptr, ptr, ptr, ptr, i32 }
@.str = private unnamed_addr constant [7 x i8] c"enter\0A\00", align 1
@QLNXR_MAX_SGID = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"idr_lock\00", align 1
@MTX_DEF = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"sgid_lock\00", align 1
@QLNXR_MAX_MSIX = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [22 x i8] c"dev->sb_start = 0x%x\0A\00", align 1
@u32 = common local_unnamed_addr global i32 0, align 4
@ECORE_RDMA_MAX_CNQ_SIZE = common local_unnamed_addr global i32 0, align 4
@QLNXR_ROCE_MAX_CNQ_SIZE = common local_unnamed_addr global i32 0, align 4
@ECORE_CHAIN_USE_TO_CONSUME_PRODUCE = common local_unnamed_addr global i32 0, align 4
@ECORE_CHAIN_MODE_PBL = common local_unnamed_addr global i32 0, align 4
@ECORE_CHAIN_CNT_TYPE_U16 = common local_unnamed_addr global i32 0, align 4
@ECORE_ROCE_PROTOCOL_INDEX = common local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [15 x i8] c"qlnxr%d@pci:%d\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"exit\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"exit -ENOMEM\0A\00", align 1
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qlnxr_alloc_resources], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @qlnxr_alloc_resources(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = tail call i32 (ptr, ptr, ...) @QL_DPRINT12(ptr noundef %3, ptr noundef nonnull @.str) #2
%5 = getelementptr inbounds i8, ptr %0, i64 56
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = load i32, ptr @QLNXR_MAX_SGID, align 4, !tbaa !14
%8 = shl i32 %7, 2
%9 = tail call i32 @bzero(ptr noundef %6, i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %0, i64 52
%11 = load i32, ptr @MTX_DEF, align 4, !tbaa !14
%12 = tail call i32 @mtx_init(ptr noundef nonnull %10, ptr noundef nonnull @.str.1, ptr noundef null, i32 noundef %11) #2
%13 = getelementptr inbounds i8, ptr %0, i64 48
%14 = load i32, ptr @MTX_DEF, align 4, !tbaa !14
%15 = tail call i32 @mtx_init(ptr noundef nonnull %13, ptr noundef nonnull @.str.2, ptr noundef null, i32 noundef %14) #2
%16 = getelementptr inbounds i8, ptr %0, i64 44
%17 = tail call i32 @idr_init(ptr noundef nonnull %16) #2
%18 = getelementptr inbounds i8, ptr %0, i64 24
%19 = load ptr, ptr %18, align 8, !tbaa !15
%20 = load i32, ptr @QLNXR_MAX_MSIX, align 4, !tbaa !14
%21 = shl i32 %20, 2
%22 = tail call i32 @bzero(ptr noundef %19, i32 noundef %21) #2
%23 = getelementptr inbounds i8, ptr %0, i64 16
%24 = load ptr, ptr %23, align 8, !tbaa !16
%25 = load i32, ptr @QLNXR_MAX_MSIX, align 4, !tbaa !14
%26 = shl i32 %25, 2
%27 = tail call i32 @bzero(ptr noundef %24, i32 noundef %26) #2
%28 = getelementptr inbounds i8, ptr %0, i64 40
%29 = load i32, ptr %28, align 8, !tbaa !17
%30 = tail call i64 @ecore_rdma_get_sb_id(i32 noundef %29, i32 noundef 0) #2
%31 = getelementptr inbounds i8, ptr %0, i64 32
store i64 %30, ptr %31, align 8, !tbaa !18
%32 = tail call i32 (ptr, ptr, ...) @QL_DPRINT12(ptr noundef %3, ptr noundef nonnull @.str.3, i64 noundef %30) #2
%33 = load i32, ptr @u32, align 4, !tbaa !14
%34 = load i32, ptr @ECORE_RDMA_MAX_CNQ_SIZE, align 4, !tbaa !14
%35 = load i32, ptr @QLNXR_ROCE_MAX_CNQ_SIZE, align 4, !tbaa !14
%36 = tail call i32 @min_t(i32 noundef %33, i32 noundef %34, i32 noundef %35) #2
%37 = load i32, ptr %0, align 8, !tbaa !19
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %79
39: ; preds = %1, %48
%40 = phi i64 [ %75, %48 ], [ 0, %1 ]
%41 = load ptr, ptr %2, align 8, !tbaa !6
%42 = load ptr, ptr %18, align 8, !tbaa !15
%43 = getelementptr inbounds %struct.TYPE_9__, ptr %42, i64 %40
%44 = load i64, ptr %31, align 8, !tbaa !18
%45 = add nsw i64 %44, %40
%46 = tail call i32 @qlnx_alloc_mem_sb(ptr noundef %41, ptr noundef %43, i64 noundef %45) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %81
48: ; preds = %39
%49 = load ptr, ptr %2, align 8, !tbaa !6
%50 = getelementptr inbounds i8, ptr %49, i64 4
%51 = load i32, ptr @ECORE_CHAIN_USE_TO_CONSUME_PRODUCE, align 4, !tbaa !14
%52 = load i32, ptr @ECORE_CHAIN_MODE_PBL, align 4, !tbaa !14
%53 = load i32, ptr @ECORE_CHAIN_CNT_TYPE_U16, align 4, !tbaa !14
%54 = load ptr, ptr %23, align 8, !tbaa !16
%55 = getelementptr inbounds %struct.TYPE_9__, ptr %54, i64 %40, i32 6
%56 = tail call i32 @ecore_chain_alloc(ptr noundef nonnull %50, i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %36, i32 noundef 8, ptr noundef nonnull %55, ptr noundef null) #2
%57 = load ptr, ptr %23, align 8, !tbaa !16
%58 = getelementptr inbounds %struct.TYPE_9__, ptr %57, i64 %40, i32 5
store ptr %0, ptr %58, align 8, !tbaa !20
%59 = load ptr, ptr %18, align 8, !tbaa !15
%60 = getelementptr inbounds %struct.TYPE_9__, ptr %59, i64 %40
%61 = getelementptr inbounds %struct.TYPE_9__, ptr %57, i64 %40, i32 4
store ptr %60, ptr %61, align 8, !tbaa !22
%62 = getelementptr inbounds %struct.TYPE_9__, ptr %59, i64 %40, i32 2
%63 = load ptr, ptr %62, align 8, !tbaa !23
%64 = load ptr, ptr %63, align 8, !tbaa !24
%65 = load i64, ptr @ECORE_ROCE_PROTOCOL_INDEX, align 8, !tbaa !26
%66 = getelementptr inbounds i32, ptr %64, i64 %65
%67 = getelementptr inbounds %struct.TYPE_9__, ptr %57, i64 %40, i32 3
store ptr %66, ptr %67, align 8, !tbaa !27
%68 = getelementptr inbounds %struct.TYPE_9__, ptr %57, i64 %40
%69 = trunc nuw nsw i64 %40 to i32
store i32 %69, ptr %68, align 8, !tbaa !28
%70 = getelementptr inbounds %struct.TYPE_9__, ptr %57, i64 %40, i32 1
%71 = load i32, ptr %70, align 4, !tbaa !29
%72 = load ptr, ptr %2, align 8, !tbaa !6
%73 = load i32, ptr %72, align 4, !tbaa !30
%74 = tail call i32 @sprintf(i32 noundef %71, ptr noundef nonnull @.str.4, i32 noundef %69, i32 noundef %73) #2
%75 = add nuw nsw i64 %40, 1
%76 = load i32, ptr %0, align 8, !tbaa !19
%77 = sext i32 %76 to i64
%78 = icmp slt i64 %75, %77
br i1 %78, label %39, label %79, !llvm.loop !32
79: ; preds = %48, %1
%80 = tail call i32 (ptr, ptr, ...) @QL_DPRINT12(ptr noundef %3, ptr noundef nonnull @.str.5) #2
br label %86
81: ; preds = %39
%82 = tail call i32 @qlnxr_free_resources(ptr noundef nonnull %0) #2
%83 = tail call i32 (ptr, ptr, ...) @QL_DPRINT12(ptr noundef %3, ptr noundef nonnull @.str.6) #2
%84 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%85 = sub nsw i32 0, %84
br label %86
86: ; preds = %81, %79
%87 = phi i32 [ %85, %81 ], [ 0, %79 ]
ret i32 %87
}
declare i32 @QL_DPRINT12(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @idr_init(ptr noundef) local_unnamed_addr #1
declare i64 @ecore_rdma_get_sb_id(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @min_t(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qlnx_alloc_mem_sb(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ecore_chain_alloc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qlnxr_free_resources(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 = !{!"qlnxr_dev", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !8, i64 40, !8, i64 44, !8, i64 48, !8, i64 52, !11, i64 56}
!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, !11, i64 56}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !11, i64 24}
!16 = !{!7, !11, i64 16}
!17 = !{!7, !8, i64 40}
!18 = !{!7, !12, i64 32}
!19 = !{!7, !8, i64 0}
!20 = !{!21, !11, i64 32}
!21 = !{!"TYPE_9__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !8, i64 40}
!22 = !{!21, !11, i64 24}
!23 = !{!21, !11, i64 8}
!24 = !{!25, !11, i64 0}
!25 = !{!"TYPE_7__", !11, i64 0}
!26 = !{!12, !12, i64 0}
!27 = !{!21, !11, i64 16}
!28 = !{!21, !8, i64 0}
!29 = !{!21, !8, i64 4}
!30 = !{!31, !8, i64 0}
!31 = !{!"TYPE_8__", !8, i64 0, !8, i64 4}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_dev_qlnx_qlnxr_extr_qlnxr_os.c_qlnxr_alloc_resources |
; ModuleID = 'AnghaBench/linux/drivers/gpu/ipu-v3/extr_ipu-di.c_ipu_di_init_sync_panel.c'
source_filename = "AnghaBench/linux/drivers/gpu/ipu-v3/extr_ipu-di.c_ipu_di_init_sync_panel.c"
target datalayout = "e-m:e-p270:32:32-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.ipu_di = type { i32, i32, i32, ptr }
%struct.ipu_di_signal_cfg = type { i32, i32, i64, i64, i64, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [31 x i8] c"disp %d: panel size = %d x %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Clocks: IPU %luHz DI %luHz Needed %luHz\0A\00", align 1
@di_mutex = dso_local global i32 0, align 4
@DI_BS_CLKGEN0 = dso_local local_unnamed_addr global i32 0, align 4
@DI_BS_CLKGEN1 = dso_local local_unnamed_addr global i32 0, align 4
@SYNC_WAVE = dso_local local_unnamed_addr global i32 0, align 4
@DI_PIN15 = dso_local local_unnamed_addr global i32 0, align 4
@DI_GENERAL = dso_local local_unnamed_addr global i32 0, align 4
@DI_GEN_DI_CLK_EXT = dso_local local_unnamed_addr global i32 0, align 4
@DI_GEN_DI_VSYNC_EXT = dso_local local_unnamed_addr global i32 0, align 4
@DISPLAY_FLAGS_INTERLACED = dso_local local_unnamed_addr global i32 0, align 4
@DISPLAY_FLAGS_HSYNC_HIGH = dso_local local_unnamed_addr global i32 0, align 4
@DISPLAY_FLAGS_VSYNC_HIGH = dso_local local_unnamed_addr global i32 0, align 4
@DI_GEN_POLARITY_DISP_CLK = dso_local local_unnamed_addr global i32 0, align 4
@DI_VSYNC_SEL_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@DI_SYNC_AS_GEN = dso_local local_unnamed_addr global i32 0, align 4
@DI_POL = dso_local local_unnamed_addr global i32 0, align 4
@DI_POL_DRDY_DATA_POLARITY = dso_local local_unnamed_addr global i32 0, align 4
@DI_POL_DRDY_POLARITY_15 = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @ipu_di_init_sync_panel(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.ipu_di, ptr %0, i64 0, i32 3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = load i32, ptr %0, align 8, !tbaa !13
%7 = getelementptr inbounds %struct.ipu_di_signal_cfg, ptr %1, i64 0, i32 5
%8 = load i32, ptr %7, align 8, !tbaa !14
%9 = getelementptr inbounds %struct.ipu_di_signal_cfg, ptr %1, i64 0, i32 5, i32 3
%10 = load i32, ptr %9, align 4, !tbaa !18
%11 = tail call i32 @dev_dbg(i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %8, i32 noundef %10) #2
%12 = load ptr, ptr %3, align 8, !tbaa !5
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = getelementptr inbounds %struct.ipu_di, ptr %0, i64 0, i32 2
%15 = load i32, ptr %14, align 8, !tbaa !19
%16 = tail call i32 @clk_get_rate(i32 noundef %15) #2
%17 = getelementptr inbounds %struct.ipu_di, ptr %0, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !20
%19 = tail call i32 @clk_get_rate(i32 noundef %18) #2
%20 = getelementptr inbounds %struct.ipu_di_signal_cfg, ptr %1, i64 0, i32 5, i32 2
%21 = load i32, ptr %20, align 8, !tbaa !21
%22 = tail call i32 @dev_dbg(i32 noundef %13, ptr noundef nonnull @.str.1, i32 noundef %16, i32 noundef %19, i32 noundef %21) #2
%23 = tail call i32 @mutex_lock(ptr noundef nonnull @di_mutex) #2
%24 = tail call i32 @ipu_di_config_clock(ptr noundef nonnull %0, ptr noundef %1) #2
%25 = load i32, ptr @DI_BS_CLKGEN0, align 4, !tbaa !22
%26 = tail call i32 @ipu_di_read(ptr noundef nonnull %0, i32 noundef %25) #2
%27 = lshr i32 %26, 4
%28 = and i32 %27, 255
%29 = shl nuw nsw i32 %28, 16
%30 = load i32, ptr @DI_BS_CLKGEN1, align 4, !tbaa !22
%31 = tail call i32 @ipu_di_write(ptr noundef nonnull %0, i32 noundef %29, i32 noundef %30) #2
%32 = load i32, ptr @SYNC_WAVE, align 4, !tbaa !22
%33 = add nsw i32 %28, -1
%34 = tail call i32 @ipu_di_data_wave_config(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %33, i32 noundef %33) #2
%35 = load i32, ptr @SYNC_WAVE, align 4, !tbaa !22
%36 = load i32, ptr @DI_PIN15, align 4, !tbaa !22
%37 = shl nuw nsw i32 %28, 1
%38 = tail call i32 @ipu_di_data_pin_config(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %36, i32 noundef 3, i32 noundef 0, i32 noundef %37) #2
%39 = load i32, ptr @DI_GENERAL, align 4, !tbaa !22
%40 = tail call i32 @ipu_di_read(ptr noundef nonnull %0, i32 noundef %39) #2
%41 = load i32, ptr @DI_GEN_DI_CLK_EXT, align 4, !tbaa !22
%42 = and i32 %41, %40
%43 = load i32, ptr @DI_GEN_DI_VSYNC_EXT, align 4, !tbaa !22
%44 = or i32 %42, %43
%45 = getelementptr inbounds %struct.ipu_di_signal_cfg, ptr %1, i64 0, i32 5, i32 1
%46 = load i32, ptr %45, align 4, !tbaa !23
%47 = load i32, ptr @DISPLAY_FLAGS_INTERLACED, align 4, !tbaa !22
%48 = and i32 %47, %46
%49 = icmp eq i32 %48, 0
br i1 %49, label %53, label %50
50: ; preds = %2
%51 = tail call i32 @ipu_di_sync_config_interlaced(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%52 = or i32 %44, 268435456
br label %65
53: ; preds = %2
%54 = tail call i32 @ipu_di_sync_config_noninterlaced(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %28) #2
%55 = load i32, ptr %0, align 8, !tbaa !13
%56 = icmp eq i32 %55, 1
br i1 %56, label %57, label %65
57: ; preds = %53
%58 = load i32, ptr %1, align 8, !tbaa !24
%59 = icmp eq i32 %58, 2
br i1 %59, label %60, label %64
60: ; preds = %57
%61 = getelementptr inbounds %struct.ipu_di_signal_cfg, ptr %1, i64 0, i32 1
%62 = load i32, ptr %61, align 4, !tbaa !25
%63 = icmp eq i32 %62, 3
br i1 %63, label %65, label %64
64: ; preds = %60, %57
br label %65
65: ; preds = %53, %64, %60, %50
%66 = phi i32 [ %52, %50 ], [ %44, %60 ], [ %44, %64 ], [ %44, %53 ]
%67 = phi i32 [ 2, %50 ], [ 2, %60 ], [ 5, %64 ], [ 2, %53 ]
%68 = load i32, ptr %45, align 4, !tbaa !23
%69 = load i32, ptr @DISPLAY_FLAGS_HSYNC_HIGH, align 4, !tbaa !22
%70 = and i32 %69, %68
%71 = icmp eq i32 %70, 0
br i1 %71, label %77, label %72
72: ; preds = %65
%73 = load i32, ptr %1, align 8, !tbaa !24
%74 = tail call i32 @ipu_di_gen_polarity(i32 noundef %73) #2
%75 = or i32 %74, %66
%76 = load i32, ptr %45, align 4, !tbaa !23
br label %77
77: ; preds = %72, %65
%78 = phi i32 [ %76, %72 ], [ %68, %65 ]
%79 = phi i32 [ %75, %72 ], [ %66, %65 ]
%80 = load i32, ptr @DISPLAY_FLAGS_VSYNC_HIGH, align 4, !tbaa !22
%81 = and i32 %80, %78
%82 = icmp eq i32 %81, 0
br i1 %82, label %88, label %83
83: ; preds = %77
%84 = getelementptr inbounds %struct.ipu_di_signal_cfg, ptr %1, i64 0, i32 1
%85 = load i32, ptr %84, align 4, !tbaa !25
%86 = tail call i32 @ipu_di_gen_polarity(i32 noundef %85) #2
%87 = or i32 %86, %79
br label %88
88: ; preds = %83, %77
%89 = phi i32 [ %87, %83 ], [ %79, %77 ]
%90 = getelementptr inbounds %struct.ipu_di_signal_cfg, ptr %1, i64 0, i32 4
%91 = load i64, ptr %90, align 8, !tbaa !26
%92 = icmp eq i64 %91, 0
%93 = load i32, ptr @DI_GEN_POLARITY_DISP_CLK, align 4
%94 = select i1 %92, i32 0, i32 %93
%95 = or i32 %94, %89
%96 = load i32, ptr @DI_GENERAL, align 4, !tbaa !22
%97 = tail call i32 @ipu_di_write(ptr noundef nonnull %0, i32 noundef %95, i32 noundef %96) #2
%98 = load i32, ptr @DI_VSYNC_SEL_OFFSET, align 4, !tbaa !22
%99 = shl i32 %67, %98
%100 = or i32 %99, 2
%101 = load i32, ptr @DI_SYNC_AS_GEN, align 4, !tbaa !22
%102 = tail call i32 @ipu_di_write(ptr noundef nonnull %0, i32 noundef %100, i32 noundef %101) #2
%103 = load i32, ptr @DI_POL, align 4, !tbaa !22
%104 = tail call i32 @ipu_di_read(ptr noundef nonnull %0, i32 noundef %103) #2
%105 = load i32, ptr @DI_POL_DRDY_DATA_POLARITY, align 4
%106 = load i32, ptr @DI_POL_DRDY_POLARITY_15, align 4, !tbaa !22
%107 = or i32 %106, %105
%108 = xor i32 %107, -1
%109 = and i32 %104, %108
%110 = getelementptr inbounds %struct.ipu_di_signal_cfg, ptr %1, i64 0, i32 3
%111 = load i64, ptr %110, align 8, !tbaa !27
%112 = icmp eq i64 %111, 0
%113 = select i1 %112, i32 0, i32 %106
%114 = or i32 %113, %109
%115 = getelementptr inbounds %struct.ipu_di_signal_cfg, ptr %1, i64 0, i32 2
%116 = load i64, ptr %115, align 8, !tbaa !28
%117 = icmp eq i64 %116, 0
%118 = select i1 %117, i32 0, i32 %105
%119 = or i32 %114, %118
%120 = load i32, ptr @DI_POL, align 4, !tbaa !22
%121 = tail call i32 @ipu_di_write(ptr noundef nonnull %0, i32 noundef %119, i32 noundef %120) #2
%122 = tail call i32 @mutex_unlock(ptr noundef nonnull @di_mutex) #2
ret i32 0
}
declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clk_get_rate(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @ipu_di_config_clock(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ipu_di_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipu_di_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipu_di_data_wave_config(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipu_di_data_pin_config(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipu_di_sync_config_interlaced(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ipu_di_sync_config_noninterlaced(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipu_di_gen_polarity(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"ipu_di", !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 = !{!12, !7, i64 0}
!12 = !{!"TYPE_3__", !7, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !7, i64 32}
!15 = !{!"ipu_di_signal_cfg", !7, i64 0, !7, i64 4, !16, i64 8, !16, i64 16, !16, i64 24, !17, i64 32}
!16 = !{!"long", !8, i64 0}
!17 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!18 = !{!15, !7, i64 44}
!19 = !{!6, !7, i64 8}
!20 = !{!6, !7, i64 4}
!21 = !{!15, !7, i64 40}
!22 = !{!7, !7, i64 0}
!23 = !{!15, !7, i64 36}
!24 = !{!15, !7, i64 0}
!25 = !{!15, !7, i64 4}
!26 = !{!15, !16, i64 24}
!27 = !{!15, !16, i64 16}
!28 = !{!15, !16, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/ipu-v3/extr_ipu-di.c_ipu_di_init_sync_panel.c'
source_filename = "AnghaBench/linux/drivers/gpu/ipu-v3/extr_ipu-di.c_ipu_di_init_sync_panel.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [31 x i8] c"disp %d: panel size = %d x %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Clocks: IPU %luHz DI %luHz Needed %luHz\0A\00", align 1
@di_mutex = common global i32 0, align 4
@DI_BS_CLKGEN0 = common local_unnamed_addr global i32 0, align 4
@DI_BS_CLKGEN1 = common local_unnamed_addr global i32 0, align 4
@SYNC_WAVE = common local_unnamed_addr global i32 0, align 4
@DI_PIN15 = common local_unnamed_addr global i32 0, align 4
@DI_GENERAL = common local_unnamed_addr global i32 0, align 4
@DI_GEN_DI_CLK_EXT = common local_unnamed_addr global i32 0, align 4
@DI_GEN_DI_VSYNC_EXT = common local_unnamed_addr global i32 0, align 4
@DISPLAY_FLAGS_INTERLACED = common local_unnamed_addr global i32 0, align 4
@DISPLAY_FLAGS_HSYNC_HIGH = common local_unnamed_addr global i32 0, align 4
@DISPLAY_FLAGS_VSYNC_HIGH = common local_unnamed_addr global i32 0, align 4
@DI_GEN_POLARITY_DISP_CLK = common local_unnamed_addr global i32 0, align 4
@DI_VSYNC_SEL_OFFSET = common local_unnamed_addr global i32 0, align 4
@DI_SYNC_AS_GEN = common local_unnamed_addr global i32 0, align 4
@DI_POL = common local_unnamed_addr global i32 0, align 4
@DI_POL_DRDY_DATA_POLARITY = common local_unnamed_addr global i32 0, align 4
@DI_POL_DRDY_POLARITY_15 = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @ipu_di_init_sync_panel(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = load i32, ptr %0, align 8, !tbaa !14
%7 = getelementptr inbounds i8, ptr %1, i64 32
%8 = load i32, ptr %7, align 8, !tbaa !15
%9 = getelementptr inbounds i8, ptr %1, i64 44
%10 = load i32, ptr %9, align 4, !tbaa !19
%11 = tail call i32 @dev_dbg(i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %8, i32 noundef %10) #2
%12 = load ptr, ptr %3, align 8, !tbaa !6
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load i32, ptr %14, align 8, !tbaa !20
%16 = tail call i32 @clk_get_rate(i32 noundef %15) #2
%17 = getelementptr inbounds i8, ptr %0, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !21
%19 = tail call i32 @clk_get_rate(i32 noundef %18) #2
%20 = getelementptr inbounds i8, ptr %1, i64 40
%21 = load i32, ptr %20, align 8, !tbaa !22
%22 = tail call i32 @dev_dbg(i32 noundef %13, ptr noundef nonnull @.str.1, i32 noundef %16, i32 noundef %19, i32 noundef %21) #2
%23 = tail call i32 @mutex_lock(ptr noundef nonnull @di_mutex) #2
%24 = tail call i32 @ipu_di_config_clock(ptr noundef nonnull %0, ptr noundef %1) #2
%25 = load i32, ptr @DI_BS_CLKGEN0, align 4, !tbaa !23
%26 = tail call i32 @ipu_di_read(ptr noundef nonnull %0, i32 noundef %25) #2
%27 = lshr i32 %26, 4
%28 = and i32 %27, 255
%29 = shl nuw nsw i32 %28, 16
%30 = load i32, ptr @DI_BS_CLKGEN1, align 4, !tbaa !23
%31 = tail call i32 @ipu_di_write(ptr noundef nonnull %0, i32 noundef %29, i32 noundef %30) #2
%32 = load i32, ptr @SYNC_WAVE, align 4, !tbaa !23
%33 = add nsw i32 %28, -1
%34 = tail call i32 @ipu_di_data_wave_config(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %33, i32 noundef %33) #2
%35 = load i32, ptr @SYNC_WAVE, align 4, !tbaa !23
%36 = load i32, ptr @DI_PIN15, align 4, !tbaa !23
%37 = shl nuw nsw i32 %28, 1
%38 = tail call i32 @ipu_di_data_pin_config(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %36, i32 noundef 3, i32 noundef 0, i32 noundef %37) #2
%39 = load i32, ptr @DI_GENERAL, align 4, !tbaa !23
%40 = tail call i32 @ipu_di_read(ptr noundef nonnull %0, i32 noundef %39) #2
%41 = load i32, ptr @DI_GEN_DI_CLK_EXT, align 4, !tbaa !23
%42 = and i32 %41, %40
%43 = load i32, ptr @DI_GEN_DI_VSYNC_EXT, align 4, !tbaa !23
%44 = or i32 %42, %43
%45 = getelementptr inbounds i8, ptr %1, i64 36
%46 = load i32, ptr %45, align 4, !tbaa !24
%47 = load i32, ptr @DISPLAY_FLAGS_INTERLACED, align 4, !tbaa !23
%48 = and i32 %47, %46
%49 = icmp eq i32 %48, 0
br i1 %49, label %53, label %50
50: ; preds = %2
%51 = tail call i32 @ipu_di_sync_config_interlaced(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%52 = or i32 %44, 268435456
br label %65
53: ; preds = %2
%54 = tail call i32 @ipu_di_sync_config_noninterlaced(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %28) #2
%55 = load i32, ptr %0, align 8, !tbaa !14
%56 = icmp eq i32 %55, 1
br i1 %56, label %57, label %65
57: ; preds = %53
%58 = load i32, ptr %1, align 8, !tbaa !25
%59 = icmp eq i32 %58, 2
br i1 %59, label %60, label %64
60: ; preds = %57
%61 = getelementptr inbounds i8, ptr %1, i64 4
%62 = load i32, ptr %61, align 4, !tbaa !26
%63 = icmp eq i32 %62, 3
br i1 %63, label %65, label %64
64: ; preds = %60, %57
br label %65
65: ; preds = %53, %64, %60, %50
%66 = phi i32 [ %52, %50 ], [ %44, %60 ], [ %44, %64 ], [ %44, %53 ]
%67 = phi i32 [ 2, %50 ], [ 2, %60 ], [ 5, %64 ], [ 2, %53 ]
%68 = load i32, ptr %45, align 4, !tbaa !24
%69 = load i32, ptr @DISPLAY_FLAGS_HSYNC_HIGH, align 4, !tbaa !23
%70 = and i32 %69, %68
%71 = icmp eq i32 %70, 0
br i1 %71, label %77, label %72
72: ; preds = %65
%73 = load i32, ptr %1, align 8, !tbaa !25
%74 = tail call i32 @ipu_di_gen_polarity(i32 noundef %73) #2
%75 = or i32 %74, %66
%76 = load i32, ptr %45, align 4, !tbaa !24
br label %77
77: ; preds = %72, %65
%78 = phi i32 [ %76, %72 ], [ %68, %65 ]
%79 = phi i32 [ %75, %72 ], [ %66, %65 ]
%80 = load i32, ptr @DISPLAY_FLAGS_VSYNC_HIGH, align 4, !tbaa !23
%81 = and i32 %80, %78
%82 = icmp eq i32 %81, 0
br i1 %82, label %88, label %83
83: ; preds = %77
%84 = getelementptr inbounds i8, ptr %1, i64 4
%85 = load i32, ptr %84, align 4, !tbaa !26
%86 = tail call i32 @ipu_di_gen_polarity(i32 noundef %85) #2
%87 = or i32 %86, %79
br label %88
88: ; preds = %83, %77
%89 = phi i32 [ %87, %83 ], [ %79, %77 ]
%90 = getelementptr inbounds i8, ptr %1, i64 24
%91 = load i64, ptr %90, align 8, !tbaa !27
%92 = icmp eq i64 %91, 0
%93 = load i32, ptr @DI_GEN_POLARITY_DISP_CLK, align 4
%94 = select i1 %92, i32 0, i32 %93
%95 = or i32 %94, %89
%96 = load i32, ptr @DI_GENERAL, align 4, !tbaa !23
%97 = tail call i32 @ipu_di_write(ptr noundef nonnull %0, i32 noundef %95, i32 noundef %96) #2
%98 = load i32, ptr @DI_VSYNC_SEL_OFFSET, align 4, !tbaa !23
%99 = shl i32 %67, %98
%100 = or i32 %99, 2
%101 = load i32, ptr @DI_SYNC_AS_GEN, align 4, !tbaa !23
%102 = tail call i32 @ipu_di_write(ptr noundef nonnull %0, i32 noundef %100, i32 noundef %101) #2
%103 = load i32, ptr @DI_POL, align 4, !tbaa !23
%104 = tail call i32 @ipu_di_read(ptr noundef nonnull %0, i32 noundef %103) #2
%105 = load i32, ptr @DI_POL_DRDY_DATA_POLARITY, align 4
%106 = load i32, ptr @DI_POL_DRDY_POLARITY_15, align 4, !tbaa !23
%107 = or i32 %106, %105
%108 = xor i32 %107, -1
%109 = and i32 %104, %108
%110 = getelementptr inbounds i8, ptr %1, i64 16
%111 = load i64, ptr %110, align 8, !tbaa !28
%112 = icmp eq i64 %111, 0
%113 = select i1 %112, i32 0, i32 %106
%114 = or i32 %113, %109
%115 = getelementptr inbounds i8, ptr %1, i64 8
%116 = load i64, ptr %115, align 8, !tbaa !29
%117 = icmp eq i64 %116, 0
%118 = select i1 %117, i32 0, i32 %105
%119 = or i32 %114, %118
%120 = load i32, ptr @DI_POL, align 4, !tbaa !23
%121 = tail call i32 @ipu_di_write(ptr noundef nonnull %0, i32 noundef %119, i32 noundef %120) #2
%122 = tail call i32 @mutex_unlock(ptr noundef nonnull @di_mutex) #2
ret i32 0
}
declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clk_get_rate(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @ipu_di_config_clock(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ipu_di_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipu_di_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipu_di_data_wave_config(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipu_di_data_pin_config(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipu_di_sync_config_interlaced(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ipu_di_sync_config_noninterlaced(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipu_di_gen_polarity(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"ipu_di", !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 = !{!13, !8, i64 0}
!13 = !{!"TYPE_3__", !8, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!16, !8, i64 32}
!16 = !{!"ipu_di_signal_cfg", !8, i64 0, !8, i64 4, !17, i64 8, !17, i64 16, !17, i64 24, !18, i64 32}
!17 = !{!"long", !9, i64 0}
!18 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!19 = !{!16, !8, i64 44}
!20 = !{!7, !8, i64 8}
!21 = !{!7, !8, i64 4}
!22 = !{!16, !8, i64 40}
!23 = !{!8, !8, i64 0}
!24 = !{!16, !8, i64 36}
!25 = !{!16, !8, i64 0}
!26 = !{!16, !8, i64 4}
!27 = !{!16, !17, i64 24}
!28 = !{!16, !17, i64 16}
!29 = !{!16, !17, i64 8}
| linux_drivers_gpu_ipu-v3_extr_ipu-di.c_ipu_di_init_sync_panel |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_elfxx-sparc.c_sparc64_plt_entry_build.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elfxx-sparc.c_sparc64_plt_entry_build.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SPARC_NOP = dso_local local_unnamed_addr global i32 0, align 4
@PLT64_LARGE_THRESHOLD = dso_local local_unnamed_addr global i32 0, align 4
@PLT64_ENTRY_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sparc64_plt_entry_build], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sparc64_plt_entry_build(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef writeonly %4) #0 {
%6 = load ptr, ptr %1, align 8, !tbaa !5
%7 = sext i32 %2 to i64
%8 = getelementptr inbounds i8, ptr %6, i64 %7
%9 = load i32, ptr @PLT64_LARGE_THRESHOLD, align 4, !tbaa !10
%10 = load i32, ptr @PLT64_ENTRY_SIZE, align 4, !tbaa !10
%11 = mul nsw i32 %10, %9
%12 = icmp sgt i32 %11, %2
br i1 %12, label %13, label %43
13: ; preds = %5
%14 = load i32, ptr @SPARC_NOP, align 4, !tbaa !10
store i32 %2, ptr %4, align 4, !tbaa !10
%15 = load i32, ptr @PLT64_ENTRY_SIZE, align 4, !tbaa !10
%16 = sdiv i32 %2, %15
%17 = mul nsw i32 %16, %15
%18 = or i32 %17, 50331648
%19 = sext i32 %15 to i64
%20 = getelementptr inbounds i8, ptr %6, i64 %19
%21 = getelementptr inbounds i8, ptr %8, i64 4
%22 = ptrtoint ptr %20 to i64
%23 = ptrtoint ptr %21 to i64
%24 = sub i64 %22, %23
%25 = sdiv i64 %24, 4
%26 = trunc i64 %25 to i32
%27 = and i32 %26, 524287
%28 = or disjoint i32 %27, 812122112
%29 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %18, ptr noundef %8) #2
%30 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %28, ptr noundef nonnull %21) #2
%31 = getelementptr inbounds i8, ptr %8, i64 8
%32 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %31) #2
%33 = getelementptr inbounds i8, ptr %8, i64 12
%34 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %33) #2
%35 = getelementptr inbounds i8, ptr %8, i64 16
%36 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %35) #2
%37 = getelementptr inbounds i8, ptr %8, i64 20
%38 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %37) #2
%39 = getelementptr inbounds i8, ptr %8, i64 24
%40 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %39) #2
%41 = getelementptr inbounds i8, ptr %8, i64 28
%42 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %41) #2
br label %99
43: ; preds = %5
%44 = sub nsw i32 %2, %11
%45 = sub nsw i32 %3, %11
%46 = sdiv i32 %44, 5120
%47 = srem i32 %44, 5120
%48 = sdiv i32 %45, 5120
%49 = srem i32 %45, 5120
%50 = icmp eq i32 %46, %48
br i1 %50, label %51, label %56
51: ; preds = %43
%52 = trunc i32 %49 to i16
%53 = sdiv i16 %52, 32
%54 = mul nsw i16 %53, 24
%55 = sext i16 %54 to i64
br label %56
56: ; preds = %43, %51
%57 = phi i64 [ %55, %51 ], [ 3840, %43 ]
%58 = mul nsw i32 %46, 160
%59 = add nsw i32 %58, %9
%60 = trunc i32 %47 to i16
%61 = sdiv i16 %60, 24
%62 = sext i16 %61 to i32
%63 = add nsw i32 %59, %62
%64 = sext i32 %11 to i64
%65 = getelementptr inbounds i8, ptr %6, i64 %64
%66 = mul nsw i32 %46, 5120
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = getelementptr inbounds i8, ptr %68, i64 %57
%70 = shl nsw i32 %62, 3
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = ptrtoint ptr %72 to i64
%74 = ptrtoint ptr %6 to i64
%75 = sub i64 %73, %74
%76 = trunc i64 %75 to i32
store i32 %76, ptr %4, align 4, !tbaa !10
%77 = getelementptr inbounds i8, ptr %8, i64 4
%78 = ptrtoint ptr %77 to i64
%79 = sub i64 %73, %78
%80 = trunc i64 %79 to i32
%81 = and i32 %80, 8191
%82 = or disjoint i32 %81, -1034166272
%83 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef -1978662897, ptr noundef %8) #2
%84 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef 1073741826, ptr noundef nonnull %77) #2
%85 = load i32, ptr @SPARC_NOP, align 4, !tbaa !10
%86 = getelementptr inbounds i8, ptr %8, i64 8
%87 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %85, ptr noundef nonnull %86) #2
%88 = getelementptr inbounds i8, ptr %8, i64 12
%89 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %82, ptr noundef nonnull %88) #2
%90 = getelementptr inbounds i8, ptr %8, i64 16
%91 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef -2084323327, ptr noundef nonnull %90) #2
%92 = getelementptr inbounds i8, ptr %8, i64 20
%93 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef -1643118587, ptr noundef nonnull %92) #2
%94 = load ptr, ptr %1, align 8, !tbaa !5
%95 = ptrtoint ptr %94 to i64
%96 = sub i64 %95, %78
%97 = trunc i64 %96 to i32
%98 = tail call i32 @bfd_put_64(ptr noundef %0, i32 noundef %97, ptr noundef %72) #2
br label %99
99: ; preds = %56, %13
%100 = phi i32 [ %16, %13 ], [ %63, %56 ]
%101 = add nsw i32 %100, -4
ret i32 %101
}
declare i32 @bfd_put_32(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bfd_put_64(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 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_elfxx-sparc.c_sparc64_plt_entry_build.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elfxx-sparc.c_sparc64_plt_entry_build.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SPARC_NOP = common local_unnamed_addr global i32 0, align 4
@PLT64_LARGE_THRESHOLD = common local_unnamed_addr global i32 0, align 4
@PLT64_ENTRY_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sparc64_plt_entry_build], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 2147483644) i32 @sparc64_plt_entry_build(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef writeonly %4) #0 {
%6 = load ptr, ptr %1, align 8, !tbaa !6
%7 = sext i32 %2 to i64
%8 = getelementptr inbounds i8, ptr %6, i64 %7
%9 = load i32, ptr @PLT64_LARGE_THRESHOLD, align 4, !tbaa !11
%10 = load i32, ptr @PLT64_ENTRY_SIZE, align 4, !tbaa !11
%11 = mul nsw i32 %10, %9
%12 = icmp sgt i32 %11, %2
br i1 %12, label %13, label %43
13: ; preds = %5
%14 = load i32, ptr @SPARC_NOP, align 4, !tbaa !11
store i32 %2, ptr %4, align 4, !tbaa !11
%15 = load i32, ptr @PLT64_ENTRY_SIZE, align 4, !tbaa !11
%16 = sdiv i32 %2, %15
%17 = mul nsw i32 %16, %15
%18 = or i32 %17, 50331648
%19 = sext i32 %15 to i64
%20 = getelementptr inbounds i8, ptr %6, i64 %19
%21 = getelementptr inbounds i8, ptr %8, i64 4
%22 = ptrtoint ptr %20 to i64
%23 = ptrtoint ptr %21 to i64
%24 = sub i64 %22, %23
%25 = sdiv i64 %24, 4
%26 = trunc i64 %25 to i32
%27 = and i32 %26, 524287
%28 = or disjoint i32 %27, 812122112
%29 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %18, ptr noundef %8) #2
%30 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %28, ptr noundef nonnull %21) #2
%31 = getelementptr inbounds i8, ptr %8, i64 8
%32 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %31) #2
%33 = getelementptr inbounds i8, ptr %8, i64 12
%34 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %33) #2
%35 = getelementptr inbounds i8, ptr %8, i64 16
%36 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %35) #2
%37 = getelementptr inbounds i8, ptr %8, i64 20
%38 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %37) #2
%39 = getelementptr inbounds i8, ptr %8, i64 24
%40 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %39) #2
%41 = getelementptr inbounds i8, ptr %8, i64 28
%42 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %41) #2
br label %103
43: ; preds = %5
%44 = sub nsw i32 %2, %11
%45 = sub nsw i32 %3, %11
%46 = freeze i32 %44
%47 = sdiv i32 %46, 5120
%48 = freeze i32 %45
%49 = sdiv i32 %48, 5120
%50 = icmp eq i32 %47, %49
br i1 %50, label %51, label %58
51: ; preds = %43
%52 = mul i32 %49, 5120
%53 = sub i32 %48, %52
%54 = trunc nsw i32 %53 to i16
%55 = sdiv i16 %54, 32
%56 = mul nsw i16 %55, 24
%57 = sext i16 %56 to i64
br label %58
58: ; preds = %43, %51
%59 = phi i64 [ %57, %51 ], [ 3840, %43 ]
%60 = mul i32 %47, 5120
%61 = sub i32 %46, %60
%62 = mul nsw i32 %47, 160
%63 = add nsw i32 %62, %9
%64 = trunc nsw i32 %61 to i16
%65 = sdiv i16 %64, 24
%66 = sext i16 %65 to i32
%67 = add nsw i32 %63, %66
%68 = sext i32 %11 to i64
%69 = getelementptr inbounds i8, ptr %6, i64 %68
%70 = mul nsw i32 %47, 5120
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = getelementptr inbounds i8, ptr %72, i64 %59
%74 = shl nsw i32 %66, 3
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
%77 = ptrtoint ptr %76 to i64
%78 = ptrtoint ptr %6 to i64
%79 = sub i64 %77, %78
%80 = trunc i64 %79 to i32
store i32 %80, ptr %4, align 4, !tbaa !11
%81 = getelementptr inbounds i8, ptr %8, i64 4
%82 = ptrtoint ptr %81 to i64
%83 = sub i64 %77, %82
%84 = trunc i64 %83 to i32
%85 = and i32 %84, 8191
%86 = or disjoint i32 %85, -1034166272
%87 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef -1978662897, ptr noundef %8) #2
%88 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef 1073741826, ptr noundef nonnull %81) #2
%89 = load i32, ptr @SPARC_NOP, align 4, !tbaa !11
%90 = getelementptr inbounds i8, ptr %8, i64 8
%91 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %89, ptr noundef nonnull %90) #2
%92 = getelementptr inbounds i8, ptr %8, i64 12
%93 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef %86, ptr noundef nonnull %92) #2
%94 = getelementptr inbounds i8, ptr %8, i64 16
%95 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef -2084323327, ptr noundef nonnull %94) #2
%96 = getelementptr inbounds i8, ptr %8, i64 20
%97 = tail call i32 @bfd_put_32(ptr noundef %0, i32 noundef -1643118587, ptr noundef nonnull %96) #2
%98 = load ptr, ptr %1, align 8, !tbaa !6
%99 = ptrtoint ptr %98 to i64
%100 = sub i64 %99, %82
%101 = trunc i64 %100 to i32
%102 = tail call i32 @bfd_put_64(ptr noundef %0, i32 noundef %101, ptr noundef %76) #2
br label %103
103: ; preds = %58, %13
%104 = phi i32 [ %16, %13 ], [ %67, %58 ]
%105 = add nsw i32 %104, -4
ret i32 %105
}
declare i32 @bfd_put_32(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bfd_put_64(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 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| freebsd_contrib_binutils_bfd_extr_elfxx-sparc.c_sparc64_plt_entry_build |
; ModuleID = 'AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_bo.c_ttm_bo_mem_force_space.c'
source_filename = "AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_bo.c_ttm_bo_mem_force_space.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ttm_mem_type_manager = type { ptr }
%struct.ttm_mem_reg = type { i64, ptr }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ttm_bo_mem_force_space], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ttm_bo_mem_force_space(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = load ptr, ptr %0, align 8, !tbaa !5
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = getelementptr inbounds %struct.ttm_mem_type_manager, ptr %8, i64 %1
%10 = getelementptr inbounds %struct.ttm_mem_reg, ptr %3, i64 0, i32 1
br label %11
11: ; preds = %22, %6
%12 = load ptr, ptr %9, align 8, !tbaa !12
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = tail call i32 %13(ptr noundef nonnull %9, ptr noundef nonnull %0, ptr noundef %2, ptr noundef %3) #2
%15 = icmp ne i32 %14, 0
%16 = zext i1 %15 to i32
%17 = tail call i64 @unlikely(i32 noundef %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %29
19: ; preds = %11
%20 = load ptr, ptr %10, align 8, !tbaa !16
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %28
22: ; preds = %19
%23 = tail call i32 @ttm_mem_evict_first(ptr noundef nonnull %7, i64 noundef %1, i32 noundef %4, i32 noundef %5) #2
%24 = icmp ne i32 %23, 0
%25 = zext i1 %24 to i32
%26 = tail call i64 @unlikely(i32 noundef %25) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %11, label %29
28: ; preds = %19
store i64 %1, ptr %3, align 8, !tbaa !19
br label %29
29: ; preds = %22, %11, %28
%30 = phi i32 [ 0, %28 ], [ %23, %22 ], [ %14, %11 ]
ret i32 %30
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @ttm_mem_evict_first(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ttm_buffer_object", !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 = !{!"ttm_bo_device", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"ttm_mem_type_manager", !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_2__", !7, i64 0}
!16 = !{!17, !7, i64 8}
!17 = !{!"ttm_mem_reg", !18, i64 0, !7, i64 8}
!18 = !{!"long", !8, i64 0}
!19 = !{!17, !18, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_bo.c_ttm_bo_mem_force_space.c'
source_filename = "AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_bo.c_ttm_bo_mem_force_space.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ttm_mem_type_manager = type { ptr }
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ttm_bo_mem_force_space], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ttm_bo_mem_force_space(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = load ptr, ptr %0, align 8, !tbaa !6
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = getelementptr inbounds %struct.ttm_mem_type_manager, ptr %8, i64 %1
%10 = getelementptr inbounds i8, ptr %3, i64 8
br label %11
11: ; preds = %22, %6
%12 = load ptr, ptr %9, align 8, !tbaa !13
%13 = load ptr, ptr %12, align 8, !tbaa !15
%14 = tail call i32 %13(ptr noundef nonnull %9, ptr noundef nonnull %0, ptr noundef %2, ptr noundef %3) #2
%15 = icmp ne i32 %14, 0
%16 = zext i1 %15 to i32
%17 = tail call i64 @unlikely(i32 noundef %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %29
19: ; preds = %11
%20 = load ptr, ptr %10, align 8, !tbaa !17
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %28
22: ; preds = %19
%23 = tail call i32 @ttm_mem_evict_first(ptr noundef nonnull %7, i64 noundef %1, i32 noundef %4, i32 noundef %5) #2
%24 = icmp ne i32 %23, 0
%25 = zext i1 %24 to i32
%26 = tail call i64 @unlikely(i32 noundef %25) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %11, label %29
28: ; preds = %19
store i64 %1, ptr %3, align 8, !tbaa !20
br label %29
29: ; preds = %22, %11, %28
%30 = phi i32 [ 0, %28 ], [ %23, %22 ], [ %14, %11 ]
ret i32 %30
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @ttm_mem_evict_first(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ttm_buffer_object", !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 = !{!"ttm_bo_device", !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"ttm_mem_type_manager", !8, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_2__", !8, i64 0}
!17 = !{!18, !8, i64 8}
!18 = !{!"ttm_mem_reg", !19, i64 0, !8, i64 8}
!19 = !{!"long", !9, i64 0}
!20 = !{!18, !19, i64 0}
| freebsd_sys_dev_drm2_ttm_extr_ttm_bo.c_ttm_bo_mem_force_space |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_chip.c_disallowed_pkt_err.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_chip.c_disallowed_pkt_err.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TX_SDMA0_DISALLOWED_PACKET = dso_local local_unnamed_addr global i32 0, align 4
@TX_SDMA15_DISALLOWED_PACKET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @disallowed_pkt_err], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @disallowed_pkt_err(i32 noundef %0) #0 {
%2 = load i32, ptr @TX_SDMA0_DISALLOWED_PACKET, align 4, !tbaa !5
%3 = tail call i32 @SEES(i32 noundef %2) #2
%4 = icmp sgt i32 %3, %0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = load i32, ptr @TX_SDMA15_DISALLOWED_PACKET, align 4, !tbaa !5
%7 = tail call i32 @SEES(i32 noundef %6) #2
%8 = icmp sge i32 %7, %0
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %5, %1
%11 = phi i32 [ 0, %1 ], [ %9, %5 ]
ret i32 %11
}
declare i32 @SEES(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_chip.c_disallowed_pkt_err.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_chip.c_disallowed_pkt_err.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TX_SDMA0_DISALLOWED_PACKET = common local_unnamed_addr global i32 0, align 4
@TX_SDMA15_DISALLOWED_PACKET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @disallowed_pkt_err], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @disallowed_pkt_err(i32 noundef %0) #0 {
%2 = load i32, ptr @TX_SDMA0_DISALLOWED_PACKET, align 4, !tbaa !6
%3 = tail call i32 @SEES(i32 noundef %2) #2
%4 = icmp sgt i32 %3, %0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = load i32, ptr @TX_SDMA15_DISALLOWED_PACKET, align 4, !tbaa !6
%7 = tail call i32 @SEES(i32 noundef %6) #2
%8 = icmp sge i32 %7, %0
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %5, %1
%11 = phi i32 [ 0, %1 ], [ %9, %5 ]
ret i32 %11
}
declare i32 @SEES(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_infiniband_hw_hfi1_extr_chip.c_disallowed_pkt_err |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_mr.c_mlx5_mr_cache_debugfs_cleanup.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_mr.c_mlx5_mr_cache_debugfs_cleanup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mlx5_ib_dev = type { %struct.TYPE_2__, i64 }
%struct.TYPE_2__ = type { ptr }
@mlx5_debugfs_root = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5_mr_cache_debugfs_cleanup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mlx5_mr_cache_debugfs_cleanup(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr @mlx5_debugfs_root, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %11, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.mlx5_ib_dev, ptr %0, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !9
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load ptr, ptr %0, align 8, !tbaa !14
%10 = tail call i32 @debugfs_remove_recursive(ptr noundef %9) #2
store ptr null, ptr %0, align 8, !tbaa !14
br label %11
11: ; preds = %1, %4, %8
ret void
}
declare i32 @debugfs_remove_recursive(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, !13, i64 8}
!10 = !{!"mlx5_ib_dev", !11, i64 0, !13, i64 8}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!10, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_mr.c_mlx5_mr_cache_debugfs_cleanup.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_mr.c_mlx5_mr_cache_debugfs_cleanup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mlx5_debugfs_root = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mlx5_mr_cache_debugfs_cleanup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mlx5_mr_cache_debugfs_cleanup(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr @mlx5_debugfs_root, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %11, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load ptr, ptr %0, align 8, !tbaa !15
%10 = tail call i32 @debugfs_remove_recursive(ptr noundef %9) #2
store ptr null, ptr %0, align 8, !tbaa !15
br label %11
11: ; preds = %1, %4, %8
ret void
}
declare i32 @debugfs_remove_recursive(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, !14, i64 8}
!11 = !{!"mlx5_ib_dev", !12, i64 0, !14, i64 8}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !13, i64 0}
| linux_drivers_infiniband_hw_mlx5_extr_mr.c_mlx5_mr_cache_debugfs_cleanup |
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_addrconf_core.c_register_inet6addr_validator_notifier.c'
source_filename = "AnghaBench/linux/net/ipv6/extr_addrconf_core.c_register_inet6addr_validator_notifier.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@inet6addr_validator_chain = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @register_inet6addr_validator_notifier(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @blocking_notifier_chain_register(ptr noundef nonnull @inet6addr_validator_chain, ptr noundef %0) #2
ret i32 %2
}
declare i32 @blocking_notifier_chain_register(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/net/ipv6/extr_addrconf_core.c_register_inet6addr_validator_notifier.c'
source_filename = "AnghaBench/linux/net/ipv6/extr_addrconf_core.c_register_inet6addr_validator_notifier.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@inet6addr_validator_chain = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @register_inet6addr_validator_notifier(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @blocking_notifier_chain_register(ptr noundef nonnull @inet6addr_validator_chain, ptr noundef %0) #2
ret i32 %2
}
declare i32 @blocking_notifier_chain_register(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_net_ipv6_extr_addrconf_core.c_register_inet6addr_validator_notifier |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libnv/extr_nvlist.c_nvlist_add_nvpair.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libnv/extr_nvlist.c_nvlist_add_nvpair.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, i32 }
@NV_FLAG_NO_UNIQUE = dso_local local_unnamed_addr global i32 0, align 4
@EEXIST = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @nvlist_add_nvpair(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @NVPAIR_ASSERT(ptr noundef %1) #2
%4 = tail call i64 @nvlist_error(ptr noundef %0) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = tail call i64 @nvlist_error(ptr noundef %0) #2
%8 = tail call i32 @ERRNO_SET(i64 noundef %7) #2
br label %35
9: ; preds = %2
%10 = load i32, ptr %0, align 4, !tbaa !5
%11 = load i32, ptr @NV_FLAG_NO_UNIQUE, align 4, !tbaa !10
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %23
14: ; preds = %9
%15 = tail call i32 @nvpair_name(ptr noundef %1) #2
%16 = tail call i64 @nvlist_exists(ptr noundef nonnull %0, i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %23, label %18
18: ; preds = %14
%19 = load i32, ptr @EEXIST, align 4, !tbaa !10
%20 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
store i32 %19, ptr %20, align 4, !tbaa !11
%21 = tail call i64 @nvlist_error(ptr noundef nonnull %0) #2
%22 = tail call i32 @ERRNO_SET(i64 noundef %21) #2
br label %35
23: ; preds = %14, %9
%24 = tail call ptr @nvpair_clone(ptr noundef %1) #2
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %32
26: ; preds = %23
%27 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%28 = tail call i32 @ERRNO_OR_DEFAULT(i32 noundef %27) #2
%29 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
store i32 %28, ptr %29, align 4, !tbaa !11
%30 = tail call i64 @nvlist_error(ptr noundef nonnull %0) #2
%31 = tail call i32 @ERRNO_SET(i64 noundef %30) #2
br label %35
32: ; preds = %23
%33 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%34 = tail call i32 @nvpair_insert(ptr noundef nonnull %33, ptr noundef nonnull %24, ptr noundef nonnull %0) #2
br label %35
35: ; preds = %32, %26, %18, %6
ret void
}
declare i32 @NVPAIR_ASSERT(ptr noundef) local_unnamed_addr #1
declare i64 @nvlist_error(ptr noundef) local_unnamed_addr #1
declare i32 @ERRNO_SET(i64 noundef) local_unnamed_addr #1
declare i64 @nvlist_exists(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nvpair_name(ptr noundef) local_unnamed_addr #1
declare ptr @nvpair_clone(ptr noundef) local_unnamed_addr #1
declare i32 @ERRNO_OR_DEFAULT(i32 noundef) local_unnamed_addr #1
declare i32 @nvpair_insert(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 0}
!6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/libnv/extr_nvlist.c_nvlist_add_nvpair.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libnv/extr_nvlist.c_nvlist_add_nvpair.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NV_FLAG_NO_UNIQUE = common local_unnamed_addr global i32 0, align 4
@EEXIST = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @nvlist_add_nvpair(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @NVPAIR_ASSERT(ptr noundef %1) #2
%4 = tail call i64 @nvlist_error(ptr noundef %0) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = tail call i64 @nvlist_error(ptr noundef %0) #2
%8 = tail call i32 @ERRNO_SET(i64 noundef %7) #2
br label %35
9: ; preds = %2
%10 = load i32, ptr %0, align 4, !tbaa !6
%11 = load i32, ptr @NV_FLAG_NO_UNIQUE, align 4, !tbaa !11
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %23
14: ; preds = %9
%15 = tail call i32 @nvpair_name(ptr noundef %1) #2
%16 = tail call i64 @nvlist_exists(ptr noundef nonnull %0, i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %23, label %18
18: ; preds = %14
%19 = load i32, ptr @EEXIST, align 4, !tbaa !11
%20 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %19, ptr %20, align 4, !tbaa !12
%21 = tail call i64 @nvlist_error(ptr noundef nonnull %0) #2
%22 = tail call i32 @ERRNO_SET(i64 noundef %21) #2
br label %35
23: ; preds = %14, %9
%24 = tail call ptr @nvpair_clone(ptr noundef %1) #2
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %32
26: ; preds = %23
%27 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%28 = tail call i32 @ERRNO_OR_DEFAULT(i32 noundef %27) #2
%29 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %28, ptr %29, align 4, !tbaa !12
%30 = tail call i64 @nvlist_error(ptr noundef nonnull %0) #2
%31 = tail call i32 @ERRNO_SET(i64 noundef %30) #2
br label %35
32: ; preds = %23
%33 = getelementptr inbounds i8, ptr %0, i64 4
%34 = tail call i32 @nvpair_insert(ptr noundef nonnull %33, ptr noundef nonnull %24, ptr noundef nonnull %0) #2
br label %35
35: ; preds = %32, %26, %18, %6
ret void
}
declare i32 @NVPAIR_ASSERT(ptr noundef) local_unnamed_addr #1
declare i64 @nvlist_error(ptr noundef) local_unnamed_addr #1
declare i32 @ERRNO_SET(i64 noundef) local_unnamed_addr #1
declare i64 @nvlist_exists(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nvpair_name(ptr noundef) local_unnamed_addr #1
declare ptr @nvpair_clone(ptr noundef) local_unnamed_addr #1
declare i32 @ERRNO_OR_DEFAULT(i32 noundef) local_unnamed_addr #1
declare i32 @nvpair_insert(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 0}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 8}
| freebsd_sys_contrib_libnv_extr_nvlist.c_nvlist_add_nvpair |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/extr_box_curve25519xsalsa20poly1305.c_crypto_box_curve25519xsalsa20poly1305.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/extr_box_curve25519xsalsa20poly1305.c_crypto_box_curve25519xsalsa20poly1305.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@crypto_box_curve25519xsalsa20poly1305_BEFORENMBYTES = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @crypto_box_curve25519xsalsa20poly1305(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = load i32, ptr @crypto_box_curve25519xsalsa20poly1305_BEFORENMBYTES, align 4, !tbaa !5
%8 = zext i32 %7 to i64
%9 = alloca i8, i64 %8, align 16
%10 = call i64 @crypto_box_curve25519xsalsa20poly1305_beforenm(ptr noundef nonnull %9, ptr noundef %4, ptr noundef %5) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %6
%13 = call i32 @crypto_box_curve25519xsalsa20poly1305_afternm(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef nonnull %9) #2
%14 = call i32 @sodium_memzero(ptr noundef nonnull %9, i32 noundef %7) #2
br label %15
15: ; preds = %6, %12
%16 = phi i32 [ %13, %12 ], [ -1, %6 ]
ret i32 %16
}
declare i64 @crypto_box_curve25519xsalsa20poly1305_beforenm(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @crypto_box_curve25519xsalsa20poly1305_afternm(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sodium_memzero(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/extr_box_curve25519xsalsa20poly1305.c_crypto_box_curve25519xsalsa20poly1305.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/extr_box_curve25519xsalsa20poly1305.c_crypto_box_curve25519xsalsa20poly1305.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@crypto_box_curve25519xsalsa20poly1305_BEFORENMBYTES = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @crypto_box_curve25519xsalsa20poly1305(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = load i32, ptr @crypto_box_curve25519xsalsa20poly1305_BEFORENMBYTES, align 4, !tbaa !6
%8 = zext i32 %7 to i64
%9 = alloca i8, i64 %8, align 1
%10 = call i64 @crypto_box_curve25519xsalsa20poly1305_beforenm(ptr noundef nonnull %9, ptr noundef %4, ptr noundef %5) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %6
%13 = call i32 @crypto_box_curve25519xsalsa20poly1305_afternm(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef nonnull %9) #2
%14 = call i32 @sodium_memzero(ptr noundef nonnull %9, i32 noundef %7) #2
br label %15
15: ; preds = %6, %12
%16 = phi i32 [ %13, %12 ], [ -1, %6 ]
ret i32 %16
}
declare i64 @crypto_box_curve25519xsalsa20poly1305_beforenm(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @crypto_box_curve25519xsalsa20poly1305_afternm(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sodium_memzero(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_contrib_libsodium_src_libsodium_crypto_box_curve25519xsalsa20poly1305_extr_box_curve25519xsalsa20poly1305.c_crypto_box_curve25519xsalsa20poly1305 |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_amd5536udc.c_udc_pollstall_timer_function.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_amd5536udc.c_udc_pollstall_timer_function.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64 }
%struct.udc_ep = type { i64 }
@udc_stall_spinlock = dso_local global i32 0, align 4
@udc = dso_local local_unnamed_addr global ptr null, align 8
@UDC_EPIN_IX = dso_local local_unnamed_addr global i64 0, align 8
@UDC_EPOUT_IX = dso_local local_unnamed_addr global i64 0, align 8
@stop_pollstall_timer = dso_local local_unnamed_addr global i64 0, align 8
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@UDC_POLLSTALL_TIMER_USECONDS = dso_local local_unnamed_addr global i32 0, align 4
@udc_pollstall_timer = dso_local global %struct.TYPE_4__ zeroinitializer, align 8
@on_pollstall_exit = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @udc_pollstall_timer_function], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @udc_pollstall_timer_function(i64 %0) #0 {
%2 = tail call i32 @spin_lock_irq(ptr noundef nonnull @udc_stall_spinlock) #2
%3 = load ptr, ptr @udc, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !9
%5 = load i64, ptr @UDC_EPIN_IX, align 8, !tbaa !11
%6 = getelementptr inbounds %struct.udc_ep, ptr %4, i64 %5
%7 = tail call i32 @udc_handle_halt_state(ptr noundef %6) #2
%8 = load i64, ptr %6, align 8, !tbaa !13
%9 = icmp ne i64 %8, 0
%10 = load ptr, ptr @udc, align 8, !tbaa !5
%11 = load ptr, ptr %10, align 8, !tbaa !9
%12 = load i64, ptr @UDC_EPOUT_IX, align 8, !tbaa !11
%13 = getelementptr inbounds %struct.udc_ep, ptr %11, i64 %12
%14 = tail call i32 @udc_handle_halt_state(ptr noundef %13) #2
%15 = load i64, ptr %13, align 8, !tbaa !13
%16 = icmp ne i64 %15, 0
%17 = select i1 %16, i1 true, i1 %9
%18 = load i64, ptr @stop_pollstall_timer, align 8, !tbaa !11
%19 = icmp eq i64 %18, 0
%20 = and i1 %19, %17
br i1 %20, label %21, label %30
21: ; preds = %1
%22 = load i64, ptr @jiffies, align 8, !tbaa !11
%23 = load i32, ptr @HZ, align 4, !tbaa !15
%24 = load i32, ptr @UDC_POLLSTALL_TIMER_USECONDS, align 4, !tbaa !15
%25 = mul nsw i32 %24, %23
%26 = sdiv i32 %25, 1000000
%27 = sext i32 %26 to i64
%28 = add nsw i64 %22, %27
store i64 %28, ptr @udc_pollstall_timer, align 8, !tbaa !17
%29 = tail call i32 @add_timer(ptr noundef nonnull @udc_pollstall_timer) #2
br label %30
30: ; preds = %21, %1
%31 = tail call i32 @spin_unlock_irq(ptr noundef nonnull @udc_stall_spinlock) #2
%32 = load i64, ptr @stop_pollstall_timer, align 8, !tbaa !11
%33 = icmp eq i64 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %30
%35 = tail call i32 @complete(ptr noundef nonnull @on_pollstall_exit) #2
br label %36
36: ; preds = %34, %30
ret void
}
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @udc_handle_halt_state(ptr noundef) local_unnamed_addr #1
declare i32 @add_timer(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @complete(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_5__", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"udc_ep", !12, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_4__", !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_amd5536udc.c_udc_pollstall_timer_function.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_amd5536udc.c_udc_pollstall_timer_function.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i64 }
%struct.udc_ep = type { i64 }
@udc_stall_spinlock = common global i32 0, align 4
@udc = common local_unnamed_addr global ptr null, align 8
@UDC_EPIN_IX = common local_unnamed_addr global i64 0, align 8
@UDC_EPOUT_IX = common local_unnamed_addr global i64 0, align 8
@stop_pollstall_timer = common local_unnamed_addr global i64 0, align 8
@jiffies = common local_unnamed_addr global i64 0, align 8
@HZ = common local_unnamed_addr global i32 0, align 4
@UDC_POLLSTALL_TIMER_USECONDS = common local_unnamed_addr global i32 0, align 4
@udc_pollstall_timer = common global %struct.TYPE_4__ zeroinitializer, align 8
@on_pollstall_exit = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @udc_pollstall_timer_function], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @udc_pollstall_timer_function(i64 %0) #0 {
%2 = tail call i32 @spin_lock_irq(ptr noundef nonnull @udc_stall_spinlock) #2
%3 = load ptr, ptr @udc, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load i64, ptr @UDC_EPIN_IX, align 8, !tbaa !12
%6 = getelementptr inbounds %struct.udc_ep, ptr %4, i64 %5
%7 = tail call i32 @udc_handle_halt_state(ptr noundef %6) #2
%8 = load i64, ptr %6, align 8, !tbaa !14
%9 = icmp ne i64 %8, 0
%10 = load ptr, ptr @udc, align 8, !tbaa !6
%11 = load ptr, ptr %10, align 8, !tbaa !10
%12 = load i64, ptr @UDC_EPOUT_IX, align 8, !tbaa !12
%13 = getelementptr inbounds %struct.udc_ep, ptr %11, i64 %12
%14 = tail call i32 @udc_handle_halt_state(ptr noundef %13) #2
%15 = load i64, ptr %13, align 8, !tbaa !14
%16 = icmp ne i64 %15, 0
%17 = select i1 %16, i1 true, i1 %9
%18 = load i64, ptr @stop_pollstall_timer, align 8, !tbaa !12
%19 = icmp eq i64 %18, 0
%20 = and i1 %19, %17
br i1 %20, label %21, label %30
21: ; preds = %1
%22 = load i64, ptr @jiffies, align 8, !tbaa !12
%23 = load i32, ptr @HZ, align 4, !tbaa !16
%24 = load i32, ptr @UDC_POLLSTALL_TIMER_USECONDS, align 4, !tbaa !16
%25 = mul nsw i32 %24, %23
%26 = sdiv i32 %25, 1000000
%27 = sext i32 %26 to i64
%28 = add nsw i64 %22, %27
store i64 %28, ptr @udc_pollstall_timer, align 8, !tbaa !18
%29 = tail call i32 @add_timer(ptr noundef nonnull @udc_pollstall_timer) #2
br label %30
30: ; preds = %21, %1
%31 = tail call i32 @spin_unlock_irq(ptr noundef nonnull @udc_stall_spinlock) #2
%32 = load i64, ptr @stop_pollstall_timer, align 8, !tbaa !12
%33 = icmp eq i64 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %30
%35 = tail call i32 @complete(ptr noundef nonnull @on_pollstall_exit) #2
br label %36
36: ; preds = %34, %30
ret void
}
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @udc_handle_halt_state(ptr noundef) local_unnamed_addr #1
declare i32 @add_timer(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @complete(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"udc_ep", !13, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !8, i64 0}
!18 = !{!19, !13, i64 0}
!19 = !{!"TYPE_4__", !13, i64 0}
| fastsocket_kernel_drivers_usb_gadget_extr_amd5536udc.c_udc_pollstall_timer_function |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_gvt.c_clean_service_thread.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_gvt.c_clean_service_thread.c"
target datalayout = "e-m:e-p270:32:32-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 @clean_service_thread], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @clean_service_thread(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @kthread_stop(i32 noundef %2) #2
ret void
}
declare i32 @kthread_stop(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"intel_gvt", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_gvt.c_clean_service_thread.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_gvt.c_clean_service_thread.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 @clean_service_thread], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @clean_service_thread(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @kthread_stop(i32 noundef %2) #2
ret void
}
declare i32 @kthread_stop(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"intel_gvt", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_i915_gvt_extr_gvt.c_clean_service_thread |
; ModuleID = 'AnghaBench/freebsd/sbin/ifconfig/extr_ifbridge.c_unsetbridge_autoptp.c'
source_filename = "AnghaBench/freebsd/sbin/ifconfig/extr_ifbridge.c_unsetbridge_autoptp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IFBIF_BSTP_AUTOPTP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @unsetbridge_autoptp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @unsetbridge_autoptp(ptr noundef %0, i32 %1, i32 noundef %2, ptr nocapture readnone %3) #0 {
%5 = load i32, ptr @IFBIF_BSTP_AUTOPTP, align 4, !tbaa !5
%6 = tail call i32 @do_bridgeflag(i32 noundef %2, ptr noundef %0, i32 noundef %5, i32 noundef 0) #2
ret void
}
declare i32 @do_bridgeflag(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sbin/ifconfig/extr_ifbridge.c_unsetbridge_autoptp.c'
source_filename = "AnghaBench/freebsd/sbin/ifconfig/extr_ifbridge.c_unsetbridge_autoptp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IFBIF_BSTP_AUTOPTP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @unsetbridge_autoptp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @unsetbridge_autoptp(ptr noundef %0, i32 %1, i32 noundef %2, ptr nocapture readnone %3) #0 {
%5 = load i32, ptr @IFBIF_BSTP_AUTOPTP, align 4, !tbaa !6
%6 = tail call i32 @do_bridgeflag(i32 noundef %2, ptr noundef %0, i32 noundef %5, i32 noundef 0) #2
ret void
}
declare i32 @do_bridgeflag(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sbin_ifconfig_extr_ifbridge.c_unsetbridge_autoptp |
; ModuleID = 'AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_compress.c_ZSTD_compressBlock_doubleFast_extDict.c'
source_filename = "AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_compress.c_ZSTD_compressBlock_doubleFast_extDict.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ZSTD_compressBlock_doubleFast_extDict], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ZSTD_compressBlock_doubleFast_extDict(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = add i32 %4, -5
%6 = icmp ult i32 %5, 3
%7 = select i1 %6, i32 %4, i32 4
%8 = tail call i32 @ZSTD_compressBlock_doubleFast_extDict_generic(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2, i32 noundef %7) #2
ret void
}
declare i32 @ZSTD_compressBlock_doubleFast_extDict_generic(ptr noundef, 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, !9, i64 0}
!6 = !{!"TYPE_8__", !7, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_compress.c_ZSTD_compressBlock_doubleFast_extDict.c'
source_filename = "AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_compress.c_ZSTD_compressBlock_doubleFast_extDict.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ZSTD_compressBlock_doubleFast_extDict], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ZSTD_compressBlock_doubleFast_extDict(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = add i32 %4, -5
%6 = icmp ult i32 %5, 3
%7 = select i1 %6, i32 %4, i32 4
%8 = tail call i32 @ZSTD_compressBlock_doubleFast_extDict_generic(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2, i32 noundef %7) #2
ret void
}
declare i32 @ZSTD_compressBlock_doubleFast_extDict_generic(ptr noundef, 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, !10, i64 0}
!7 = !{!"TYPE_8__", !8, i64 0}
!8 = !{!"TYPE_7__", !9, i64 0}
!9 = !{!"TYPE_6__", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
| zstd_contrib_linux-kernel_lib_zstd_extr_compress.c_ZSTD_compressBlock_doubleFast_extDict |
; ModuleID = 'AnghaBench/linux/arch/mips/kvm/extr_trap_emul.c_kvm_trap_emul_hardware_disable.c'
source_filename = "AnghaBench/linux/arch/mips/kvm/extr_trap_emul.c_kvm_trap_emul_hardware_disable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @kvm_trap_emul_hardware_disable], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @kvm_trap_emul_hardware_disable() #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/mips/kvm/extr_trap_emul.c_kvm_trap_emul_hardware_disable.c'
source_filename = "AnghaBench/linux/arch/mips/kvm/extr_trap_emul.c_kvm_trap_emul_hardware_disable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @kvm_trap_emul_hardware_disable], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @kvm_trap_emul_hardware_disable() #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_mips_kvm_extr_trap_emul.c_kvm_trap_emul_hardware_disable |
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_memory.c_vm_insert_page.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_memory.c_vm_insert_page.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.vm_area_struct = type { i64, i64, i32, i32 }
@EFAULT = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@VM_INSERTPAGE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @vm_insert_page(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = icmp ugt i64 %4, %1
br i1 %5, label %10, label %6
6: ; preds = %3
%7 = getelementptr inbounds %struct.vm_area_struct, ptr %0, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = icmp ugt i64 %8, %1
br i1 %9, label %13, label %10
10: ; preds = %6, %3
%11 = load i32, ptr @EFAULT, align 4, !tbaa !12
%12 = sub nsw i32 0, %11
br label %27
13: ; preds = %6
%14 = tail call i32 @page_count(ptr noundef %2) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr @EINVAL, align 4, !tbaa !12
%18 = sub nsw i32 0, %17
br label %27
19: ; preds = %13
%20 = load i32, ptr @VM_INSERTPAGE, align 4, !tbaa !12
%21 = getelementptr inbounds %struct.vm_area_struct, ptr %0, i64 0, i32 3
%22 = load i32, ptr %21, align 4, !tbaa !13
%23 = or i32 %22, %20
store i32 %23, ptr %21, align 4, !tbaa !13
%24 = getelementptr inbounds %struct.vm_area_struct, ptr %0, i64 0, i32 2
%25 = load i32, ptr %24, align 8, !tbaa !14
%26 = tail call i32 @insert_page(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2, i32 noundef %25) #2
br label %27
27: ; preds = %19, %16, %10
%28 = phi i32 [ %12, %10 ], [ %26, %19 ], [ %18, %16 ]
ret i32 %28
}
declare i32 @page_count(ptr noundef) local_unnamed_addr #1
declare i32 @insert_page(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"vm_area_struct", !7, i64 0, !7, i64 8, !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 = !{!6, !7, i64 8}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 20}
!14 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_memory.c_vm_insert_page.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_memory.c_vm_insert_page.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EFAULT = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@VM_INSERTPAGE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @vm_insert_page(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = icmp ugt i64 %4, %1
br i1 %5, label %10, label %6
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = icmp ugt i64 %8, %1
br i1 %9, label %13, label %10
10: ; preds = %6, %3
%11 = load i32, ptr @EFAULT, align 4, !tbaa !13
%12 = sub nsw i32 0, %11
br label %27
13: ; preds = %6
%14 = tail call i32 @page_count(ptr noundef %2) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr @EINVAL, align 4, !tbaa !13
%18 = sub nsw i32 0, %17
br label %27
19: ; preds = %13
%20 = load i32, ptr @VM_INSERTPAGE, align 4, !tbaa !13
%21 = getelementptr inbounds i8, ptr %0, i64 20
%22 = load i32, ptr %21, align 4, !tbaa !14
%23 = or i32 %22, %20
store i32 %23, ptr %21, align 4, !tbaa !14
%24 = getelementptr inbounds i8, ptr %0, i64 16
%25 = load i32, ptr %24, align 8, !tbaa !15
%26 = tail call i32 @insert_page(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2, i32 noundef %25) #2
br label %27
27: ; preds = %19, %16, %10
%28 = phi i32 [ %12, %10 ], [ %26, %19 ], [ %18, %16 ]
ret i32 %28
}
declare i32 @page_count(ptr noundef) local_unnamed_addr #1
declare i32 @insert_page(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"vm_area_struct", !8, i64 0, !8, i64 8, !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 = !{!7, !8, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !11, i64 20}
!15 = !{!7, !11, i64 16}
| fastsocket_kernel_mm_extr_memory.c_vm_insert_page |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/davinci/extr_dm644x_ccdc.c_ccdc_restore_defaults.c'
source_filename = "AnghaBench/linux/drivers/media/platform/davinci/extr_dm644x_ccdc.c_ccdc_restore_defaults.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CCDC_NO_CULLING = dso_local local_unnamed_addr global i32 0, align 4
@CCDC_CULLING = dso_local local_unnamed_addr global i32 0, align 4
@CCDC_GAMMA_BITS_11_2 = dso_local local_unnamed_addr global i32 0, align 4
@CCDC_ALAW = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ccdc_restore_defaults], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ccdc_restore_defaults() #0 {
%1 = tail call i32 @ccdc_enable(i32 noundef 0) #2
br label %2
2: ; preds = %0, %2
%3 = phi i32 [ 4, %0 ], [ %5, %2 ]
%4 = tail call i32 @regw(i32 noundef 0, i32 noundef %3) #2
%5 = add nuw nsw i32 %3, 4
%6 = icmp ult i32 %3, 145
br i1 %6, label %2, label %7, !llvm.loop !5
7: ; preds = %2
%8 = load i32, ptr @CCDC_NO_CULLING, align 4, !tbaa !7
%9 = load i32, ptr @CCDC_CULLING, align 4, !tbaa !7
%10 = tail call i32 @regw(i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr @CCDC_GAMMA_BITS_11_2, align 4, !tbaa !7
%12 = load i32, ptr @CCDC_ALAW, align 4, !tbaa !7
%13 = tail call i32 @regw(i32 noundef %11, i32 noundef %12) #2
ret void
}
declare i32 @ccdc_enable(i32 noundef) local_unnamed_addr #1
declare i32 @regw(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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/davinci/extr_dm644x_ccdc.c_ccdc_restore_defaults.c'
source_filename = "AnghaBench/linux/drivers/media/platform/davinci/extr_dm644x_ccdc.c_ccdc_restore_defaults.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CCDC_NO_CULLING = common local_unnamed_addr global i32 0, align 4
@CCDC_CULLING = common local_unnamed_addr global i32 0, align 4
@CCDC_GAMMA_BITS_11_2 = common local_unnamed_addr global i32 0, align 4
@CCDC_ALAW = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ccdc_restore_defaults], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ccdc_restore_defaults() #0 {
%1 = tail call i32 @ccdc_enable(i32 noundef 0) #2
br label %2
2: ; preds = %0, %2
%3 = phi i32 [ 4, %0 ], [ %5, %2 ]
%4 = tail call i32 @regw(i32 noundef 0, i32 noundef %3) #2
%5 = add nuw nsw i32 %3, 4
%6 = icmp ult i32 %3, 145
br i1 %6, label %2, label %7, !llvm.loop !6
7: ; preds = %2
%8 = load i32, ptr @CCDC_NO_CULLING, align 4, !tbaa !8
%9 = load i32, ptr @CCDC_CULLING, align 4, !tbaa !8
%10 = tail call i32 @regw(i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr @CCDC_GAMMA_BITS_11_2, align 4, !tbaa !8
%12 = load i32, ptr @CCDC_ALAW, align 4, !tbaa !8
%13 = tail call i32 @regw(i32 noundef %11, i32 noundef %12) #2
ret void
}
declare i32 @ccdc_enable(i32 noundef) local_unnamed_addr #1
declare i32 @regw(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 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_drivers_media_platform_davinci_extr_dm644x_ccdc.c_ccdc_restore_defaults |
; ModuleID = 'AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_NV_path_rendering.c'
source_filename = "AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_NV_path_rendering.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GLAD_GL_NV_path_rendering = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"glGenPathsNV\00", align 1
@glad_glGenPathsNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [16 x i8] c"glDeletePathsNV\00", align 1
@glad_glDeletePathsNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [11 x i8] c"glIsPathNV\00", align 1
@glad_glIsPathNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [17 x i8] c"glPathCommandsNV\00", align 1
@glad_glPathCommandsNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [15 x i8] c"glPathCoordsNV\00", align 1
@glad_glPathCoordsNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.5 = private unnamed_addr constant [20 x i8] c"glPathSubCommandsNV\00", align 1
@glad_glPathSubCommandsNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.6 = private unnamed_addr constant [18 x i8] c"glPathSubCoordsNV\00", align 1
@glad_glPathSubCoordsNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.7 = private unnamed_addr constant [15 x i8] c"glPathStringNV\00", align 1
@glad_glPathStringNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.8 = private unnamed_addr constant [15 x i8] c"glPathGlyphsNV\00", align 1
@glad_glPathGlyphsNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.9 = private unnamed_addr constant [19 x i8] c"glPathGlyphRangeNV\00", align 1
@glad_glPathGlyphRangeNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.10 = private unnamed_addr constant [16 x i8] c"glWeightPathsNV\00", align 1
@glad_glWeightPathsNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.11 = private unnamed_addr constant [13 x i8] c"glCopyPathNV\00", align 1
@glad_glCopyPathNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.12 = private unnamed_addr constant [21 x i8] c"glInterpolatePathsNV\00", align 1
@glad_glInterpolatePathsNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.13 = private unnamed_addr constant [18 x i8] c"glTransformPathNV\00", align 1
@glad_glTransformPathNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.14 = private unnamed_addr constant [20 x i8] c"glPathParameterivNV\00", align 1
@glad_glPathParameterivNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.15 = private unnamed_addr constant [19 x i8] c"glPathParameteriNV\00", align 1
@glad_glPathParameteriNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.16 = private unnamed_addr constant [20 x i8] c"glPathParameterfvNV\00", align 1
@glad_glPathParameterfvNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.17 = private unnamed_addr constant [19 x i8] c"glPathParameterfNV\00", align 1
@glad_glPathParameterfNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.18 = private unnamed_addr constant [18 x i8] c"glPathDashArrayNV\00", align 1
@glad_glPathDashArrayNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.19 = private unnamed_addr constant [20 x i8] c"glPathStencilFuncNV\00", align 1
@glad_glPathStencilFuncNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.20 = private unnamed_addr constant [27 x i8] c"glPathStencilDepthOffsetNV\00", align 1
@glad_glPathStencilDepthOffsetNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.21 = private unnamed_addr constant [20 x i8] c"glStencilFillPathNV\00", align 1
@glad_glStencilFillPathNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.22 = private unnamed_addr constant [22 x i8] c"glStencilStrokePathNV\00", align 1
@glad_glStencilStrokePathNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.23 = private unnamed_addr constant [29 x i8] c"glStencilFillPathInstancedNV\00", align 1
@glad_glStencilFillPathInstancedNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.24 = private unnamed_addr constant [31 x i8] c"glStencilStrokePathInstancedNV\00", align 1
@glad_glStencilStrokePathInstancedNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.25 = private unnamed_addr constant [23 x i8] c"glPathCoverDepthFuncNV\00", align 1
@glad_glPathCoverDepthFuncNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.26 = private unnamed_addr constant [17 x i8] c"glPathColorGenNV\00", align 1
@glad_glPathColorGenNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.27 = private unnamed_addr constant [15 x i8] c"glPathTexGenNV\00", align 1
@glad_glPathTexGenNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.28 = private unnamed_addr constant [15 x i8] c"glPathFogGenNV\00", align 1
@glad_glPathFogGenNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.29 = private unnamed_addr constant [18 x i8] c"glCoverFillPathNV\00", align 1
@glad_glCoverFillPathNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.30 = private unnamed_addr constant [20 x i8] c"glCoverStrokePathNV\00", align 1
@glad_glCoverStrokePathNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.31 = private unnamed_addr constant [27 x i8] c"glCoverFillPathInstancedNV\00", align 1
@glad_glCoverFillPathInstancedNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.32 = private unnamed_addr constant [29 x i8] c"glCoverStrokePathInstancedNV\00", align 1
@glad_glCoverStrokePathInstancedNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.33 = private unnamed_addr constant [23 x i8] c"glGetPathParameterivNV\00", align 1
@glad_glGetPathParameterivNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.34 = private unnamed_addr constant [23 x i8] c"glGetPathParameterfvNV\00", align 1
@glad_glGetPathParameterfvNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.35 = private unnamed_addr constant [20 x i8] c"glGetPathCommandsNV\00", align 1
@glad_glGetPathCommandsNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.36 = private unnamed_addr constant [18 x i8] c"glGetPathCoordsNV\00", align 1
@glad_glGetPathCoordsNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.37 = private unnamed_addr constant [21 x i8] c"glGetPathDashArrayNV\00", align 1
@glad_glGetPathDashArrayNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.38 = private unnamed_addr constant [19 x i8] c"glGetPathMetricsNV\00", align 1
@glad_glGetPathMetricsNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.39 = private unnamed_addr constant [23 x i8] c"glGetPathMetricRangeNV\00", align 1
@glad_glGetPathMetricRangeNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.40 = private unnamed_addr constant [19 x i8] c"glGetPathSpacingNV\00", align 1
@glad_glGetPathSpacingNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.41 = private unnamed_addr constant [22 x i8] c"glGetPathColorGenivNV\00", align 1
@glad_glGetPathColorGenivNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.42 = private unnamed_addr constant [22 x i8] c"glGetPathColorGenfvNV\00", align 1
@glad_glGetPathColorGenfvNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.43 = private unnamed_addr constant [20 x i8] c"glGetPathTexGenivNV\00", align 1
@glad_glGetPathTexGenivNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.44 = private unnamed_addr constant [20 x i8] c"glGetPathTexGenfvNV\00", align 1
@glad_glGetPathTexGenfvNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.45 = private unnamed_addr constant [22 x i8] c"glIsPointInFillPathNV\00", align 1
@glad_glIsPointInFillPathNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.46 = private unnamed_addr constant [24 x i8] c"glIsPointInStrokePathNV\00", align 1
@glad_glIsPointInStrokePathNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.47 = private unnamed_addr constant [18 x i8] c"glGetPathLengthNV\00", align 1
@glad_glGetPathLengthNV = dso_local local_unnamed_addr global i64 0, align 8
@.str.48 = private unnamed_addr constant [19 x i8] c"glPointAlongPathNV\00", align 1
@glad_glPointAlongPathNV = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @load_GL_NV_path_rendering], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @load_GL_NV_path_rendering(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @GLAD_GL_NV_path_rendering, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %54, label %4
4: ; preds = %1
%5 = tail call i64 %0(ptr noundef nonnull @.str) #1
store i64 %5, ptr @glad_glGenPathsNV, align 8, !tbaa !9
%6 = tail call i64 %0(ptr noundef nonnull @.str.1) #1
store i64 %6, ptr @glad_glDeletePathsNV, align 8, !tbaa !9
%7 = tail call i64 %0(ptr noundef nonnull @.str.2) #1
store i64 %7, ptr @glad_glIsPathNV, align 8, !tbaa !9
%8 = tail call i64 %0(ptr noundef nonnull @.str.3) #1
store i64 %8, ptr @glad_glPathCommandsNV, align 8, !tbaa !9
%9 = tail call i64 %0(ptr noundef nonnull @.str.4) #1
store i64 %9, ptr @glad_glPathCoordsNV, align 8, !tbaa !9
%10 = tail call i64 %0(ptr noundef nonnull @.str.5) #1
store i64 %10, ptr @glad_glPathSubCommandsNV, align 8, !tbaa !9
%11 = tail call i64 %0(ptr noundef nonnull @.str.6) #1
store i64 %11, ptr @glad_glPathSubCoordsNV, align 8, !tbaa !9
%12 = tail call i64 %0(ptr noundef nonnull @.str.7) #1
store i64 %12, ptr @glad_glPathStringNV, align 8, !tbaa !9
%13 = tail call i64 %0(ptr noundef nonnull @.str.8) #1
store i64 %13, ptr @glad_glPathGlyphsNV, align 8, !tbaa !9
%14 = tail call i64 %0(ptr noundef nonnull @.str.9) #1
store i64 %14, ptr @glad_glPathGlyphRangeNV, align 8, !tbaa !9
%15 = tail call i64 %0(ptr noundef nonnull @.str.10) #1
store i64 %15, ptr @glad_glWeightPathsNV, align 8, !tbaa !9
%16 = tail call i64 %0(ptr noundef nonnull @.str.11) #1
store i64 %16, ptr @glad_glCopyPathNV, align 8, !tbaa !9
%17 = tail call i64 %0(ptr noundef nonnull @.str.12) #1
store i64 %17, ptr @glad_glInterpolatePathsNV, align 8, !tbaa !9
%18 = tail call i64 %0(ptr noundef nonnull @.str.13) #1
store i64 %18, ptr @glad_glTransformPathNV, align 8, !tbaa !9
%19 = tail call i64 %0(ptr noundef nonnull @.str.14) #1
store i64 %19, ptr @glad_glPathParameterivNV, align 8, !tbaa !9
%20 = tail call i64 %0(ptr noundef nonnull @.str.15) #1
store i64 %20, ptr @glad_glPathParameteriNV, align 8, !tbaa !9
%21 = tail call i64 %0(ptr noundef nonnull @.str.16) #1
store i64 %21, ptr @glad_glPathParameterfvNV, align 8, !tbaa !9
%22 = tail call i64 %0(ptr noundef nonnull @.str.17) #1
store i64 %22, ptr @glad_glPathParameterfNV, align 8, !tbaa !9
%23 = tail call i64 %0(ptr noundef nonnull @.str.18) #1
store i64 %23, ptr @glad_glPathDashArrayNV, align 8, !tbaa !9
%24 = tail call i64 %0(ptr noundef nonnull @.str.19) #1
store i64 %24, ptr @glad_glPathStencilFuncNV, align 8, !tbaa !9
%25 = tail call i64 %0(ptr noundef nonnull @.str.20) #1
store i64 %25, ptr @glad_glPathStencilDepthOffsetNV, align 8, !tbaa !9
%26 = tail call i64 %0(ptr noundef nonnull @.str.21) #1
store i64 %26, ptr @glad_glStencilFillPathNV, align 8, !tbaa !9
%27 = tail call i64 %0(ptr noundef nonnull @.str.22) #1
store i64 %27, ptr @glad_glStencilStrokePathNV, align 8, !tbaa !9
%28 = tail call i64 %0(ptr noundef nonnull @.str.23) #1
store i64 %28, ptr @glad_glStencilFillPathInstancedNV, align 8, !tbaa !9
%29 = tail call i64 %0(ptr noundef nonnull @.str.24) #1
store i64 %29, ptr @glad_glStencilStrokePathInstancedNV, align 8, !tbaa !9
%30 = tail call i64 %0(ptr noundef nonnull @.str.25) #1
store i64 %30, ptr @glad_glPathCoverDepthFuncNV, align 8, !tbaa !9
%31 = tail call i64 %0(ptr noundef nonnull @.str.26) #1
store i64 %31, ptr @glad_glPathColorGenNV, align 8, !tbaa !9
%32 = tail call i64 %0(ptr noundef nonnull @.str.27) #1
store i64 %32, ptr @glad_glPathTexGenNV, align 8, !tbaa !9
%33 = tail call i64 %0(ptr noundef nonnull @.str.28) #1
store i64 %33, ptr @glad_glPathFogGenNV, align 8, !tbaa !9
%34 = tail call i64 %0(ptr noundef nonnull @.str.29) #1
store i64 %34, ptr @glad_glCoverFillPathNV, align 8, !tbaa !9
%35 = tail call i64 %0(ptr noundef nonnull @.str.30) #1
store i64 %35, ptr @glad_glCoverStrokePathNV, align 8, !tbaa !9
%36 = tail call i64 %0(ptr noundef nonnull @.str.31) #1
store i64 %36, ptr @glad_glCoverFillPathInstancedNV, align 8, !tbaa !9
%37 = tail call i64 %0(ptr noundef nonnull @.str.32) #1
store i64 %37, ptr @glad_glCoverStrokePathInstancedNV, align 8, !tbaa !9
%38 = tail call i64 %0(ptr noundef nonnull @.str.33) #1
store i64 %38, ptr @glad_glGetPathParameterivNV, align 8, !tbaa !9
%39 = tail call i64 %0(ptr noundef nonnull @.str.34) #1
store i64 %39, ptr @glad_glGetPathParameterfvNV, align 8, !tbaa !9
%40 = tail call i64 %0(ptr noundef nonnull @.str.35) #1
store i64 %40, ptr @glad_glGetPathCommandsNV, align 8, !tbaa !9
%41 = tail call i64 %0(ptr noundef nonnull @.str.36) #1
store i64 %41, ptr @glad_glGetPathCoordsNV, align 8, !tbaa !9
%42 = tail call i64 %0(ptr noundef nonnull @.str.37) #1
store i64 %42, ptr @glad_glGetPathDashArrayNV, align 8, !tbaa !9
%43 = tail call i64 %0(ptr noundef nonnull @.str.38) #1
store i64 %43, ptr @glad_glGetPathMetricsNV, align 8, !tbaa !9
%44 = tail call i64 %0(ptr noundef nonnull @.str.39) #1
store i64 %44, ptr @glad_glGetPathMetricRangeNV, align 8, !tbaa !9
%45 = tail call i64 %0(ptr noundef nonnull @.str.40) #1
store i64 %45, ptr @glad_glGetPathSpacingNV, align 8, !tbaa !9
%46 = tail call i64 %0(ptr noundef nonnull @.str.41) #1
store i64 %46, ptr @glad_glGetPathColorGenivNV, align 8, !tbaa !9
%47 = tail call i64 %0(ptr noundef nonnull @.str.42) #1
store i64 %47, ptr @glad_glGetPathColorGenfvNV, align 8, !tbaa !9
%48 = tail call i64 %0(ptr noundef nonnull @.str.43) #1
store i64 %48, ptr @glad_glGetPathTexGenivNV, align 8, !tbaa !9
%49 = tail call i64 %0(ptr noundef nonnull @.str.44) #1
store i64 %49, ptr @glad_glGetPathTexGenfvNV, align 8, !tbaa !9
%50 = tail call i64 %0(ptr noundef nonnull @.str.45) #1
store i64 %50, ptr @glad_glIsPointInFillPathNV, align 8, !tbaa !9
%51 = tail call i64 %0(ptr noundef nonnull @.str.46) #1
store i64 %51, ptr @glad_glIsPointInStrokePathNV, align 8, !tbaa !9
%52 = tail call i64 %0(ptr noundef nonnull @.str.47) #1
store i64 %52, ptr @glad_glGetPathLengthNV, align 8, !tbaa !9
%53 = tail call i64 %0(ptr noundef nonnull @.str.48) #1
store i64 %53, ptr @glad_glPointAlongPathNV, align 8, !tbaa !9
br label %54
54: ; preds = %1, %4
ret void
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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/obs-studio/deps/glad/src/extr_glad.c_load_GL_NV_path_rendering.c'
source_filename = "AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_NV_path_rendering.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GLAD_GL_NV_path_rendering = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"glGenPathsNV\00", align 1
@glad_glGenPathsNV = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [16 x i8] c"glDeletePathsNV\00", align 1
@glad_glDeletePathsNV = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [11 x i8] c"glIsPathNV\00", align 1
@glad_glIsPathNV = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [17 x i8] c"glPathCommandsNV\00", align 1
@glad_glPathCommandsNV = common local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [15 x i8] c"glPathCoordsNV\00", align 1
@glad_glPathCoordsNV = common local_unnamed_addr global i64 0, align 8
@.str.5 = private unnamed_addr constant [20 x i8] c"glPathSubCommandsNV\00", align 1
@glad_glPathSubCommandsNV = common local_unnamed_addr global i64 0, align 8
@.str.6 = private unnamed_addr constant [18 x i8] c"glPathSubCoordsNV\00", align 1
@glad_glPathSubCoordsNV = common local_unnamed_addr global i64 0, align 8
@.str.7 = private unnamed_addr constant [15 x i8] c"glPathStringNV\00", align 1
@glad_glPathStringNV = common local_unnamed_addr global i64 0, align 8
@.str.8 = private unnamed_addr constant [15 x i8] c"glPathGlyphsNV\00", align 1
@glad_glPathGlyphsNV = common local_unnamed_addr global i64 0, align 8
@.str.9 = private unnamed_addr constant [19 x i8] c"glPathGlyphRangeNV\00", align 1
@glad_glPathGlyphRangeNV = common local_unnamed_addr global i64 0, align 8
@.str.10 = private unnamed_addr constant [16 x i8] c"glWeightPathsNV\00", align 1
@glad_glWeightPathsNV = common local_unnamed_addr global i64 0, align 8
@.str.11 = private unnamed_addr constant [13 x i8] c"glCopyPathNV\00", align 1
@glad_glCopyPathNV = common local_unnamed_addr global i64 0, align 8
@.str.12 = private unnamed_addr constant [21 x i8] c"glInterpolatePathsNV\00", align 1
@glad_glInterpolatePathsNV = common local_unnamed_addr global i64 0, align 8
@.str.13 = private unnamed_addr constant [18 x i8] c"glTransformPathNV\00", align 1
@glad_glTransformPathNV = common local_unnamed_addr global i64 0, align 8
@.str.14 = private unnamed_addr constant [20 x i8] c"glPathParameterivNV\00", align 1
@glad_glPathParameterivNV = common local_unnamed_addr global i64 0, align 8
@.str.15 = private unnamed_addr constant [19 x i8] c"glPathParameteriNV\00", align 1
@glad_glPathParameteriNV = common local_unnamed_addr global i64 0, align 8
@.str.16 = private unnamed_addr constant [20 x i8] c"glPathParameterfvNV\00", align 1
@glad_glPathParameterfvNV = common local_unnamed_addr global i64 0, align 8
@.str.17 = private unnamed_addr constant [19 x i8] c"glPathParameterfNV\00", align 1
@glad_glPathParameterfNV = common local_unnamed_addr global i64 0, align 8
@.str.18 = private unnamed_addr constant [18 x i8] c"glPathDashArrayNV\00", align 1
@glad_glPathDashArrayNV = common local_unnamed_addr global i64 0, align 8
@.str.19 = private unnamed_addr constant [20 x i8] c"glPathStencilFuncNV\00", align 1
@glad_glPathStencilFuncNV = common local_unnamed_addr global i64 0, align 8
@.str.20 = private unnamed_addr constant [27 x i8] c"glPathStencilDepthOffsetNV\00", align 1
@glad_glPathStencilDepthOffsetNV = common local_unnamed_addr global i64 0, align 8
@.str.21 = private unnamed_addr constant [20 x i8] c"glStencilFillPathNV\00", align 1
@glad_glStencilFillPathNV = common local_unnamed_addr global i64 0, align 8
@.str.22 = private unnamed_addr constant [22 x i8] c"glStencilStrokePathNV\00", align 1
@glad_glStencilStrokePathNV = common local_unnamed_addr global i64 0, align 8
@.str.23 = private unnamed_addr constant [29 x i8] c"glStencilFillPathInstancedNV\00", align 1
@glad_glStencilFillPathInstancedNV = common local_unnamed_addr global i64 0, align 8
@.str.24 = private unnamed_addr constant [31 x i8] c"glStencilStrokePathInstancedNV\00", align 1
@glad_glStencilStrokePathInstancedNV = common local_unnamed_addr global i64 0, align 8
@.str.25 = private unnamed_addr constant [23 x i8] c"glPathCoverDepthFuncNV\00", align 1
@glad_glPathCoverDepthFuncNV = common local_unnamed_addr global i64 0, align 8
@.str.26 = private unnamed_addr constant [17 x i8] c"glPathColorGenNV\00", align 1
@glad_glPathColorGenNV = common local_unnamed_addr global i64 0, align 8
@.str.27 = private unnamed_addr constant [15 x i8] c"glPathTexGenNV\00", align 1
@glad_glPathTexGenNV = common local_unnamed_addr global i64 0, align 8
@.str.28 = private unnamed_addr constant [15 x i8] c"glPathFogGenNV\00", align 1
@glad_glPathFogGenNV = common local_unnamed_addr global i64 0, align 8
@.str.29 = private unnamed_addr constant [18 x i8] c"glCoverFillPathNV\00", align 1
@glad_glCoverFillPathNV = common local_unnamed_addr global i64 0, align 8
@.str.30 = private unnamed_addr constant [20 x i8] c"glCoverStrokePathNV\00", align 1
@glad_glCoverStrokePathNV = common local_unnamed_addr global i64 0, align 8
@.str.31 = private unnamed_addr constant [27 x i8] c"glCoverFillPathInstancedNV\00", align 1
@glad_glCoverFillPathInstancedNV = common local_unnamed_addr global i64 0, align 8
@.str.32 = private unnamed_addr constant [29 x i8] c"glCoverStrokePathInstancedNV\00", align 1
@glad_glCoverStrokePathInstancedNV = common local_unnamed_addr global i64 0, align 8
@.str.33 = private unnamed_addr constant [23 x i8] c"glGetPathParameterivNV\00", align 1
@glad_glGetPathParameterivNV = common local_unnamed_addr global i64 0, align 8
@.str.34 = private unnamed_addr constant [23 x i8] c"glGetPathParameterfvNV\00", align 1
@glad_glGetPathParameterfvNV = common local_unnamed_addr global i64 0, align 8
@.str.35 = private unnamed_addr constant [20 x i8] c"glGetPathCommandsNV\00", align 1
@glad_glGetPathCommandsNV = common local_unnamed_addr global i64 0, align 8
@.str.36 = private unnamed_addr constant [18 x i8] c"glGetPathCoordsNV\00", align 1
@glad_glGetPathCoordsNV = common local_unnamed_addr global i64 0, align 8
@.str.37 = private unnamed_addr constant [21 x i8] c"glGetPathDashArrayNV\00", align 1
@glad_glGetPathDashArrayNV = common local_unnamed_addr global i64 0, align 8
@.str.38 = private unnamed_addr constant [19 x i8] c"glGetPathMetricsNV\00", align 1
@glad_glGetPathMetricsNV = common local_unnamed_addr global i64 0, align 8
@.str.39 = private unnamed_addr constant [23 x i8] c"glGetPathMetricRangeNV\00", align 1
@glad_glGetPathMetricRangeNV = common local_unnamed_addr global i64 0, align 8
@.str.40 = private unnamed_addr constant [19 x i8] c"glGetPathSpacingNV\00", align 1
@glad_glGetPathSpacingNV = common local_unnamed_addr global i64 0, align 8
@.str.41 = private unnamed_addr constant [22 x i8] c"glGetPathColorGenivNV\00", align 1
@glad_glGetPathColorGenivNV = common local_unnamed_addr global i64 0, align 8
@.str.42 = private unnamed_addr constant [22 x i8] c"glGetPathColorGenfvNV\00", align 1
@glad_glGetPathColorGenfvNV = common local_unnamed_addr global i64 0, align 8
@.str.43 = private unnamed_addr constant [20 x i8] c"glGetPathTexGenivNV\00", align 1
@glad_glGetPathTexGenivNV = common local_unnamed_addr global i64 0, align 8
@.str.44 = private unnamed_addr constant [20 x i8] c"glGetPathTexGenfvNV\00", align 1
@glad_glGetPathTexGenfvNV = common local_unnamed_addr global i64 0, align 8
@.str.45 = private unnamed_addr constant [22 x i8] c"glIsPointInFillPathNV\00", align 1
@glad_glIsPointInFillPathNV = common local_unnamed_addr global i64 0, align 8
@.str.46 = private unnamed_addr constant [24 x i8] c"glIsPointInStrokePathNV\00", align 1
@glad_glIsPointInStrokePathNV = common local_unnamed_addr global i64 0, align 8
@.str.47 = private unnamed_addr constant [18 x i8] c"glGetPathLengthNV\00", align 1
@glad_glGetPathLengthNV = common local_unnamed_addr global i64 0, align 8
@.str.48 = private unnamed_addr constant [19 x i8] c"glPointAlongPathNV\00", align 1
@glad_glPointAlongPathNV = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @load_GL_NV_path_rendering], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @load_GL_NV_path_rendering(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @GLAD_GL_NV_path_rendering, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %54, label %4
4: ; preds = %1
%5 = tail call i64 %0(ptr noundef nonnull @.str) #1
store i64 %5, ptr @glad_glGenPathsNV, align 8, !tbaa !10
%6 = tail call i64 %0(ptr noundef nonnull @.str.1) #1
store i64 %6, ptr @glad_glDeletePathsNV, align 8, !tbaa !10
%7 = tail call i64 %0(ptr noundef nonnull @.str.2) #1
store i64 %7, ptr @glad_glIsPathNV, align 8, !tbaa !10
%8 = tail call i64 %0(ptr noundef nonnull @.str.3) #1
store i64 %8, ptr @glad_glPathCommandsNV, align 8, !tbaa !10
%9 = tail call i64 %0(ptr noundef nonnull @.str.4) #1
store i64 %9, ptr @glad_glPathCoordsNV, align 8, !tbaa !10
%10 = tail call i64 %0(ptr noundef nonnull @.str.5) #1
store i64 %10, ptr @glad_glPathSubCommandsNV, align 8, !tbaa !10
%11 = tail call i64 %0(ptr noundef nonnull @.str.6) #1
store i64 %11, ptr @glad_glPathSubCoordsNV, align 8, !tbaa !10
%12 = tail call i64 %0(ptr noundef nonnull @.str.7) #1
store i64 %12, ptr @glad_glPathStringNV, align 8, !tbaa !10
%13 = tail call i64 %0(ptr noundef nonnull @.str.8) #1
store i64 %13, ptr @glad_glPathGlyphsNV, align 8, !tbaa !10
%14 = tail call i64 %0(ptr noundef nonnull @.str.9) #1
store i64 %14, ptr @glad_glPathGlyphRangeNV, align 8, !tbaa !10
%15 = tail call i64 %0(ptr noundef nonnull @.str.10) #1
store i64 %15, ptr @glad_glWeightPathsNV, align 8, !tbaa !10
%16 = tail call i64 %0(ptr noundef nonnull @.str.11) #1
store i64 %16, ptr @glad_glCopyPathNV, align 8, !tbaa !10
%17 = tail call i64 %0(ptr noundef nonnull @.str.12) #1
store i64 %17, ptr @glad_glInterpolatePathsNV, align 8, !tbaa !10
%18 = tail call i64 %0(ptr noundef nonnull @.str.13) #1
store i64 %18, ptr @glad_glTransformPathNV, align 8, !tbaa !10
%19 = tail call i64 %0(ptr noundef nonnull @.str.14) #1
store i64 %19, ptr @glad_glPathParameterivNV, align 8, !tbaa !10
%20 = tail call i64 %0(ptr noundef nonnull @.str.15) #1
store i64 %20, ptr @glad_glPathParameteriNV, align 8, !tbaa !10
%21 = tail call i64 %0(ptr noundef nonnull @.str.16) #1
store i64 %21, ptr @glad_glPathParameterfvNV, align 8, !tbaa !10
%22 = tail call i64 %0(ptr noundef nonnull @.str.17) #1
store i64 %22, ptr @glad_glPathParameterfNV, align 8, !tbaa !10
%23 = tail call i64 %0(ptr noundef nonnull @.str.18) #1
store i64 %23, ptr @glad_glPathDashArrayNV, align 8, !tbaa !10
%24 = tail call i64 %0(ptr noundef nonnull @.str.19) #1
store i64 %24, ptr @glad_glPathStencilFuncNV, align 8, !tbaa !10
%25 = tail call i64 %0(ptr noundef nonnull @.str.20) #1
store i64 %25, ptr @glad_glPathStencilDepthOffsetNV, align 8, !tbaa !10
%26 = tail call i64 %0(ptr noundef nonnull @.str.21) #1
store i64 %26, ptr @glad_glStencilFillPathNV, align 8, !tbaa !10
%27 = tail call i64 %0(ptr noundef nonnull @.str.22) #1
store i64 %27, ptr @glad_glStencilStrokePathNV, align 8, !tbaa !10
%28 = tail call i64 %0(ptr noundef nonnull @.str.23) #1
store i64 %28, ptr @glad_glStencilFillPathInstancedNV, align 8, !tbaa !10
%29 = tail call i64 %0(ptr noundef nonnull @.str.24) #1
store i64 %29, ptr @glad_glStencilStrokePathInstancedNV, align 8, !tbaa !10
%30 = tail call i64 %0(ptr noundef nonnull @.str.25) #1
store i64 %30, ptr @glad_glPathCoverDepthFuncNV, align 8, !tbaa !10
%31 = tail call i64 %0(ptr noundef nonnull @.str.26) #1
store i64 %31, ptr @glad_glPathColorGenNV, align 8, !tbaa !10
%32 = tail call i64 %0(ptr noundef nonnull @.str.27) #1
store i64 %32, ptr @glad_glPathTexGenNV, align 8, !tbaa !10
%33 = tail call i64 %0(ptr noundef nonnull @.str.28) #1
store i64 %33, ptr @glad_glPathFogGenNV, align 8, !tbaa !10
%34 = tail call i64 %0(ptr noundef nonnull @.str.29) #1
store i64 %34, ptr @glad_glCoverFillPathNV, align 8, !tbaa !10
%35 = tail call i64 %0(ptr noundef nonnull @.str.30) #1
store i64 %35, ptr @glad_glCoverStrokePathNV, align 8, !tbaa !10
%36 = tail call i64 %0(ptr noundef nonnull @.str.31) #1
store i64 %36, ptr @glad_glCoverFillPathInstancedNV, align 8, !tbaa !10
%37 = tail call i64 %0(ptr noundef nonnull @.str.32) #1
store i64 %37, ptr @glad_glCoverStrokePathInstancedNV, align 8, !tbaa !10
%38 = tail call i64 %0(ptr noundef nonnull @.str.33) #1
store i64 %38, ptr @glad_glGetPathParameterivNV, align 8, !tbaa !10
%39 = tail call i64 %0(ptr noundef nonnull @.str.34) #1
store i64 %39, ptr @glad_glGetPathParameterfvNV, align 8, !tbaa !10
%40 = tail call i64 %0(ptr noundef nonnull @.str.35) #1
store i64 %40, ptr @glad_glGetPathCommandsNV, align 8, !tbaa !10
%41 = tail call i64 %0(ptr noundef nonnull @.str.36) #1
store i64 %41, ptr @glad_glGetPathCoordsNV, align 8, !tbaa !10
%42 = tail call i64 %0(ptr noundef nonnull @.str.37) #1
store i64 %42, ptr @glad_glGetPathDashArrayNV, align 8, !tbaa !10
%43 = tail call i64 %0(ptr noundef nonnull @.str.38) #1
store i64 %43, ptr @glad_glGetPathMetricsNV, align 8, !tbaa !10
%44 = tail call i64 %0(ptr noundef nonnull @.str.39) #1
store i64 %44, ptr @glad_glGetPathMetricRangeNV, align 8, !tbaa !10
%45 = tail call i64 %0(ptr noundef nonnull @.str.40) #1
store i64 %45, ptr @glad_glGetPathSpacingNV, align 8, !tbaa !10
%46 = tail call i64 %0(ptr noundef nonnull @.str.41) #1
store i64 %46, ptr @glad_glGetPathColorGenivNV, align 8, !tbaa !10
%47 = tail call i64 %0(ptr noundef nonnull @.str.42) #1
store i64 %47, ptr @glad_glGetPathColorGenfvNV, align 8, !tbaa !10
%48 = tail call i64 %0(ptr noundef nonnull @.str.43) #1
store i64 %48, ptr @glad_glGetPathTexGenivNV, align 8, !tbaa !10
%49 = tail call i64 %0(ptr noundef nonnull @.str.44) #1
store i64 %49, ptr @glad_glGetPathTexGenfvNV, align 8, !tbaa !10
%50 = tail call i64 %0(ptr noundef nonnull @.str.45) #1
store i64 %50, ptr @glad_glIsPointInFillPathNV, align 8, !tbaa !10
%51 = tail call i64 %0(ptr noundef nonnull @.str.46) #1
store i64 %51, ptr @glad_glIsPointInStrokePathNV, align 8, !tbaa !10
%52 = tail call i64 %0(ptr noundef nonnull @.str.47) #1
store i64 %52, ptr @glad_glGetPathLengthNV, align 8, !tbaa !10
%53 = tail call i64 %0(ptr noundef nonnull @.str.48) #1
store i64 %53, ptr @glad_glPointAlongPathNV, align 8, !tbaa !10
br label %54
54: ; preds = %1, %4
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| obs-studio_deps_glad_src_extr_glad.c_load_GL_NV_path_rendering |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/ui/extr_ui_syscalls.c_trap_FS_FCloseFile.c'
source_filename = "AnghaBench/Quake-III-Arena/code/ui/extr_ui_syscalls.c_trap_FS_FCloseFile.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UI_FS_FCLOSEFILE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @trap_FS_FCloseFile(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @UI_FS_FCLOSEFILE, align 4, !tbaa !5
%3 = tail call i32 @syscall(i32 noundef %2, i32 noundef %0) #2
ret void
}
declare i32 @syscall(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/Quake-III-Arena/code/ui/extr_ui_syscalls.c_trap_FS_FCloseFile.c'
source_filename = "AnghaBench/Quake-III-Arena/code/ui/extr_ui_syscalls.c_trap_FS_FCloseFile.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UI_FS_FCLOSEFILE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @trap_FS_FCloseFile(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @UI_FS_FCLOSEFILE, align 4, !tbaa !6
%3 = tail call i32 @syscall(i32 noundef %2, i32 noundef %0) #2
ret void
}
declare i32 @syscall(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"}
| Quake-III-Arena_code_ui_extr_ui_syscalls.c_trap_FS_FCloseFile |
; ModuleID = 'AnghaBench/sumatrapdf/ext/mujs/extr_jsstring.c_Sp_split_string.c'
source_filename = "AnghaBench/sumatrapdf/ext/mujs/extr_jsstring.c_Sp_split_string.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @Sp_split_string], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @Sp_split_string(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = tail call ptr @checkstring(ptr noundef %0, i32 noundef 0) #4
%4 = tail call ptr @js_tostring(ptr noundef %0, i32 noundef 1) #4
%5 = tail call i64 @js_isdefined(ptr noundef %0, i32 noundef 2) #4
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = tail call i32 @js_tointeger(ptr noundef %0, i32 noundef 2) #4
br label %9
9: ; preds = %1, %7
%10 = phi i32 [ %8, %7 ], [ 1073741824, %1 ]
%11 = tail call i32 @js_newarray(ptr noundef %0) #4
%12 = tail call i32 @strlen(ptr noundef %4) #4
%13 = icmp eq i32 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %9
%15 = icmp ne ptr %3, null
%16 = icmp sgt i32 %10, 0
%17 = select i1 %15, i1 %16, i1 false
br i1 %17, label %18, label %57
18: ; preds = %14
%19 = sext i32 %12 to i64
br label %39
20: ; preds = %9
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%21 = load i8, ptr %3, align 1, !tbaa !5
%22 = icmp ne i8 %21, 0
%23 = icmp sgt i32 %10, 0
%24 = select i1 %22, i1 %23, i1 false
br i1 %24, label %25, label %38
25: ; preds = %20, %25
%26 = phi ptr [ %32, %25 ], [ %3, %20 ]
%27 = phi i32 [ %33, %25 ], [ 0, %20 ]
%28 = call i32 @chartorune(ptr noundef nonnull %2, ptr noundef nonnull %26) #4
%29 = call i32 @js_pushlstring(ptr noundef %0, ptr noundef nonnull %26, i32 noundef %28) #4
%30 = call i32 @js_setindex(ptr noundef %0, i32 noundef -2, i32 noundef %27) #4
%31 = sext i32 %28 to i64
%32 = getelementptr inbounds i8, ptr %26, i64 %31
%33 = add nuw nsw i32 %27, 1
%34 = load i8, ptr %32, align 1, !tbaa !5
%35 = icmp ne i8 %34, 0
%36 = icmp slt i32 %33, %10
%37 = select i1 %35, i1 %36, i1 false
br i1 %37, label %25, label %38, !llvm.loop !8
38: ; preds = %25, %20
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
br label %57
39: ; preds = %18, %47
%40 = phi ptr [ %3, %18 ], [ %54, %47 ]
%41 = phi i32 [ 0, %18 ], [ %55, %47 ]
%42 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %40, ptr noundef nonnull dereferenceable(1) %4)
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %47
44: ; preds = %39
%45 = tail call i32 @js_pushstring(ptr noundef %0, ptr noundef nonnull %40) #4
%46 = tail call i32 @js_setindex(ptr noundef %0, i32 noundef -2, i32 noundef %41) #4
br label %57
47: ; preds = %39
%48 = ptrtoint ptr %42 to i64
%49 = ptrtoint ptr %40 to i64
%50 = sub i64 %48, %49
%51 = trunc i64 %50 to i32
%52 = tail call i32 @js_pushlstring(ptr noundef %0, ptr noundef nonnull %40, i32 noundef %51) #4
%53 = tail call i32 @js_setindex(ptr noundef %0, i32 noundef -2, i32 noundef %41) #4
%54 = getelementptr inbounds i8, ptr %42, i64 %19
%55 = add nuw nsw i32 %41, 1
%56 = icmp slt i32 %55, %10
br i1 %56, label %39, label %57, !llvm.loop !10
57: ; preds = %47, %44, %14, %38
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @checkstring(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @js_tostring(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @js_isdefined(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @js_tointeger(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @js_newarray(ptr noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @chartorune(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @js_pushlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @js_setindex(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strstr(ptr noundef, ptr nocapture noundef) local_unnamed_addr #3
declare i32 @js_pushstring(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/mujs/extr_jsstring.c_Sp_split_string.c'
source_filename = "AnghaBench/sumatrapdf/ext/mujs/extr_jsstring.c_Sp_split_string.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 @Sp_split_string], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @Sp_split_string(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = tail call ptr @checkstring(ptr noundef %0, i32 noundef 0) #4
%4 = tail call ptr @js_tostring(ptr noundef %0, i32 noundef 1) #4
%5 = tail call i64 @js_isdefined(ptr noundef %0, i32 noundef 2) #4
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = tail call i32 @js_tointeger(ptr noundef %0, i32 noundef 2) #4
br label %9
9: ; preds = %1, %7
%10 = phi i32 [ %8, %7 ], [ 1073741824, %1 ]
%11 = tail call i32 @js_newarray(ptr noundef %0) #4
%12 = tail call i32 @strlen(ptr noundef %4) #4
%13 = icmp eq i32 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %9
%15 = icmp ne ptr %3, null
%16 = icmp sgt i32 %10, 0
%17 = select i1 %15, i1 %16, i1 false
br i1 %17, label %18, label %57
18: ; preds = %14
%19 = sext i32 %12 to i64
br label %39
20: ; preds = %9
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%21 = load i8, ptr %3, align 1, !tbaa !6
%22 = icmp ne i8 %21, 0
%23 = icmp sgt i32 %10, 0
%24 = select i1 %22, i1 %23, i1 false
br i1 %24, label %25, label %38
25: ; preds = %20, %25
%26 = phi ptr [ %32, %25 ], [ %3, %20 ]
%27 = phi i32 [ %33, %25 ], [ 0, %20 ]
%28 = call i32 @chartorune(ptr noundef nonnull %2, ptr noundef nonnull %26) #4
%29 = call i32 @js_pushlstring(ptr noundef %0, ptr noundef nonnull %26, i32 noundef %28) #4
%30 = call i32 @js_setindex(ptr noundef %0, i32 noundef -2, i32 noundef %27) #4
%31 = sext i32 %28 to i64
%32 = getelementptr inbounds i8, ptr %26, i64 %31
%33 = add nuw nsw i32 %27, 1
%34 = load i8, ptr %32, align 1, !tbaa !6
%35 = icmp ne i8 %34, 0
%36 = icmp slt i32 %33, %10
%37 = select i1 %35, i1 %36, i1 false
br i1 %37, label %25, label %38, !llvm.loop !9
38: ; preds = %25, %20
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
br label %57
39: ; preds = %18, %47
%40 = phi ptr [ %3, %18 ], [ %54, %47 ]
%41 = phi i32 [ 0, %18 ], [ %55, %47 ]
%42 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %40, ptr noundef nonnull dereferenceable(1) %4) #4
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %47
44: ; preds = %39
%45 = tail call i32 @js_pushstring(ptr noundef %0, ptr noundef nonnull %40) #4
%46 = tail call i32 @js_setindex(ptr noundef %0, i32 noundef -2, i32 noundef %41) #4
br label %57
47: ; preds = %39
%48 = ptrtoint ptr %42 to i64
%49 = ptrtoint ptr %40 to i64
%50 = sub i64 %48, %49
%51 = trunc i64 %50 to i32
%52 = tail call i32 @js_pushlstring(ptr noundef %0, ptr noundef nonnull %40, i32 noundef %51) #4
%53 = tail call i32 @js_setindex(ptr noundef %0, i32 noundef -2, i32 noundef %41) #4
%54 = getelementptr inbounds i8, ptr %42, i64 %19
%55 = add nuw nsw i32 %41, 1
%56 = icmp slt i32 %55, %10
br i1 %56, label %39, label %57, !llvm.loop !11
57: ; preds = %47, %44, %14, %38
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @checkstring(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @js_tostring(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @js_isdefined(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @js_tointeger(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @js_newarray(ptr noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @chartorune(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @js_pushlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @js_setindex(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strstr(ptr noundef, ptr nocapture noundef) local_unnamed_addr #3
declare i32 @js_pushstring(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
| sumatrapdf_ext_mujs_extr_jsstring.c_Sp_split_string |
; ModuleID = 'AnghaBench/linux/drivers/usb/serial/extr_quatech2.c_qt2_control_msg.c'
source_filename = "AnghaBench/linux/drivers/usb/serial/extr_quatech2.c_qt2_control_msg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@QT2_USB_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qt2_control_msg], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @qt2_control_msg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @usb_sndctrlpipe(ptr noundef %0, i32 noundef 0) #2
%6 = load i32, ptr @QT2_USB_TIMEOUT, align 4, !tbaa !5
%7 = tail call i32 @usb_control_msg(ptr noundef %0, i32 noundef %5, i32 noundef %1, i32 noundef 64, i32 noundef %2, i32 noundef %3, ptr noundef null, i32 noundef 0, i32 noundef %6) #2
ret i32 %7
}
declare i32 @usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_sndctrlpipe(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/serial/extr_quatech2.c_qt2_control_msg.c'
source_filename = "AnghaBench/linux/drivers/usb/serial/extr_quatech2.c_qt2_control_msg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@QT2_USB_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qt2_control_msg], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @qt2_control_msg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @usb_sndctrlpipe(ptr noundef %0, i32 noundef 0) #2
%6 = load i32, ptr @QT2_USB_TIMEOUT, align 4, !tbaa !6
%7 = tail call i32 @usb_control_msg(ptr noundef %0, i32 noundef %5, i32 noundef %1, i32 noundef 64, i32 noundef %2, i32 noundef %3, ptr noundef null, i32 noundef 0, i32 noundef %6) #2
ret i32 %7
}
declare i32 @usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_sndctrlpipe(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_usb_serial_extr_quatech2.c_qt2_control_msg |
; ModuleID = 'AnghaBench/linux/fs/xfs/extr_kmem.h_kmem_zone_free.c'
source_filename = "AnghaBench/linux/fs/xfs/extr_kmem.h_kmem_zone_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 @kmem_zone_free], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @kmem_zone_free(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @kmem_cache_free(ptr noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @kmem_cache_free(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/fs/xfs/extr_kmem.h_kmem_zone_free.c'
source_filename = "AnghaBench/linux/fs/xfs/extr_kmem.h_kmem_zone_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 @kmem_zone_free], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @kmem_zone_free(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @kmem_cache_free(ptr noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @kmem_cache_free(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_fs_xfs_extr_kmem.h_kmem_zone_free |
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_bufferevent_async.c_bev_async_add_read.c'
source_filename = "AnghaBench/freebsd/contrib/libevent/extr_bufferevent_async.c_bev_async_add_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.bufferevent_async = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { %struct.bufferevent }
%struct.bufferevent = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @bev_async_add_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bev_async_add_read(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = getelementptr inbounds %struct.bufferevent_async, ptr %0, i64 0, i32 1
store i32 1, ptr %0, align 4, !tbaa !5
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = tail call i32 @event_base_add_virtual_(i32 noundef %6) #2
br label %8
8: ; preds = %4, %1
ret void
}
declare i32 @event_base_add_virtual_(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 = !{!"bufferevent_async", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"bufferevent", !7, i64 0}
!12 = !{!11, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_bufferevent_async.c_bev_async_add_read.c'
source_filename = "AnghaBench/freebsd/contrib/libevent/extr_bufferevent_async.c_bev_async_add_read.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 @bev_async_add_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bev_async_add_read(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 4
store i32 1, ptr %0, align 4, !tbaa !6
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = tail call i32 @event_base_add_virtual_(i32 noundef %6) #2
br label %8
8: ; preds = %4, %1
ret void
}
declare i32 @event_base_add_virtual_(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 = !{!"bufferevent_async", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"bufferevent", !8, i64 0}
!13 = !{!12, !8, i64 0}
| freebsd_contrib_libevent_extr_bufferevent_async.c_bev_async_add_read |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svnlook/extr_svnlook.c_print_history.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svnlook/extr_svnlook.c_print_history.c"
target datalayout = "e-m:e-p270:32:32-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.print_history_baton = type { i64, i64, i32, i64 }
@.str = private unnamed_addr constant [16 x i8] c"%8ld %s <%s>\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"%8ld %s\0A\00", align 1
@SVN_ERR_CEASE_INVOCATION = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"History item limit reached\00", align 1
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_history], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @print_history(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = tail call i32 @check_cancel(ptr noundef null) #3
%8 = tail call i32 @SVN_ERR(i32 noundef %7) #3
%9 = getelementptr inbounds %struct.print_history_baton, ptr %0, i64 0, i32 3
%10 = load i64, ptr %9, align 8, !tbaa !5
%11 = icmp eq i64 %10, 0
br i1 %11, label %25, label %12
12: ; preds = %4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%13 = getelementptr inbounds %struct.print_history_baton, ptr %0, i64 0, i32 2
%14 = load i32, ptr %13, align 8, !tbaa !11
%15 = call i32 @svn_fs_revision_root(ptr noundef nonnull %6, i32 noundef %14, i32 noundef %2, ptr noundef %3) #3
%16 = call i32 @SVN_ERR(i32 noundef %15) #3
%17 = load ptr, ptr %6, align 8, !tbaa !12
%18 = call i32 @svn_fs_node_id(ptr noundef nonnull %5, ptr noundef %17, ptr noundef %1, ptr noundef %3) #3
%19 = call i32 @SVN_ERR(i32 noundef %18) #3
%20 = load ptr, ptr %5, align 8, !tbaa !12
%21 = call ptr @svn_fs_unparse_id(ptr noundef %20, ptr noundef %3) #3
%22 = load i32, ptr %21, align 4, !tbaa !14
%23 = call i32 (ptr, ptr, i32, ptr, ...) @svn_cmdline_printf(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %2, ptr noundef %1, i32 noundef %22) #3
%24 = call i32 @SVN_ERR(i32 noundef %23) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %28
25: ; preds = %4
%26 = tail call i32 (ptr, ptr, i32, ptr, ...) @svn_cmdline_printf(ptr noundef %3, ptr noundef nonnull @.str.1, i32 noundef %2, ptr noundef %1) #3
%27 = tail call i32 @SVN_ERR(i32 noundef %26) #3
br label %28
28: ; preds = %25, %12
%29 = load i64, ptr %0, align 8, !tbaa !16
%30 = icmp sgt i64 %29, 0
br i1 %30, label %31, label %40
31: ; preds = %28
%32 = getelementptr inbounds %struct.print_history_baton, ptr %0, i64 0, i32 1
%33 = load i64, ptr %32, align 8, !tbaa !17
%34 = add nsw i64 %33, 1
store i64 %34, ptr %32, align 8, !tbaa !17
%35 = icmp slt i64 %34, %29
br i1 %35, label %40, label %36
36: ; preds = %31
%37 = load i32, ptr @SVN_ERR_CEASE_INVOCATION, align 4, !tbaa !18
%38 = call i32 @_(ptr noundef nonnull @.str.2) #3
%39 = call ptr @svn_error_create(i32 noundef %37, ptr noundef null, i32 noundef %38) #3
br label %42
40: ; preds = %31, %28
%41 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !12
br label %42
42: ; preds = %40, %36
%43 = phi ptr [ %39, %36 ], [ %41, %40 ]
ret ptr %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @check_cancel(ptr noundef) local_unnamed_addr #2
declare i32 @svn_fs_revision_root(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_fs_node_id(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_fs_unparse_id(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_cmdline_printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @svn_error_create(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"print_history_baton", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24}
!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 16}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"TYPE_3__", !10, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!6, !7, i64 8}
!18 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svnlook/extr_svnlook.c_print_history.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svnlook/extr_svnlook.c_print_history.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 [16 x i8] c"%8ld %s <%s>\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"%8ld %s\0A\00", align 1
@SVN_ERR_CEASE_INVOCATION = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"History item limit reached\00", align 1
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @print_history], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @print_history(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = tail call i32 @check_cancel(ptr noundef null) #3
%8 = tail call i32 @SVN_ERR(i32 noundef %7) #3
%9 = getelementptr inbounds i8, ptr %0, i64 24
%10 = load i64, ptr %9, align 8, !tbaa !6
%11 = icmp eq i64 %10, 0
br i1 %11, label %25, label %12
12: ; preds = %4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%13 = getelementptr inbounds i8, ptr %0, i64 16
%14 = load i32, ptr %13, align 8, !tbaa !12
%15 = call i32 @svn_fs_revision_root(ptr noundef nonnull %6, i32 noundef %14, i32 noundef %2, ptr noundef %3) #3
%16 = call i32 @SVN_ERR(i32 noundef %15) #3
%17 = load ptr, ptr %6, align 8, !tbaa !13
%18 = call i32 @svn_fs_node_id(ptr noundef nonnull %5, ptr noundef %17, ptr noundef %1, ptr noundef %3) #3
%19 = call i32 @SVN_ERR(i32 noundef %18) #3
%20 = load ptr, ptr %5, align 8, !tbaa !13
%21 = call ptr @svn_fs_unparse_id(ptr noundef %20, ptr noundef %3) #3
%22 = load i32, ptr %21, align 4, !tbaa !15
%23 = call i32 (ptr, ptr, i32, ptr, ...) @svn_cmdline_printf(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %2, ptr noundef %1, i32 noundef %22) #3
%24 = call i32 @SVN_ERR(i32 noundef %23) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %28
25: ; preds = %4
%26 = tail call i32 (ptr, ptr, i32, ptr, ...) @svn_cmdline_printf(ptr noundef %3, ptr noundef nonnull @.str.1, i32 noundef %2, ptr noundef %1) #3
%27 = tail call i32 @SVN_ERR(i32 noundef %26) #3
br label %28
28: ; preds = %25, %12
%29 = load i64, ptr %0, align 8, !tbaa !17
%30 = icmp sgt i64 %29, 0
br i1 %30, label %31, label %40
31: ; preds = %28
%32 = getelementptr inbounds i8, ptr %0, i64 8
%33 = load i64, ptr %32, align 8, !tbaa !18
%34 = add nsw i64 %33, 1
store i64 %34, ptr %32, align 8, !tbaa !18
%35 = icmp slt i64 %34, %29
br i1 %35, label %40, label %36
36: ; preds = %31
%37 = load i32, ptr @SVN_ERR_CEASE_INVOCATION, align 4, !tbaa !19
%38 = call i32 @_(ptr noundef nonnull @.str.2) #3
%39 = call ptr @svn_error_create(i32 noundef %37, ptr noundef null, i32 noundef %38) #3
br label %42
40: ; preds = %31, %28
%41 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !13
br label %42
42: ; preds = %40, %36
%43 = phi ptr [ %39, %36 ], [ %41, %40 ]
ret ptr %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @check_cancel(ptr noundef) local_unnamed_addr #2
declare i32 @svn_fs_revision_root(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_fs_node_id(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_fs_unparse_id(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_cmdline_printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @svn_error_create(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"print_history_baton", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24}
!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 16}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_3__", !11, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!7, !8, i64 8}
!19 = !{!11, !11, i64 0}
| freebsd_contrib_subversion_subversion_svnlook_extr_svnlook.c_print_history |
; ModuleID = 'AnghaBench/radare2/libr/bin/format/elf/extr_elf.c_get_import_addr_sparc.c'
source_filename = "AnghaBench/radare2/libr/bin/format/elf/extr_elf.c_get_import_addr_sparc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UT64_MAX = dso_local local_unnamed_addr global i32 0, align 4
@REL_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Unknown sparc reloc type %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_import_addr_sparc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @get_import_addr_sparc(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr noundef readonly %2) #0 {
%4 = icmp eq ptr %2, null
br i1 %4, label %5, label %7
5: ; preds = %3
%6 = load i32, ptr @UT64_MAX, align 4, !tbaa !5
br label %20
7: ; preds = %3
%8 = load i32, ptr @REL_TYPE, align 4, !tbaa !5
%9 = icmp eq i32 %8, 128
br i1 %9, label %10, label %17
10: ; preds = %7
%11 = load i32, ptr %2, align 4, !tbaa !9
%12 = load i32, ptr %1, align 4, !tbaa !11
%13 = mul nsw i32 %12, 12
%14 = and i32 %11, -2
%15 = add i32 %14, 20
%16 = add i32 %15, %13
br label %20
17: ; preds = %7
%18 = tail call i32 @bprintf(ptr noundef nonnull @.str, i32 noundef %8) #2
%19 = load i32, ptr @UT64_MAX, align 4, !tbaa !5
br label %20
20: ; preds = %10, %17, %5
%21 = phi i32 [ %6, %5 ], [ %16, %10 ], [ %19, %17 ]
ret i32 %21
}
declare i32 @bprintf(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_3__", !6, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"ht_rel_t", !6, i64 0}
| ; ModuleID = 'AnghaBench/radare2/libr/bin/format/elf/extr_elf.c_get_import_addr_sparc.c'
source_filename = "AnghaBench/radare2/libr/bin/format/elf/extr_elf.c_get_import_addr_sparc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UT64_MAX = common local_unnamed_addr global i32 0, align 4
@REL_TYPE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Unknown sparc reloc type %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @get_import_addr_sparc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @get_import_addr_sparc(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr noundef readonly %2) #0 {
%4 = icmp eq ptr %2, null
br i1 %4, label %5, label %7
5: ; preds = %3
%6 = load i32, ptr @UT64_MAX, align 4, !tbaa !6
br label %20
7: ; preds = %3
%8 = load i32, ptr @REL_TYPE, align 4, !tbaa !6
%9 = icmp eq i32 %8, 128
br i1 %9, label %10, label %17
10: ; preds = %7
%11 = load i32, ptr %2, align 4, !tbaa !10
%12 = load i32, ptr %1, align 4, !tbaa !12
%13 = mul nsw i32 %12, 12
%14 = and i32 %11, -2
%15 = add i32 %14, 20
%16 = add i32 %15, %13
br label %20
17: ; preds = %7
%18 = tail call i32 @bprintf(ptr noundef nonnull @.str, i32 noundef %8) #2
%19 = load i32, ptr @UT64_MAX, align 4, !tbaa !6
br label %20
20: ; preds = %10, %17, %5
%21 = phi i32 [ %6, %5 ], [ %16, %10 ], [ %19, %17 ]
ret i32 %21
}
declare i32 @bprintf(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"ht_rel_t", !7, i64 0}
| radare2_libr_bin_format_elf_extr_elf.c_get_import_addr_sparc |
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_checkTreePage.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_checkTreePage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_19__ = type { i32, i64, i64, i32 }
%struct.TYPE_18__ = type { ptr, i32, i32, ptr, i64, ptr }
%struct.TYPE_17__ = type { i32, ptr, i32, i32, i32, ptr, ptr, i64, ptr }
%struct.TYPE_20__ = type { i32, i64 }
@.str = private unnamed_addr constant [10 x i8] c"Page %d: \00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"unable to get the page. error code=%d\00", align 1
@SQLITE_CORRUPT = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [38 x i8] c"btreeInitPage() returns error code %d\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"On tree page %d cell %d: \00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"On page %d at right child: \00", align 1
@PTRMAP_BTREE = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [30 x i8] c"Offset %d out of range %d..%d\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"Extends off end of page\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"Rowid %lld out of order\00", align 1
@PTRMAP_OVERFLOW1 = dso_local local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [25 x i8] c"Child page depth differs\00", align 1
@.str.9 = private unnamed_addr constant [37 x i8] c"Multiple uses for byte %u of page %d\00", align 1
@.str.10 = private unnamed_addr constant [52 x i8] c"Fragmentation of %d bytes reported as %d on page %d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @checkTreePage], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @checkTreePage(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.TYPE_19__, align 8
store i32 %3, ptr %5, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store ptr null, ptr %6, align 8, !tbaa !9
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
%9 = load ptr, ptr %0, align 8, !tbaa !11
%10 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 1
%11 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 2
%12 = load <2 x i32>, ptr %10, align 8, !tbaa !5
%13 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 5
%14 = load ptr, ptr %13, align 8, !tbaa !14
%15 = load i32, ptr %14, align 8, !tbaa !15
%16 = icmp eq i32 %1, 0
br i1 %16, label %341, label %17
17: ; preds = %4
%18 = tail call i64 @checkRef(ptr noundef nonnull %0, i32 noundef %1) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %341
20: ; preds = %17
store ptr @.str, ptr %0, align 8, !tbaa !11
store i32 %1, ptr %10, align 8, !tbaa !17
%21 = call i32 @btreeGetPage(ptr noundef nonnull %14, i32 noundef %1, ptr noundef nonnull %6, i32 noundef 0) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %21) #3
br label %336
25: ; preds = %20
%26 = load ptr, ptr %6, align 8, !tbaa !9
%27 = load i32, ptr %26, align 8, !tbaa !18
store i32 0, ptr %26, align 8, !tbaa !18
%28 = call i32 @btreeInitPage(ptr noundef nonnull %26) #3
%29 = icmp eq i32 %28, 0
br i1 %29, label %36, label %30
30: ; preds = %25
%31 = load i32, ptr @SQLITE_CORRUPT, align 4, !tbaa !5
%32 = icmp eq i32 %28, %31
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33) #3
%35 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %28) #3
br label %336
36: ; preds = %25
%37 = load ptr, ptr %6, align 8, !tbaa !9
%38 = getelementptr inbounds %struct.TYPE_17__, ptr %37, i64 0, i32 1
%39 = load ptr, ptr %38, align 8, !tbaa !20
%40 = getelementptr inbounds %struct.TYPE_17__, ptr %37, i64 0, i32 2
%41 = load i32, ptr %40, align 8, !tbaa !21
store ptr @.str.3, ptr %0, align 8, !tbaa !11
%42 = sext i32 %41 to i64
%43 = getelementptr i32, ptr %39, i64 %42
%44 = getelementptr i32, ptr %43, i64 5
%45 = call i32 @get2byteNotZero(ptr noundef %44) #3
%46 = icmp sle i32 %45, %15
%47 = zext i1 %46 to i32
%48 = call i32 @assert(i32 noundef %47) #3
%49 = getelementptr i32, ptr %43, i64 3
%50 = call i32 @get2byte(ptr noundef %49) #3
%51 = load ptr, ptr %6, align 8, !tbaa !9
%52 = getelementptr inbounds %struct.TYPE_17__, ptr %51, i64 0, i32 3
%53 = load i32, ptr %52, align 4, !tbaa !22
%54 = icmp eq i32 %53, %50
%55 = zext i1 %54 to i32
%56 = call i32 @assert(i32 noundef %55) #3
%57 = add nsw i32 %41, 12
%58 = load ptr, ptr %6, align 8, !tbaa !9
%59 = getelementptr inbounds %struct.TYPE_17__, ptr %58, i64 0, i32 4
%60 = load i32, ptr %59, align 8, !tbaa !23
%61 = shl i32 %60, 2
%62 = sub i32 %57, %61
%63 = getelementptr inbounds %struct.TYPE_17__, ptr %58, i64 0, i32 5
%64 = load ptr, ptr %63, align 8, !tbaa !24
%65 = sext i32 %62 to i64
%66 = getelementptr inbounds i32, ptr %39, i64 %65
%67 = icmp eq ptr %64, %66
%68 = zext i1 %67 to i32
%69 = call i32 @assert(i32 noundef %68) #3
%70 = shl i32 %50, 1
%71 = add i32 %70, -2
%72 = add nsw i32 %62, %71
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %39, i64 %73
%75 = load ptr, ptr %6, align 8, !tbaa !9
%76 = getelementptr inbounds %struct.TYPE_17__, ptr %75, i64 0, i32 4
%77 = load i32, ptr %76, align 8, !tbaa !23
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %90
79: ; preds = %36
%80 = getelementptr i32, ptr %43, i64 8
%81 = call i32 @get4byte(ptr noundef %80) #3
%82 = getelementptr inbounds %struct.TYPE_20__, ptr %14, i64 0, i32 1
%83 = load i64, ptr %82, align 8, !tbaa !25
%84 = icmp eq i64 %83, 0
br i1 %84, label %88, label %85
85: ; preds = %79
store ptr @.str.4, ptr %0, align 8, !tbaa !11
%86 = load i32, ptr @PTRMAP_BTREE, align 4, !tbaa !5
%87 = call i32 @checkPtrmap(ptr noundef nonnull %0, i32 noundef %81, i32 noundef %86, i32 noundef %1) #3
br label %88
88: ; preds = %85, %79
%89 = call i32 @checkTreePage(ptr noundef nonnull %0, i32 noundef %81, ptr noundef nonnull %5, i32 noundef %3)
br label %93
90: ; preds = %36
%91 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 3
%92 = load ptr, ptr %91, align 8, !tbaa !26
store i32 0, ptr %92, align 4, !tbaa !5
br label %93
93: ; preds = %90, %88
%94 = phi ptr [ %92, %90 ], [ null, %88 ]
%95 = phi i32 [ 1, %90 ], [ 0, %88 ]
%96 = phi i32 [ -1, %90 ], [ %89, %88 ]
%97 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 4
%98 = icmp sgt i32 %50, 0
br i1 %98, label %101, label %99
99: ; preds = %93
%100 = load i32, ptr %5, align 4, !tbaa !5
store i32 %100, ptr %2, align 4, !tbaa !5
store ptr null, ptr %0, align 8, !tbaa !11
br label %231
101: ; preds = %93
%102 = add nsw i32 %15, -4
%103 = getelementptr inbounds %struct.TYPE_19__, ptr %8, i64 0, i32 3
%104 = getelementptr inbounds %struct.TYPE_19__, ptr %8, i64 0, i32 1
%105 = getelementptr inbounds %struct.TYPE_19__, ptr %8, i64 0, i32 2
%106 = sext i32 %15 to i64
%107 = add nsw i64 %106, -5
%108 = sext i32 %102 to i64
%109 = getelementptr inbounds %struct.TYPE_20__, ptr %14, i64 0, i32 1
%110 = zext nneg i32 %50 to i64
br label %111
111: ; preds = %101, %221
%112 = phi i64 [ %110, %101 ], [ %117, %221 ]
%113 = phi i32 [ %96, %101 ], [ %224, %221 ]
%114 = phi i32 [ 1, %101 ], [ %223, %221 ]
%115 = phi i32 [ %95, %101 ], [ %222, %221 ]
%116 = phi ptr [ %74, %101 ], [ %130, %221 ]
%117 = add nsw i64 %112, -1
%118 = load i64, ptr %97, align 8, !tbaa !27
%119 = icmp eq i64 %118, 0
br i1 %119, label %226, label %120
120: ; preds = %111
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #3
%121 = trunc i64 %117 to i32
store i32 %121, ptr %11, align 4, !tbaa !28
%122 = shl nuw nsw i32 %121, 1
%123 = add nsw i32 %122, %62
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds i32, ptr %39, i64 %124
%126 = icmp eq ptr %116, %125
%127 = zext i1 %126 to i32
%128 = call i32 @assert(i32 noundef %127) #3
%129 = call i32 @get2byteAligned(ptr noundef %116) #3
%130 = getelementptr inbounds i32, ptr %116, i64 -2
%131 = icmp slt i32 %129, %45
%132 = icmp sgt i32 %129, %102
%133 = select i1 %131, i1 true, i1 %132
br i1 %133, label %134, label %136
134: ; preds = %120
%135 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, i32 noundef %129, i32 noundef %45, i32 noundef %102) #3
br label %221
136: ; preds = %120
%137 = sext i32 %129 to i64
%138 = getelementptr inbounds i32, ptr %39, i64 %137
%139 = load ptr, ptr %6, align 8, !tbaa !9
%140 = getelementptr inbounds %struct.TYPE_17__, ptr %139, i64 0, i32 8
%141 = load ptr, ptr %140, align 8, !tbaa !29
%142 = call i32 %141(ptr noundef %139, ptr noundef %138, ptr noundef nonnull %8) #3
%143 = load i32, ptr %8, align 8, !tbaa !30
%144 = add nsw i32 %143, %129
%145 = icmp sgt i32 %144, %15
br i1 %145, label %146, label %148
146: ; preds = %136
%147 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.6) #3
br label %221
148: ; preds = %136
%149 = load ptr, ptr %6, align 8, !tbaa !9
%150 = getelementptr inbounds %struct.TYPE_17__, ptr %149, i64 0, i32 7
%151 = load i64, ptr %150, align 8, !tbaa !32
%152 = icmp eq i64 %151, 0
br i1 %152, label %166, label %153
153: ; preds = %148
%154 = icmp eq i32 %115, 0
%155 = load i32, ptr %103, align 8, !tbaa !33
%156 = load i32, ptr %5, align 4, !tbaa !5
br i1 %154, label %159, label %157
157: ; preds = %153
%158 = icmp sgt i32 %155, %156
br i1 %158, label %161, label %164
159: ; preds = %153
%160 = icmp slt i32 %155, %156
br i1 %160, label %164, label %161
161: ; preds = %159, %157
%162 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.7, i32 noundef %155) #3
%163 = load i32, ptr %103, align 8, !tbaa !33
br label %164
164: ; preds = %161, %159, %157
%165 = phi i32 [ %163, %161 ], [ %155, %159 ], [ %155, %157 ]
store i32 %165, ptr %5, align 4, !tbaa !5
br label %166
166: ; preds = %164, %148
%167 = phi i32 [ 0, %164 ], [ %115, %148 ]
%168 = load i64, ptr %104, align 8, !tbaa !34
%169 = load i64, ptr %105, align 8, !tbaa !35
%170 = icmp sgt i64 %168, %169
br i1 %170, label %171, label %196
171: ; preds = %166
%172 = load i32, ptr %8, align 8, !tbaa !30
%173 = add i32 %129, -4
%174 = add i32 %173, %172
%175 = icmp sle i32 %174, %15
%176 = zext i1 %175 to i32
%177 = call i32 @assert(i32 noundef %176) #3
%178 = load i64, ptr %104, align 8, !tbaa !34
%179 = load i64, ptr %105, align 8, !tbaa !35
%180 = add i64 %107, %178
%181 = sub i64 %180, %179
%182 = sdiv i64 %181, %108
%183 = trunc i64 %182 to i32
%184 = load i32, ptr %8, align 8, !tbaa !30
%185 = sext i32 %184 to i64
%186 = getelementptr i32, ptr %138, i64 %185
%187 = getelementptr i32, ptr %186, i64 -4
%188 = call i32 @get4byte(ptr noundef %187) #3
%189 = load i64, ptr %109, align 8, !tbaa !25
%190 = icmp eq i64 %189, 0
br i1 %190, label %194, label %191
191: ; preds = %171
%192 = load i32, ptr @PTRMAP_OVERFLOW1, align 4, !tbaa !5
%193 = call i32 @checkPtrmap(ptr noundef nonnull %0, i32 noundef %188, i32 noundef %192, i32 noundef %1) #3
br label %194
194: ; preds = %191, %171
%195 = call i32 @checkList(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %188, i32 noundef %183) #3
br label %196
196: ; preds = %194, %166
%197 = load ptr, ptr %6, align 8, !tbaa !9
%198 = getelementptr inbounds %struct.TYPE_17__, ptr %197, i64 0, i32 4
%199 = load i32, ptr %198, align 8, !tbaa !23
%200 = icmp eq i32 %199, 0
br i1 %200, label %201, label %214
201: ; preds = %196
%202 = call i32 @get4byte(ptr noundef %138) #3
%203 = load i64, ptr %109, align 8, !tbaa !25
%204 = icmp eq i64 %203, 0
br i1 %204, label %208, label %205
205: ; preds = %201
%206 = load i32, ptr @PTRMAP_BTREE, align 4, !tbaa !5
%207 = call i32 @checkPtrmap(ptr noundef nonnull %0, i32 noundef %202, i32 noundef %206, i32 noundef %1) #3
br label %208
208: ; preds = %205, %201
%209 = load i32, ptr %5, align 4, !tbaa !5
%210 = call i32 @checkTreePage(ptr noundef nonnull %0, i32 noundef %202, ptr noundef nonnull %5, i32 noundef %209)
%211 = icmp eq i32 %210, %113
br i1 %211, label %221, label %212
212: ; preds = %208
%213 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.8) #3
br label %221
214: ; preds = %196
%215 = shl i32 %129, 16
%216 = load i32, ptr %8, align 8, !tbaa !30
%217 = add i32 %129, -1
%218 = add i32 %217, %216
%219 = or i32 %218, %215
%220 = call i32 @btreeHeapInsert(ptr noundef %94, i32 noundef %219) #3
br label %221
221: ; preds = %214, %212, %208, %146, %134
%222 = phi i32 [ %115, %134 ], [ %115, %146 ], [ %167, %214 ], [ 0, %212 ], [ 0, %208 ]
%223 = phi i32 [ 0, %134 ], [ 0, %146 ], [ %114, %214 ], [ %114, %212 ], [ %114, %208 ]
%224 = phi i32 [ %113, %134 ], [ %113, %146 ], [ %113, %214 ], [ %210, %212 ], [ %113, %208 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #3
%225 = icmp ugt i64 %112, 1
br i1 %225, label %111, label %226, !llvm.loop !36
226: ; preds = %111, %221
%227 = phi i32 [ %114, %111 ], [ %223, %221 ]
%228 = phi i32 [ %113, %111 ], [ %224, %221 ]
%229 = icmp eq i32 %227, 0
%230 = load i32, ptr %5, align 4, !tbaa !5
store i32 %230, ptr %2, align 4, !tbaa !5
store ptr null, ptr %0, align 8, !tbaa !11
br i1 %229, label %334, label %231
231: ; preds = %99, %226
%232 = phi i32 [ %96, %99 ], [ %228, %226 ]
%233 = load i64, ptr %97, align 8, !tbaa !27
%234 = icmp sgt i64 %233, 0
br i1 %234, label %235, label %336
235: ; preds = %231
%236 = load ptr, ptr %6, align 8, !tbaa !9
%237 = getelementptr inbounds %struct.TYPE_17__, ptr %236, i64 0, i32 4
%238 = load i32, ptr %237, align 8, !tbaa !23
%239 = icmp eq i32 %238, 0
br i1 %239, label %240, label %266
240: ; preds = %235
%241 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 3
%242 = load ptr, ptr %241, align 8, !tbaa !26
store i32 0, ptr %242, align 4, !tbaa !5
br i1 %98, label %243, label %266
243: ; preds = %240
%244 = zext nneg i32 %50 to i64
br label %245
245: ; preds = %243, %245
%246 = phi i64 [ %244, %243 ], [ %247, %245 ]
%247 = add nsw i64 %246, -1
%248 = trunc i64 %247 to i32
%249 = shl nuw nsw i32 %248, 1
%250 = add nsw i32 %249, %62
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds i32, ptr %39, i64 %251
%253 = call i32 @get2byteAligned(ptr noundef %252) #3
%254 = load ptr, ptr %6, align 8, !tbaa !9
%255 = getelementptr inbounds %struct.TYPE_17__, ptr %254, i64 0, i32 6
%256 = load ptr, ptr %255, align 8, !tbaa !38
%257 = sext i32 %253 to i64
%258 = getelementptr inbounds i32, ptr %39, i64 %257
%259 = call i32 %256(ptr noundef %254, ptr noundef %258) #3
%260 = shl i32 %253, 16
%261 = add i32 %253, -1
%262 = add i32 %261, %259
%263 = or i32 %262, %260
%264 = call i32 @btreeHeapInsert(ptr noundef nonnull %242, i32 noundef %263) #3
%265 = icmp ugt i64 %246, 1
br i1 %265, label %245, label %266, !llvm.loop !39
266: ; preds = %245, %240, %235
%267 = phi ptr [ %94, %235 ], [ %242, %240 ], [ %242, %245 ]
%268 = getelementptr i32, ptr %43, i64 1
%269 = call i32 @get2byte(ptr noundef %268) #3
%270 = icmp sgt i32 %269, 0
br i1 %270, label %271, label %300
271: ; preds = %266
%272 = add nsw i32 %15, -4
br label %273
273: ; preds = %271, %273
%274 = phi i32 [ %269, %271 ], [ %290, %273 ]
%275 = icmp sle i32 %274, %272
%276 = zext i1 %275 to i32
%277 = call i32 @assert(i32 noundef %276) #3
%278 = zext nneg i32 %274 to i64
%279 = getelementptr i32, ptr %39, i64 %278
%280 = getelementptr i32, ptr %279, i64 2
%281 = call i32 @get2byte(ptr noundef %280) #3
%282 = add nsw i32 %281, %274
%283 = icmp sle i32 %282, %15
%284 = zext i1 %283 to i32
%285 = call i32 @assert(i32 noundef %284) #3
%286 = shl i32 %274, 16
%287 = add nsw i32 %282, -1
%288 = or i32 %287, %286
%289 = call i32 @btreeHeapInsert(ptr noundef %267, i32 noundef %288) #3
%290 = call i32 @get2byte(ptr noundef nonnull %279) #3
%291 = icmp eq i32 %290, 0
%292 = icmp sgt i32 %290, %282
%293 = or i1 %291, %292
%294 = zext i1 %293 to i32
%295 = call i32 @assert(i32 noundef %294) #3
%296 = icmp sle i32 %290, %272
%297 = zext i1 %296 to i32
%298 = call i32 @assert(i32 noundef %297) #3
%299 = icmp sgt i32 %290, 0
br i1 %299, label %273, label %300, !llvm.loop !40
300: ; preds = %273, %266
%301 = add nsw i32 %45, -1
%302 = call i64 @btreeHeapPull(ptr noundef %267, ptr noundef nonnull %7) #3
%303 = icmp eq i64 %302, 0
br i1 %303, label %319, label %304
304: ; preds = %300, %313
%305 = phi i32 [ %316, %313 ], [ 0, %300 ]
%306 = phi i32 [ %308, %313 ], [ %301, %300 ]
%307 = and i32 %306, 65535
%308 = load i32, ptr %7, align 4, !tbaa !5
%309 = ashr i32 %308, 16
%310 = icmp slt i32 %307, %309
br i1 %310, label %313, label %311
311: ; preds = %304
%312 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.9, i32 noundef %309, i32 noundef %1) #3
br label %319
313: ; preds = %304
%314 = xor i32 %307, -1
%315 = add i32 %305, %314
%316 = add i32 %315, %309
%317 = call i64 @btreeHeapPull(ptr noundef %267, ptr noundef nonnull %7) #3
%318 = icmp eq i64 %317, 0
br i1 %318, label %319, label %304, !llvm.loop !41
319: ; preds = %313, %300, %311
%320 = phi i32 [ %306, %311 ], [ %301, %300 ], [ %308, %313 ]
%321 = phi i32 [ %305, %311 ], [ 0, %300 ], [ %316, %313 ]
%322 = and i32 %320, 65535
%323 = xor i32 %322, -1
%324 = add i32 %15, %323
%325 = add nsw i32 %324, %321
%326 = load i32, ptr %267, align 4, !tbaa !5
%327 = icmp eq i32 %326, 0
br i1 %327, label %328, label %336
328: ; preds = %319
%329 = getelementptr i32, ptr %43, i64 7
%330 = load i32, ptr %329, align 4, !tbaa !5
%331 = icmp eq i32 %325, %330
br i1 %331, label %336, label %332
332: ; preds = %328
%333 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.10, i32 noundef %325, i32 noundef %330, i32 noundef %1) #3
br label %336
334: ; preds = %226
%335 = load ptr, ptr %6, align 8, !tbaa !9
store i32 %27, ptr %335, align 8, !tbaa !18
br label %336
336: ; preds = %231, %319, %328, %332, %30, %23, %334
%337 = phi i32 [ %228, %334 ], [ %232, %231 ], [ %232, %319 ], [ %232, %328 ], [ %232, %332 ], [ -1, %30 ], [ -1, %23 ]
%338 = load ptr, ptr %6, align 8, !tbaa !9
%339 = call i32 @releasePage(ptr noundef %338) #3
store ptr %9, ptr %0, align 8, !tbaa !11
store <2 x i32> %12, ptr %10, align 8, !tbaa !5
%340 = add nsw i32 %337, 1
br label %341
341: ; preds = %17, %4, %336
%342 = phi i32 [ %340, %336 ], [ 0, %4 ], [ 0, %17 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
ret i32 %342
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @checkRef(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @btreeGetPage(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @checkAppendMsg(ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @btreeInitPage(ptr noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @get2byteNotZero(ptr noundef) local_unnamed_addr #2
declare i32 @get2byte(ptr noundef) local_unnamed_addr #2
declare i32 @get4byte(ptr noundef) local_unnamed_addr #2
declare i32 @checkPtrmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get2byteAligned(ptr noundef) local_unnamed_addr #2
declare i32 @checkList(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @btreeHeapInsert(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @btreeHeapPull(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @releasePage(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_18__", !10, i64 0, !6, i64 8, !6, i64 12, !10, i64 16, !13, i64 24, !10, i64 32}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !10, i64 32}
!15 = !{!16, !6, i64 0}
!16 = !{!"TYPE_20__", !6, i64 0, !13, i64 8}
!17 = !{!12, !6, i64 8}
!18 = !{!19, !6, i64 0}
!19 = !{!"TYPE_17__", !6, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !10, i64 32, !10, i64 40, !13, i64 48, !10, i64 56}
!20 = !{!19, !10, i64 8}
!21 = !{!19, !6, i64 16}
!22 = !{!19, !6, i64 20}
!23 = !{!19, !6, i64 24}
!24 = !{!19, !10, i64 32}
!25 = !{!16, !13, i64 8}
!26 = !{!12, !10, i64 16}
!27 = !{!12, !13, i64 24}
!28 = !{!12, !6, i64 12}
!29 = !{!19, !10, i64 56}
!30 = !{!31, !6, i64 0}
!31 = !{!"TYPE_19__", !6, i64 0, !13, i64 8, !13, i64 16, !6, i64 24}
!32 = !{!19, !13, i64 48}
!33 = !{!31, !6, i64 24}
!34 = !{!31, !13, i64 8}
!35 = !{!31, !13, i64 16}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = !{!19, !10, i64 40}
!39 = distinct !{!39, !37}
!40 = distinct !{!40, !37}
!41 = distinct !{!41, !37}
| ; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_checkTreePage.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_checkTreePage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_19__ = type { i32, i64, i64, i32 }
@.str = private unnamed_addr constant [10 x i8] c"Page %d: \00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"unable to get the page. error code=%d\00", align 1
@SQLITE_CORRUPT = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [38 x i8] c"btreeInitPage() returns error code %d\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"On tree page %d cell %d: \00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"On page %d at right child: \00", align 1
@PTRMAP_BTREE = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [30 x i8] c"Offset %d out of range %d..%d\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"Extends off end of page\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"Rowid %lld out of order\00", align 1
@PTRMAP_OVERFLOW1 = common local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [25 x i8] c"Child page depth differs\00", align 1
@.str.9 = private unnamed_addr constant [37 x i8] c"Multiple uses for byte %u of page %d\00", align 1
@.str.10 = private unnamed_addr constant [52 x i8] c"Fragmentation of %d bytes reported as %d on page %d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @checkTreePage], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @checkTreePage(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.TYPE_19__, align 8
store i32 %3, ptr %5, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store ptr null, ptr %6, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
%9 = load ptr, ptr %0, align 8, !tbaa !12
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = getelementptr inbounds i8, ptr %0, i64 12
%12 = load <2 x i32>, ptr %10, align 8, !tbaa !6
%13 = getelementptr inbounds i8, ptr %0, i64 32
%14 = load ptr, ptr %13, align 8, !tbaa !15
%15 = load i32, ptr %14, align 8, !tbaa !16
%16 = icmp eq i32 %1, 0
br i1 %16, label %336, label %17
17: ; preds = %4
%18 = tail call i64 @checkRef(ptr noundef nonnull %0, i32 noundef %1) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %336
20: ; preds = %17
store ptr @.str, ptr %0, align 8, !tbaa !12
store i32 %1, ptr %10, align 8, !tbaa !18
%21 = call i32 @btreeGetPage(ptr noundef nonnull %14, i32 noundef %1, ptr noundef nonnull %6, i32 noundef 0) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %21) #3
br label %331
25: ; preds = %20
%26 = load ptr, ptr %6, align 8, !tbaa !10
%27 = load i32, ptr %26, align 8, !tbaa !19
store i32 0, ptr %26, align 8, !tbaa !19
%28 = call i32 @btreeInitPage(ptr noundef nonnull %26) #3
%29 = icmp eq i32 %28, 0
br i1 %29, label %36, label %30
30: ; preds = %25
%31 = load i32, ptr @SQLITE_CORRUPT, align 4, !tbaa !6
%32 = icmp eq i32 %28, %31
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33) #3
%35 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %28) #3
br label %331
36: ; preds = %25
%37 = load ptr, ptr %6, align 8, !tbaa !10
%38 = getelementptr inbounds i8, ptr %37, i64 8
%39 = load ptr, ptr %38, align 8, !tbaa !21
%40 = getelementptr inbounds i8, ptr %37, i64 16
%41 = load i32, ptr %40, align 8, !tbaa !22
store ptr @.str.3, ptr %0, align 8, !tbaa !12
%42 = sext i32 %41 to i64
%43 = getelementptr i32, ptr %39, i64 %42
%44 = getelementptr i8, ptr %43, i64 20
%45 = call i32 @get2byteNotZero(ptr noundef %44) #3
%46 = icmp sle i32 %45, %15
%47 = zext i1 %46 to i32
%48 = call i32 @assert(i32 noundef %47) #3
%49 = getelementptr i8, ptr %43, i64 12
%50 = call i32 @get2byte(ptr noundef %49) #3
%51 = load ptr, ptr %6, align 8, !tbaa !10
%52 = getelementptr inbounds i8, ptr %51, i64 20
%53 = load i32, ptr %52, align 4, !tbaa !23
%54 = icmp eq i32 %53, %50
%55 = zext i1 %54 to i32
%56 = call i32 @assert(i32 noundef %55) #3
%57 = add nsw i32 %41, 12
%58 = load ptr, ptr %6, align 8, !tbaa !10
%59 = getelementptr inbounds i8, ptr %58, i64 24
%60 = load i32, ptr %59, align 8, !tbaa !24
%61 = shl i32 %60, 2
%62 = sub i32 %57, %61
%63 = getelementptr inbounds i8, ptr %58, i64 32
%64 = load ptr, ptr %63, align 8, !tbaa !25
%65 = sext i32 %62 to i64
%66 = getelementptr inbounds i32, ptr %39, i64 %65
%67 = icmp eq ptr %64, %66
%68 = zext i1 %67 to i32
%69 = call i32 @assert(i32 noundef %68) #3
%70 = shl i32 %50, 1
%71 = add i32 %70, -2
%72 = add nsw i32 %62, %71
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %39, i64 %73
%75 = load ptr, ptr %6, align 8, !tbaa !10
%76 = getelementptr inbounds i8, ptr %75, i64 24
%77 = load i32, ptr %76, align 8, !tbaa !24
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %90
79: ; preds = %36
%80 = getelementptr i8, ptr %43, i64 32
%81 = call i32 @get4byte(ptr noundef %80) #3
%82 = getelementptr inbounds i8, ptr %14, i64 8
%83 = load i64, ptr %82, align 8, !tbaa !26
%84 = icmp eq i64 %83, 0
br i1 %84, label %88, label %85
85: ; preds = %79
store ptr @.str.4, ptr %0, align 8, !tbaa !12
%86 = load i32, ptr @PTRMAP_BTREE, align 4, !tbaa !6
%87 = call i32 @checkPtrmap(ptr noundef nonnull %0, i32 noundef %81, i32 noundef %86, i32 noundef %1) #3
br label %88
88: ; preds = %85, %79
%89 = call i32 @checkTreePage(ptr noundef nonnull %0, i32 noundef %81, ptr noundef nonnull %5, i32 noundef %3)
br label %93
90: ; preds = %36
%91 = getelementptr inbounds i8, ptr %0, i64 16
%92 = load ptr, ptr %91, align 8, !tbaa !27
store i32 0, ptr %92, align 4, !tbaa !6
br label %93
93: ; preds = %90, %88
%94 = phi ptr [ %92, %90 ], [ null, %88 ]
%95 = phi i32 [ 1, %90 ], [ 0, %88 ]
%96 = phi i32 [ -1, %90 ], [ %89, %88 ]
%97 = getelementptr inbounds i8, ptr %0, i64 24
%98 = icmp sgt i32 %50, 0
br i1 %98, label %101, label %99
99: ; preds = %93
%100 = load i32, ptr %5, align 4, !tbaa !6
store i32 %100, ptr %2, align 4, !tbaa !6
store ptr null, ptr %0, align 8, !tbaa !12
br label %229
101: ; preds = %93
%102 = add nsw i32 %15, -4
%103 = getelementptr inbounds i8, ptr %8, i64 24
%104 = getelementptr inbounds i8, ptr %8, i64 8
%105 = getelementptr inbounds i8, ptr %8, i64 16
%106 = sext i32 %15 to i64
%107 = add nsw i64 %106, -5
%108 = sext i32 %102 to i64
%109 = getelementptr inbounds i8, ptr %14, i64 8
%110 = zext nneg i32 %50 to i64
br label %111
111: ; preds = %101, %219
%112 = phi i64 [ %110, %101 ], [ %117, %219 ]
%113 = phi i32 [ %96, %101 ], [ %222, %219 ]
%114 = phi i32 [ 1, %101 ], [ %221, %219 ]
%115 = phi i32 [ %95, %101 ], [ %220, %219 ]
%116 = phi ptr [ %74, %101 ], [ %128, %219 ]
%117 = add nsw i64 %112, -1
%118 = load i64, ptr %97, align 8, !tbaa !28
%119 = icmp eq i64 %118, 0
br i1 %119, label %224, label %120
120: ; preds = %111
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #3
%121 = trunc nuw nsw i64 %117 to i32
store i32 %121, ptr %11, align 4, !tbaa !29
%122 = shl i64 %117, 3
%123 = getelementptr i8, ptr %66, i64 %122
%124 = icmp eq ptr %116, %123
%125 = zext i1 %124 to i32
%126 = call i32 @assert(i32 noundef %125) #3
%127 = call i32 @get2byteAligned(ptr noundef %116) #3
%128 = getelementptr inbounds i8, ptr %116, i64 -8
%129 = icmp slt i32 %127, %45
%130 = icmp sgt i32 %127, %102
%131 = select i1 %129, i1 true, i1 %130
br i1 %131, label %132, label %134
132: ; preds = %120
%133 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, i32 noundef %127, i32 noundef %45, i32 noundef %102) #3
br label %219
134: ; preds = %120
%135 = sext i32 %127 to i64
%136 = getelementptr inbounds i32, ptr %39, i64 %135
%137 = load ptr, ptr %6, align 8, !tbaa !10
%138 = getelementptr inbounds i8, ptr %137, i64 56
%139 = load ptr, ptr %138, align 8, !tbaa !30
%140 = call i32 %139(ptr noundef %137, ptr noundef %136, ptr noundef nonnull %8) #3
%141 = load i32, ptr %8, align 8, !tbaa !31
%142 = add nsw i32 %141, %127
%143 = icmp sgt i32 %142, %15
br i1 %143, label %144, label %146
144: ; preds = %134
%145 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.6) #3
br label %219
146: ; preds = %134
%147 = load ptr, ptr %6, align 8, !tbaa !10
%148 = getelementptr inbounds i8, ptr %147, i64 48
%149 = load i64, ptr %148, align 8, !tbaa !33
%150 = icmp eq i64 %149, 0
br i1 %150, label %164, label %151
151: ; preds = %146
%152 = icmp eq i32 %115, 0
%153 = load i32, ptr %103, align 8, !tbaa !34
%154 = load i32, ptr %5, align 4, !tbaa !6
br i1 %152, label %157, label %155
155: ; preds = %151
%156 = icmp sgt i32 %153, %154
br i1 %156, label %159, label %162
157: ; preds = %151
%158 = icmp slt i32 %153, %154
br i1 %158, label %162, label %159
159: ; preds = %157, %155
%160 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.7, i32 noundef %153) #3
%161 = load i32, ptr %103, align 8, !tbaa !34
br label %162
162: ; preds = %159, %157, %155
%163 = phi i32 [ %161, %159 ], [ %153, %157 ], [ %153, %155 ]
store i32 %163, ptr %5, align 4, !tbaa !6
br label %164
164: ; preds = %162, %146
%165 = phi i32 [ 0, %162 ], [ %115, %146 ]
%166 = load i64, ptr %104, align 8, !tbaa !35
%167 = load i64, ptr %105, align 8, !tbaa !36
%168 = icmp sgt i64 %166, %167
br i1 %168, label %169, label %194
169: ; preds = %164
%170 = load i32, ptr %8, align 8, !tbaa !31
%171 = add i32 %127, -4
%172 = add i32 %171, %170
%173 = icmp sle i32 %172, %15
%174 = zext i1 %173 to i32
%175 = call i32 @assert(i32 noundef %174) #3
%176 = load i64, ptr %104, align 8, !tbaa !35
%177 = load i64, ptr %105, align 8, !tbaa !36
%178 = add i64 %107, %176
%179 = sub i64 %178, %177
%180 = sdiv i64 %179, %108
%181 = trunc i64 %180 to i32
%182 = load i32, ptr %8, align 8, !tbaa !31
%183 = sext i32 %182 to i64
%184 = getelementptr i32, ptr %136, i64 %183
%185 = getelementptr i8, ptr %184, i64 -16
%186 = call i32 @get4byte(ptr noundef %185) #3
%187 = load i64, ptr %109, align 8, !tbaa !26
%188 = icmp eq i64 %187, 0
br i1 %188, label %192, label %189
189: ; preds = %169
%190 = load i32, ptr @PTRMAP_OVERFLOW1, align 4, !tbaa !6
%191 = call i32 @checkPtrmap(ptr noundef nonnull %0, i32 noundef %186, i32 noundef %190, i32 noundef %1) #3
br label %192
192: ; preds = %189, %169
%193 = call i32 @checkList(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %186, i32 noundef %181) #3
br label %194
194: ; preds = %192, %164
%195 = load ptr, ptr %6, align 8, !tbaa !10
%196 = getelementptr inbounds i8, ptr %195, i64 24
%197 = load i32, ptr %196, align 8, !tbaa !24
%198 = icmp eq i32 %197, 0
br i1 %198, label %199, label %212
199: ; preds = %194
%200 = call i32 @get4byte(ptr noundef %136) #3
%201 = load i64, ptr %109, align 8, !tbaa !26
%202 = icmp eq i64 %201, 0
br i1 %202, label %206, label %203
203: ; preds = %199
%204 = load i32, ptr @PTRMAP_BTREE, align 4, !tbaa !6
%205 = call i32 @checkPtrmap(ptr noundef nonnull %0, i32 noundef %200, i32 noundef %204, i32 noundef %1) #3
br label %206
206: ; preds = %203, %199
%207 = load i32, ptr %5, align 4, !tbaa !6
%208 = call i32 @checkTreePage(ptr noundef nonnull %0, i32 noundef %200, ptr noundef nonnull %5, i32 noundef %207)
%209 = icmp eq i32 %208, %113
br i1 %209, label %219, label %210
210: ; preds = %206
%211 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.8) #3
br label %219
212: ; preds = %194
%213 = shl i32 %127, 16
%214 = load i32, ptr %8, align 8, !tbaa !31
%215 = add i32 %127, -1
%216 = add i32 %215, %214
%217 = or i32 %216, %213
%218 = call i32 @btreeHeapInsert(ptr noundef %94, i32 noundef %217) #3
br label %219
219: ; preds = %212, %210, %206, %144, %132
%220 = phi i32 [ %115, %132 ], [ %115, %144 ], [ %165, %212 ], [ 0, %210 ], [ 0, %206 ]
%221 = phi i32 [ 0, %132 ], [ 0, %144 ], [ %114, %212 ], [ %114, %210 ], [ %114, %206 ]
%222 = phi i32 [ %113, %132 ], [ %113, %144 ], [ %113, %212 ], [ %208, %210 ], [ %113, %206 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #3
%223 = icmp ugt i64 %112, 1
br i1 %223, label %111, label %224, !llvm.loop !37
224: ; preds = %111, %219
%225 = phi i32 [ %114, %111 ], [ %221, %219 ]
%226 = phi i32 [ %113, %111 ], [ %222, %219 ]
%227 = icmp eq i32 %225, 0
%228 = load i32, ptr %5, align 4, !tbaa !6
store i32 %228, ptr %2, align 4, !tbaa !6
store ptr null, ptr %0, align 8, !tbaa !12
br i1 %227, label %329, label %229
229: ; preds = %99, %224
%230 = phi i32 [ %96, %99 ], [ %226, %224 ]
%231 = load i64, ptr %97, align 8, !tbaa !28
%232 = icmp sgt i64 %231, 0
br i1 %232, label %233, label %331
233: ; preds = %229
%234 = load ptr, ptr %6, align 8, !tbaa !10
%235 = getelementptr inbounds i8, ptr %234, i64 24
%236 = load i32, ptr %235, align 8, !tbaa !24
%237 = icmp eq i32 %236, 0
br i1 %237, label %238, label %261
238: ; preds = %233
%239 = getelementptr inbounds i8, ptr %0, i64 16
%240 = load ptr, ptr %239, align 8, !tbaa !27
store i32 0, ptr %240, align 4, !tbaa !6
br i1 %98, label %241, label %261
241: ; preds = %238
%242 = zext nneg i32 %50 to i64
br label %243
243: ; preds = %241, %243
%244 = phi i64 [ %242, %241 ], [ %245, %243 ]
%245 = add nsw i64 %244, -1
%246 = shl i64 %245, 3
%247 = getelementptr i8, ptr %66, i64 %246
%248 = call i32 @get2byteAligned(ptr noundef %247) #3
%249 = load ptr, ptr %6, align 8, !tbaa !10
%250 = getelementptr inbounds i8, ptr %249, i64 40
%251 = load ptr, ptr %250, align 8, !tbaa !39
%252 = sext i32 %248 to i64
%253 = getelementptr inbounds i32, ptr %39, i64 %252
%254 = call i32 %251(ptr noundef %249, ptr noundef %253) #3
%255 = shl i32 %248, 16
%256 = add i32 %248, -1
%257 = add i32 %256, %254
%258 = or i32 %257, %255
%259 = call i32 @btreeHeapInsert(ptr noundef nonnull %240, i32 noundef %258) #3
%260 = icmp ugt i64 %244, 1
br i1 %260, label %243, label %261, !llvm.loop !40
261: ; preds = %243, %238, %233
%262 = phi ptr [ %94, %233 ], [ %240, %238 ], [ %240, %243 ]
%263 = getelementptr i8, ptr %43, i64 4
%264 = call i32 @get2byte(ptr noundef %263) #3
%265 = icmp sgt i32 %264, 0
br i1 %265, label %266, label %295
266: ; preds = %261
%267 = add nsw i32 %15, -4
br label %268
268: ; preds = %266, %268
%269 = phi i32 [ %264, %266 ], [ %285, %268 ]
%270 = icmp sle i32 %269, %267
%271 = zext i1 %270 to i32
%272 = call i32 @assert(i32 noundef %271) #3
%273 = zext nneg i32 %269 to i64
%274 = getelementptr inbounds i32, ptr %39, i64 %273
%275 = getelementptr inbounds i8, ptr %274, i64 8
%276 = call i32 @get2byte(ptr noundef nonnull %275) #3
%277 = add nsw i32 %276, %269
%278 = icmp sle i32 %277, %15
%279 = zext i1 %278 to i32
%280 = call i32 @assert(i32 noundef %279) #3
%281 = shl i32 %269, 16
%282 = add nsw i32 %277, -1
%283 = or i32 %282, %281
%284 = call i32 @btreeHeapInsert(ptr noundef %262, i32 noundef %283) #3
%285 = call i32 @get2byte(ptr noundef nonnull %274) #3
%286 = icmp eq i32 %285, 0
%287 = icmp sgt i32 %285, %277
%288 = or i1 %286, %287
%289 = zext i1 %288 to i32
%290 = call i32 @assert(i32 noundef %289) #3
%291 = icmp sle i32 %285, %267
%292 = zext i1 %291 to i32
%293 = call i32 @assert(i32 noundef %292) #3
%294 = icmp sgt i32 %285, 0
br i1 %294, label %268, label %295, !llvm.loop !41
295: ; preds = %268, %261
%296 = add nsw i32 %45, -1
%297 = call i64 @btreeHeapPull(ptr noundef %262, ptr noundef nonnull %7) #3
%298 = icmp eq i64 %297, 0
br i1 %298, label %314, label %299
299: ; preds = %295, %308
%300 = phi i32 [ %311, %308 ], [ 0, %295 ]
%301 = phi i32 [ %303, %308 ], [ %296, %295 ]
%302 = and i32 %301, 65535
%303 = load i32, ptr %7, align 4, !tbaa !6
%304 = ashr i32 %303, 16
%305 = icmp slt i32 %302, %304
br i1 %305, label %308, label %306
306: ; preds = %299
%307 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.9, i32 noundef %304, i32 noundef %1) #3
br label %314
308: ; preds = %299
%309 = xor i32 %302, -1
%310 = add i32 %300, %309
%311 = add i32 %310, %304
%312 = call i64 @btreeHeapPull(ptr noundef %262, ptr noundef nonnull %7) #3
%313 = icmp eq i64 %312, 0
br i1 %313, label %314, label %299, !llvm.loop !42
314: ; preds = %308, %295, %306
%315 = phi i32 [ %301, %306 ], [ %296, %295 ], [ %303, %308 ]
%316 = phi i32 [ %300, %306 ], [ 0, %295 ], [ %311, %308 ]
%317 = and i32 %315, 65535
%318 = xor i32 %317, -1
%319 = add i32 %15, %318
%320 = add nsw i32 %319, %316
%321 = load i32, ptr %262, align 4, !tbaa !6
%322 = icmp eq i32 %321, 0
br i1 %322, label %323, label %331
323: ; preds = %314
%324 = getelementptr i8, ptr %43, i64 28
%325 = load i32, ptr %324, align 4, !tbaa !6
%326 = icmp eq i32 %320, %325
br i1 %326, label %331, label %327
327: ; preds = %323
%328 = call i32 (ptr, ptr, ...) @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.10, i32 noundef %320, i32 noundef %325, i32 noundef %1) #3
br label %331
329: ; preds = %224
%330 = load ptr, ptr %6, align 8, !tbaa !10
store i32 %27, ptr %330, align 8, !tbaa !19
br label %331
331: ; preds = %229, %314, %323, %327, %30, %23, %329
%332 = phi i32 [ %226, %329 ], [ %230, %229 ], [ %230, %314 ], [ %230, %323 ], [ %230, %327 ], [ -1, %30 ], [ -1, %23 ]
%333 = load ptr, ptr %6, align 8, !tbaa !10
%334 = call i32 @releasePage(ptr noundef %333) #3
store ptr %9, ptr %0, align 8, !tbaa !12
store <2 x i32> %12, ptr %10, align 8, !tbaa !6
%335 = add nsw i32 %332, 1
br label %336
336: ; preds = %17, %4, %331
%337 = phi i32 [ %335, %331 ], [ 0, %4 ], [ 0, %17 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
ret i32 %337
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @checkRef(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @btreeGetPage(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @checkAppendMsg(ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @btreeInitPage(ptr noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @get2byteNotZero(ptr noundef) local_unnamed_addr #2
declare i32 @get2byte(ptr noundef) local_unnamed_addr #2
declare i32 @get4byte(ptr noundef) local_unnamed_addr #2
declare i32 @checkPtrmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get2byteAligned(ptr noundef) local_unnamed_addr #2
declare i32 @checkList(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @btreeHeapInsert(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @btreeHeapPull(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @releasePage(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_18__", !11, i64 0, !7, i64 8, !7, i64 12, !11, i64 16, !14, i64 24, !11, i64 32}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !11, i64 32}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_20__", !7, i64 0, !14, i64 8}
!18 = !{!13, !7, i64 8}
!19 = !{!20, !7, i64 0}
!20 = !{!"TYPE_17__", !7, i64 0, !11, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !11, i64 32, !11, i64 40, !14, i64 48, !11, i64 56}
!21 = !{!20, !11, i64 8}
!22 = !{!20, !7, i64 16}
!23 = !{!20, !7, i64 20}
!24 = !{!20, !7, i64 24}
!25 = !{!20, !11, i64 32}
!26 = !{!17, !14, i64 8}
!27 = !{!13, !11, i64 16}
!28 = !{!13, !14, i64 24}
!29 = !{!13, !7, i64 12}
!30 = !{!20, !11, i64 56}
!31 = !{!32, !7, i64 0}
!32 = !{!"TYPE_19__", !7, i64 0, !14, i64 8, !14, i64 16, !7, i64 24}
!33 = !{!20, !14, i64 48}
!34 = !{!32, !7, i64 24}
!35 = !{!32, !14, i64 8}
!36 = !{!32, !14, i64 16}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!20, !11, i64 40}
!40 = distinct !{!40, !38}
!41 = distinct !{!41, !38}
!42 = distinct !{!42, !38}
| ccv_lib_3rdparty_sqlite3_extr_sqlite3.c_checkTreePage |
; ModuleID = 'AnghaBench/curl/lib/extr_pingpong.c_Curl_pp_statemach.c'
source_filename = "AnghaBench/curl/lib/extr_pingpong.c_Curl_pp_statemach.c"
target datalayout = "e-m:e-p270:32:32-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.pingpong = type { ptr, i64, ptr }
%struct.connectdata = type { ptr, ptr }
@FIRSTSOCKET = dso_local local_unnamed_addr global i64 0, align 8
@CURLE_OK = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [24 x i8] c"server response timeout\00", align 1
@CURLE_OPERATION_TIMEDOUT = dso_local local_unnamed_addr global i64 0, align 8
@CURL_SOCKET_BAD = dso_local local_unnamed_addr global i32 0, align 4
@CURLE_ABORTED_BY_CALLBACK = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [18 x i8] c"select/poll error\00", align 1
@CURLE_OUT_OF_MEMORY = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i64 @Curl_pp_statemach(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.pingpong, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.connectdata, ptr %5, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = load i64, ptr @FIRSTSOCKET, align 8, !tbaa !13
%9 = getelementptr inbounds i32, ptr %7, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = tail call i32 @Curl_pp_state_timeout(ptr noundef %0, i32 noundef %2) #3
%12 = load ptr, ptr %5, align 8, !tbaa !16
%13 = load i64, ptr @CURLE_OK, align 8, !tbaa !13
%14 = icmp slt i32 %11, 1
br i1 %14, label %15, label %18
15: ; preds = %3
%16 = tail call i32 @failf(ptr noundef %12, ptr noundef nonnull @.str) #3
%17 = load i64, ptr @CURLE_OPERATION_TIMEDOUT, align 8, !tbaa !13
br label %71
18: ; preds = %3
%19 = icmp eq i32 %1, 0
%20 = tail call i32 @llvm.umin.i32(i32 %11, i32 1000)
%21 = select i1 %19, i32 0, i32 %20
%22 = load i64, ptr @FIRSTSOCKET, align 8, !tbaa !13
%23 = tail call i64 @Curl_ssl_data_pending(ptr noundef nonnull %5, i64 noundef %22) #3
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %50
25: ; preds = %18
%26 = tail call i64 @Curl_pp_moredata(ptr noundef nonnull %0) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %50
28: ; preds = %25
%29 = getelementptr inbounds %struct.pingpong, ptr %0, i64 0, i32 1
%30 = load i64, ptr %29, align 8, !tbaa !17
%31 = icmp eq i64 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %28
%33 = load i32, ptr @CURL_SOCKET_BAD, align 4
br label %45
34: ; preds = %28
%35 = load i64, ptr @FIRSTSOCKET, align 8, !tbaa !13
%36 = tail call i64 @Curl_ssl_data_pending(ptr noundef nonnull %5, i64 noundef %35) #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %50
38: ; preds = %34
%39 = load i64, ptr %29, align 8, !tbaa !17
%40 = freeze i64 %39
%41 = icmp eq i64 %40, 0
%42 = load i32, ptr @CURL_SOCKET_BAD, align 4
%43 = select i1 %41, i32 %10, i32 %42
%44 = select i1 %41, i32 %42, i32 %10
br label %45
45: ; preds = %38, %32
%46 = phi i32 [ %33, %32 ], [ %43, %38 ]
%47 = phi i32 [ %33, %32 ], [ %42, %38 ]
%48 = phi i32 [ %10, %32 ], [ %44, %38 ]
%49 = tail call i32 @Curl_socket_check(i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef %21) #3
br label %50
50: ; preds = %34, %25, %18, %45
%51 = phi i32 [ %49, %45 ], [ 1, %18 ], [ 1, %25 ], [ 1, %34 ]
br i1 %19, label %63, label %52
52: ; preds = %50
%53 = tail call i64 @Curl_pgrsUpdate(ptr noundef nonnull %5) #3
%54 = icmp eq i64 %53, 0
br i1 %54, label %57, label %55
55: ; preds = %52
%56 = load i64, ptr @CURLE_ABORTED_BY_CALLBACK, align 8, !tbaa !13
br label %60
57: ; preds = %52
%58 = tail call i32 (...) @Curl_now() #3
%59 = tail call i64 @Curl_speedcheck(ptr noundef %12, i32 noundef %58) #3
br label %60
60: ; preds = %57, %55
%61 = phi i64 [ %56, %55 ], [ %59, %57 ]
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %71
63: ; preds = %60, %50
%64 = phi i64 [ 0, %60 ], [ %13, %50 ]
switch i32 %51, label %68 [
i32 -1, label %65
i32 0, label %71
]
65: ; preds = %63
%66 = tail call i32 @failf(ptr noundef %12, ptr noundef nonnull @.str.1) #3
%67 = load i64, ptr @CURLE_OUT_OF_MEMORY, align 8, !tbaa !13
br label %71
68: ; preds = %63
%69 = load ptr, ptr %0, align 8, !tbaa !18
%70 = tail call i64 %69(ptr noundef nonnull %5) #3
br label %71
71: ; preds = %65, %68, %63, %60, %15
%72 = phi i64 [ %17, %15 ], [ %61, %60 ], [ %67, %65 ], [ %70, %68 ], [ %64, %63 ]
ret i64 %72
}
declare i32 @Curl_pp_state_timeout(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @failf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @Curl_ssl_data_pending(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @Curl_pp_moredata(ptr noundef) local_unnamed_addr #1
declare i32 @Curl_socket_check(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @Curl_pgrsUpdate(ptr noundef) local_unnamed_addr #1
declare i64 @Curl_speedcheck(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Curl_now(...) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"pingpong", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!12, !7, i64 8}
!12 = !{!"connectdata", !7, i64 0, !7, i64 8}
!13 = !{!10, !10, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!12, !7, i64 0}
!17 = !{!6, !10, i64 8}
!18 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/curl/lib/extr_pingpong.c_Curl_pp_statemach.c'
source_filename = "AnghaBench/curl/lib/extr_pingpong.c_Curl_pp_statemach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FIRSTSOCKET = common local_unnamed_addr global i64 0, align 8
@CURLE_OK = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [24 x i8] c"server response timeout\00", align 1
@CURLE_OPERATION_TIMEDOUT = common local_unnamed_addr global i64 0, align 8
@CURL_SOCKET_BAD = common local_unnamed_addr global i32 0, align 4
@CURLE_ABORTED_BY_CALLBACK = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [18 x i8] c"select/poll error\00", align 1
@CURLE_OUT_OF_MEMORY = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @Curl_pp_statemach(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %5, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = load i64, ptr @FIRSTSOCKET, align 8, !tbaa !14
%9 = getelementptr inbounds i32, ptr %7, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = tail call i32 @Curl_pp_state_timeout(ptr noundef %0, i32 noundef %2) #3
%12 = load ptr, ptr %5, align 8, !tbaa !17
%13 = load i64, ptr @CURLE_OK, align 8, !tbaa !14
%14 = icmp slt i32 %11, 1
br i1 %14, label %15, label %18
15: ; preds = %3
%16 = tail call i32 @failf(ptr noundef %12, ptr noundef nonnull @.str) #3
%17 = load i64, ptr @CURLE_OPERATION_TIMEDOUT, align 8, !tbaa !14
br label %71
18: ; preds = %3
%19 = icmp eq i32 %1, 0
%20 = tail call i32 @llvm.umin.i32(i32 %11, i32 1000)
%21 = select i1 %19, i32 0, i32 %20
%22 = load i64, ptr @FIRSTSOCKET, align 8, !tbaa !14
%23 = tail call i64 @Curl_ssl_data_pending(ptr noundef nonnull %5, i64 noundef %22) #3
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %50
25: ; preds = %18
%26 = tail call i64 @Curl_pp_moredata(ptr noundef nonnull %0) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %50
28: ; preds = %25
%29 = getelementptr inbounds i8, ptr %0, i64 8
%30 = load i64, ptr %29, align 8, !tbaa !18
%31 = icmp eq i64 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %28
%33 = load i32, ptr @CURL_SOCKET_BAD, align 4
br label %45
34: ; preds = %28
%35 = load i64, ptr @FIRSTSOCKET, align 8, !tbaa !14
%36 = tail call i64 @Curl_ssl_data_pending(ptr noundef nonnull %5, i64 noundef %35) #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %50
38: ; preds = %34
%39 = load i64, ptr %29, align 8, !tbaa !18
%40 = freeze i64 %39
%41 = icmp eq i64 %40, 0
%42 = load i32, ptr @CURL_SOCKET_BAD, align 4
%43 = select i1 %41, i32 %10, i32 %42
%44 = select i1 %41, i32 %42, i32 %10
br label %45
45: ; preds = %38, %32
%46 = phi i32 [ %33, %32 ], [ %43, %38 ]
%47 = phi i32 [ %33, %32 ], [ %42, %38 ]
%48 = phi i32 [ %10, %32 ], [ %44, %38 ]
%49 = tail call i32 @Curl_socket_check(i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef %21) #3
br label %50
50: ; preds = %34, %25, %18, %45
%51 = phi i32 [ %49, %45 ], [ 1, %18 ], [ 1, %25 ], [ 1, %34 ]
br i1 %19, label %63, label %52
52: ; preds = %50
%53 = tail call i64 @Curl_pgrsUpdate(ptr noundef nonnull %5) #3
%54 = icmp eq i64 %53, 0
br i1 %54, label %57, label %55
55: ; preds = %52
%56 = load i64, ptr @CURLE_ABORTED_BY_CALLBACK, align 8, !tbaa !14
br label %60
57: ; preds = %52
%58 = tail call i32 @Curl_now() #3
%59 = tail call i64 @Curl_speedcheck(ptr noundef %12, i32 noundef %58) #3
br label %60
60: ; preds = %57, %55
%61 = phi i64 [ %56, %55 ], [ %59, %57 ]
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %71
63: ; preds = %60, %50
%64 = phi i64 [ 0, %60 ], [ %13, %50 ]
switch i32 %51, label %68 [
i32 -1, label %65
i32 0, label %71
]
65: ; preds = %63
%66 = tail call i32 @failf(ptr noundef %12, ptr noundef nonnull @.str.1) #3
%67 = load i64, ptr @CURLE_OUT_OF_MEMORY, align 8, !tbaa !14
br label %71
68: ; preds = %63
%69 = load ptr, ptr %0, align 8, !tbaa !19
%70 = tail call i64 %69(ptr noundef nonnull %5) #3
br label %71
71: ; preds = %65, %68, %63, %60, %15
%72 = phi i64 [ %17, %15 ], [ %61, %60 ], [ %67, %65 ], [ %70, %68 ], [ %64, %63 ]
ret i64 %72
}
declare i32 @Curl_pp_state_timeout(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @failf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @Curl_ssl_data_pending(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @Curl_pp_moredata(ptr noundef) local_unnamed_addr #1
declare i32 @Curl_socket_check(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @Curl_pgrsUpdate(ptr noundef) local_unnamed_addr #1
declare i64 @Curl_speedcheck(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Curl_now(...) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"pingpong", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!13, !8, i64 8}
!13 = !{!"connectdata", !8, i64 0, !8, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!13, !8, i64 0}
!18 = !{!7, !11, i64 8}
!19 = !{!7, !8, i64 0}
| curl_lib_extr_pingpong.c_Curl_pp_statemach |
; ModuleID = 'AnghaBench/freebsd/sys/dev/pci/extr_pci_iov_schema.c_pci_iov_schema_validate_bool.c'
source_filename = "AnghaBench/freebsd/sys/dev/pci/extr_pci_iov_schema.c_pci_iov_schema_validate_bool.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pci_iov_schema_validate_bool], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pci_iov_schema_validate_bool(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @nvlist_exists_bool(ptr noundef %1, ptr noundef %2) #2
%5 = icmp eq i32 %4, 0
%6 = load i32, ptr @EINVAL, align 4
%7 = select i1 %5, i32 %6, i32 0
ret i32 %7
}
declare i32 @nvlist_exists_bool(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/pci/extr_pci_iov_schema.c_pci_iov_schema_validate_bool.c'
source_filename = "AnghaBench/freebsd/sys/dev/pci/extr_pci_iov_schema.c_pci_iov_schema_validate_bool.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pci_iov_schema_validate_bool], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pci_iov_schema_validate_bool(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @nvlist_exists_bool(ptr noundef %1, ptr noundef %2) #2
%5 = icmp eq i32 %4, 0
%6 = load i32, ptr @EINVAL, align 4
%7 = select i1 %5, i32 %6, i32 0
ret i32 %7
}
declare i32 @nvlist_exists_bool(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_dev_pci_extr_pci_iov_schema.c_pci_iov_schema_validate_bool |
; ModuleID = 'AnghaBench/lede/package/utils/fritz-tools/src/extr_fritz_tffs_read.c_usage.c'
source_filename = "AnghaBench/lede/package/utils/fritz-tools/src/extr_fritz_tffs_read.c_usage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EXIT_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@stderr = dso_local local_unnamed_addr global ptr null, align 8
@stdout = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [24 x i8] c"Usage: %s [OPTIONS...]\0A\00", align 1
@progname = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [402 x i8] c"\0AOptions:\0A -a list all key value pairs found in the TFFS file/device\0A -b swap bytes while parsing the TFFS file/device\0A -h show this screen\0A -i <file> inspect the given TFFS file/device <file>\0A -l list all supported keys\0A -n <key name> display the value of the given key\0A -s <size> the (max) size of the TFFS file/device <size>\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @usage(i32 noundef %0) #0 {
%2 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !5
%3 = icmp eq i32 %2, %0
%4 = load ptr, ptr @stderr, align 8
%5 = load ptr, ptr @stdout, align 8
%6 = select i1 %3, ptr %5, ptr %4
%7 = load ptr, ptr @progname, align 8, !tbaa !9
%8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef nonnull @.str, ptr noundef %7)
%9 = tail call i64 @fwrite(ptr nonnull @.str.1, i64 401, i64 1, ptr %6)
%10 = tail call i32 @exit(i32 noundef %0) #4
unreachable
}
; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 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 = { 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { nofree nounwind }
attributes #4 = { 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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/lede/package/utils/fritz-tools/src/extr_fritz_tffs_read.c_usage.c'
source_filename = "AnghaBench/lede/package/utils/fritz-tools/src/extr_fritz_tffs_read.c_usage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EXIT_SUCCESS = common local_unnamed_addr global i32 0, align 4
@stderr = common local_unnamed_addr global ptr null, align 8
@stdout = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [24 x i8] c"Usage: %s [OPTIONS...]\0A\00", align 1
@progname = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [402 x i8] c"\0AOptions:\0A -a list all key value pairs found in the TFFS file/device\0A -b swap bytes while parsing the TFFS file/device\0A -h show this screen\0A -i <file> inspect the given TFFS file/device <file>\0A -l list all supported keys\0A -n <key name> display the value of the given key\0A -s <size> the (max) size of the TFFS file/device <size>\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @usage(i32 noundef %0) #0 {
%2 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !6
%3 = icmp eq i32 %2, %0
%4 = load ptr, ptr @stderr, align 8
%5 = load ptr, ptr @stdout, align 8
%6 = select i1 %3, ptr %5, ptr %4
%7 = load ptr, ptr @progname, align 8, !tbaa !10
%8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef nonnull @.str, ptr noundef %7)
%9 = tail call i64 @fwrite(ptr nonnull @.str.1, i64 401, i64 1, ptr %6)
%10 = tail call i32 @exit(i32 noundef %0) #4
unreachable
}
; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 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 = { 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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { 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 #3 = { nofree nounwind }
attributes #4 = { 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 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| lede_package_utils_fritz-tools_src_extr_fritz_tffs_read.c_usage |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adm1031.c_adm1031_write_value.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adm1031.c_adm1031_write_value.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @adm1031_write_value], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @adm1031_write_value(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adm1031.c_adm1031_write_value.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adm1031.c_adm1031_write_value.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 @adm1031_write_value], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @adm1031_write_value(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_hwmon_extr_adm1031.c_adm1031_write_value |
; ModuleID = 'AnghaBench/ios-webkit-debug-proxy/src/extr_char_buffer.c_cb_sprint.c'
source_filename = "AnghaBench/ios-webkit-debug-proxy/src/extr_char_buffer.c_cb_sprint.c"
target datalayout = "e-m:e-p270:32:32-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 [17 x i8] c"0123456789ABCDEF\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%zd\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i64 @cb_sprint(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = icmp slt i32 %2, 1
br i1 %6, label %7, label %9
7: ; preds = %5
%8 = icmp eq ptr %0, null
br i1 %8, label %291, label %288
9: ; preds = %5
%10 = icmp sgt i32 %3, -1
br i1 %10, label %15, label %11
11: ; preds = %9
%12 = zext nneg i32 %2 to i64
%13 = icmp sgt i32 %4, -1
%14 = zext nneg i32 %4 to i64
br label %23
15: ; preds = %9
%16 = icmp ugt i32 %3, 6
%17 = add nsw i32 %3, -2
%18 = lshr i32 %17, 2
%19 = select i1 %16, i32 %18, i32 1
%20 = zext nneg i32 %19 to i64
%21 = zext nneg i32 %2 to i64
%22 = zext nneg i32 %4 to i64
br label %43
23: ; preds = %11, %37
%24 = phi i64 [ 0, %11 ], [ %41, %37 ]
%25 = phi i64 [ 0, %11 ], [ %40, %37 ]
%26 = phi i64 [ 1, %11 ], [ %39, %37 ]
%27 = phi i64 [ 0, %11 ], [ %38, %37 ]
%28 = getelementptr inbounds i8, ptr %1, i64 %24
%29 = load i8, ptr %28, align 1, !tbaa !5
%30 = add i64 %25, 1
%31 = icmp eq i8 %29, 10
br i1 %31, label %32, label %37
32: ; preds = %23
%33 = tail call i64 @llvm.umax.i64(i64 %30, i64 %26)
br i1 %13, label %34, label %37
34: ; preds = %32
%35 = add i64 %27, 1
%36 = icmp ugt i64 %35, %14
br i1 %36, label %43, label %37
37: ; preds = %32, %23, %34
%38 = phi i64 [ %35, %34 ], [ %27, %32 ], [ %27, %23 ]
%39 = phi i64 [ %33, %34 ], [ %33, %32 ], [ %26, %23 ]
%40 = phi i64 [ 0, %34 ], [ 0, %32 ], [ %30, %23 ]
%41 = add nuw nsw i64 %24, 2
%42 = icmp ult i64 %41, %12
br i1 %42, label %23, label %43, !llvm.loop !8
43: ; preds = %34, %37, %15
%44 = phi i64 [ %22, %15 ], [ %14, %37 ], [ %14, %34 ]
%45 = phi i64 [ %21, %15 ], [ %12, %37 ], [ %12, %34 ]
%46 = phi i64 [ %20, %15 ], [ %33, %34 ], [ %39, %37 ]
%47 = icmp sgt i32 %4, -1
%48 = getelementptr i8, ptr %1, i64 1
br label %49
49: ; preds = %281, %43
%50 = phi i64 [ 0, %43 ], [ %277, %281 ]
%51 = phi i64 [ 0, %43 ], [ %194, %281 ]
%52 = phi i64 [ 0, %43 ], [ %283, %281 ]
%53 = phi ptr [ %0, %43 ], [ %282, %281 ]
br label %54
54: ; preds = %79, %49
%55 = phi i64 [ %51, %49 ], [ %63, %79 ]
%56 = phi i64 [ %46, %49 ], [ %82, %79 ]
%57 = phi i64 [ %52, %49 ], [ %81, %79 ]
%58 = phi ptr [ %53, %49 ], [ %80, %79 ]
%59 = icmp ult i64 %55, %45
%60 = icmp ne i64 %56, 0
%61 = select i1 %59, i1 %60, i1 false
br i1 %61, label %62, label %84
62: ; preds = %54
%63 = add nuw nsw i64 %55, 1
%64 = getelementptr inbounds i8, ptr %1, i64 %55
%65 = load i8, ptr %64, align 1, !tbaa !5
%66 = icmp eq ptr %58, null
br i1 %66, label %79, label %67
67: ; preds = %62
%68 = getelementptr inbounds i8, ptr %58, i64 1
store i8 32, ptr %58, align 1, !tbaa !5
%69 = lshr i8 %65, 4
%70 = zext nneg i8 %69 to i64
%71 = getelementptr inbounds i8, ptr @.str, i64 %70
%72 = load i8, ptr %71, align 1, !tbaa !5
%73 = getelementptr inbounds i8, ptr %58, i64 2
store i8 %72, ptr %68, align 1, !tbaa !5
%74 = and i8 %65, 15
%75 = zext nneg i8 %74 to i64
%76 = getelementptr inbounds i8, ptr @.str, i64 %75
%77 = load i8, ptr %76, align 1, !tbaa !5
%78 = getelementptr inbounds i8, ptr %58, i64 3
store i8 %77, ptr %73, align 1, !tbaa !5
br label %79
79: ; preds = %62, %67
%80 = phi ptr [ %78, %67 ], [ null, %62 ]
%81 = add i64 %57, 3
%82 = add i64 %56, -1
%83 = icmp eq i8 %65, 10
br i1 %83, label %84, label %54
84: ; preds = %79, %54
%85 = phi i64 [ %63, %79 ], [ %55, %54 ]
%86 = phi i64 [ %82, %79 ], [ %56, %54 ]
%87 = phi i64 [ %81, %79 ], [ %57, %54 ]
%88 = phi ptr [ %80, %79 ], [ %58, %54 ]
%89 = icmp eq i64 %86, 0
br i1 %89, label %130, label %90
90: ; preds = %84
%91 = mul i64 %86, 3
%92 = and i64 %86, 1
%93 = icmp eq i64 %92, 0
br i1 %93, label %103, label %94
94: ; preds = %90
%95 = icmp eq ptr %88, null
br i1 %95, label %100, label %96
96: ; preds = %94
%97 = getelementptr inbounds i8, ptr %88, i64 1
store i8 32, ptr %88, align 1, !tbaa !5
%98 = getelementptr inbounds i8, ptr %88, i64 2
store i8 32, ptr %97, align 1, !tbaa !5
%99 = getelementptr inbounds i8, ptr %88, i64 3
store i8 32, ptr %98, align 1, !tbaa !5
br label %100
100: ; preds = %96, %94
%101 = phi ptr [ %99, %96 ], [ null, %94 ]
%102 = add nsw i64 %86, -1
br label %103
103: ; preds = %100, %90
%104 = phi ptr [ undef, %90 ], [ %101, %100 ]
%105 = phi ptr [ %88, %90 ], [ %101, %100 ]
%106 = phi i64 [ %86, %90 ], [ %102, %100 ]
%107 = icmp eq i64 %86, 1
br i1 %107, label %127, label %108
108: ; preds = %103, %123
%109 = phi ptr [ %124, %123 ], [ %105, %103 ]
%110 = phi i64 [ %125, %123 ], [ %106, %103 ]
%111 = icmp eq ptr %109, null
br i1 %111, label %116, label %112
112: ; preds = %108
%113 = getelementptr inbounds i8, ptr %109, i64 1
store i8 32, ptr %109, align 1, !tbaa !5
%114 = getelementptr inbounds i8, ptr %109, i64 2
store i8 32, ptr %113, align 1, !tbaa !5
%115 = getelementptr inbounds i8, ptr %109, i64 3
store i8 32, ptr %114, align 1, !tbaa !5
br label %116
116: ; preds = %108, %112
%117 = phi ptr [ %115, %112 ], [ null, %108 ]
%118 = icmp eq ptr %117, null
br i1 %118, label %123, label %119
119: ; preds = %116
%120 = getelementptr inbounds i8, ptr %117, i64 1
store i8 32, ptr %117, align 1, !tbaa !5
%121 = getelementptr inbounds i8, ptr %117, i64 2
store i8 32, ptr %120, align 1, !tbaa !5
%122 = getelementptr inbounds i8, ptr %117, i64 3
store i8 32, ptr %121, align 1, !tbaa !5
br label %123
123: ; preds = %119, %116
%124 = phi ptr [ %122, %119 ], [ null, %116 ]
%125 = add i64 %110, -2
%126 = icmp eq i64 %125, 0
br i1 %126, label %127, label %108, !llvm.loop !10
127: ; preds = %123, %103
%128 = phi ptr [ %104, %103 ], [ %124, %123 ]
%129 = add i64 %87, %91
br label %130
130: ; preds = %127, %84
%131 = phi i64 [ %87, %84 ], [ %129, %127 ]
%132 = phi ptr [ %88, %84 ], [ %128, %127 ]
%133 = icmp eq ptr %132, null
br i1 %133, label %137, label %134
134: ; preds = %130
%135 = getelementptr inbounds i8, ptr %132, i64 1
store i8 32, ptr %132, align 1, !tbaa !5
%136 = getelementptr inbounds i8, ptr %132, i64 2
store i8 32, ptr %135, align 1, !tbaa !5
br label %137
137: ; preds = %130, %134
%138 = phi ptr [ %136, %134 ], [ null, %130 ]
%139 = add i64 %131, 2
%140 = icmp ult i64 %51, %85
br i1 %140, label %141, label %193
141: ; preds = %137
%142 = sub i64 %85, %51
%143 = add i64 %51, 1
%144 = and i64 %142, 1
%145 = icmp eq i64 %144, 0
br i1 %145, label %159, label %146
146: ; preds = %141
%147 = add nuw i64 %51, 1
%148 = icmp eq ptr %138, null
br i1 %148, label %156, label %149
149: ; preds = %146
%150 = getelementptr inbounds i8, ptr %1, i64 %51
%151 = load i8, ptr %150, align 1, !tbaa !5
%152 = add i8 %151, -127
%153 = icmp ult i8 %152, -95
%154 = select i1 %153, i8 46, i8 %151
%155 = getelementptr inbounds i8, ptr %138, i64 1
store i8 %154, ptr %138, align 1, !tbaa !5
br label %156
156: ; preds = %149, %146
%157 = phi ptr [ %155, %149 ], [ null, %146 ]
%158 = add i64 %131, 3
br label %159
159: ; preds = %156, %141
%160 = phi ptr [ undef, %141 ], [ %157, %156 ]
%161 = phi i64 [ undef, %141 ], [ %158, %156 ]
%162 = phi ptr [ %138, %141 ], [ %157, %156 ]
%163 = phi i64 [ %139, %141 ], [ %158, %156 ]
%164 = phi i64 [ %51, %141 ], [ %147, %156 ]
%165 = icmp eq i64 %85, %143
br i1 %165, label %193, label %166
166: ; preds = %159, %189
%167 = phi ptr [ %190, %189 ], [ %162, %159 ]
%168 = phi i64 [ %191, %189 ], [ %163, %159 ]
%169 = phi i64 [ %180, %189 ], [ %164, %159 ]
%170 = icmp eq ptr %167, null
br i1 %170, label %178, label %171
171: ; preds = %166
%172 = getelementptr inbounds i8, ptr %1, i64 %169
%173 = load i8, ptr %172, align 1, !tbaa !5
%174 = add i8 %173, -127
%175 = icmp ult i8 %174, -95
%176 = select i1 %175, i8 46, i8 %173
%177 = getelementptr inbounds i8, ptr %167, i64 1
store i8 %176, ptr %167, align 1, !tbaa !5
br label %178
178: ; preds = %171, %166
%179 = phi ptr [ %177, %171 ], [ null, %166 ]
%180 = add nuw i64 %169, 2
%181 = icmp eq ptr %179, null
br i1 %181, label %189, label %182
182: ; preds = %178
%183 = getelementptr i8, ptr %48, i64 %169
%184 = load i8, ptr %183, align 1, !tbaa !5
%185 = add i8 %184, -127
%186 = icmp ult i8 %185, -95
%187 = select i1 %186, i8 46, i8 %184
%188 = getelementptr inbounds i8, ptr %179, i64 1
store i8 %187, ptr %179, align 1, !tbaa !5
br label %189
189: ; preds = %182, %178
%190 = phi ptr [ %188, %182 ], [ null, %178 ]
%191 = add i64 %168, 2
%192 = icmp eq i64 %180, %85
br i1 %192, label %193, label %166, !llvm.loop !11
193: ; preds = %159, %189, %137
%194 = phi i64 [ %51, %137 ], [ %85, %189 ], [ %85, %159 ]
%195 = phi i64 [ %139, %137 ], [ %161, %159 ], [ %191, %189 ]
%196 = phi ptr [ %138, %137 ], [ %160, %159 ], [ %190, %189 ]
%197 = icmp ult i64 %194, %45
br i1 %197, label %198, label %284
198: ; preds = %193
br i1 %47, label %199, label %276
199: ; preds = %198
%200 = add i64 %50, 1
%201 = icmp ugt i64 %200, %44
br i1 %201, label %202, label %276
202: ; preds = %199
br i1 %89, label %251, label %203
203: ; preds = %202
%204 = and i64 %86, 3
%205 = icmp eq i64 %204, 0
br i1 %205, label %218, label %206
206: ; preds = %203, %213
%207 = phi ptr [ %214, %213 ], [ %196, %203 ]
%208 = phi i64 [ %215, %213 ], [ %86, %203 ]
%209 = phi i64 [ %216, %213 ], [ 0, %203 ]
%210 = icmp eq ptr %207, null
br i1 %210, label %213, label %211
211: ; preds = %206
%212 = getelementptr inbounds i8, ptr %207, i64 1
store i8 32, ptr %207, align 1, !tbaa !5
br label %213
213: ; preds = %211, %206
%214 = phi ptr [ %212, %211 ], [ null, %206 ]
%215 = add i64 %208, -1
%216 = add i64 %209, 1
%217 = icmp eq i64 %216, %204
br i1 %217, label %218, label %206, !llvm.loop !12
218: ; preds = %213, %203
%219 = phi ptr [ undef, %203 ], [ %214, %213 ]
%220 = phi ptr [ %196, %203 ], [ %214, %213 ]
%221 = phi i64 [ %86, %203 ], [ %215, %213 ]
%222 = icmp ult i64 %86, 4
br i1 %222, label %248, label %223
223: ; preds = %218, %244
%224 = phi ptr [ %245, %244 ], [ %220, %218 ]
%225 = phi i64 [ %246, %244 ], [ %221, %218 ]
%226 = icmp eq ptr %224, null
br i1 %226, label %229, label %227
227: ; preds = %223
%228 = getelementptr inbounds i8, ptr %224, i64 1
store i8 32, ptr %224, align 1, !tbaa !5
br label %229
229: ; preds = %227, %223
%230 = phi ptr [ %228, %227 ], [ null, %223 ]
%231 = icmp eq ptr %230, null
br i1 %231, label %234, label %232
232: ; preds = %229
%233 = getelementptr inbounds i8, ptr %230, i64 1
store i8 32, ptr %230, align 1, !tbaa !5
br label %234
234: ; preds = %232, %229
%235 = phi ptr [ %233, %232 ], [ null, %229 ]
%236 = icmp eq ptr %235, null
br i1 %236, label %239, label %237
237: ; preds = %234
%238 = getelementptr inbounds i8, ptr %235, i64 1
store i8 32, ptr %235, align 1, !tbaa !5
br label %239
239: ; preds = %237, %234
%240 = phi ptr [ %238, %237 ], [ null, %234 ]
%241 = icmp eq ptr %240, null
br i1 %241, label %244, label %242
242: ; preds = %239
%243 = getelementptr inbounds i8, ptr %240, i64 1
store i8 32, ptr %240, align 1, !tbaa !5
br label %244
244: ; preds = %242, %239
%245 = phi ptr [ %243, %242 ], [ null, %239 ]
%246 = add i64 %225, -4
%247 = icmp eq i64 %246, 0
br i1 %247, label %248, label %223, !llvm.loop !14
248: ; preds = %244, %218
%249 = phi ptr [ %219, %218 ], [ %245, %244 ]
%250 = add i64 %86, %195
br label %251
251: ; preds = %248, %202
%252 = phi i64 [ %195, %202 ], [ %250, %248 ]
%253 = phi ptr [ %196, %202 ], [ %249, %248 ]
%254 = icmp eq ptr %253, null
br i1 %254, label %262, label %255
255: ; preds = %251
%256 = getelementptr inbounds i8, ptr %253, i64 1
store i8 32, ptr %253, align 1, !tbaa !5
%257 = getelementptr inbounds i8, ptr %253, i64 2
store i8 43, ptr %256, align 1, !tbaa !5
%258 = trunc i64 %194 to i32
%259 = sub i32 %2, %258
%260 = tail call i64 @sprintf(ptr noundef nonnull %257, ptr noundef nonnull @.str.1, i32 noundef %259) #3
%261 = getelementptr inbounds i8, ptr %257, i64 %260
br label %271
262: ; preds = %251
%263 = trunc i64 %194 to i32
%264 = sub i32 %2, %263
%265 = tail call i64 @log10(i32 noundef %264) #3
%266 = sitofp i64 %265 to double
%267 = fadd double %266, 5.000000e-01
%268 = fptosi double %267 to i32
%269 = add nsw i32 %268, 1
%270 = sext i32 %269 to i64
br label %271
271: ; preds = %262, %255
%272 = phi i64 [ %260, %255 ], [ %270, %262 ]
%273 = phi ptr [ %261, %255 ], [ null, %262 ]
%274 = add i64 %252, 2
%275 = add i64 %274, %272
br label %284
276: ; preds = %199, %198
%277 = phi i64 [ %200, %199 ], [ %50, %198 ]
%278 = icmp eq ptr %196, null
br i1 %278, label %281, label %279
279: ; preds = %276
%280 = getelementptr inbounds i8, ptr %196, i64 1
store i8 10, ptr %196, align 1, !tbaa !5
br label %281
281: ; preds = %276, %279
%282 = phi ptr [ %280, %279 ], [ null, %276 ]
%283 = add i64 %195, 1
br label %49
284: ; preds = %193, %271
%285 = phi i64 [ %275, %271 ], [ %195, %193 ]
%286 = phi ptr [ %273, %271 ], [ %196, %193 ]
%287 = icmp eq ptr %286, null
br i1 %287, label %291, label %288
288: ; preds = %284, %7
%289 = phi ptr [ %0, %7 ], [ %286, %284 ]
%290 = phi i64 [ 0, %7 ], [ %285, %284 ]
store i8 0, ptr %289, align 1, !tbaa !5
br label %291
291: ; preds = %288, %284, %7
%292 = phi i64 [ 0, %7 ], [ %285, %284 ], [ %290, %288 ]
ret i64 %292
}
declare i64 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @log10(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = distinct !{!11, !9}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.unroll.disable"}
!14 = distinct !{!14, !9}
| ; ModuleID = 'AnghaBench/ios-webkit-debug-proxy/src/extr_char_buffer.c_cb_sprint.c'
source_filename = "AnghaBench/ios-webkit-debug-proxy/src/extr_char_buffer.c_cb_sprint.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [17 x i8] c"0123456789ABCDEF\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%zd\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @cb_sprint(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = icmp slt i32 %2, 1
br i1 %6, label %7, label %9
7: ; preds = %5
%8 = icmp eq ptr %0, null
br i1 %8, label %197, label %194
9: ; preds = %5
%10 = icmp sgt i32 %3, -1
br i1 %10, label %15, label %11
11: ; preds = %9
%12 = zext nneg i32 %2 to i64
%13 = icmp sgt i32 %4, -1
%14 = zext nneg i32 %4 to i64
br label %23
15: ; preds = %9
%16 = icmp ugt i32 %3, 6
%17 = add nsw i32 %3, -2
%18 = lshr i32 %17, 2
%19 = select i1 %16, i32 %18, i32 1
%20 = zext nneg i32 %19 to i64
%21 = zext nneg i32 %2 to i64
%22 = zext nneg i32 %4 to i64
br label %43
23: ; preds = %11, %37
%24 = phi i64 [ 0, %11 ], [ %41, %37 ]
%25 = phi i64 [ 0, %11 ], [ %40, %37 ]
%26 = phi i64 [ 1, %11 ], [ %39, %37 ]
%27 = phi i64 [ 0, %11 ], [ %38, %37 ]
%28 = getelementptr inbounds i8, ptr %1, i64 %24
%29 = load i8, ptr %28, align 1, !tbaa !6
%30 = add i64 %25, 1
%31 = icmp eq i8 %29, 10
br i1 %31, label %32, label %37
32: ; preds = %23
%33 = tail call i64 @llvm.umax.i64(i64 %30, i64 %26)
br i1 %13, label %34, label %37
34: ; preds = %32
%35 = add i64 %27, 1
%36 = icmp ugt i64 %35, %14
br i1 %36, label %43, label %37
37: ; preds = %23, %34, %32
%38 = phi i64 [ %27, %23 ], [ %35, %34 ], [ %27, %32 ]
%39 = phi i64 [ %26, %23 ], [ %33, %34 ], [ %33, %32 ]
%40 = phi i64 [ %30, %23 ], [ 0, %34 ], [ 0, %32 ]
%41 = add nuw nsw i64 %24, 2
%42 = icmp ult i64 %41, %12
br i1 %42, label %23, label %43, !llvm.loop !9
43: ; preds = %34, %37, %15
%44 = phi i64 [ %22, %15 ], [ %14, %37 ], [ %14, %34 ]
%45 = phi i64 [ %21, %15 ], [ %12, %37 ], [ %12, %34 ]
%46 = phi i64 [ %20, %15 ], [ %33, %34 ], [ %39, %37 ]
%47 = icmp sgt i32 %4, -1
br label %48
48: ; preds = %187, %43
%49 = phi i64 [ 0, %43 ], [ %183, %187 ]
%50 = phi i64 [ 0, %43 ], [ %136, %187 ]
%51 = phi i64 [ 0, %43 ], [ %189, %187 ]
%52 = phi ptr [ %0, %43 ], [ %188, %187 ]
br label %53
53: ; preds = %78, %48
%54 = phi i64 [ %50, %48 ], [ %62, %78 ]
%55 = phi i64 [ %46, %48 ], [ %81, %78 ]
%56 = phi i64 [ %51, %48 ], [ %80, %78 ]
%57 = phi ptr [ %52, %48 ], [ %79, %78 ]
%58 = icmp ult i64 %54, %45
%59 = icmp ne i64 %55, 0
%60 = select i1 %58, i1 %59, i1 false
br i1 %60, label %61, label %83
61: ; preds = %53
%62 = add nuw nsw i64 %54, 1
%63 = getelementptr inbounds i8, ptr %1, i64 %54
%64 = load i8, ptr %63, align 1, !tbaa !6
%65 = icmp eq ptr %57, null
br i1 %65, label %78, label %66
66: ; preds = %61
%67 = getelementptr inbounds i8, ptr %57, i64 1
store i8 32, ptr %57, align 1, !tbaa !6
%68 = lshr i8 %64, 4
%69 = zext nneg i8 %68 to i64
%70 = getelementptr inbounds i8, ptr @.str, i64 %69
%71 = load i8, ptr %70, align 1, !tbaa !6
%72 = getelementptr inbounds i8, ptr %57, i64 2
store i8 %71, ptr %67, align 1, !tbaa !6
%73 = and i8 %64, 15
%74 = zext nneg i8 %73 to i64
%75 = getelementptr inbounds i8, ptr @.str, i64 %74
%76 = load i8, ptr %75, align 1, !tbaa !6
%77 = getelementptr inbounds i8, ptr %57, i64 3
store i8 %76, ptr %72, align 1, !tbaa !6
br label %78
78: ; preds = %61, %66
%79 = phi ptr [ %77, %66 ], [ null, %61 ]
%80 = add i64 %56, 3
%81 = add i64 %55, -1
%82 = icmp eq i8 %64, 10
br i1 %82, label %83, label %53
83: ; preds = %78, %53
%84 = phi i64 [ %62, %78 ], [ %54, %53 ]
%85 = phi i64 [ %81, %78 ], [ %55, %53 ]
%86 = phi i64 [ %80, %78 ], [ %56, %53 ]
%87 = phi ptr [ %79, %78 ], [ %57, %53 ]
%88 = icmp eq i64 %85, 0
br i1 %88, label %105, label %89
89: ; preds = %83
%90 = mul i64 %85, 3
br label %91
91: ; preds = %89, %99
%92 = phi ptr [ %100, %99 ], [ %87, %89 ]
%93 = phi i64 [ %101, %99 ], [ %85, %89 ]
%94 = icmp eq ptr %92, null
br i1 %94, label %99, label %95
95: ; preds = %91
%96 = getelementptr inbounds i8, ptr %92, i64 1
store i8 32, ptr %92, align 1, !tbaa !6
%97 = getelementptr inbounds i8, ptr %92, i64 2
store i8 32, ptr %96, align 1, !tbaa !6
%98 = getelementptr inbounds i8, ptr %92, i64 3
store i8 32, ptr %97, align 1, !tbaa !6
br label %99
99: ; preds = %91, %95
%100 = phi ptr [ %98, %95 ], [ null, %91 ]
%101 = add i64 %93, -1
%102 = icmp eq i64 %101, 0
br i1 %102, label %103, label %91, !llvm.loop !11
103: ; preds = %99
%104 = add i64 %86, %90
br label %105
105: ; preds = %103, %83
%106 = phi i64 [ %86, %83 ], [ %104, %103 ]
%107 = phi ptr [ %87, %83 ], [ %100, %103 ]
%108 = icmp eq ptr %107, null
br i1 %108, label %112, label %109
109: ; preds = %105
%110 = getelementptr inbounds i8, ptr %107, i64 1
store i8 32, ptr %107, align 1, !tbaa !6
%111 = getelementptr inbounds i8, ptr %107, i64 2
store i8 32, ptr %110, align 1, !tbaa !6
br label %112
112: ; preds = %105, %109
%113 = phi ptr [ %111, %109 ], [ null, %105 ]
%114 = add i64 %106, 2
%115 = icmp ult i64 %50, %84
br i1 %115, label %116, label %135
116: ; preds = %112
%117 = add i64 %114, %84
br label %118
118: ; preds = %116, %130
%119 = phi ptr [ %131, %130 ], [ %113, %116 ]
%120 = phi i64 [ %121, %130 ], [ %50, %116 ]
%121 = add nuw i64 %120, 1
%122 = icmp eq ptr %119, null
br i1 %122, label %130, label %123
123: ; preds = %118
%124 = getelementptr inbounds i8, ptr %1, i64 %120
%125 = load i8, ptr %124, align 1, !tbaa !6
%126 = add i8 %125, -127
%127 = icmp ult i8 %126, -95
%128 = select i1 %127, i8 46, i8 %125
%129 = getelementptr inbounds i8, ptr %119, i64 1
store i8 %128, ptr %119, align 1, !tbaa !6
br label %130
130: ; preds = %123, %118
%131 = phi ptr [ %129, %123 ], [ null, %118 ]
%132 = icmp eq i64 %121, %84
br i1 %132, label %133, label %118, !llvm.loop !12
133: ; preds = %130
%134 = sub i64 %117, %50
br label %135
135: ; preds = %133, %112
%136 = phi i64 [ %50, %112 ], [ %84, %133 ]
%137 = phi i64 [ %114, %112 ], [ %134, %133 ]
%138 = phi ptr [ %113, %112 ], [ %131, %133 ]
%139 = icmp ult i64 %136, %45
br i1 %139, label %140, label %190
140: ; preds = %135
br i1 %47, label %141, label %182
141: ; preds = %140
%142 = add i64 %49, 1
%143 = icmp ugt i64 %142, %44
br i1 %143, label %144, label %182
144: ; preds = %141
br i1 %88, label %157, label %145
145: ; preds = %144, %152
%146 = phi ptr [ %153, %152 ], [ %138, %144 ]
%147 = phi i64 [ %155, %152 ], [ %85, %144 ]
%148 = phi i64 [ %154, %152 ], [ %137, %144 ]
%149 = icmp eq ptr %146, null
br i1 %149, label %152, label %150
150: ; preds = %145
%151 = getelementptr inbounds i8, ptr %146, i64 1
store i8 32, ptr %146, align 1, !tbaa !6
br label %152
152: ; preds = %150, %145
%153 = phi ptr [ %151, %150 ], [ null, %145 ]
%154 = add i64 %148, 1
%155 = add i64 %147, -1
%156 = icmp eq i64 %155, 0
br i1 %156, label %157, label %145, !llvm.loop !13
157: ; preds = %152, %144
%158 = phi i64 [ %137, %144 ], [ %154, %152 ]
%159 = phi ptr [ %138, %144 ], [ %153, %152 ]
%160 = icmp eq ptr %159, null
br i1 %160, label %168, label %161
161: ; preds = %157
%162 = getelementptr inbounds i8, ptr %159, i64 1
store i8 32, ptr %159, align 1, !tbaa !6
%163 = getelementptr inbounds i8, ptr %159, i64 2
store i8 43, ptr %162, align 1, !tbaa !6
%164 = trunc i64 %136 to i32
%165 = sub i32 %2, %164
%166 = tail call i64 @sprintf(ptr noundef nonnull %163, ptr noundef nonnull @.str.1, i32 noundef %165) #3
%167 = getelementptr inbounds i8, ptr %163, i64 %166
br label %177
168: ; preds = %157
%169 = trunc i64 %136 to i32
%170 = sub i32 %2, %169
%171 = tail call i64 @log10(i32 noundef %170) #3
%172 = sitofp i64 %171 to double
%173 = fadd double %172, 5.000000e-01
%174 = fptosi double %173 to i32
%175 = add nsw i32 %174, 1
%176 = sext i32 %175 to i64
br label %177
177: ; preds = %168, %161
%178 = phi i64 [ %166, %161 ], [ %176, %168 ]
%179 = phi ptr [ %167, %161 ], [ null, %168 ]
%180 = add i64 %158, 2
%181 = add i64 %180, %178
br label %190
182: ; preds = %141, %140
%183 = phi i64 [ %142, %141 ], [ %49, %140 ]
%184 = icmp eq ptr %138, null
br i1 %184, label %187, label %185
185: ; preds = %182
%186 = getelementptr inbounds i8, ptr %138, i64 1
store i8 10, ptr %138, align 1, !tbaa !6
br label %187
187: ; preds = %182, %185
%188 = phi ptr [ %186, %185 ], [ null, %182 ]
%189 = add i64 %137, 1
br label %48
190: ; preds = %135, %177
%191 = phi i64 [ %181, %177 ], [ %137, %135 ]
%192 = phi ptr [ %179, %177 ], [ %138, %135 ]
%193 = icmp eq ptr %192, null
br i1 %193, label %197, label %194
194: ; preds = %190, %7
%195 = phi ptr [ %0, %7 ], [ %192, %190 ]
%196 = phi i64 [ 0, %7 ], [ %191, %190 ]
store i8 0, ptr %195, align 1, !tbaa !6
br label %197
197: ; preds = %194, %190, %7
%198 = phi i64 [ 0, %7 ], [ %191, %190 ], [ %196, %194 ]
ret i64 %198
}
declare i64 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @log10(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
| ios-webkit-debug-proxy_src_extr_char_buffer.c_cb_sprint |
; ModuleID = 'AnghaBench/openssl/crypto/x509/extr_v3_lib.c_X509V3_EXT_get.c'
source_filename = "AnghaBench/openssl/crypto/x509/extr_v3_lib.c_X509V3_EXT_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"
@NID_undef = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @X509V3_EXT_get(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @X509_EXTENSION_get_object(ptr noundef %0) #2
%3 = tail call i32 @OBJ_obj2nid(i32 noundef %2) #2
%4 = load i32, ptr @NID_undef, align 4, !tbaa !5
%5 = icmp eq i32 %3, %4
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call ptr @X509V3_EXT_get_nid(i32 noundef %3) #2
br label %8
8: ; preds = %1, %6
%9 = phi ptr [ %7, %6 ], [ null, %1 ]
ret ptr %9
}
declare i32 @OBJ_obj2nid(i32 noundef) local_unnamed_addr #1
declare i32 @X509_EXTENSION_get_object(ptr noundef) local_unnamed_addr #1
declare ptr @X509V3_EXT_get_nid(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/openssl/crypto/x509/extr_v3_lib.c_X509V3_EXT_get.c'
source_filename = "AnghaBench/openssl/crypto/x509/extr_v3_lib.c_X509V3_EXT_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NID_undef = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @X509V3_EXT_get(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @X509_EXTENSION_get_object(ptr noundef %0) #2
%3 = tail call i32 @OBJ_obj2nid(i32 noundef %2) #2
%4 = load i32, ptr @NID_undef, align 4, !tbaa !6
%5 = icmp eq i32 %3, %4
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call ptr @X509V3_EXT_get_nid(i32 noundef %3) #2
br label %8
8: ; preds = %1, %6
%9 = phi ptr [ %7, %6 ], [ null, %1 ]
ret ptr %9
}
declare i32 @OBJ_obj2nid(i32 noundef) local_unnamed_addr #1
declare i32 @X509_EXTENSION_get_object(ptr noundef) local_unnamed_addr #1
declare ptr @X509V3_EXT_get_nid(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"}
| openssl_crypto_x509_extr_v3_lib.c_X509V3_EXT_get |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/agp/extr_ati-agp.c_ati_free_page_map.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/agp/extr_ati-agp.c_ati_free_page_map.c"
target datalayout = "e-m:e-p270:32:32-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 @ati_free_page_map], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ati_free_page_map(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @virt_to_page(i64 noundef %2) #2
%4 = tail call i32 @unmap_page_from_agp(i32 noundef %3) #2
%5 = load i64, ptr %0, align 8, !tbaa !5
%6 = tail call i32 @set_memory_wb(i64 noundef %5, i32 noundef 1) #2
%7 = load i64, ptr %0, align 8, !tbaa !5
%8 = tail call i32 @free_page(i64 noundef %7) #2
ret void
}
declare i32 @unmap_page_from_agp(i32 noundef) local_unnamed_addr #1
declare i32 @virt_to_page(i64 noundef) local_unnamed_addr #1
declare i32 @set_memory_wb(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free_page(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 = !{!"ati_page_map", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/agp/extr_ati-agp.c_ati_free_page_map.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/agp/extr_ati-agp.c_ati_free_page_map.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 @ati_free_page_map], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ati_free_page_map(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @virt_to_page(i64 noundef %2) #2
%4 = tail call i32 @unmap_page_from_agp(i32 noundef %3) #2
%5 = load i64, ptr %0, align 8, !tbaa !6
%6 = tail call i32 @set_memory_wb(i64 noundef %5, i32 noundef 1) #2
%7 = load i64, ptr %0, align 8, !tbaa !6
%8 = tail call i32 @free_page(i64 noundef %7) #2
ret void
}
declare i32 @unmap_page_from_agp(i32 noundef) local_unnamed_addr #1
declare i32 @virt_to_page(i64 noundef) local_unnamed_addr #1
declare i32 @set_memory_wb(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free_page(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 = !{!"ati_page_map", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_char_agp_extr_ati-agp.c_ati_free_page_map |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_core.c__show_id.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_core.c__show_id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @_show_id], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @_show_id(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_to_mISDN(ptr noundef %0) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @ENODEV, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %12
9: ; preds = %3
%10 = load i32, ptr %4, align 4, !tbaa !9
%11 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %10) #2
br label %12
12: ; preds = %9, %6
%13 = phi i32 [ %11, %9 ], [ %8, %6 ]
ret i32 %13
}
declare ptr @dev_to_mISDN(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"mISDNdevice", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_core.c__show_id.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_core.c__show_id.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENODEV = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @_show_id], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @_show_id(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_to_mISDN(ptr noundef %0) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @ENODEV, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %12
9: ; preds = %3
%10 = load i32, ptr %4, align 4, !tbaa !10
%11 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %10) #2
br label %12
12: ; preds = %9, %6
%13 = phi i32 [ %11, %9 ], [ %8, %6 ]
ret i32 %13
}
declare ptr @dev_to_mISDN(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"mISDNdevice", !7, i64 0}
| fastsocket_kernel_drivers_isdn_mISDN_extr_core.c__show_id |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/extr_declance.c_lance_close.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/extr_declance.c_lance_close.c"
target datalayout = "e-m:e-p270:32:32-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.lance_private = type { i64, i32, ptr }
%struct.lance_regs = type { i32, i32 }
@LE_CSR0 = dso_local local_unnamed_addr global i32 0, align 4
@LE_C0_STOP = dso_local local_unnamed_addr global i32 0, align 4
@ioasic_ssr_lock = dso_local global i32 0, align 4
@IO_REG_SSR = dso_local local_unnamed_addr global i32 0, align 4
@IO_SSR_LANCE_DMA_EN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lance_close], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @lance_close(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.lance_private, ptr %2, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = tail call i32 @netif_stop_queue(ptr noundef %0) #2
%6 = getelementptr inbounds %struct.lance_private, ptr %2, i64 0, i32 1
%7 = tail call i32 @del_timer_sync(ptr noundef nonnull %6) #2
%8 = getelementptr inbounds %struct.lance_regs, ptr %4, i64 0, i32 1
%9 = load i32, ptr @LE_CSR0, align 4, !tbaa !12
%10 = tail call i32 @writereg(ptr noundef nonnull %8, i32 noundef %9) #2
%11 = load i32, ptr @LE_C0_STOP, align 4, !tbaa !12
%12 = tail call i32 @writereg(ptr noundef %4, i32 noundef %11) #2
%13 = load i64, ptr %2, align 8, !tbaa !13
%14 = icmp sgt i64 %13, -1
br i1 %14, label %15, label %28
15: ; preds = %1
%16 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @ioasic_ssr_lock, i64 noundef undef) #2
%17 = tail call i32 (...) @fast_mb() #2
%18 = load i32, ptr @IO_REG_SSR, align 4, !tbaa !12
%19 = tail call i32 @ioasic_read(i32 noundef %18) #2
%20 = load i32, ptr @IO_SSR_LANCE_DMA_EN, align 4, !tbaa !12
%21 = xor i32 %20, -1
%22 = and i32 %19, %21
%23 = tail call i32 @ioasic_write(i32 noundef %18, i32 noundef %22) #2
%24 = tail call i32 (...) @fast_iob() #2
%25 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @ioasic_ssr_lock, i64 noundef undef) #2
%26 = load i64, ptr %2, align 8, !tbaa !13
%27 = tail call i32 @free_irq(i64 noundef %26, ptr noundef %0) #2
br label %28
28: ; preds = %15, %1
%29 = load i64, ptr %0, align 8, !tbaa !14
%30 = tail call i32 @free_irq(i64 noundef %29, ptr noundef nonnull %0) #2
ret i32 0
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1
declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1
declare i32 @writereg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @fast_mb(...) local_unnamed_addr #1
declare i32 @ioasic_write(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ioasic_read(i32 noundef) local_unnamed_addr #1
declare i32 @fast_iob(...) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @free_irq(i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"lance_private", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"net_device", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/extr_declance.c_lance_close.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/extr_declance.c_lance_close.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LE_CSR0 = common local_unnamed_addr global i32 0, align 4
@LE_C0_STOP = common local_unnamed_addr global i32 0, align 4
@ioasic_ssr_lock = common global i32 0, align 4
@IO_REG_SSR = common local_unnamed_addr global i32 0, align 4
@IO_SSR_LANCE_DMA_EN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lance_close], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @lance_close(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = tail call i32 @netif_stop_queue(ptr noundef %0) #2
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = tail call i32 @del_timer_sync(ptr noundef nonnull %6) #2
%8 = getelementptr inbounds i8, ptr %4, i64 4
%9 = load i32, ptr @LE_CSR0, align 4, !tbaa !13
%10 = tail call i32 @writereg(ptr noundef nonnull %8, i32 noundef %9) #2
%11 = load i32, ptr @LE_C0_STOP, align 4, !tbaa !13
%12 = tail call i32 @writereg(ptr noundef %4, i32 noundef %11) #2
%13 = load i64, ptr %2, align 8, !tbaa !14
%14 = icmp sgt i64 %13, -1
br i1 %14, label %15, label %28
15: ; preds = %1
%16 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @ioasic_ssr_lock, i64 noundef undef) #2
%17 = tail call i32 @fast_mb() #2
%18 = load i32, ptr @IO_REG_SSR, align 4, !tbaa !13
%19 = tail call i32 @ioasic_read(i32 noundef %18) #2
%20 = load i32, ptr @IO_SSR_LANCE_DMA_EN, align 4, !tbaa !13
%21 = xor i32 %20, -1
%22 = and i32 %19, %21
%23 = tail call i32 @ioasic_write(i32 noundef %18, i32 noundef %22) #2
%24 = tail call i32 @fast_iob() #2
%25 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @ioasic_ssr_lock, i64 noundef undef) #2
%26 = load i64, ptr %2, align 8, !tbaa !14
%27 = tail call i32 @free_irq(i64 noundef %26, ptr noundef %0) #2
br label %28
28: ; preds = %15, %1
%29 = load i64, ptr %0, align 8, !tbaa !15
%30 = tail call i32 @free_irq(i64 noundef %29, ptr noundef nonnull %0) #2
ret i32 0
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1
declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1
declare i32 @writereg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @fast_mb(...) local_unnamed_addr #1
declare i32 @ioasic_write(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ioasic_read(i32 noundef) local_unnamed_addr #1
declare i32 @fast_iob(...) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @free_irq(i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"lance_private", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"net_device", !8, i64 0}
| linux_drivers_net_ethernet_amd_extr_declance.c_lance_close |
; ModuleID = 'AnghaBench/mpv/video/out/d3d11/extr_ra_d3d11.c_ra_d3d11_get_device.c'
source_filename = "AnghaBench/mpv/video/out/d3d11/extr_ra_d3d11.c_ra_d3d11_get_device.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @ra_d3d11_get_device(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = tail call i32 @ID3D11Device_AddRef(ptr noundef %3) #2
%5 = load ptr, ptr %2, align 8, !tbaa !10
ret ptr %5
}
declare i32 @ID3D11Device_AddRef(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ra", !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 = !{!"ra_d3d11", !7, i64 0}
| ; ModuleID = 'AnghaBench/mpv/video/out/d3d11/extr_ra_d3d11.c_ra_d3d11_get_device.c'
source_filename = "AnghaBench/mpv/video/out/d3d11/extr_ra_d3d11.c_ra_d3d11_get_device.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 @ra_d3d11_get_device(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = tail call i32 @ID3D11Device_AddRef(ptr noundef %3) #2
%5 = load ptr, ptr %2, align 8, !tbaa !11
ret ptr %5
}
declare i32 @ID3D11Device_AddRef(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ra", !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 = !{!"ra_d3d11", !8, i64 0}
| mpv_video_out_d3d11_extr_ra_d3d11.c_ra_d3d11_get_device |
; ModuleID = 'AnghaBench/lab/engine/code/q3_ui/extr_ui_spskill.c_UI_SPSkillMenu_BackEvent.c'
source_filename = "AnghaBench/lab/engine/code/q3_ui/extr_ui_spskill.c_UI_SPSkillMenu_BackEvent.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
@QM_ACTIVATED = dso_local local_unnamed_addr global i32 0, align 4
@skillMenuInfo = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@CHAN_ANNOUNCER = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (void (i8*, i32)* @UI_SPSkillMenu_BackEvent to i8*)], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @UI_SPSkillMenu_BackEvent(i8* nocapture noundef readnone %0, i32 noundef %1) #0 {
%3 = load i32, i32* @QM_ACTIVATED, align 4, !tbaa !5
%4 = icmp eq i32 %3, %1
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = load i32, i32* getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @skillMenuInfo, i64 0, i32 0), align 4, !tbaa !9
%7 = load i32, i32* @CHAN_ANNOUNCER, align 4, !tbaa !5
%8 = tail call i32 @trap_S_StartLocalSound(i32 noundef %6, i32 noundef %7) #2
%9 = tail call i32 (...) @UI_PopMenu() #2
br label %10
10: ; preds = %2, %5
ret void
}
declare i32 @trap_S_StartLocalSound(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UI_PopMenu(...) 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/lab/engine/code/q3_ui/extr_ui_spskill.c_UI_SPSkillMenu_BackEvent.c'
source_filename = "AnghaBench/lab/engine/code/q3_ui/extr_ui_spskill.c_UI_SPSkillMenu_BackEvent.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 }
@QM_ACTIVATED = common local_unnamed_addr global i32 0, align 4
@skillMenuInfo = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@CHAN_ANNOUNCER = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @UI_SPSkillMenu_BackEvent], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @UI_SPSkillMenu_BackEvent(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = load i32, ptr @QM_ACTIVATED, align 4, !tbaa !6
%4 = icmp eq i32 %3, %1
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = load i32, ptr @skillMenuInfo, align 4, !tbaa !10
%7 = load i32, ptr @CHAN_ANNOUNCER, align 4, !tbaa !6
%8 = tail call i32 @trap_S_StartLocalSound(i32 noundef %6, i32 noundef %7) #2
%9 = tail call i32 @UI_PopMenu() #2
br label %10
10: ; preds = %2, %5
ret void
}
declare i32 @trap_S_StartLocalSound(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UI_PopMenu(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
| lab_engine_code_q3_ui_extr_ui_spskill.c_UI_SPSkillMenu_BackEvent |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_mtcc.c_svn_client__mtcc_add_delete.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_mtcc.c_svn_client__mtcc_add_delete.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @svn_client__mtcc_add_delete(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @FALSE, align 4, !tbaa !5
%5 = tail call i32 @mtcc_add_delete(ptr noundef %0, i32 noundef %4, ptr noundef %1, ptr noundef %2) #2
%6 = tail call ptr @svn_error_trace(i32 noundef %5) #2
ret ptr %6
}
declare ptr @svn_error_trace(i32 noundef) local_unnamed_addr #1
declare i32 @mtcc_add_delete(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_mtcc.c_svn_client__mtcc_add_delete.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_mtcc.c_svn_client__mtcc_add_delete.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FALSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @svn_client__mtcc_add_delete(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @FALSE, align 4, !tbaa !6
%5 = tail call i32 @mtcc_add_delete(ptr noundef %0, i32 noundef %4, ptr noundef %1, ptr noundef %2) #2
%6 = tail call ptr @svn_error_trace(i32 noundef %5) #2
ret ptr %6
}
declare ptr @svn_error_trace(i32 noundef) local_unnamed_addr #1
declare i32 @mtcc_add_delete(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_subversion_subversion_libsvn_client_extr_mtcc.c_svn_client__mtcc_add_delete |
; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_net.c_net_recv_cb.c'
source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_net.c_net_recv_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_7__ = type { i64, i64, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i64 }
%struct.pbuf = type { ptr, i32, i32 }
@LUA_NOREF = dso_local local_unnamed_addr global i64 0, align 8
@TYPE_UDP_SOCKET = dso_local local_unnamed_addr global i64 0, align 8
@IPSTR = dso_local local_unnamed_addr global i32 0, align 4
@LUA_REGISTRYINDEX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @net_recv_cb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @net_recv_cb(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca [16 x i8], align 16
%6 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%7 = load i64, ptr %6, align 8, !tbaa !5
%8 = load i64, ptr @LUA_NOREF, align 8, !tbaa !11
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %4
%11 = tail call i32 @pbuf_free(ptr noundef %1) #4
br label %51
12: ; preds = %4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, i8 0, i64 16, i1 false)
%13 = load i64, ptr %0, align 8, !tbaa !12
%14 = load i64, ptr @TYPE_UDP_SOCKET, align 8, !tbaa !11
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i32, ptr @IPSTR, align 4, !tbaa !13
%18 = tail call i32 @IP2STR(ptr noundef %2) #4
%19 = call i32 @ets_sprintf(ptr noundef nonnull %5, i32 noundef %17, i32 noundef %18) #4
br label %20
20: ; preds = %16, %12
%21 = phi i32 [ 4, %16 ], [ 2, %12 ]
%22 = call ptr (...) @lua_getstate() #4
%23 = icmp eq ptr %1, null
br i1 %23, label %49, label %24
24: ; preds = %20
%25 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
br label %26
26: ; preds = %24, %45
%27 = phi ptr [ %1, %24 ], [ %47, %45 ]
%28 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !13
%29 = load i64, ptr %6, align 8, !tbaa !5
%30 = call i32 @lua_rawgeti(ptr noundef %22, i32 noundef %28, i64 noundef %29) #4
%31 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !13
%32 = load i64, ptr %25, align 8, !tbaa !15
%33 = call i32 @lua_rawgeti(ptr noundef %22, i32 noundef %31, i64 noundef %32) #4
%34 = getelementptr inbounds %struct.pbuf, ptr %27, i64 0, i32 2
%35 = load i32, ptr %34, align 4, !tbaa !16
%36 = getelementptr inbounds %struct.pbuf, ptr %27, i64 0, i32 1
%37 = load i32, ptr %36, align 8, !tbaa !19
%38 = call i32 @lua_pushlstring(ptr noundef %22, i32 noundef %35, i32 noundef %37) #4
%39 = load i64, ptr %0, align 8, !tbaa !12
%40 = load i64, ptr @TYPE_UDP_SOCKET, align 8, !tbaa !11
%41 = icmp eq i64 %39, %40
br i1 %41, label %42, label %45
42: ; preds = %26
%43 = call i32 @lua_pushinteger(ptr noundef %22, i32 noundef %3) #4
%44 = call i32 @lua_pushstring(ptr noundef %22, ptr noundef nonnull %5) #4
br label %45
45: ; preds = %42, %26
%46 = call i32 @lua_call(ptr noundef %22, i32 noundef %21, i32 noundef 0) #4
%47 = load ptr, ptr %27, align 8, !tbaa !20
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %26, !llvm.loop !21
49: ; preds = %45, %20
%50 = call i32 @pbuf_free(ptr noundef %1) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
br label %51
51: ; preds = %49, %10
ret void
}
declare i32 @pbuf_free(ptr 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
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i32 @ets_sprintf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IP2STR(ptr noundef) local_unnamed_addr #1
declare ptr @lua_getstate(...) local_unnamed_addr #1
declare i32 @lua_rawgeti(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @lua_pushlstring(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushinteger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushstring(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lua_call(ptr noundef, i32 noundef, i32 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
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"TYPE_7__", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_6__", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!6, !7, i64 8}
!16 = !{!17, !14, i64 12}
!17 = !{!"pbuf", !18, i64 0, !14, i64 8, !14, i64 12}
!18 = !{!"any pointer", !8, i64 0}
!19 = !{!17, !14, i64 8}
!20 = !{!17, !18, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_net.c_net_recv_cb.c'
source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_net.c_net_recv_cb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LUA_NOREF = common local_unnamed_addr global i64 0, align 8
@TYPE_UDP_SOCKET = common local_unnamed_addr global i64 0, align 8
@IPSTR = common local_unnamed_addr global i32 0, align 4
@LUA_REGISTRYINDEX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @net_recv_cb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @net_recv_cb(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca [16 x i8], align 1
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load i64, ptr %6, align 8, !tbaa !6
%8 = load i64, ptr @LUA_NOREF, align 8, !tbaa !12
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %4
%11 = tail call i32 @pbuf_free(ptr noundef %1) #4
br label %51
12: ; preds = %4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(16) %5, i8 0, i64 16, i1 false)
%13 = load i64, ptr %0, align 8, !tbaa !13
%14 = load i64, ptr @TYPE_UDP_SOCKET, align 8, !tbaa !12
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i32, ptr @IPSTR, align 4, !tbaa !14
%18 = tail call i32 @IP2STR(ptr noundef %2) #4
%19 = call i32 @ets_sprintf(ptr noundef nonnull %5, i32 noundef %17, i32 noundef %18) #4
br label %20
20: ; preds = %16, %12
%21 = phi i32 [ 4, %16 ], [ 2, %12 ]
%22 = call ptr @lua_getstate() #4
%23 = icmp eq ptr %1, null
br i1 %23, label %49, label %24
24: ; preds = %20
%25 = getelementptr inbounds i8, ptr %0, i64 8
br label %26
26: ; preds = %24, %45
%27 = phi ptr [ %1, %24 ], [ %47, %45 ]
%28 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !14
%29 = load i64, ptr %6, align 8, !tbaa !6
%30 = call i32 @lua_rawgeti(ptr noundef %22, i32 noundef %28, i64 noundef %29) #4
%31 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !14
%32 = load i64, ptr %25, align 8, !tbaa !16
%33 = call i32 @lua_rawgeti(ptr noundef %22, i32 noundef %31, i64 noundef %32) #4
%34 = getelementptr inbounds i8, ptr %27, i64 12
%35 = load i32, ptr %34, align 4, !tbaa !17
%36 = getelementptr inbounds i8, ptr %27, i64 8
%37 = load i32, ptr %36, align 8, !tbaa !20
%38 = call i32 @lua_pushlstring(ptr noundef %22, i32 noundef %35, i32 noundef %37) #4
%39 = load i64, ptr %0, align 8, !tbaa !13
%40 = load i64, ptr @TYPE_UDP_SOCKET, align 8, !tbaa !12
%41 = icmp eq i64 %39, %40
br i1 %41, label %42, label %45
42: ; preds = %26
%43 = call i32 @lua_pushinteger(ptr noundef %22, i32 noundef %3) #4
%44 = call i32 @lua_pushstring(ptr noundef %22, ptr noundef nonnull %5) #4
br label %45
45: ; preds = %42, %26
%46 = call i32 @lua_call(ptr noundef %22, i32 noundef %21, i32 noundef 0) #4
%47 = load ptr, ptr %27, align 8, !tbaa !21
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %26, !llvm.loop !22
49: ; preds = %45, %20
%50 = call i32 @pbuf_free(ptr noundef %1) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
br label %51
51: ; preds = %49, %10
ret void
}
declare i32 @pbuf_free(ptr 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
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i32 @ets_sprintf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IP2STR(ptr noundef) local_unnamed_addr #1
declare ptr @lua_getstate(...) local_unnamed_addr #1
declare i32 @lua_rawgeti(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @lua_pushlstring(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushinteger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushstring(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lua_call(ptr noundef, i32 noundef, i32 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
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 16}
!7 = !{!"TYPE_7__", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_6__", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!7, !8, i64 8}
!17 = !{!18, !15, i64 12}
!18 = !{!"pbuf", !19, i64 0, !15, i64 8, !15, i64 12}
!19 = !{!"any pointer", !9, i64 0}
!20 = !{!18, !15, i64 8}
!21 = !{!18, !19, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| nodemcu-firmware_app_modules_extr_net.c_net_recv_cb |
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_spa.c_spa_inject_addref.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_spa.c_spa_inject_addref.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@spa_namespace_lock = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @spa_inject_addref(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mutex_enter(ptr noundef nonnull @spa_namespace_lock) #2
%3 = tail call ptr @spa_lookup(ptr noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i32, ptr %3, align 4, !tbaa !5
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4, !tbaa !5
br label %8
8: ; preds = %1, %5
%9 = tail call i32 @mutex_exit(ptr noundef nonnull @spa_namespace_lock) #2
ret ptr %3
}
declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #1
declare ptr @spa_lookup(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_exit(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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/zfs/module/zfs/extr_spa.c_spa_inject_addref.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_spa.c_spa_inject_addref.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@spa_namespace_lock = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @spa_inject_addref(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mutex_enter(ptr noundef nonnull @spa_namespace_lock) #2
%3 = tail call ptr @spa_lookup(ptr noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i32, ptr %3, align 4, !tbaa !6
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4, !tbaa !6
br label %8
8: ; preds = %1, %5
%9 = tail call i32 @mutex_exit(ptr noundef nonnull @spa_namespace_lock) #2
ret ptr %3
}
declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #1
declare ptr @spa_lookup(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_exit(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 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| zfs_module_zfs_extr_spa.c_spa_inject_addref |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_i8259.c_kvm_create_pic.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_i8259.c_kvm_create_pic.c"
target datalayout = "e-m:e-p270:32:32-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.kvm_pic = type { i32, ptr, ptr, i32, ptr, i32 }
%struct.TYPE_2__ = type { i32, i32, ptr }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@pic_irq_request = dso_local local_unnamed_addr global i32 0, align 4
@picdev_ops = dso_local global i32 0, align 4
@KVM_PIO_BUS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @kvm_create_pic(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%3 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %27, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.kvm_pic, ptr %3, i64 0, i32 5
%7 = tail call i32 @spin_lock_init(ptr noundef nonnull %6) #2
%8 = getelementptr inbounds %struct.kvm_pic, ptr %3, i64 0, i32 4
store ptr %0, ptr %8, align 8, !tbaa !9
%9 = getelementptr inbounds %struct.kvm_pic, ptr %3, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !12
store i32 248, ptr %10, align 8, !tbaa !13
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 1
store i32 222, ptr %11, align 8, !tbaa !13
%12 = load i32, ptr @pic_irq_request, align 4, !tbaa !5
%13 = getelementptr inbounds %struct.kvm_pic, ptr %3, i64 0, i32 3
store i32 %12, ptr %13, align 8, !tbaa !15
%14 = getelementptr inbounds %struct.kvm_pic, ptr %3, i64 0, i32 2
store ptr %0, ptr %14, align 8, !tbaa !16
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 0, i32 2
store ptr %3, ptr %15, align 8, !tbaa !17
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 1, i32 2
store ptr %3, ptr %16, align 8, !tbaa !17
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 0, i32 1
store i32 255, ptr %17, align 4, !tbaa !18
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 1, i32 1
store i32 255, ptr %18, align 4, !tbaa !18
%19 = tail call i32 @kvm_iodevice_init(ptr noundef nonnull %3, ptr noundef nonnull @picdev_ops) #2
%20 = tail call i32 @mutex_lock(ptr noundef %0) #2
%21 = load i32, ptr @KVM_PIO_BUS, align 4, !tbaa !5
%22 = tail call i32 @kvm_io_bus_register_dev(ptr noundef %0, i32 noundef %21, ptr noundef nonnull %3) #2
%23 = tail call i32 @mutex_unlock(ptr noundef %0) #2
%24 = icmp slt i32 %22, 0
br i1 %24, label %25, label %27
25: ; preds = %5
%26 = tail call i32 @kfree(ptr noundef nonnull %3) #2
br label %27
27: ; preds = %5, %1, %25
%28 = phi ptr [ null, %25 ], [ null, %1 ], [ %3, %5 ]
ret ptr %28
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @kvm_iodevice_init(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @kvm_io_bus_register_dev(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 32}
!10 = !{!"kvm_pic", !6, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !11, i64 32, !6, i64 40}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !11, i64 8}
!15 = !{!10, !6, i64 24}
!16 = !{!10, !11, i64 16}
!17 = !{!14, !11, i64 8}
!18 = !{!14, !6, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_i8259.c_kvm_create_pic.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_i8259.c_kvm_create_pic.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
@pic_irq_request = common local_unnamed_addr global i32 0, align 4
@picdev_ops = common global i32 0, align 4
@KVM_PIO_BUS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @kvm_create_pic(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%3 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %25, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %3, i64 40
%7 = tail call i32 @spin_lock_init(ptr noundef nonnull %6) #2
%8 = getelementptr inbounds i8, ptr %3, i64 32
store ptr %0, ptr %8, align 8, !tbaa !10
%9 = getelementptr inbounds i8, ptr %3, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = getelementptr inbounds i8, ptr %10, i64 16
%12 = getelementptr inbounds i8, ptr %3, i64 24
%13 = getelementptr inbounds i8, ptr %3, i64 16
store ptr %0, ptr %13, align 8, !tbaa !14
%14 = getelementptr inbounds i8, ptr %10, i64 8
store ptr %3, ptr %14, align 8, !tbaa !15
%15 = getelementptr inbounds i8, ptr %10, i64 24
store ptr %3, ptr %15, align 8, !tbaa !15
store <2 x i32> <i32 248, i32 255>, ptr %10, align 8, !tbaa !6
%16 = load i32, ptr @pic_irq_request, align 4, !tbaa !6
store i32 %16, ptr %12, align 8, !tbaa !17
store <2 x i32> <i32 222, i32 255>, ptr %11, align 8, !tbaa !6
%17 = tail call i32 @kvm_iodevice_init(ptr noundef nonnull %3, ptr noundef nonnull @picdev_ops) #2
%18 = tail call i32 @mutex_lock(ptr noundef %0) #2
%19 = load i32, ptr @KVM_PIO_BUS, align 4, !tbaa !6
%20 = tail call i32 @kvm_io_bus_register_dev(ptr noundef %0, i32 noundef %19, ptr noundef nonnull %3) #2
%21 = tail call i32 @mutex_unlock(ptr noundef %0) #2
%22 = icmp slt i32 %20, 0
br i1 %22, label %23, label %25
23: ; preds = %5
%24 = tail call i32 @kfree(ptr noundef nonnull %3) #2
br label %25
25: ; preds = %5, %1, %23
%26 = phi ptr [ null, %23 ], [ null, %1 ], [ %3, %5 ]
ret ptr %26
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @kvm_iodevice_init(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @kvm_io_bus_register_dev(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 32}
!11 = !{!"kvm_pic", !7, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !12, i64 32, !7, i64 40}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!11, !12, i64 16}
!15 = !{!16, !12, i64 8}
!16 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !12, i64 8}
!17 = !{!11, !7, i64 24}
| fastsocket_kernel_arch_x86_kvm_extr_i8259.c_kvm_create_pic |
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68000_addx_mm_16.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68000_addx_mm_16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@g_dasm_str = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"addx.w -(A%d), -(A%d)\00", align 1
@g_cpu_ir = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @d68000_addx_mm_16], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @d68000_addx_mm_16() #0 {
%1 = load i32, ptr @g_dasm_str, align 4, !tbaa !5
%2 = load i32, ptr @g_cpu_ir, align 4, !tbaa !5
%3 = and i32 %2, 7
%4 = lshr i32 %2, 9
%5 = and i32 %4, 7
%6 = tail call i32 @sprintf(i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %5) #2
ret void
}
declare i32 @sprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68000_addx_mm_16.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68000_addx_mm_16.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@g_dasm_str = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"addx.w -(A%d), -(A%d)\00", align 1
@g_cpu_ir = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @d68000_addx_mm_16], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @d68000_addx_mm_16() #0 {
%1 = load i32, ptr @g_dasm_str, align 4, !tbaa !6
%2 = load i32, ptr @g_cpu_ir, align 4, !tbaa !6
%3 = and i32 %2, 7
%4 = lshr i32 %2, 9
%5 = and i32 %4, 7
%6 = tail call i32 @sprintf(i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %5) #2
ret void
}
declare i32 @sprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Provenance_Cores_PicoDrive_cpu_musashi_extr_m68kdasm.c_d68000_addx_mm_16 |
; ModuleID = 'AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/driver/usart/src/extr_drv_usart_mapping.c_DRV_USART_Open.c'
source_filename = "AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/driver/usart/src/extr_drv_usart_mapping.c_DRV_USART_Open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DRV_HANDLE_INVALID = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @DRV_USART_Open(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %0, 128
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = tail call i32 @DRV_USART0_Open(i32 noundef 128, i32 noundef %1) #2
br label %8
6: ; preds = %2
%7 = load i32, ptr @DRV_HANDLE_INVALID, align 4, !tbaa !5
br label %8
8: ; preds = %6, %4
%9 = phi i32 [ %5, %4 ], [ %7, %6 ]
ret i32 %9
}
declare i32 @DRV_USART0_Open(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/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/driver/usart/src/extr_drv_usart_mapping.c_DRV_USART_Open.c'
source_filename = "AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/driver/usart/src/extr_drv_usart_mapping.c_DRV_USART_Open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DRV_HANDLE_INVALID = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @DRV_USART_Open(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %0, 128
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = tail call i32 @DRV_USART0_Open(i32 noundef 128, i32 noundef %1) #2
br label %8
6: ; preds = %2
%7 = load i32, ptr @DRV_HANDLE_INVALID, align 4, !tbaa !6
br label %8
8: ; preds = %6, %4
%9 = phi i32 [ %5, %4 ], [ %7, %6 ]
ret i32 %9
}
declare i32 @DRV_USART0_Open(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"}
| mongoose_examples_PIC32_mqtt_client_firmware_src_system_config_mx795_CC3100_e16_framework_driver_usart_src_extr_drv_usart_mapping.c_DRV_USART_Open |
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/khronos/wf/extr_wfc_client_server_api.c_wfc_server_stream_is_in_use.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/khronos/wf/extr_wfc_client_server_api.c_wfc_server_stream_is_in_use.c"
target datalayout = "e-m:e-p270:32:32-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 [16 x i8] c"%s: stream 0x%x\00", align 1
@VCOS_FUNCTION = dso_local local_unnamed_addr global i32 0, align 4
@WFC_IPC_MSG_SS_IS_IN_USE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"%s: status 0x%x, result %u\00", align 1
@VCOS_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @wfc_server_stream_is_in_use(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr %2, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 8, ptr %3, align 8, !tbaa !5
%4 = load i32, ptr @VCOS_FUNCTION, align 4, !tbaa !9
%5 = sext i32 %0 to i64
%6 = tail call i32 (ptr, i32, i64, ...) @vcos_log_trace(ptr noundef nonnull @.str, i32 noundef %4, i64 noundef %5) #3
%7 = load i32, ptr @WFC_IPC_MSG_SS_IS_IN_USE, align 4, !tbaa !9
%8 = call i64 @wfc_client_server_api_sendwait_stream(i32 noundef %7, i32 noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%9 = load i32, ptr @VCOS_FUNCTION, align 4, !tbaa !9
%10 = load i64, ptr %2, align 8, !tbaa !5
%11 = call i32 (ptr, i32, i64, ...) @vcos_log_trace(ptr noundef nonnull @.str.1, i32 noundef %9, i64 noundef %8, i64 noundef %10) #3
%12 = load i64, ptr @VCOS_SUCCESS, align 8, !tbaa !5
%13 = icmp eq i64 %8, %12
%14 = load i64, ptr %2, align 8
%15 = icmp ne i64 %14, 0
%16 = select i1 %13, i1 %15, i1 false
%17 = zext i1 %16 to i32
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %17
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @vcos_log_trace(ptr noundef, i32 noundef, i64 noundef, ...) local_unnamed_addr #2
declare i64 @wfc_client_server_api_sendwait_stream(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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/khronos/wf/extr_wfc_client_server_api.c_wfc_server_stream_is_in_use.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/khronos/wf/extr_wfc_client_server_api.c_wfc_server_stream_is_in_use.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 [16 x i8] c"%s: stream 0x%x\00", align 1
@VCOS_FUNCTION = common local_unnamed_addr global i32 0, align 4
@WFC_IPC_MSG_SS_IS_IN_USE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"%s: status 0x%x, result %u\00", align 1
@VCOS_SUCCESS = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @wfc_server_stream_is_in_use(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr %2, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 8, ptr %3, align 8, !tbaa !6
%4 = load i32, ptr @VCOS_FUNCTION, align 4, !tbaa !10
%5 = sext i32 %0 to i64
%6 = tail call i32 (ptr, i32, i64, ...) @vcos_log_trace(ptr noundef nonnull @.str, i32 noundef %4, i64 noundef %5) #3
%7 = load i32, ptr @WFC_IPC_MSG_SS_IS_IN_USE, align 4, !tbaa !10
%8 = call i64 @wfc_client_server_api_sendwait_stream(i32 noundef %7, i32 noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%9 = load i32, ptr @VCOS_FUNCTION, align 4, !tbaa !10
%10 = load i64, ptr %2, align 8, !tbaa !6
%11 = call i32 (ptr, i32, i64, ...) @vcos_log_trace(ptr noundef nonnull @.str.1, i32 noundef %9, i64 noundef %8, i64 noundef %10) #3
%12 = load i64, ptr @VCOS_SUCCESS, align 8, !tbaa !6
%13 = icmp eq i64 %8, %12
%14 = load i64, ptr %2, align 8
%15 = icmp ne i64 %14, 0
%16 = select i1 %13, i1 %15, i1 false
%17 = zext i1 %16 to i32
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %17
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @vcos_log_trace(ptr noundef, i32 noundef, i64 noundef, ...) local_unnamed_addr #2
declare i64 @wfc_client_server_api_sendwait_stream(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, !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}
| RetroArch_gfx_include_userland_interface_khronos_wf_extr_wfc_client_server_api.c_wfc_server_stream_is_in_use |
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_jack.c_hda_free_jack_priv.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_jack.c_hda_free_jack_priv.c"
target datalayout = "e-m:e-p270:32:32-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 @hda_free_jack_priv], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @hda_free_jack_priv(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_jack", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_jack.c_hda_free_jack_priv.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_jack.c_hda_free_jack_priv.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 @hda_free_jack_priv], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @hda_free_jack_priv(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_jack", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_sound_pci_hda_extr_hda_jack.c_hda_free_jack_priv |
; ModuleID = 'AnghaBench/freebsd/sbin/ggate/ggatec/extr_ggatec.c_handshake.c'
source_filename = "AnghaBench/freebsd/sbin/ggate/ggatec/extr_ggatec.c_handshake.c"
target datalayout = "e-m:e-p270:32:32-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.g_gate_version = type { i64, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i64 }
%struct.g_gate_cinit = type { i64, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, %struct.TYPE_2__, i32 }
%struct.g_gate_sinit = type { i64, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, %struct.TYPE_2__, i32 }
%struct.sockaddr_in = type { i64, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, %struct.TYPE_2__, i32 }
@AF_INET = dso_local local_unnamed_addr global i32 0, align 4
@host = dso_local local_unnamed_addr global i32 0, align 4
@INADDR_NONE = dso_local local_unnamed_addr global i64 0, align 8
@LOG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Invalid IP/host name: %s.\00", align 1
@port = dso_local local_unnamed_addr global i32 0, align 4
@SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"Cannot open socket: %s.\00", align 1
@errno = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [30 x i8] c"Cannot connect to server: %s.\00", align 1
@LOG_INFO = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [32 x i8] c"Connected to the server: %s:%d.\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Sending version packet.\00", align 1
@GGATE_MAGIC = dso_local local_unnamed_addr global i32 0, align 4
@GGATE_VERSION = dso_local local_unnamed_addr global i32 0, align 4
@MSG_NOSIGNAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [40 x i8] c"Error while sending version packet: %s.\00", align 1
@MSG_WAITALL = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [32 x i8] c"Error while receiving data: %s.\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c"Version verification problem: %s.\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"Sending initial packet.\00", align 1
@path = dso_local local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [20 x i8] c"Path name too long.\00", align 1
@flags = dso_local local_unnamed_addr global i32 0, align 4
@token = dso_local local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [40 x i8] c"Error while sending initial packet: %s.\00", align 1
@.str.11 = private unnamed_addr constant [26 x i8] c"Receiving initial packet.\00", align 1
@.str.12 = private unnamed_addr constant [23 x i8] c"Error from server: %s.\00", align 1
@.str.13 = private unnamed_addr constant [25 x i8] c"Received initial packet.\00", align 1
@mediasize = dso_local local_unnamed_addr global i32 0, align 4
@sectorsize = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @handshake], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @handshake(i32 noundef %0) #0 {
%2 = alloca %struct.g_gate_version, align 8
%3 = alloca %struct.g_gate_cinit, align 8
%4 = alloca %struct.g_gate_sinit, align 8
%5 = alloca %struct.sockaddr_in, align 8
call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #3
%6 = call i32 @bzero(ptr noundef nonnull %5, i32 noundef 72) #3
%7 = load i32, ptr @AF_INET, align 4, !tbaa !5
%8 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i64 0, i32 12
store i32 %7, ptr %8, align 8, !tbaa !9
%9 = load i32, ptr @host, align 4, !tbaa !5
%10 = call i64 @g_gate_str2ip(i32 noundef %9) #3
%11 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i64 0, i32 11
store i64 %10, ptr %11, align 8, !tbaa !13
%12 = load i64, ptr @INADDR_NONE, align 8, !tbaa !14
%13 = icmp eq i64 %10, %12
br i1 %13, label %14, label %18
14: ; preds = %1
%15 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !5
%16 = load i32, ptr @host, align 4, !tbaa !5
%17 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %15, ptr noundef nonnull @.str, i32 noundef %16) #3
br label %145
18: ; preds = %1
%19 = load i32, ptr @port, align 4, !tbaa !5
%20 = call i32 @htons(i32 noundef %19) #3
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i64 0, i32 10
store i32 %20, ptr %21, align 4, !tbaa !15
%22 = load i32, ptr @AF_INET, align 4, !tbaa !5
%23 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !5
%24 = call i32 @socket(i32 noundef %22, i32 noundef %23, i32 noundef 0) #3
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %31
26: ; preds = %18
%27 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !5
%28 = load i64, ptr @errno, align 8, !tbaa !14
%29 = call i32 @strerror(i64 noundef %28) #3
%30 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %27, ptr noundef nonnull @.str.1, i32 noundef %29) #3
br label %145
31: ; preds = %18
%32 = call i32 @g_gate_socket_settings(i32 noundef %24) #3
%33 = call i32 @connect(i32 noundef %24, ptr noundef nonnull %5, i32 noundef 72) #3
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %41
35: ; preds = %31
%36 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !5
%37 = load i64, ptr @errno, align 8, !tbaa !14
%38 = call i32 @strerror(i64 noundef %37) #3
%39 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %36, ptr noundef nonnull @.str.2, i32 noundef %38) #3
%40 = call i32 @close(i32 noundef %24) #3
br label %145
41: ; preds = %31
%42 = load i32, ptr @LOG_INFO, align 4, !tbaa !5
%43 = load i32, ptr @host, align 4, !tbaa !5
%44 = load i32, ptr @port, align 4, !tbaa !5
%45 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %42, ptr noundef nonnull @.str.3, i32 noundef %43, i32 noundef %44) #3
%46 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !5
%47 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %46, ptr noundef nonnull @.str.4) #3
%48 = load i32, ptr @GGATE_MAGIC, align 4, !tbaa !5
%49 = call i32 @strlen(i32 noundef %48) #3
%50 = icmp eq i32 %49, 4
%51 = zext i1 %50 to i32
%52 = call i32 @assert(i32 noundef %51) #3
%53 = load i32, ptr @GGATE_MAGIC, align 4, !tbaa !5
%54 = call i32 @bcopy(i32 noundef %53, i32 noundef undef, i32 noundef 4) #3
%55 = load i32, ptr @GGATE_VERSION, align 4, !tbaa !5
%56 = getelementptr inbounds %struct.g_gate_version, ptr %2, i64 0, i32 8
store i32 %55, ptr %56, align 4, !tbaa !16
store i64 0, ptr %2, align 8, !tbaa !18
%57 = call i32 @g_gate_swap2n_version(ptr noundef nonnull %2) #3
%58 = load i32, ptr @MSG_NOSIGNAL, align 4, !tbaa !5
%59 = call i32 @g_gate_send(i32 noundef %24, ptr noundef nonnull %2, i32 noundef 72, i32 noundef %58) #3
%60 = icmp eq i32 %59, -1
br i1 %60, label %61, label %67
61: ; preds = %41
%62 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !5
%63 = load i64, ptr @errno, align 8, !tbaa !14
%64 = call i32 @strerror(i64 noundef %63) #3
%65 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %62, ptr noundef nonnull @.str.5, i32 noundef %64) #3
%66 = call i32 @close(i32 noundef %24) #3
br label %145
67: ; preds = %41
%68 = call i32 @bzero(ptr noundef nonnull %2, i32 noundef 72) #3
%69 = load i32, ptr @MSG_WAITALL, align 4, !tbaa !5
%70 = call i32 @g_gate_recv(i32 noundef %24, ptr noundef nonnull %2, i32 noundef 72, i32 noundef %69) #3
%71 = icmp eq i32 %70, -1
br i1 %71, label %72, label %78
72: ; preds = %67
%73 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !5
%74 = load i64, ptr @errno, align 8, !tbaa !14
%75 = call i32 @strerror(i64 noundef %74) #3
%76 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %73, ptr noundef nonnull @.str.6, i32 noundef %75) #3
%77 = call i32 @close(i32 noundef %24) #3
br label %145
78: ; preds = %67
%79 = load i64, ptr %2, align 8, !tbaa !18
%80 = icmp eq i64 %79, 0
%81 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !5
br i1 %80, label %87, label %82
82: ; preds = %78
%83 = load i64, ptr @errno, align 8, !tbaa !14
%84 = call i32 @strerror(i64 noundef %83) #3
%85 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %81, ptr noundef nonnull @.str.7, i32 noundef %84) #3
%86 = call i32 @close(i32 noundef %24) #3
br label %145
87: ; preds = %78
%88 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %81, ptr noundef nonnull @.str.8) #3
%89 = load i32, ptr @path, align 4, !tbaa !5
%90 = call i32 @strlcpy(i32 noundef undef, i32 noundef %89, i32 noundef 4) #3
%91 = icmp ugt i32 %90, 3
br i1 %91, label %92, label %96
92: ; preds = %87
%93 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !5
%94 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %93, ptr noundef nonnull @.str.9) #3
%95 = call i32 @close(i32 noundef %24) #3
br label %145
96: ; preds = %87
%97 = load i32, ptr @flags, align 4, !tbaa !5
%98 = or i32 %97, %0
%99 = getelementptr inbounds %struct.g_gate_cinit, ptr %3, i64 0, i32 1
store i32 %98, ptr %99, align 8, !tbaa !19
%100 = load i32, ptr @token, align 4, !tbaa !5
%101 = getelementptr inbounds %struct.g_gate_cinit, ptr %3, i64 0, i32 6
store i32 %100, ptr %101, align 4, !tbaa !21
%102 = getelementptr inbounds %struct.g_gate_cinit, ptr %3, i64 0, i32 2
store i32 2, ptr %102, align 4, !tbaa !22
%103 = call i32 @g_gate_swap2n_cinit(ptr noundef nonnull %3) #3
%104 = load i32, ptr @MSG_NOSIGNAL, align 4, !tbaa !5
%105 = call i32 @g_gate_send(i32 noundef %24, ptr noundef nonnull %3, i32 noundef 72, i32 noundef %104) #3
%106 = icmp eq i32 %105, -1
br i1 %106, label %107, label %113
107: ; preds = %96
%108 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !5
%109 = load i64, ptr @errno, align 8, !tbaa !14
%110 = call i32 @strerror(i64 noundef %109) #3
%111 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %108, ptr noundef nonnull @.str.10, i32 noundef %110) #3
%112 = call i32 @close(i32 noundef %24) #3
br label %145
113: ; preds = %96
%114 = call i32 @g_gate_swap2h_cinit(ptr noundef nonnull %3) #3
%115 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !5
%116 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %115, ptr noundef nonnull @.str.11) #3
%117 = load i32, ptr @MSG_WAITALL, align 4, !tbaa !5
%118 = call i32 @g_gate_recv(i32 noundef %24, ptr noundef nonnull %4, i32 noundef 72, i32 noundef %117) #3
%119 = icmp eq i32 %118, -1
br i1 %119, label %120, label %126
120: ; preds = %113
%121 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !5
%122 = load i64, ptr @errno, align 8, !tbaa !14
%123 = call i32 @strerror(i64 noundef %122) #3
%124 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %121, ptr noundef nonnull @.str.6, i32 noundef %123) #3
%125 = call i32 @close(i32 noundef %24) #3
br label %145
126: ; preds = %113
%127 = call i32 @g_gate_swap2h_sinit(ptr noundef nonnull %4) #3
%128 = getelementptr inbounds %struct.g_gate_sinit, ptr %4, i64 0, i32 3
%129 = load i64, ptr %128, align 8, !tbaa !23
%130 = icmp eq i64 %129, 0
%131 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !5
br i1 %130, label %136, label %132
132: ; preds = %126
%133 = call i32 @strerror(i64 noundef %129) #3
%134 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %131, ptr noundef nonnull @.str.12, i32 noundef %133) #3
%135 = call i32 @close(i32 noundef %24) #3
br label %145
136: ; preds = %126
%137 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %131, ptr noundef nonnull @.str.13) #3
%138 = getelementptr inbounds %struct.g_gate_sinit, ptr %4, i64 0, i32 5
%139 = load i32, ptr %138, align 8, !tbaa !25
store i32 %139, ptr @mediasize, align 4, !tbaa !5
%140 = load i64, ptr @sectorsize, align 8, !tbaa !14
%141 = icmp eq i64 %140, 0
br i1 %141, label %142, label %145
142: ; preds = %136
%143 = getelementptr inbounds %struct.g_gate_sinit, ptr %4, i64 0, i32 4
%144 = load i64, ptr %143, align 8, !tbaa !26
store i64 %144, ptr @sectorsize, align 8, !tbaa !14
br label %145
145: ; preds = %136, %142, %132, %120, %107, %92, %82, %72, %61, %35, %26, %14
%146 = phi i32 [ -1, %14 ], [ -1, %26 ], [ -1, %35 ], [ -1, %61 ], [ -1, %72 ], [ -1, %82 ], [ -1, %92 ], [ -1, %107 ], [ -1, %120 ], [ -1, %132 ], [ %24, %142 ], [ %24, %136 ]
call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %2) #3
ret i32 %146
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @g_gate_str2ip(i32 noundef) local_unnamed_addr #2
declare i32 @g_gate_log(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @htons(i32 noundef) local_unnamed_addr #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strerror(i64 noundef) local_unnamed_addr #2
declare i32 @g_gate_socket_settings(i32 noundef) local_unnamed_addr #2
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @strlen(i32 noundef) local_unnamed_addr #2
declare i32 @bcopy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @g_gate_swap2n_version(ptr noundef) local_unnamed_addr #2
declare i32 @g_gate_send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @g_gate_recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @g_gate_swap2n_cinit(ptr noundef) local_unnamed_addr #2
declare i32 @g_gate_swap2h_cinit(ptr noundef) local_unnamed_addr #2
declare i32 @g_gate_swap2h_sinit(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 64}
!10 = !{!"sockaddr_in", !11, i64 0, !6, i64 8, !6, i64 12, !11, i64 16, !11, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !12, i64 56, !6, i64 64}
!11 = !{!"long", !7, i64 0}
!12 = !{!"TYPE_2__", !11, i64 0}
!13 = !{!10, !11, i64 56}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !6, i64 52}
!16 = !{!17, !6, i64 44}
!17 = !{!"g_gate_version", !11, i64 0, !6, i64 8, !6, i64 12, !11, i64 16, !11, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !12, i64 56, !6, i64 64}
!18 = !{!17, !11, i64 0}
!19 = !{!20, !6, i64 8}
!20 = !{!"g_gate_cinit", !11, i64 0, !6, i64 8, !6, i64 12, !11, i64 16, !11, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !12, i64 56, !6, i64 64}
!21 = !{!20, !6, i64 36}
!22 = !{!20, !6, i64 12}
!23 = !{!24, !11, i64 16}
!24 = !{!"g_gate_sinit", !11, i64 0, !6, i64 8, !6, i64 12, !11, i64 16, !11, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !12, i64 56, !6, i64 64}
!25 = !{!24, !6, i64 32}
!26 = !{!24, !11, i64 24}
| ; ModuleID = 'AnghaBench/freebsd/sbin/ggate/ggatec/extr_ggatec.c_handshake.c'
source_filename = "AnghaBench/freebsd/sbin/ggate/ggatec/extr_ggatec.c_handshake.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.g_gate_version = type { i64, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i64 }
%struct.g_gate_cinit = type { i64, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, %struct.TYPE_2__, i32 }
%struct.g_gate_sinit = type { i64, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, %struct.TYPE_2__, i32 }
%struct.sockaddr_in = type { i64, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, %struct.TYPE_2__, i32 }
@AF_INET = common local_unnamed_addr global i32 0, align 4
@host = common local_unnamed_addr global i32 0, align 4
@INADDR_NONE = common local_unnamed_addr global i64 0, align 8
@LOG_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Invalid IP/host name: %s.\00", align 1
@port = common local_unnamed_addr global i32 0, align 4
@SOCK_STREAM = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"Cannot open socket: %s.\00", align 1
@errno = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [30 x i8] c"Cannot connect to server: %s.\00", align 1
@LOG_INFO = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [32 x i8] c"Connected to the server: %s:%d.\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Sending version packet.\00", align 1
@GGATE_MAGIC = common local_unnamed_addr global i32 0, align 4
@GGATE_VERSION = common local_unnamed_addr global i32 0, align 4
@MSG_NOSIGNAL = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [40 x i8] c"Error while sending version packet: %s.\00", align 1
@MSG_WAITALL = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [32 x i8] c"Error while receiving data: %s.\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c"Version verification problem: %s.\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"Sending initial packet.\00", align 1
@path = common local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [20 x i8] c"Path name too long.\00", align 1
@flags = common local_unnamed_addr global i32 0, align 4
@token = common local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [40 x i8] c"Error while sending initial packet: %s.\00", align 1
@.str.11 = private unnamed_addr constant [26 x i8] c"Receiving initial packet.\00", align 1
@.str.12 = private unnamed_addr constant [23 x i8] c"Error from server: %s.\00", align 1
@.str.13 = private unnamed_addr constant [25 x i8] c"Received initial packet.\00", align 1
@mediasize = common local_unnamed_addr global i32 0, align 4
@sectorsize = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @handshake], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @handshake(i32 noundef %0) #0 {
%2 = alloca %struct.g_gate_version, align 8
%3 = alloca %struct.g_gate_cinit, align 8
%4 = alloca %struct.g_gate_sinit, align 8
%5 = alloca %struct.sockaddr_in, align 8
call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #3
%6 = call i32 @bzero(ptr noundef nonnull %5, i32 noundef 72) #3
%7 = load i32, ptr @AF_INET, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %5, i64 64
store i32 %7, ptr %8, align 8, !tbaa !10
%9 = load i32, ptr @host, align 4, !tbaa !6
%10 = call i64 @g_gate_str2ip(i32 noundef %9) #3
%11 = getelementptr inbounds i8, ptr %5, i64 56
store i64 %10, ptr %11, align 8, !tbaa !14
%12 = load i64, ptr @INADDR_NONE, align 8, !tbaa !15
%13 = icmp eq i64 %10, %12
br i1 %13, label %14, label %18
14: ; preds = %1
%15 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !6
%16 = load i32, ptr @host, align 4, !tbaa !6
%17 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %15, ptr noundef nonnull @.str, i32 noundef %16) #3
br label %145
18: ; preds = %1
%19 = load i32, ptr @port, align 4, !tbaa !6
%20 = call i32 @htons(i32 noundef %19) #3
%21 = getelementptr inbounds i8, ptr %5, i64 52
store i32 %20, ptr %21, align 4, !tbaa !16
%22 = load i32, ptr @AF_INET, align 4, !tbaa !6
%23 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !6
%24 = call i32 @socket(i32 noundef %22, i32 noundef %23, i32 noundef 0) #3
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %31
26: ; preds = %18
%27 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !6
%28 = load i64, ptr @errno, align 8, !tbaa !15
%29 = call i32 @strerror(i64 noundef %28) #3
%30 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %27, ptr noundef nonnull @.str.1, i32 noundef %29) #3
br label %145
31: ; preds = %18
%32 = call i32 @g_gate_socket_settings(i32 noundef %24) #3
%33 = call i32 @connect(i32 noundef %24, ptr noundef nonnull %5, i32 noundef 72) #3
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %41
35: ; preds = %31
%36 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !6
%37 = load i64, ptr @errno, align 8, !tbaa !15
%38 = call i32 @strerror(i64 noundef %37) #3
%39 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %36, ptr noundef nonnull @.str.2, i32 noundef %38) #3
%40 = call i32 @close(i32 noundef %24) #3
br label %145
41: ; preds = %31
%42 = load i32, ptr @LOG_INFO, align 4, !tbaa !6
%43 = load i32, ptr @host, align 4, !tbaa !6
%44 = load i32, ptr @port, align 4, !tbaa !6
%45 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %42, ptr noundef nonnull @.str.3, i32 noundef %43, i32 noundef %44) #3
%46 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !6
%47 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %46, ptr noundef nonnull @.str.4) #3
%48 = load i32, ptr @GGATE_MAGIC, align 4, !tbaa !6
%49 = call i32 @strlen(i32 noundef %48) #3
%50 = icmp eq i32 %49, 4
%51 = zext i1 %50 to i32
%52 = call i32 @assert(i32 noundef %51) #3
%53 = load i32, ptr @GGATE_MAGIC, align 4, !tbaa !6
%54 = call i32 @bcopy(i32 noundef %53, i32 noundef undef, i32 noundef 4) #3
%55 = load i32, ptr @GGATE_VERSION, align 4, !tbaa !6
%56 = getelementptr inbounds i8, ptr %2, i64 44
store i32 %55, ptr %56, align 4, !tbaa !17
store i64 0, ptr %2, align 8, !tbaa !19
%57 = call i32 @g_gate_swap2n_version(ptr noundef nonnull %2) #3
%58 = load i32, ptr @MSG_NOSIGNAL, align 4, !tbaa !6
%59 = call i32 @g_gate_send(i32 noundef %24, ptr noundef nonnull %2, i32 noundef 72, i32 noundef %58) #3
%60 = icmp eq i32 %59, -1
br i1 %60, label %61, label %67
61: ; preds = %41
%62 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !6
%63 = load i64, ptr @errno, align 8, !tbaa !15
%64 = call i32 @strerror(i64 noundef %63) #3
%65 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %62, ptr noundef nonnull @.str.5, i32 noundef %64) #3
%66 = call i32 @close(i32 noundef %24) #3
br label %145
67: ; preds = %41
%68 = call i32 @bzero(ptr noundef nonnull %2, i32 noundef 72) #3
%69 = load i32, ptr @MSG_WAITALL, align 4, !tbaa !6
%70 = call i32 @g_gate_recv(i32 noundef %24, ptr noundef nonnull %2, i32 noundef 72, i32 noundef %69) #3
%71 = icmp eq i32 %70, -1
br i1 %71, label %72, label %78
72: ; preds = %67
%73 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !6
%74 = load i64, ptr @errno, align 8, !tbaa !15
%75 = call i32 @strerror(i64 noundef %74) #3
%76 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %73, ptr noundef nonnull @.str.6, i32 noundef %75) #3
%77 = call i32 @close(i32 noundef %24) #3
br label %145
78: ; preds = %67
%79 = load i64, ptr %2, align 8, !tbaa !19
%80 = icmp eq i64 %79, 0
%81 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !6
br i1 %80, label %87, label %82
82: ; preds = %78
%83 = load i64, ptr @errno, align 8, !tbaa !15
%84 = call i32 @strerror(i64 noundef %83) #3
%85 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %81, ptr noundef nonnull @.str.7, i32 noundef %84) #3
%86 = call i32 @close(i32 noundef %24) #3
br label %145
87: ; preds = %78
%88 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %81, ptr noundef nonnull @.str.8) #3
%89 = load i32, ptr @path, align 4, !tbaa !6
%90 = call i32 @strlcpy(i32 noundef undef, i32 noundef %89, i32 noundef 4) #3
%91 = icmp ugt i32 %90, 3
br i1 %91, label %92, label %96
92: ; preds = %87
%93 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !6
%94 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %93, ptr noundef nonnull @.str.9) #3
%95 = call i32 @close(i32 noundef %24) #3
br label %145
96: ; preds = %87
%97 = load i32, ptr @flags, align 4, !tbaa !6
%98 = or i32 %97, %0
%99 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %98, ptr %99, align 8, !tbaa !20
%100 = load i32, ptr @token, align 4, !tbaa !6
%101 = getelementptr inbounds i8, ptr %3, i64 36
store i32 %100, ptr %101, align 4, !tbaa !22
%102 = getelementptr inbounds i8, ptr %3, i64 12
store i32 2, ptr %102, align 4, !tbaa !23
%103 = call i32 @g_gate_swap2n_cinit(ptr noundef nonnull %3) #3
%104 = load i32, ptr @MSG_NOSIGNAL, align 4, !tbaa !6
%105 = call i32 @g_gate_send(i32 noundef %24, ptr noundef nonnull %3, i32 noundef 72, i32 noundef %104) #3
%106 = icmp eq i32 %105, -1
br i1 %106, label %107, label %113
107: ; preds = %96
%108 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !6
%109 = load i64, ptr @errno, align 8, !tbaa !15
%110 = call i32 @strerror(i64 noundef %109) #3
%111 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %108, ptr noundef nonnull @.str.10, i32 noundef %110) #3
%112 = call i32 @close(i32 noundef %24) #3
br label %145
113: ; preds = %96
%114 = call i32 @g_gate_swap2h_cinit(ptr noundef nonnull %3) #3
%115 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !6
%116 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %115, ptr noundef nonnull @.str.11) #3
%117 = load i32, ptr @MSG_WAITALL, align 4, !tbaa !6
%118 = call i32 @g_gate_recv(i32 noundef %24, ptr noundef nonnull %4, i32 noundef 72, i32 noundef %117) #3
%119 = icmp eq i32 %118, -1
br i1 %119, label %120, label %126
120: ; preds = %113
%121 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !6
%122 = load i64, ptr @errno, align 8, !tbaa !15
%123 = call i32 @strerror(i64 noundef %122) #3
%124 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %121, ptr noundef nonnull @.str.6, i32 noundef %123) #3
%125 = call i32 @close(i32 noundef %24) #3
br label %145
126: ; preds = %113
%127 = call i32 @g_gate_swap2h_sinit(ptr noundef nonnull %4) #3
%128 = getelementptr inbounds i8, ptr %4, i64 16
%129 = load i64, ptr %128, align 8, !tbaa !24
%130 = icmp eq i64 %129, 0
%131 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !6
br i1 %130, label %136, label %132
132: ; preds = %126
%133 = call i32 @strerror(i64 noundef %129) #3
%134 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %131, ptr noundef nonnull @.str.12, i32 noundef %133) #3
%135 = call i32 @close(i32 noundef %24) #3
br label %145
136: ; preds = %126
%137 = call i32 (i32, ptr, ...) @g_gate_log(i32 noundef %131, ptr noundef nonnull @.str.13) #3
%138 = getelementptr inbounds i8, ptr %4, i64 32
%139 = load i32, ptr %138, align 8, !tbaa !26
store i32 %139, ptr @mediasize, align 4, !tbaa !6
%140 = load i64, ptr @sectorsize, align 8, !tbaa !15
%141 = icmp eq i64 %140, 0
br i1 %141, label %142, label %145
142: ; preds = %136
%143 = getelementptr inbounds i8, ptr %4, i64 24
%144 = load i64, ptr %143, align 8, !tbaa !27
store i64 %144, ptr @sectorsize, align 8, !tbaa !15
br label %145
145: ; preds = %136, %142, %132, %120, %107, %92, %82, %72, %61, %35, %26, %14
%146 = phi i32 [ -1, %14 ], [ -1, %26 ], [ -1, %35 ], [ -1, %61 ], [ -1, %72 ], [ -1, %82 ], [ -1, %92 ], [ -1, %107 ], [ -1, %120 ], [ -1, %132 ], [ %24, %142 ], [ %24, %136 ]
call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %2) #3
ret i32 %146
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @g_gate_str2ip(i32 noundef) local_unnamed_addr #2
declare i32 @g_gate_log(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @htons(i32 noundef) local_unnamed_addr #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strerror(i64 noundef) local_unnamed_addr #2
declare i32 @g_gate_socket_settings(i32 noundef) local_unnamed_addr #2
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @strlen(i32 noundef) local_unnamed_addr #2
declare i32 @bcopy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @g_gate_swap2n_version(ptr noundef) local_unnamed_addr #2
declare i32 @g_gate_send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @g_gate_recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @g_gate_swap2n_cinit(ptr noundef) local_unnamed_addr #2
declare i32 @g_gate_swap2h_cinit(ptr noundef) local_unnamed_addr #2
declare i32 @g_gate_swap2h_sinit(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 64}
!11 = !{!"sockaddr_in", !12, i64 0, !7, i64 8, !7, i64 12, !12, i64 16, !12, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !13, i64 56, !7, i64 64}
!12 = !{!"long", !8, i64 0}
!13 = !{!"TYPE_2__", !12, i64 0}
!14 = !{!11, !12, i64 56}
!15 = !{!12, !12, i64 0}
!16 = !{!11, !7, i64 52}
!17 = !{!18, !7, i64 44}
!18 = !{!"g_gate_version", !12, i64 0, !7, i64 8, !7, i64 12, !12, i64 16, !12, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !13, i64 56, !7, i64 64}
!19 = !{!18, !12, i64 0}
!20 = !{!21, !7, i64 8}
!21 = !{!"g_gate_cinit", !12, i64 0, !7, i64 8, !7, i64 12, !12, i64 16, !12, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !13, i64 56, !7, i64 64}
!22 = !{!21, !7, i64 36}
!23 = !{!21, !7, i64 12}
!24 = !{!25, !12, i64 16}
!25 = !{!"g_gate_sinit", !12, i64 0, !7, i64 8, !7, i64 12, !12, i64 16, !12, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !13, i64 56, !7, i64 64}
!26 = !{!25, !7, i64 32}
!27 = !{!25, !12, i64 24}
| freebsd_sbin_ggate_ggatec_extr_ggatec.c_handshake |
; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_registry.c_MSIREG_DeleteUpgradeCodesKey.c'
source_filename = "AnghaBench/reactos/dll/win32/msi/extr_registry.c_MSIREG_DeleteUpgradeCodesKey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SQUASHED_GUID_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@KEY_WOW64_64KEY = dso_local local_unnamed_addr global i32 0, align 4
@KEY_ALL_ACCESS = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_FUNCTION_FAILED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"%s squashed %s\0A\00", align 1
@HKEY_LOCAL_MACHINE = dso_local local_unnamed_addr global i32 0, align 4
@szInstaller_UpgradeCodes = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @MSIREG_DeleteUpgradeCodesKey(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = load i32, ptr @SQUASHED_GUID_SIZE, align 4, !tbaa !5
%4 = zext i32 %3 to i64
%5 = alloca i32, i64 %4, align 16
%6 = load i32, ptr @KEY_WOW64_64KEY, align 4, !tbaa !5
%7 = load i32, ptr @KEY_ALL_ACCESS, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%8 = call i32 @squash_guid(ptr noundef %0, ptr noundef nonnull %5) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = load i32, ptr @ERROR_FUNCTION_FAILED, align 4, !tbaa !5
br label %28
12: ; preds = %1
%13 = or i32 %7, %6
%14 = call i32 @debugstr_w(ptr noundef %0) #3
%15 = call i32 @debugstr_w(ptr noundef nonnull %5) #3
%16 = call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %14, i32 noundef %15) #3
%17 = load i32, ptr @HKEY_LOCAL_MACHINE, align 4, !tbaa !5
%18 = load i32, ptr @szInstaller_UpgradeCodes, align 4, !tbaa !5
%19 = call i64 @RegOpenKeyExW(i32 noundef %17, i32 noundef %18, i32 noundef 0, i32 noundef %13, ptr noundef nonnull %2) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %12
%22 = load i32, ptr @ERROR_SUCCESS, align 4, !tbaa !5
br label %28
23: ; preds = %12
%24 = load i32, ptr %2, align 4, !tbaa !5
%25 = call i32 @RegDeleteTreeW(i32 noundef %24, ptr noundef nonnull %5) #3
%26 = load i32, ptr %2, align 4, !tbaa !5
%27 = call i32 @RegCloseKey(i32 noundef %26) #3
br label %28
28: ; preds = %23, %21, %10
%29 = phi i32 [ %22, %21 ], [ %25, %23 ], [ %11, %10 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @squash_guid(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @TRACE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @debugstr_w(ptr noundef) local_unnamed_addr #2
declare i64 @RegOpenKeyExW(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RegDeleteTreeW(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RegCloseKey(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_registry.c_MSIREG_DeleteUpgradeCodesKey.c'
source_filename = "AnghaBench/reactos/dll/win32/msi/extr_registry.c_MSIREG_DeleteUpgradeCodesKey.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQUASHED_GUID_SIZE = common local_unnamed_addr global i32 0, align 4
@KEY_WOW64_64KEY = common local_unnamed_addr global i32 0, align 4
@KEY_ALL_ACCESS = common local_unnamed_addr global i32 0, align 4
@ERROR_FUNCTION_FAILED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"%s squashed %s\0A\00", align 1
@HKEY_LOCAL_MACHINE = common local_unnamed_addr global i32 0, align 4
@szInstaller_UpgradeCodes = common local_unnamed_addr global i32 0, align 4
@ERROR_SUCCESS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @MSIREG_DeleteUpgradeCodesKey(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = load i32, ptr @SQUASHED_GUID_SIZE, align 4, !tbaa !6
%4 = zext i32 %3 to i64
%5 = alloca i32, i64 %4, align 4
%6 = load i32, ptr @KEY_WOW64_64KEY, align 4, !tbaa !6
%7 = load i32, ptr @KEY_ALL_ACCESS, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%8 = call i32 @squash_guid(ptr noundef %0, ptr noundef nonnull %5) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = load i32, ptr @ERROR_FUNCTION_FAILED, align 4, !tbaa !6
br label %28
12: ; preds = %1
%13 = or i32 %7, %6
%14 = call i32 @debugstr_w(ptr noundef %0) #3
%15 = call i32 @debugstr_w(ptr noundef nonnull %5) #3
%16 = call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %14, i32 noundef %15) #3
%17 = load i32, ptr @HKEY_LOCAL_MACHINE, align 4, !tbaa !6
%18 = load i32, ptr @szInstaller_UpgradeCodes, align 4, !tbaa !6
%19 = call i64 @RegOpenKeyExW(i32 noundef %17, i32 noundef %18, i32 noundef 0, i32 noundef %13, ptr noundef nonnull %2) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %12
%22 = load i32, ptr @ERROR_SUCCESS, align 4, !tbaa !6
br label %28
23: ; preds = %12
%24 = load i32, ptr %2, align 4, !tbaa !6
%25 = call i32 @RegDeleteTreeW(i32 noundef %24, ptr noundef nonnull %5) #3
%26 = load i32, ptr %2, align 4, !tbaa !6
%27 = call i32 @RegCloseKey(i32 noundef %26) #3
br label %28
28: ; preds = %23, %21, %10
%29 = phi i32 [ %22, %21 ], [ %25, %23 ], [ %11, %10 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @squash_guid(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @TRACE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @debugstr_w(ptr noundef) local_unnamed_addr #2
declare i64 @RegOpenKeyExW(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RegDeleteTreeW(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RegCloseKey(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| reactos_dll_win32_msi_extr_registry.c_MSIREG_DeleteUpgradeCodesKey |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_phy.c_e1000e_phy_hw_reset_generic.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_phy.c_e1000e_phy_hw_reset_generic.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr, ptr, ptr, ptr }
%struct.e1000_phy_info = type { %struct.TYPE_2__, i32 }
@CTRL = dso_local local_unnamed_addr global i32 0, align 4
@E1000_CTRL_PHY_RST = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @e1000e_phy_hw_reset_generic(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 3
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = tail call i64 %3(ptr noundef nonnull %0) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %33
8: ; preds = %5, %1
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = tail call i64 %10(ptr noundef nonnull %0) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %33
13: ; preds = %8
%14 = load i32, ptr @CTRL, align 4, !tbaa !13
%15 = tail call i32 @er32(i32 noundef %14) #2
%16 = load i32, ptr @CTRL, align 4, !tbaa !13
%17 = load i32, ptr @E1000_CTRL_PHY_RST, align 4, !tbaa !13
%18 = or i32 %17, %15
%19 = tail call i32 @ew32(i32 noundef %16, i32 noundef %18) #2
%20 = tail call i32 (...) @e1e_flush() #2
%21 = getelementptr inbounds %struct.e1000_phy_info, ptr %0, i64 0, i32 1
%22 = load i32, ptr %21, align 8, !tbaa !14
%23 = tail call i32 @udelay(i32 noundef %22) #2
%24 = load i32, ptr @CTRL, align 4, !tbaa !13
%25 = tail call i32 @ew32(i32 noundef %24, i32 noundef %15) #2
%26 = tail call i32 (...) @e1e_flush() #2
%27 = tail call i32 @usleep_range(i32 noundef 150, i32 noundef 300) #2
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%29 = load ptr, ptr %28, align 8, !tbaa !15
%30 = tail call i32 %29(ptr noundef nonnull %0) #2
%31 = load ptr, ptr %0, align 8, !tbaa !16
%32 = tail call i64 %31(ptr noundef nonnull %0) #2
br label %33
33: ; preds = %8, %5, %13
%34 = phi i64 [ %32, %13 ], [ 0, %5 ], [ %11, %8 ]
ret i64 %34
}
declare i32 @er32(i32 noundef) local_unnamed_addr #1
declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @e1e_flush(...) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 24}
!6 = !{!"e1000_phy_info", !7, i64 0, !11, i64 32}
!7 = !{!"TYPE_2__", !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 = !{!"int", !9, i64 0}
!12 = !{!6, !8, i64 16}
!13 = !{!11, !11, i64 0}
!14 = !{!6, !11, i64 32}
!15 = !{!6, !8, i64 8}
!16 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_phy.c_e1000e_phy_hw_reset_generic.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_phy.c_e1000e_phy_hw_reset_generic.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
@E1000_CTRL_PHY_RST = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @e1000e_phy_hw_reset_generic(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 24
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = tail call i64 %3(ptr noundef nonnull %0) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %33
8: ; preds = %5, %1
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = tail call i64 %10(ptr noundef nonnull %0) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %33
13: ; preds = %8
%14 = load i32, ptr @CTRL, align 4, !tbaa !14
%15 = tail call i32 @er32(i32 noundef %14) #2
%16 = load i32, ptr @CTRL, align 4, !tbaa !14
%17 = load i32, ptr @E1000_CTRL_PHY_RST, align 4, !tbaa !14
%18 = or i32 %17, %15
%19 = tail call i32 @ew32(i32 noundef %16, i32 noundef %18) #2
%20 = tail call i32 @e1e_flush() #2
%21 = getelementptr inbounds i8, ptr %0, i64 32
%22 = load i32, ptr %21, align 8, !tbaa !15
%23 = tail call i32 @udelay(i32 noundef %22) #2
%24 = load i32, ptr @CTRL, align 4, !tbaa !14
%25 = tail call i32 @ew32(i32 noundef %24, i32 noundef %15) #2
%26 = tail call i32 @e1e_flush() #2
%27 = tail call i32 @usleep_range(i32 noundef 150, i32 noundef 300) #2
%28 = getelementptr inbounds i8, ptr %0, i64 8
%29 = load ptr, ptr %28, align 8, !tbaa !16
%30 = tail call i32 %29(ptr noundef nonnull %0) #2
%31 = load ptr, ptr %0, align 8, !tbaa !17
%32 = tail call i64 %31(ptr noundef nonnull %0) #2
br label %33
33: ; preds = %8, %5, %13
%34 = phi i64 [ %32, %13 ], [ 0, %5 ], [ %11, %8 ]
ret i64 %34
}
declare i32 @er32(i32 noundef) local_unnamed_addr #1
declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @e1e_flush(...) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 24}
!7 = !{!"e1000_phy_info", !8, i64 0, !12, i64 32}
!8 = !{!"TYPE_2__", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!7, !9, i64 16}
!14 = !{!12, !12, i64 0}
!15 = !{!7, !12, i64 32}
!16 = !{!7, !9, i64 8}
!17 = !{!7, !9, i64 0}
| linux_drivers_net_ethernet_intel_e1000e_extr_phy.c_e1000e_phy_hw_reset_generic |
; ModuleID = 'AnghaBench/goaccess/src/extr_gdashboard.c_render_data_line.c'
source_filename = "AnghaBench/goaccess/src/extr_gdashboard.c_render_data_line.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i32, i32, i32, i32, ptr }
%struct.TYPE_10__ = type { i64, ptr, i64 }
%struct.TYPE_12__ = type { i64, i32 }
%struct.TYPE_9__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @render_data_line], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @render_data_line(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, i32 noundef %3, ptr nocapture noundef readonly %4) #0 {
%6 = alloca %struct.TYPE_11__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3
%7 = load i64, ptr %1, align 8, !tbaa !5
%8 = tail call i32 @getmaxyx(ptr noundef %0, i32 noundef undef, i32 noundef undef) #3
%9 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 2
%10 = load i64, ptr %9, align 8, !tbaa !11
%11 = icmp eq i64 %10, 0
%12 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1
%13 = load i32, ptr %12, align 8, !tbaa !14
%14 = icmp sgt i32 %13, %3
br i1 %11, label %16, label %15
15: ; preds = %5
br i1 %14, label %17, label %35
16: ; preds = %5
br i1 %14, label %27, label %35
17: ; preds = %15
%18 = load i64, ptr %4, align 8, !tbaa !15
%19 = icmp eq i64 %7, %18
br i1 %19, label %20, label %27
20: ; preds = %17
%21 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 1
%22 = load ptr, ptr %21, align 8, !tbaa !16
%23 = getelementptr inbounds %struct.TYPE_9__, ptr %22, i64 %7
%24 = load i32, ptr %23, align 4, !tbaa !17
%25 = icmp eq i32 %24, %3
%26 = zext i1 %25 to i32
br label %27
27: ; preds = %16, %20, %17
%28 = phi i32 [ 0, %17 ], [ 1, %20 ], [ 0, %16 ]
%29 = phi i32 [ 0, %17 ], [ %26, %20 ], [ 0, %16 ]
%30 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i64 0, i32 4
store ptr %0, ptr %30, align 8, !tbaa !19
%31 = load i32, ptr %2, align 4, !tbaa !21
store i32 %31, ptr %6, align 8, !tbaa !22
%32 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i64 0, i32 2
store i32 %3, ptr %32, align 8, !tbaa !23
%33 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i64 0, i32 3
store i32 %29, ptr %33, align 4, !tbaa !24
%34 = tail call i32 @render_metrics(ptr noundef nonnull %1, ptr noundef nonnull byval(%struct.TYPE_11__) align 8 %6, i32 noundef %28) #3
br label %35
35: ; preds = %16, %15, %27
%36 = load i32, ptr %2, align 4, !tbaa !21
%37 = add nsw i32 %36, 1
store i32 %37, ptr %2, align 4, !tbaa !21
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @getmaxyx(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @render_metrics(ptr noundef, ptr noundef byval(%struct.TYPE_11__) align 8, 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_12__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 16}
!12 = !{!"TYPE_10__", !7, i64 0, !13, i64 8, !7, i64 16}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!12, !7, i64 0}
!16 = !{!12, !13, i64 8}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_9__", !10, i64 0}
!19 = !{!20, !13, i64 16}
!20 = !{!"TYPE_11__", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!21 = !{!10, !10, i64 0}
!22 = !{!20, !10, i64 0}
!23 = !{!20, !10, i64 8}
!24 = !{!20, !10, i64 12}
| ; ModuleID = 'AnghaBench/goaccess/src/extr_gdashboard.c_render_data_line.c'
source_filename = "AnghaBench/goaccess/src/extr_gdashboard.c_render_data_line.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, i32, i32, ptr }
%struct.TYPE_9__ = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @render_data_line], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @render_data_line(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, i32 noundef %3, ptr nocapture noundef readonly %4) #0 {
%6 = alloca %struct.TYPE_11__, align 8
%7 = load i64, ptr %1, align 8, !tbaa !6
%8 = tail call i32 @getmaxyx(ptr noundef %0, i32 noundef undef, i32 noundef undef) #3
%9 = getelementptr inbounds i8, ptr %4, i64 16
%10 = load i64, ptr %9, align 8, !tbaa !12
%11 = icmp eq i64 %10, 0
%12 = getelementptr inbounds i8, ptr %1, i64 8
%13 = load i32, ptr %12, align 8, !tbaa !15
%14 = icmp sgt i32 %13, %3
br i1 %11, label %16, label %15
15: ; preds = %5
br i1 %14, label %17, label %35
16: ; preds = %5
br i1 %14, label %27, label %35
17: ; preds = %15
%18 = load i64, ptr %4, align 8, !tbaa !16
%19 = icmp eq i64 %7, %18
br i1 %19, label %20, label %27
20: ; preds = %17
%21 = getelementptr inbounds i8, ptr %4, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !17
%23 = getelementptr inbounds %struct.TYPE_9__, ptr %22, i64 %7
%24 = load i32, ptr %23, align 4, !tbaa !18
%25 = icmp eq i32 %24, %3
%26 = zext i1 %25 to i32
br label %27
27: ; preds = %16, %20, %17
%28 = phi i32 [ 0, %17 ], [ 1, %20 ], [ 0, %16 ]
%29 = phi i32 [ 0, %17 ], [ %26, %20 ], [ 0, %16 ]
%30 = load i32, ptr %2, align 4, !tbaa !20
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3
store i32 %30, ptr %6, align 8, !tbaa !20
%31 = getelementptr inbounds i8, ptr %6, i64 8
store i32 %3, ptr %31, align 8, !tbaa !20
%32 = getelementptr inbounds i8, ptr %6, i64 12
store i32 %29, ptr %32, align 4, !tbaa !20
%33 = getelementptr inbounds i8, ptr %6, i64 16
store ptr %0, ptr %33, align 8, !tbaa !21
%34 = call i32 @render_metrics(ptr noundef nonnull %1, ptr noundef nonnull %6, i32 noundef %28) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3
br label %35
35: ; preds = %16, %15, %27
%36 = load i32, ptr %2, align 4, !tbaa !20
%37 = add nsw i32 %36, 1
store i32 %37, ptr %2, align 4, !tbaa !20
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 @getmaxyx(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @render_metrics(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_12__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !8, i64 16}
!13 = !{!"TYPE_10__", !8, i64 0, !14, i64 8, !8, i64 16}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!13, !8, i64 0}
!17 = !{!13, !14, i64 8}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_9__", !11, i64 0}
!20 = !{!11, !11, i64 0}
!21 = !{!14, !14, i64 0}
| goaccess_src_extr_gdashboard.c_render_data_line |
; ModuleID = 'AnghaBench/hashcat/src/extr_backend.c_hc_clReleaseProgram.c'
source_filename = "AnghaBench/hashcat/src/extr_backend.c_hc_clReleaseProgram.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CL_SUCCESS = dso_local local_unnamed_addr constant i64 0, align 8
@.str = private unnamed_addr constant [23 x i8] c"clReleaseProgram(): %s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @hc_clReleaseProgram(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = inttoptr i64 %4 to ptr
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = tail call i64 %6(i32 noundef %1) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = tail call i32 @val2cstr_cl(i64 noundef %7) #2
%11 = tail call i32 @event_log_error(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %10) #2
br label %12
12: ; preds = %2, %9
%13 = phi i32 [ -1, %9 ], [ 0, %2 ]
ret i32 %13
}
declare i32 @event_log_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @val2cstr_cl(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_7__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_8__", !7, i64 0}
| ; ModuleID = 'AnghaBench/hashcat/src/extr_backend.c_hc_clReleaseProgram.c'
source_filename = "AnghaBench/hashcat/src/extr_backend.c_hc_clReleaseProgram.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CL_SUCCESS = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [23 x i8] c"clReleaseProgram(): %s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @hc_clReleaseProgram(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = inttoptr i64 %4 to ptr
%6 = load ptr, ptr %5, align 8, !tbaa !14
%7 = tail call i64 %6(i32 noundef %1) #2
%8 = load i64, ptr @CL_SUCCESS, align 8, !tbaa !16
%9 = icmp eq i64 %7, %8
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = tail call i32 @val2cstr_cl(i64 noundef %7) #2
%12 = tail call i32 @event_log_error(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %11) #2
br label %13
13: ; preds = %2, %10
%14 = phi i32 [ -1, %10 ], [ 0, %2 ]
ret i32 %14
}
declare i32 @event_log_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @val2cstr_cl(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_7__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_8__", !8, i64 0}
!16 = !{!13, !13, i64 0}
| hashcat_src_extr_backend.c_hc_clReleaseProgram |
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_mckey.c_poll_cqs.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_mckey.c_poll_cqs.c"
target datalayout = "e-m:e-p270:32:32-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.ibv_wc = type { i32 }
%struct.TYPE_3__ = type { i32, i32 }
@connections = dso_local local_unnamed_addr global i32 0, align 4
@test = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@message_count = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"mckey: failed polling CQ: %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @poll_cqs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @poll_cqs() #0 {
%1 = alloca [8 x %struct.ibv_wc], align 16
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #3
%2 = load i32, ptr @connections, align 4, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %37
4: ; preds = %0
%5 = load i32, ptr @message_count, align 4
br label %6
6: ; preds = %4, %31
%7 = phi i32 [ %2, %4 ], [ %32, %31 ]
%8 = phi i32 [ %5, %4 ], [ %33, %31 ]
%9 = phi i64 [ 0, %4 ], [ %34, %31 ]
%10 = load ptr, ptr @test, align 8, !tbaa !9
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i64 %9, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = icmp ne i32 %12, 0
%14 = icmp sgt i32 %8, 0
%15 = select i1 %13, i1 %14, i1 false
br i1 %15, label %16, label %31
16: ; preds = %6, %25
%17 = phi i32 [ %26, %25 ], [ 0, %6 ]
%18 = load ptr, ptr @test, align 8, !tbaa !9
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i64 %9
%20 = load i32, ptr %19, align 4, !tbaa !14
%21 = call i32 @ibv_poll_cq(i32 noundef %20, i32 noundef 8, ptr noundef nonnull %1) #3
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %21) #3
br label %37
25: ; preds = %16
%26 = add nuw nsw i32 %21, %17
%27 = load i32, ptr @message_count, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %16, label %29, !llvm.loop !15
29: ; preds = %25
%30 = load i32, ptr @connections, align 4, !tbaa !5
br label %31
31: ; preds = %29, %6
%32 = phi i32 [ %30, %29 ], [ %7, %6 ]
%33 = phi i32 [ %27, %29 ], [ %8, %6 ]
%34 = add nuw nsw i64 %9, 1
%35 = sext i32 %32 to i64
%36 = icmp slt i64 %34, %35
br i1 %36, label %6, label %37, !llvm.loop !17
37: ; preds = %31, %0, %23
%38 = phi i32 [ %21, %23 ], [ 0, %0 ], [ 0, %31 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #3
ret i32 %38
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ibv_poll_cq(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 4}
!13 = !{!"TYPE_3__", !6, i64 0, !6, i64 4}
!14 = !{!13, !6, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_mckey.c_poll_cqs.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_mckey.c_poll_cqs.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 }
%struct.ibv_wc = type { i32 }
%struct.TYPE_3__ = type { i32, i32 }
@connections = common local_unnamed_addr global i32 0, align 4
@test = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@message_count = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"mckey: failed polling CQ: %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @poll_cqs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @poll_cqs() #0 {
%1 = alloca [8 x %struct.ibv_wc], align 4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #3
%2 = load i32, ptr @connections, align 4, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %37
4: ; preds = %0
%5 = load i32, ptr @message_count, align 4
br label %6
6: ; preds = %4, %31
%7 = phi i32 [ %2, %4 ], [ %32, %31 ]
%8 = phi i32 [ %5, %4 ], [ %33, %31 ]
%9 = phi i64 [ 0, %4 ], [ %34, %31 ]
%10 = load ptr, ptr @test, align 8, !tbaa !10
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i64 %9, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = icmp ne i32 %12, 0
%14 = icmp sgt i32 %8, 0
%15 = select i1 %13, i1 %14, i1 false
br i1 %15, label %16, label %31
16: ; preds = %6, %25
%17 = phi i32 [ %26, %25 ], [ 0, %6 ]
%18 = load ptr, ptr @test, align 8, !tbaa !10
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i64 %9
%20 = load i32, ptr %19, align 4, !tbaa !15
%21 = call i32 @ibv_poll_cq(i32 noundef %20, i32 noundef 8, ptr noundef nonnull %1) #3
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %21) #3
br label %37
25: ; preds = %16
%26 = add nuw nsw i32 %21, %17
%27 = load i32, ptr @message_count, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %16, label %29, !llvm.loop !16
29: ; preds = %25
%30 = load i32, ptr @connections, align 4, !tbaa !6
br label %31
31: ; preds = %29, %6
%32 = phi i32 [ %30, %29 ], [ %7, %6 ]
%33 = phi i32 [ %27, %29 ], [ %8, %6 ]
%34 = add nuw nsw i64 %9, 1
%35 = sext i32 %32 to i64
%36 = icmp slt i64 %34, %35
br i1 %36, label %6, label %37, !llvm.loop !18
37: ; preds = %31, %0, %23
%38 = phi i32 [ %21, %23 ], [ 0, %0 ], [ 0, %31 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #3
ret i32 %38
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ibv_poll_cq(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 4}
!14 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!15 = !{!14, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
| freebsd_contrib_ofed_librdmacm_examples_extr_mckey.c_poll_cqs |
; ModuleID = 'AnghaBench/vlc/modules/access/extr_dvdnav.c_StillTimer.c'
source_filename = "AnghaBench/vlc/modules/access/extr_dvdnav.c_StillTimer.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.TYPE_4__ = type { %struct.TYPE_3__, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @StillTimer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @StillTimer(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%3 = tail call i32 @vlc_mutex_lock(ptr noundef nonnull %2) #2
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call i64 @likely(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %1
store i32 0, ptr %0, align 4, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = tail call i32 @dvdnav_still_skip(i32 noundef %9) #2
br label %11
11: ; preds = %7, %1
%12 = tail call i32 @vlc_mutex_unlock(ptr noundef nonnull %2) #2
ret void
}
declare i32 @vlc_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @dvdnav_still_skip(i32 noundef) local_unnamed_addr #1
declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !8, i64 8}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!6, !8, i64 8}
| ; ModuleID = 'AnghaBench/vlc/modules/access/extr_dvdnav.c_StillTimer.c'
source_filename = "AnghaBench/vlc/modules/access/extr_dvdnav.c_StillTimer.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 @StillTimer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @StillTimer(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = tail call i32 @vlc_mutex_lock(ptr noundef nonnull %2) #2
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i64 @likely(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %1
store i32 0, ptr %0, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = tail call i32 @dvdnav_still_skip(i32 noundef %9) #2
br label %11
11: ; preds = %7, %1
%12 = tail call i32 @vlc_mutex_unlock(ptr noundef nonnull %2) #2
ret void
}
declare i32 @vlc_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @dvdnav_still_skip(i32 noundef) local_unnamed_addr #1
declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !9, i64 8}
!8 = !{!"TYPE_3__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!7, !9, i64 8}
| vlc_modules_access_extr_dvdnav.c_StillTimer |
; ModuleID = 'AnghaBench/sqlcipher/src/extr_select.c_sqlite3SelectAddColumnTypeAndCollation.c'
source_filename = "AnghaBench/sqlcipher/src/extr_select.c_sqlite3SelectAddColumnTypeAndCollation.c"
target datalayout = "e-m:e-p270:32:32-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_23__ = type { i32 }
%struct.TYPE_21__ = type { i32, ptr, i32 }
%struct.TYPE_18__ = type { i32, ptr }
%struct.TYPE_20__ = type { i32, i32, ptr }
%struct.ExprList_item = type { ptr }
%struct.TYPE_24__ = type { i64, ptr, i64, i32 }
@SF_Resolved = dso_local local_unnamed_addr global i32 0, align 4
@COLFLAG_HASTYPE = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_AFF_BLOB = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @sqlite3SelectAddColumnTypeAndCollation(ptr noundef %0, ptr nocapture noundef %1, ptr noundef readonly %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_23__, align 4
%5 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = icmp ne ptr %2, null
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert(i32 noundef %7) #3
%9 = load i32, ptr %2, align 8, !tbaa !10
%10 = load i32, ptr @SF_Resolved, align 4, !tbaa !13
%11 = and i32 %10, %9
%12 = icmp ne i32 %11, 0
%13 = zext i1 %12 to i32
%14 = tail call i32 @assert(i32 noundef %13) #3
%15 = load i32, ptr %1, align 8, !tbaa !14
%16 = getelementptr inbounds %struct.TYPE_21__, ptr %2, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !16
%18 = load i32, ptr %17, align 8, !tbaa !17
%19 = icmp eq i32 %15, %18
br i1 %19, label %24, label %20
20: ; preds = %3
%21 = load i64, ptr %5, align 8, !tbaa !19
%22 = icmp ne i64 %21, 0
%23 = zext i1 %22 to i32
br label %24
24: ; preds = %20, %3
%25 = phi i32 [ 1, %3 ], [ %23, %20 ]
%26 = tail call i32 @assert(i32 noundef %25) #3
%27 = load i64, ptr %5, align 8, !tbaa !19
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %94
29: ; preds = %24
%30 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 4) #3
%31 = getelementptr inbounds %struct.TYPE_21__, ptr %2, i64 0, i32 2
%32 = load i32, ptr %31, align 8, !tbaa !22
store i32 %32, ptr %4, align 4, !tbaa !23
%33 = load ptr, ptr %16, align 8, !tbaa !16
%34 = getelementptr inbounds %struct.TYPE_18__, ptr %33, i64 0, i32 1
%35 = load ptr, ptr %34, align 8, !tbaa !25
%36 = load i32, ptr %1, align 8, !tbaa !14
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %92
38: ; preds = %29
%39 = getelementptr inbounds %struct.TYPE_20__, ptr %1, i64 0, i32 2
%40 = load ptr, ptr %39, align 8, !tbaa !26
br label %41
41: ; preds = %38, %86
%42 = phi i64 [ 0, %38 ], [ %87, %86 ]
%43 = phi ptr [ %40, %38 ], [ %88, %86 ]
%44 = getelementptr inbounds %struct.ExprList_item, ptr %35, i64 %42
%45 = load ptr, ptr %44, align 8, !tbaa !27
%46 = call ptr @columnType(ptr noundef nonnull %4, ptr noundef %45, i32 noundef 0, i32 noundef 0, i32 noundef 0) #3
%47 = call i64 @sqlite3ExprAffinity(ptr noundef %45) #3
store i64 %47, ptr %43, align 8, !tbaa !29
%48 = icmp eq ptr %46, null
br i1 %48, label %71, label %49
49: ; preds = %41
%50 = call i32 @sqlite3Strlen30(ptr noundef nonnull %46) #3
%51 = getelementptr inbounds %struct.TYPE_24__, ptr %43, i64 0, i32 1
%52 = load ptr, ptr %51, align 8, !tbaa !31
%53 = call i32 @sqlite3Strlen30(ptr noundef %52) #3
%54 = load ptr, ptr %51, align 8, !tbaa !31
%55 = add i32 %50, 2
%56 = add i32 %55, %53
%57 = call ptr @sqlite3DbReallocOrFree(ptr noundef nonnull %5, ptr noundef %54, i32 noundef %56) #3
store ptr %57, ptr %51, align 8, !tbaa !31
%58 = icmp eq ptr %57, null
br i1 %58, label %69, label %59
59: ; preds = %49
%60 = sext i32 %53 to i64
%61 = getelementptr i8, ptr %57, i64 %60
%62 = getelementptr i8, ptr %61, i64 1
%63 = add nsw i32 %50, 1
%64 = call i32 @memcpy(ptr noundef %62, ptr noundef nonnull %46, i32 noundef %63) #3
%65 = load i32, ptr @COLFLAG_HASTYPE, align 4, !tbaa !13
%66 = getelementptr inbounds %struct.TYPE_24__, ptr %43, i64 0, i32 3
%67 = load i32, ptr %66, align 8, !tbaa !32
%68 = or i32 %67, %65
store i32 %68, ptr %66, align 8, !tbaa !32
br label %69
69: ; preds = %59, %49
%70 = load i64, ptr %43, align 8, !tbaa !29
br label %71
71: ; preds = %69, %41
%72 = phi i64 [ %70, %69 ], [ %47, %41 ]
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %71
%75 = load i64, ptr @SQLITE_AFF_BLOB, align 8, !tbaa !33
store i64 %75, ptr %43, align 8, !tbaa !29
br label %76
76: ; preds = %74, %71
%77 = call ptr @sqlite3ExprCollSeq(ptr noundef nonnull %0, ptr noundef %45) #3
%78 = icmp eq ptr %77, null
br i1 %78, label %86, label %79
79: ; preds = %76
%80 = getelementptr inbounds %struct.TYPE_24__, ptr %43, i64 0, i32 2
%81 = load i64, ptr %80, align 8, !tbaa !34
%82 = icmp eq i64 %81, 0
br i1 %82, label %83, label %86
83: ; preds = %79
%84 = load i32, ptr %77, align 4, !tbaa !35
%85 = call i64 @sqlite3DbStrDup(ptr noundef nonnull %5, i32 noundef %84) #3
store i64 %85, ptr %80, align 8, !tbaa !34
br label %86
86: ; preds = %83, %79, %76
%87 = add nuw nsw i64 %42, 1
%88 = getelementptr inbounds %struct.TYPE_24__, ptr %43, i64 1
%89 = load i32, ptr %1, align 8, !tbaa !14
%90 = sext i32 %89 to i64
%91 = icmp slt i64 %87, %90
br i1 %91, label %41, label %92, !llvm.loop !37
92: ; preds = %86, %29
%93 = getelementptr inbounds %struct.TYPE_20__, ptr %1, i64 0, i32 1
store i32 1, ptr %93, align 4, !tbaa !39
br label %94
94: ; preds = %24, %92
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @columnType(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @sqlite3ExprAffinity(ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3Strlen30(ptr noundef) local_unnamed_addr #2
declare ptr @sqlite3DbReallocOrFree(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @sqlite3ExprCollSeq(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @sqlite3DbStrDup(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_22__", !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_21__", !12, i64 0, !7, i64 8, !12, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_20__", !12, i64 0, !12, i64 4, !7, i64 8}
!16 = !{!11, !7, i64 8}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_18__", !12, i64 0, !7, i64 8}
!19 = !{!20, !21, i64 0}
!20 = !{!"TYPE_19__", !21, i64 0}
!21 = !{!"long", !8, i64 0}
!22 = !{!11, !12, i64 16}
!23 = !{!24, !12, i64 0}
!24 = !{!"TYPE_23__", !12, i64 0}
!25 = !{!18, !7, i64 8}
!26 = !{!15, !7, i64 8}
!27 = !{!28, !7, i64 0}
!28 = !{!"ExprList_item", !7, i64 0}
!29 = !{!30, !21, i64 0}
!30 = !{!"TYPE_24__", !21, i64 0, !7, i64 8, !21, i64 16, !12, i64 24}
!31 = !{!30, !7, i64 8}
!32 = !{!30, !12, i64 24}
!33 = !{!21, !21, i64 0}
!34 = !{!30, !21, i64 16}
!35 = !{!36, !12, i64 0}
!36 = !{!"TYPE_25__", !12, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!15, !12, i64 4}
| ; ModuleID = 'AnghaBench/sqlcipher/src/extr_select.c_sqlite3SelectAddColumnTypeAndCollation.c'
source_filename = "AnghaBench/sqlcipher/src/extr_select.c_sqlite3SelectAddColumnTypeAndCollation.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_23__ = type { i32 }
%struct.ExprList_item = type { ptr }
@SF_Resolved = common local_unnamed_addr global i32 0, align 4
@COLFLAG_HASTYPE = common local_unnamed_addr global i32 0, align 4
@SQLITE_AFF_BLOB = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @sqlite3SelectAddColumnTypeAndCollation(ptr noundef %0, ptr nocapture noundef %1, ptr noundef readonly %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_23__, align 4
%5 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = icmp ne ptr %2, null
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert(i32 noundef %7) #3
%9 = load i32, ptr %2, align 8, !tbaa !11
%10 = load i32, ptr @SF_Resolved, align 4, !tbaa !14
%11 = and i32 %10, %9
%12 = icmp ne i32 %11, 0
%13 = zext i1 %12 to i32
%14 = tail call i32 @assert(i32 noundef %13) #3
%15 = load i32, ptr %1, align 8, !tbaa !15
%16 = getelementptr inbounds i8, ptr %2, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !17
%18 = load i32, ptr %17, align 8, !tbaa !18
%19 = icmp eq i32 %15, %18
br i1 %19, label %24, label %20
20: ; preds = %3
%21 = load i64, ptr %5, align 8, !tbaa !20
%22 = icmp ne i64 %21, 0
%23 = zext i1 %22 to i32
br label %24
24: ; preds = %20, %3
%25 = phi i32 [ 1, %3 ], [ %23, %20 ]
%26 = tail call i32 @assert(i32 noundef %25) #3
%27 = load i64, ptr %5, align 8, !tbaa !20
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %94
29: ; preds = %24
%30 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 4) #3
%31 = getelementptr inbounds i8, ptr %2, i64 16
%32 = load i32, ptr %31, align 8, !tbaa !23
store i32 %32, ptr %4, align 4, !tbaa !24
%33 = load ptr, ptr %16, align 8, !tbaa !17
%34 = getelementptr inbounds i8, ptr %33, i64 8
%35 = load ptr, ptr %34, align 8, !tbaa !26
%36 = load i32, ptr %1, align 8, !tbaa !15
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %92
38: ; preds = %29
%39 = getelementptr inbounds i8, ptr %1, i64 8
%40 = load ptr, ptr %39, align 8, !tbaa !27
br label %41
41: ; preds = %38, %86
%42 = phi i64 [ 0, %38 ], [ %87, %86 ]
%43 = phi ptr [ %40, %38 ], [ %88, %86 ]
%44 = getelementptr inbounds %struct.ExprList_item, ptr %35, i64 %42
%45 = load ptr, ptr %44, align 8, !tbaa !28
%46 = call ptr @columnType(ptr noundef nonnull %4, ptr noundef %45, i32 noundef 0, i32 noundef 0, i32 noundef 0) #3
%47 = call i64 @sqlite3ExprAffinity(ptr noundef %45) #3
store i64 %47, ptr %43, align 8, !tbaa !30
%48 = icmp eq ptr %46, null
br i1 %48, label %71, label %49
49: ; preds = %41
%50 = call i32 @sqlite3Strlen30(ptr noundef nonnull %46) #3
%51 = getelementptr inbounds i8, ptr %43, i64 8
%52 = load ptr, ptr %51, align 8, !tbaa !32
%53 = call i32 @sqlite3Strlen30(ptr noundef %52) #3
%54 = load ptr, ptr %51, align 8, !tbaa !32
%55 = add i32 %50, 2
%56 = add i32 %55, %53
%57 = call ptr @sqlite3DbReallocOrFree(ptr noundef nonnull %5, ptr noundef %54, i32 noundef %56) #3
store ptr %57, ptr %51, align 8, !tbaa !32
%58 = icmp eq ptr %57, null
br i1 %58, label %69, label %59
59: ; preds = %49
%60 = sext i32 %53 to i64
%61 = getelementptr i8, ptr %57, i64 %60
%62 = getelementptr i8, ptr %61, i64 1
%63 = add nsw i32 %50, 1
%64 = call i32 @memcpy(ptr noundef %62, ptr noundef nonnull %46, i32 noundef %63) #3
%65 = load i32, ptr @COLFLAG_HASTYPE, align 4, !tbaa !14
%66 = getelementptr inbounds i8, ptr %43, i64 24
%67 = load i32, ptr %66, align 8, !tbaa !33
%68 = or i32 %67, %65
store i32 %68, ptr %66, align 8, !tbaa !33
br label %69
69: ; preds = %59, %49
%70 = load i64, ptr %43, align 8, !tbaa !30
br label %71
71: ; preds = %69, %41
%72 = phi i64 [ %70, %69 ], [ %47, %41 ]
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %71
%75 = load i64, ptr @SQLITE_AFF_BLOB, align 8, !tbaa !34
store i64 %75, ptr %43, align 8, !tbaa !30
br label %76
76: ; preds = %74, %71
%77 = call ptr @sqlite3ExprCollSeq(ptr noundef nonnull %0, ptr noundef %45) #3
%78 = icmp eq ptr %77, null
br i1 %78, label %86, label %79
79: ; preds = %76
%80 = getelementptr inbounds i8, ptr %43, i64 16
%81 = load i64, ptr %80, align 8, !tbaa !35
%82 = icmp eq i64 %81, 0
br i1 %82, label %83, label %86
83: ; preds = %79
%84 = load i32, ptr %77, align 4, !tbaa !36
%85 = call i64 @sqlite3DbStrDup(ptr noundef nonnull %5, i32 noundef %84) #3
store i64 %85, ptr %80, align 8, !tbaa !35
br label %86
86: ; preds = %83, %79, %76
%87 = add nuw nsw i64 %42, 1
%88 = getelementptr inbounds i8, ptr %43, i64 32
%89 = load i32, ptr %1, align 8, !tbaa !15
%90 = sext i32 %89 to i64
%91 = icmp slt i64 %87, %90
br i1 %91, label %41, label %92, !llvm.loop !38
92: ; preds = %86, %29
%93 = getelementptr inbounds i8, ptr %1, i64 4
store i32 1, ptr %93, align 4, !tbaa !40
br label %94
94: ; preds = %24, %92
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @columnType(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @sqlite3ExprAffinity(ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3Strlen30(ptr noundef) local_unnamed_addr #2
declare ptr @sqlite3DbReallocOrFree(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @sqlite3ExprCollSeq(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @sqlite3DbStrDup(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_22__", !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_21__", !13, i64 0, !8, i64 8, !13, i64 16}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_20__", !13, i64 0, !13, i64 4, !8, i64 8}
!17 = !{!12, !8, i64 8}
!18 = !{!19, !13, i64 0}
!19 = !{!"TYPE_18__", !13, i64 0, !8, i64 8}
!20 = !{!21, !22, i64 0}
!21 = !{!"TYPE_19__", !22, i64 0}
!22 = !{!"long", !9, i64 0}
!23 = !{!12, !13, i64 16}
!24 = !{!25, !13, i64 0}
!25 = !{!"TYPE_23__", !13, i64 0}
!26 = !{!19, !8, i64 8}
!27 = !{!16, !8, i64 8}
!28 = !{!29, !8, i64 0}
!29 = !{!"ExprList_item", !8, i64 0}
!30 = !{!31, !22, i64 0}
!31 = !{!"TYPE_24__", !22, i64 0, !8, i64 8, !22, i64 16, !13, i64 24}
!32 = !{!31, !8, i64 8}
!33 = !{!31, !13, i64 24}
!34 = !{!22, !22, i64 0}
!35 = !{!31, !22, i64 16}
!36 = !{!37, !13, i64 0}
!37 = !{!"TYPE_25__", !13, i64 0}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{!16, !13, i64 4}
| sqlcipher_src_extr_select.c_sqlite3SelectAddColumnTypeAndCollation |
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_tps6586x.c_tps6586x_clr_bits.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_tps6586x.c_tps6586x_clr_bits.c"
target datalayout = "e-m:e-p270:32:32-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 @tps6586x_clr_bits(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @dev_to_tps6586x(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call i32 @regmap_update_bits(i32 noundef %5, i32 noundef %1, i32 noundef %2, i32 noundef 0) #2
ret i32 %6
}
declare ptr @dev_to_tps6586x(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tps6586x", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_tps6586x.c_tps6586x_clr_bits.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_tps6586x.c_tps6586x_clr_bits.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 @tps6586x_clr_bits(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @dev_to_tps6586x(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call i32 @regmap_update_bits(i32 noundef %5, i32 noundef %1, i32 noundef %2, i32 noundef 0) #2
ret i32 %6
}
declare ptr @dev_to_tps6586x(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tps6586x", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_mfd_extr_tps6586x.c_tps6586x_clr_bits |
; ModuleID = 'AnghaBench/esp-idf/components/esp-tls/extr_esp_tls.c_esp_tls_conn_http_new.c'
source_filename = "AnghaBench/esp-idf/components/esp-tls/extr_esp_tls.c_esp_tls_conn_http_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.http_parser_url = type { ptr }
%struct.TYPE_2__ = type { i64, i32 }
@UF_HOST = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @esp_tls_conn_http_new(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.http_parser_url, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call i32 @http_parser_url_init(ptr noundef nonnull %3) #3
%5 = call i32 @strlen(ptr noundef %0) #3
%6 = call i32 @http_parser_parse_url(ptr noundef %0, i32 noundef %5, i32 noundef 0, ptr noundef nonnull %3) #3
%7 = call ptr (...) @esp_tls_init() #3
%8 = icmp eq ptr %7, null
br i1 %8, label %21, label %9
9: ; preds = %2
%10 = load ptr, ptr %3, align 8, !tbaa !5
%11 = load i64, ptr @UF_HOST, align 8, !tbaa !10
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %11
%13 = load i64, ptr %12, align 8, !tbaa !12
%14 = getelementptr inbounds i8, ptr %0, i64 %13
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %11, i32 1
%16 = load i32, ptr %15, align 8, !tbaa !15
%17 = call i32 @get_port(ptr noundef %0, ptr noundef nonnull %3) #3
%18 = call i32 @esp_tls_conn_new_sync(ptr noundef %14, i32 noundef %16, i32 noundef %17, ptr noundef %1, ptr noundef nonnull %7) #3
%19 = icmp eq i32 %18, 1
%20 = select i1 %19, ptr %7, ptr null
br label %21
21: ; preds = %9, %2
%22 = phi ptr [ null, %2 ], [ %20, %9 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @http_parser_url_init(ptr noundef) local_unnamed_addr #2
declare i32 @http_parser_parse_url(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare ptr @esp_tls_init(...) local_unnamed_addr #2
declare i32 @esp_tls_conn_new_sync(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @get_port(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 = !{!"http_parser_url", !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 0}
!13 = !{!"TYPE_2__", !11, i64 0, !14, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !14, i64 8}
| ; ModuleID = 'AnghaBench/esp-idf/components/esp-tls/extr_esp_tls.c_esp_tls_conn_http_new.c'
source_filename = "AnghaBench/esp-idf/components/esp-tls/extr_esp_tls.c_esp_tls_conn_http_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.http_parser_url = type { ptr }
%struct.TYPE_2__ = type { i64, i32 }
@UF_HOST = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @esp_tls_conn_http_new(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.http_parser_url, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call i32 @http_parser_url_init(ptr noundef nonnull %3) #3
%5 = call i32 @strlen(ptr noundef %0) #3
%6 = call i32 @http_parser_parse_url(ptr noundef %0, i32 noundef %5, i32 noundef 0, ptr noundef nonnull %3) #3
%7 = call ptr @esp_tls_init() #3
%8 = icmp eq ptr %7, null
br i1 %8, label %21, label %9
9: ; preds = %2
%10 = load ptr, ptr %3, align 8, !tbaa !6
%11 = load i64, ptr @UF_HOST, align 8, !tbaa !11
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %11
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = getelementptr inbounds i8, ptr %0, i64 %13
%15 = getelementptr inbounds i8, ptr %12, i64 8
%16 = load i32, ptr %15, align 8, !tbaa !16
%17 = call i32 @get_port(ptr noundef %0, ptr noundef nonnull %3) #3
%18 = call i32 @esp_tls_conn_new_sync(ptr noundef %14, i32 noundef %16, i32 noundef %17, ptr noundef %1, ptr noundef nonnull %7) #3
%19 = icmp eq i32 %18, 1
%20 = select i1 %19, ptr %7, ptr null
br label %21
21: ; preds = %9, %2
%22 = phi ptr [ null, %2 ], [ %20, %9 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @http_parser_url_init(ptr noundef) local_unnamed_addr #2
declare i32 @http_parser_parse_url(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare ptr @esp_tls_init(...) local_unnamed_addr #2
declare i32 @esp_tls_conn_new_sync(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @get_port(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 = !{!"http_parser_url", !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 0}
!14 = !{!"TYPE_2__", !12, i64 0, !15, i64 8}
!15 = !{!"int", !9, i64 0}
!16 = !{!14, !15, i64 8}
| esp-idf_components_esp-tls_extr_esp_tls.c_esp_tls_conn_http_new |
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/vmcs_host/linux/extr_vcmisc.c_vc_sleep.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/vmcs_host/linux/extr_vcmisc.c_vc_sleep.c"
target datalayout = "e-m:e-p270:32:32-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 @vc_sleep(i32 noundef %0) local_unnamed_addr #0 {
%2 = mul nsw i32 %0, 1000
%3 = tail call i32 @usleep(i32 noundef %2) #2
ret void
}
declare i32 @usleep(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/RetroArch/gfx/include/userland/interface/vmcs_host/linux/extr_vcmisc.c_vc_sleep.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/vmcs_host/linux/extr_vcmisc.c_vc_sleep.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 @vc_sleep(i32 noundef %0) local_unnamed_addr #0 {
%2 = mul nsw i32 %0, 1000
%3 = tail call i32 @usleep(i32 noundef %2) #2
ret void
}
declare i32 @usleep(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)"}
| RetroArch_gfx_include_userland_interface_vmcs_host_linux_extr_vcmisc.c_vc_sleep |
; ModuleID = 'AnghaBench/linux/fs/xfs/scrub/extr_bitmap.c_xfs_bitmap_set_btcur_path.c'
source_filename = "AnghaBench/linux/fs/xfs/scrub/extr_bitmap.c_xfs_bitmap_set_btcur_path.c"
target datalayout = "e-m:e-p270:32:32-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.xfs_btree_cur = type { i32, ptr, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @xfs_bitmap_set_btcur_path(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.xfs_btree_cur, ptr %1, i64 0, i32 1
%5 = getelementptr inbounds %struct.xfs_btree_cur, ptr %1, i64 0, i32 2
%6 = load i32, ptr %1, align 8, !tbaa !5
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %30
8: ; preds = %2, %25
%9 = phi i64 [ %26, %25 ], [ 0, %2 ]
%10 = load ptr, ptr %4, align 8, !tbaa !11
%11 = getelementptr inbounds i32, ptr %10, i64 %9
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %30
14: ; preds = %8
%15 = trunc i64 %9 to i32
%16 = call i32 @xfs_btree_get_block(ptr noundef nonnull %1, i32 noundef %15, ptr noundef nonnull %3) #3
%17 = load ptr, ptr %3, align 8, !tbaa !13
%18 = icmp eq ptr %17, null
br i1 %18, label %25, label %19
19: ; preds = %14
%20 = load i32, ptr %5, align 8, !tbaa !14
%21 = load i32, ptr %17, align 4, !tbaa !15
%22 = call i32 @XFS_DADDR_TO_FSB(i32 noundef %20, i32 noundef %21) #3
%23 = call i32 @xfs_bitmap_set(ptr noundef %0, i32 noundef %22, i32 noundef 1) #3
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %19, %14
%26 = add nuw nsw i64 %9, 1
%27 = load i32, ptr %1, align 8, !tbaa !5
%28 = sext i32 %27 to i64
%29 = icmp slt i64 %26, %28
br i1 %29, label %8, label %30, !llvm.loop !17
30: ; preds = %19, %25, %8, %2
%31 = phi i32 [ 0, %2 ], [ 0, %8 ], [ 0, %25 ], [ %23, %19 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @xfs_btree_get_block(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @XFS_DADDR_TO_FSB(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @xfs_bitmap_set(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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"xfs_btree_cur", !7, i64 0, !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 = !{!10, !10, i64 0}
!14 = !{!6, !7, i64 16}
!15 = !{!16, !7, i64 0}
!16 = !{!"xfs_buf", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/fs/xfs/scrub/extr_bitmap.c_xfs_bitmap_set_btcur_path.c'
source_filename = "AnghaBench/linux/fs/xfs/scrub/extr_bitmap.c_xfs_bitmap_set_btcur_path.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 @xfs_bitmap_set_btcur_path(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = getelementptr inbounds i8, ptr %1, i64 16
%6 = load i32, ptr %1, align 8, !tbaa !6
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %30
8: ; preds = %2, %25
%9 = phi i64 [ %26, %25 ], [ 0, %2 ]
%10 = load ptr, ptr %4, align 8, !tbaa !12
%11 = getelementptr inbounds i32, ptr %10, i64 %9
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %30
14: ; preds = %8
%15 = trunc nuw nsw i64 %9 to i32
%16 = call i32 @xfs_btree_get_block(ptr noundef nonnull %1, i32 noundef %15, ptr noundef nonnull %3) #3
%17 = load ptr, ptr %3, align 8, !tbaa !14
%18 = icmp eq ptr %17, null
br i1 %18, label %25, label %19
19: ; preds = %14
%20 = load i32, ptr %5, align 8, !tbaa !15
%21 = load i32, ptr %17, align 4, !tbaa !16
%22 = call i32 @XFS_DADDR_TO_FSB(i32 noundef %20, i32 noundef %21) #3
%23 = call i32 @xfs_bitmap_set(ptr noundef %0, i32 noundef %22, i32 noundef 1) #3
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %19, %14
%26 = add nuw nsw i64 %9, 1
%27 = load i32, ptr %1, align 8, !tbaa !6
%28 = sext i32 %27 to i64
%29 = icmp slt i64 %26, %28
br i1 %29, label %8, label %30, !llvm.loop !18
30: ; preds = %19, %25, %8, %2
%31 = phi i32 [ 0, %2 ], [ 0, %8 ], [ 0, %25 ], [ %23, %19 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @xfs_btree_get_block(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @XFS_DADDR_TO_FSB(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @xfs_bitmap_set(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 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"xfs_btree_cur", !8, i64 0, !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 = !{!11, !11, i64 0}
!15 = !{!7, !8, i64 16}
!16 = !{!17, !8, i64 0}
!17 = !{!"xfs_buf", !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| linux_fs_xfs_scrub_extr_bitmap.c_xfs_bitmap_set_btcur_path |
; ModuleID = 'AnghaBench/vlc/test/modules/packetizer/extr_packetizer.h_create_packetizer.c'
source_filename = "AnghaBench/vlc/test/modules/packetizer/extr_packetizer.h_create_packetizer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_12__ = type { i32, %struct.TYPE_13__, %struct.TYPE_13__, ptr, ptr }
%struct.TYPE_13__ = type { i32, %struct.TYPE_10__ }
%struct.TYPE_10__ = type { i32, i32 }
@VIDEO_ES = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"packetizer\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @create_packetizer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @create_packetizer(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = tail call ptr @vlc_object_create(i32 noundef %5, i32 noundef 48) #3
%7 = icmp eq ptr %6, null
br i1 %7, label %22, label %8
8: ; preds = %4
%9 = getelementptr inbounds %struct.TYPE_12__, ptr %6, i64 0, i32 3
%10 = getelementptr inbounds %struct.TYPE_12__, ptr %6, i64 0, i32 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, i8 0, i64 16, i1 false)
%11 = load i32, ptr @VIDEO_ES, align 4, !tbaa !10
%12 = tail call i32 @es_format_Init(ptr noundef nonnull %10, i32 noundef %11, i32 noundef %3) #3
%13 = getelementptr inbounds %struct.TYPE_12__, ptr %6, i64 0, i32 2
%14 = load i32, ptr @VIDEO_ES, align 4, !tbaa !10
%15 = tail call i32 @es_format_Init(ptr noundef nonnull %13, i32 noundef %14, i32 noundef 0) #3
%16 = getelementptr inbounds %struct.TYPE_12__, ptr %6, i64 0, i32 1, i32 1
store i32 %1, ptr %16, align 4, !tbaa !11
%17 = getelementptr inbounds %struct.TYPE_12__, ptr %6, i64 0, i32 1, i32 1, i32 1
store i32 %2, ptr %17, align 4, !tbaa !16
store i32 0, ptr %10, align 4, !tbaa !17
%18 = tail call i32 @module_need(ptr noundef nonnull %6, ptr noundef nonnull @.str, ptr noundef null, i32 noundef 0) #3
store i32 %18, ptr %6, align 8, !tbaa !18
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %8
%21 = tail call i32 @delete_packetizer(ptr noundef nonnull %6) #3
br label %22
22: ; preds = %8, %20, %4
ret ptr %6
}
declare ptr @vlc_object_create(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @es_format_Init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @module_need(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @delete_packetizer(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 8}
!12 = !{!"TYPE_12__", !7, i64 0, !13, i64 4, !13, i64 16, !15, i64 32, !15, i64 40}
!13 = !{!"TYPE_13__", !7, i64 0, !14, i64 4}
!14 = !{!"TYPE_10__", !7, i64 0, !7, i64 4}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!12, !7, i64 12}
!17 = !{!12, !7, i64 4}
!18 = !{!12, !7, i64 0}
| ; ModuleID = 'AnghaBench/vlc/test/modules/packetizer/extr_packetizer.h_create_packetizer.c'
source_filename = "AnghaBench/vlc/test/modules/packetizer/extr_packetizer.h_create_packetizer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VIDEO_ES = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"packetizer\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @create_packetizer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @create_packetizer(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call ptr @vlc_object_create(i32 noundef %5, i32 noundef 48) #3
%7 = icmp eq ptr %6, null
br i1 %7, label %22, label %8
8: ; preds = %4
%9 = getelementptr inbounds i8, ptr %6, i64 32
%10 = getelementptr inbounds i8, ptr %6, i64 4
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, i8 0, i64 16, i1 false)
%11 = load i32, ptr @VIDEO_ES, align 4, !tbaa !11
%12 = tail call i32 @es_format_Init(ptr noundef nonnull %10, i32 noundef %11, i32 noundef %3) #3
%13 = getelementptr inbounds i8, ptr %6, i64 16
%14 = load i32, ptr @VIDEO_ES, align 4, !tbaa !11
%15 = tail call i32 @es_format_Init(ptr noundef nonnull %13, i32 noundef %14, i32 noundef 0) #3
%16 = getelementptr inbounds i8, ptr %6, i64 8
store i32 %1, ptr %16, align 4, !tbaa !12
%17 = getelementptr inbounds i8, ptr %6, i64 12
store i32 %2, ptr %17, align 4, !tbaa !17
store i32 0, ptr %10, align 4, !tbaa !18
%18 = tail call i32 @module_need(ptr noundef nonnull %6, ptr noundef nonnull @.str, ptr noundef null, i32 noundef 0) #3
store i32 %18, ptr %6, align 8, !tbaa !19
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %8
%21 = tail call i32 @delete_packetizer(ptr noundef nonnull %6) #3
br label %22
22: ; preds = %8, %20, %4
ret ptr %6
}
declare ptr @vlc_object_create(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @es_format_Init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @module_need(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @delete_packetizer(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 8}
!13 = !{!"TYPE_12__", !8, i64 0, !14, i64 4, !14, i64 16, !16, i64 32, !16, i64 40}
!14 = !{!"TYPE_13__", !8, i64 0, !15, i64 4}
!15 = !{!"TYPE_10__", !8, i64 0, !8, i64 4}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!13, !8, i64 12}
!18 = !{!13, !8, i64 4}
!19 = !{!13, !8, i64 0}
| vlc_test_modules_packetizer_extr_packetizer.h_create_packetizer |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_phy.c_igb_set_master_slave_mode.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_phy.c_igb_set_master_slave_mode.c"
target datalayout = "e-m:e-p270:32:32-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, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr, ptr }
@PHY_1000T_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@CR_1000T_MS_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@CR_1000T_MS_VALUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @igb_set_master_slave_mode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @igb_set_master_slave_mode(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #2
%3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i32, ptr @PHY_1000T_CTRL, align 4, !tbaa !13
%7 = call i64 %5(ptr noundef %0, i32 noundef %6, ptr noundef nonnull %2) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %41
9: ; preds = %1
%10 = load i32, ptr %2, align 4, !tbaa !13
%11 = load i32, ptr @CR_1000T_MS_ENABLE, align 4, !tbaa !13
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
%14 = load i32, ptr @CR_1000T_MS_VALUE, align 4
%15 = and i32 %14, %10
%16 = icmp eq i32 %15, 0
%17 = select i1 %16, i32 128, i32 129
%18 = select i1 %13, i32 130, i32 %17
store i32 %18, ptr %0, align 8, !tbaa !14
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !15
switch i32 %20, label %36 [
i32 129, label %21
i32 128, label %26
i32 130, label %32
]
21: ; preds = %9
%22 = load i32, ptr @CR_1000T_MS_ENABLE, align 4, !tbaa !13
%23 = load i32, ptr @CR_1000T_MS_VALUE, align 4, !tbaa !13
%24 = or i32 %22, %23
%25 = or i32 %24, %10
store i32 %25, ptr %2, align 4, !tbaa !13
br label %36
26: ; preds = %9
%27 = load i32, ptr @CR_1000T_MS_ENABLE, align 4, !tbaa !13
%28 = or i32 %27, %10
%29 = load i32, ptr @CR_1000T_MS_VALUE, align 4, !tbaa !13
%30 = xor i32 %29, -1
%31 = and i32 %28, %30
store i32 %31, ptr %2, align 4, !tbaa !13
br label %36
32: ; preds = %9
%33 = load i32, ptr @CR_1000T_MS_ENABLE, align 4, !tbaa !13
%34 = xor i32 %33, -1
%35 = and i32 %10, %34
store i32 %35, ptr %2, align 4, !tbaa !13
br label %36
36: ; preds = %32, %9, %26, %21
%37 = phi i32 [ %35, %32 ], [ %10, %9 ], [ %31, %26 ], [ %25, %21 ]
%38 = load ptr, ptr %3, align 8, !tbaa !16
%39 = load i32, ptr @PHY_1000T_CTRL, align 4, !tbaa !13
%40 = call i64 %38(ptr noundef nonnull %0, i32 noundef %39, i32 noundef %37) #2
br label %41
41: ; preds = %1, %36
%42 = phi i64 [ %40, %36 ], [ %7, %1 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #2
ret i64 %42
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !12, i64 16}
!6 = !{!"e1000_hw", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_3__", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!6, !8, i64 0}
!15 = !{!6, !8, i64 4}
!16 = !{!6, !12, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_phy.c_igb_set_master_slave_mode.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_phy.c_igb_set_master_slave_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PHY_1000T_CTRL = common local_unnamed_addr global i32 0, align 4
@CR_1000T_MS_ENABLE = common local_unnamed_addr global i32 0, align 4
@CR_1000T_MS_VALUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @igb_set_master_slave_mode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @igb_set_master_slave_mode(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #2
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i32, ptr @PHY_1000T_CTRL, align 4, !tbaa !14
%7 = call i64 %5(ptr noundef %0, i32 noundef %6, ptr noundef nonnull %2) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %41
9: ; preds = %1
%10 = load i32, ptr %2, align 4, !tbaa !14
%11 = load i32, ptr @CR_1000T_MS_ENABLE, align 4, !tbaa !14
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
%14 = load i32, ptr @CR_1000T_MS_VALUE, align 4
%15 = and i32 %14, %10
%16 = icmp eq i32 %15, 0
%17 = select i1 %16, i32 128, i32 129
%18 = select i1 %13, i32 130, i32 %17
store i32 %18, ptr %0, align 8, !tbaa !15
%19 = getelementptr inbounds i8, ptr %0, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !16
switch i32 %20, label %36 [
i32 129, label %21
i32 128, label %26
i32 130, label %32
]
21: ; preds = %9
%22 = load i32, ptr @CR_1000T_MS_ENABLE, align 4, !tbaa !14
%23 = load i32, ptr @CR_1000T_MS_VALUE, align 4, !tbaa !14
%24 = or i32 %22, %23
%25 = or i32 %24, %10
store i32 %25, ptr %2, align 4, !tbaa !14
br label %36
26: ; preds = %9
%27 = load i32, ptr @CR_1000T_MS_ENABLE, align 4, !tbaa !14
%28 = or i32 %27, %10
%29 = load i32, ptr @CR_1000T_MS_VALUE, align 4, !tbaa !14
%30 = xor i32 %29, -1
%31 = and i32 %28, %30
store i32 %31, ptr %2, align 4, !tbaa !14
br label %36
32: ; preds = %9
%33 = load i32, ptr @CR_1000T_MS_ENABLE, align 4, !tbaa !14
%34 = xor i32 %33, -1
%35 = and i32 %10, %34
store i32 %35, ptr %2, align 4, !tbaa !14
br label %36
36: ; preds = %32, %9, %26, %21
%37 = phi i32 [ %35, %32 ], [ %10, %9 ], [ %31, %26 ], [ %25, %21 ]
%38 = load ptr, ptr %3, align 8, !tbaa !17
%39 = load i32, ptr @PHY_1000T_CTRL, align 4, !tbaa !14
%40 = call i64 %38(ptr noundef nonnull %0, i32 noundef %39, i32 noundef %37) #2
br label %41
41: ; preds = %1, %36
%42 = phi i64 [ %40, %36 ], [ %7, %1 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #2
ret i64 %42
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !13, i64 16}
!7 = !{!"e1000_hw", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0, !9, i64 4, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_3__", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!9, !9, i64 0}
!15 = !{!7, !9, i64 0}
!16 = !{!7, !9, i64 4}
!17 = !{!7, !13, i64 8}
| linux_drivers_net_ethernet_intel_igb_extr_e1000_phy.c_igb_set_master_slave_mode |
; ModuleID = 'AnghaBench/h2o/deps/mruby/mrbgems/mruby-random/src/extr_random.c_mrb_random_mt_rand.c'
source_filename = "AnghaBench/h2o/deps/mruby/mrbgems/mruby-random/src/extr_random.c_mrb_random_mt_rand.c"
target datalayout = "e-m:e-p270:32:32-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 @mrb_random_mt_rand], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mrb_random_mt_rand(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @mrb_fixnum(i32 noundef %2) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = tail call i32 @mt_rand_real(ptr noundef %1) #2
%8 = tail call i32 @mrb_float_value(ptr noundef %0, i32 noundef %7) #2
br label %14
9: ; preds = %3
%10 = tail call i32 @mt_rand(ptr noundef %1) #2
%11 = tail call i32 @mrb_fixnum(i32 noundef %2) #2
%12 = srem i32 %10, %11
%13 = tail call i32 @mrb_fixnum_value(i32 noundef %12) #2
br label %14
14: ; preds = %9, %6
%15 = phi i32 [ %8, %6 ], [ %13, %9 ]
ret i32 %15
}
declare i32 @mrb_fixnum(i32 noundef) local_unnamed_addr #1
declare i32 @mrb_float_value(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mt_rand_real(ptr noundef) local_unnamed_addr #1
declare i32 @mrb_fixnum_value(i32 noundef) local_unnamed_addr #1
declare i32 @mt_rand(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/h2o/deps/mruby/mrbgems/mruby-random/src/extr_random.c_mrb_random_mt_rand.c'
source_filename = "AnghaBench/h2o/deps/mruby/mrbgems/mruby-random/src/extr_random.c_mrb_random_mt_rand.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 @mrb_random_mt_rand], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mrb_random_mt_rand(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @mrb_fixnum(i32 noundef %2) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = tail call i32 @mt_rand_real(ptr noundef %1) #2
%8 = tail call i32 @mrb_float_value(ptr noundef %0, i32 noundef %7) #2
br label %14
9: ; preds = %3
%10 = tail call i32 @mt_rand(ptr noundef %1) #2
%11 = tail call i32 @mrb_fixnum(i32 noundef %2) #2
%12 = srem i32 %10, %11
%13 = tail call i32 @mrb_fixnum_value(i32 noundef %12) #2
br label %14
14: ; preds = %9, %6
%15 = phi i32 [ %8, %6 ], [ %13, %9 ]
ret i32 %15
}
declare i32 @mrb_fixnum(i32 noundef) local_unnamed_addr #1
declare i32 @mrb_float_value(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mt_rand_real(ptr noundef) local_unnamed_addr #1
declare i32 @mrb_fixnum_value(i32 noundef) local_unnamed_addr #1
declare i32 @mt_rand(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)"}
| h2o_deps_mruby_mrbgems_mruby-random_src_extr_random.c_mrb_random_mt_rand |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_en/extr_mlx5_en_main.c_mlx5e_open_tis.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_en/extr_mlx5_en_main.c_mlx5e_open_tis.c"
target datalayout = "e-m:e-p270:32:32-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.mlx5e_priv = type { i32, ptr, ptr }
@create_tis_in = dso_local local_unnamed_addr global i32 0, align 4
@ctx = dso_local local_unnamed_addr global i32 0, align 4
@prio = dso_local local_unnamed_addr global i32 0, align 4
@transport_domain = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5e_open_tis], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mlx5e_open_tis(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.mlx5e_priv, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr @create_tis_in, align 4, !tbaa !11
%6 = tail call i32 @MLX5_ST_SZ_DW(i32 noundef %5) #2
%7 = zext i32 %6 to i64
%8 = alloca i32, i64 %7, align 16
%9 = load i32, ptr @create_tis_in, align 4, !tbaa !11
%10 = load i32, ptr @ctx, align 4, !tbaa !11
%11 = call ptr @MLX5_ADDR_OF(i32 noundef %9, ptr noundef nonnull %8, i32 noundef %10) #2
%12 = shl i32 %6, 2
%13 = call i32 @memset(ptr noundef nonnull %8, i32 noundef 0, i32 noundef %12) #2
%14 = load i32, ptr @prio, align 4, !tbaa !11
%15 = call i32 @MLX5_SET(ptr noundef %11, ptr noundef %11, i32 noundef %14, i32 noundef %1) #2
%16 = load i32, ptr @transport_domain, align 4, !tbaa !11
%17 = load i32, ptr %0, align 8, !tbaa !12
%18 = call i32 @MLX5_SET(ptr noundef %11, ptr noundef %11, i32 noundef %16, i32 noundef %17) #2
%19 = getelementptr inbounds %struct.mlx5e_priv, ptr %0, i64 0, i32 1
%20 = load ptr, ptr %19, align 8, !tbaa !13
%21 = sext i32 %1 to i64
%22 = getelementptr inbounds i32, ptr %20, i64 %21
%23 = call i32 @mlx5_core_create_tis(ptr noundef %4, ptr noundef nonnull %8, i32 noundef %12, ptr noundef %22) #2
ret i32 %23
}
declare i32 @MLX5_ST_SZ_DW(i32 noundef) local_unnamed_addr #1
declare ptr @MLX5_ADDR_OF(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MLX5_SET(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_core_create_tis(ptr noundef, 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, !10, i64 16}
!6 = !{!"mlx5e_priv", !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 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_en/extr_mlx5_en_main.c_mlx5e_open_tis.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_en/extr_mlx5_en_main.c_mlx5e_open_tis.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@create_tis_in = common local_unnamed_addr global i32 0, align 4
@ctx = common local_unnamed_addr global i32 0, align 4
@prio = common local_unnamed_addr global i32 0, align 4
@transport_domain = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mlx5e_open_tis], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mlx5e_open_tis(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr @create_tis_in, align 4, !tbaa !12
%6 = tail call i32 @MLX5_ST_SZ_DW(i32 noundef %5) #2
%7 = zext i32 %6 to i64
%8 = alloca i32, i64 %7, align 4
%9 = load i32, ptr @create_tis_in, align 4, !tbaa !12
%10 = load i32, ptr @ctx, align 4, !tbaa !12
%11 = call ptr @MLX5_ADDR_OF(i32 noundef %9, ptr noundef nonnull %8, i32 noundef %10) #2
%12 = shl i32 %6, 2
%13 = call i32 @memset(ptr noundef nonnull %8, i32 noundef 0, i32 noundef %12) #2
%14 = load i32, ptr @prio, align 4, !tbaa !12
%15 = call i32 @MLX5_SET(ptr noundef %11, ptr noundef %11, i32 noundef %14, i32 noundef %1) #2
%16 = load i32, ptr @transport_domain, align 4, !tbaa !12
%17 = load i32, ptr %0, align 8, !tbaa !13
%18 = call i32 @MLX5_SET(ptr noundef %11, ptr noundef %11, i32 noundef %16, i32 noundef %17) #2
%19 = getelementptr inbounds i8, ptr %0, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !14
%21 = sext i32 %1 to i64
%22 = getelementptr inbounds i32, ptr %20, i64 %21
%23 = call i32 @mlx5_core_create_tis(ptr noundef %4, ptr noundef nonnull %8, i32 noundef %12, ptr noundef %22) #2
ret i32 %23
}
declare i32 @MLX5_ST_SZ_DW(i32 noundef) local_unnamed_addr #1
declare ptr @MLX5_ADDR_OF(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MLX5_SET(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_core_create_tis(ptr noundef, 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, !11, i64 16}
!7 = !{!"mlx5e_priv", !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 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !11, i64 8}
| freebsd_sys_dev_mlx5_mlx5_en_extr_mlx5_en_main.c_mlx5e_open_tis |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_check_port_speed.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_check_port_speed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HCLGE_SUPPORT_10M_BIT = dso_local local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_100M_BIT = dso_local local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_1G_BIT = dso_local local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_10G_BIT = dso_local local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_25G_BIT = dso_local local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_40G_BIT = dso_local local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_50G_BIT = dso_local local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_100G_BIT = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hclge_check_port_speed], section "llvm.metadata"
@switch.table.hclge_check_port_speed = private unnamed_addr constant [8 x ptr] [ptr @HCLGE_SUPPORT_50G_BIT, ptr @HCLGE_SUPPORT_40G_BIT, ptr @HCLGE_SUPPORT_25G_BIT, ptr @HCLGE_SUPPORT_1G_BIT, ptr @HCLGE_SUPPORT_10M_BIT, ptr @HCLGE_SUPPORT_10G_BIT, ptr @HCLGE_SUPPORT_100M_BIT, ptr @HCLGE_SUPPORT_100G_BIT], align 8
; Function Attrs: nounwind uwtable
define internal i32 @hclge_check_port_speed(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @hclge_get_vport(ptr noundef %0) #2
%4 = add i32 %1, -128
%5 = icmp ult i32 %4, 8
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %21
9: ; preds = %2
%10 = load ptr, ptr %3, align 8, !tbaa !9
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = zext nneg i32 %4 to i64
%13 = getelementptr inbounds [8 x ptr], ptr @switch.table.hclge_check_port_speed, i64 0, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = load i32, ptr %14, align 4, !tbaa !5
%16 = and i32 %15, %11
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %9
%19 = load i32, ptr @EINVAL, align 4, !tbaa !5
%20 = sub nsw i32 0, %19
br label %21
21: ; preds = %9, %18, %6
%22 = phi i32 [ %8, %6 ], [ %20, %18 ], [ 0, %9 ]
ret i32 %22
}
declare ptr @hclge_get_vport(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 = !{!"hclge_vport", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"hclge_dev", !14, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_check_port_speed.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_check_port_speed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HCLGE_SUPPORT_10M_BIT = common local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_100M_BIT = common local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_1G_BIT = common local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_10G_BIT = common local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_25G_BIT = common local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_40G_BIT = common local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_50G_BIT = common local_unnamed_addr global i32 0, align 4
@HCLGE_SUPPORT_100G_BIT = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hclge_check_port_speed], section "llvm.metadata"
@switch.table.hclge_check_port_speed = private unnamed_addr constant [8 x ptr] [ptr @HCLGE_SUPPORT_50G_BIT, ptr @HCLGE_SUPPORT_40G_BIT, ptr @HCLGE_SUPPORT_25G_BIT, ptr @HCLGE_SUPPORT_1G_BIT, ptr @HCLGE_SUPPORT_10M_BIT, ptr @HCLGE_SUPPORT_10G_BIT, ptr @HCLGE_SUPPORT_100M_BIT, ptr @HCLGE_SUPPORT_100G_BIT], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @hclge_check_port_speed(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @hclge_get_vport(ptr noundef %0) #2
%4 = add i32 %1, -128
%5 = icmp ult i32 %4, 8
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %21
9: ; preds = %2
%10 = load ptr, ptr %3, align 8, !tbaa !10
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = zext nneg i32 %4 to i64
%13 = getelementptr inbounds [8 x ptr], ptr @switch.table.hclge_check_port_speed, i64 0, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = load i32, ptr %14, align 4, !tbaa !6
%16 = and i32 %15, %11
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %9
%19 = load i32, ptr @EINVAL, align 4, !tbaa !6
%20 = sub nsw i32 0, %19
br label %21
21: ; preds = %9, %18, %6
%22 = phi i32 [ %8, %6 ], [ %20, %18 ], [ 0, %9 ]
ret i32 %22
}
declare ptr @hclge_get_vport(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 = !{!"hclge_vport", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"hclge_dev", !15, i64 0}
!15 = !{!"TYPE_4__", !16, i64 0}
!16 = !{!"TYPE_3__", !7, i64 0}
| linux_drivers_net_ethernet_hisilicon_hns3_hns3pf_extr_hclge_main.c_hclge_check_port_speed |
; ModuleID = 'AnghaBench/xLua/WebGLPlugins/extr_lbaselib.c_dofilecont.c'
source_filename = "AnghaBench/xLua/WebGLPlugins/extr_lbaselib.c_dofilecont.c"
target datalayout = "e-m:e-p270:32:32-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 @dofilecont], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dofilecont(ptr noundef %0, i32 %1, i32 %2) #0 {
%4 = tail call i32 @lua_gettop(ptr noundef %0) #2
%5 = add nsw i32 %4, -1
ret i32 %5
}
declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/xLua/WebGLPlugins/extr_lbaselib.c_dofilecont.c'
source_filename = "AnghaBench/xLua/WebGLPlugins/extr_lbaselib.c_dofilecont.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 @dofilecont], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 2147483647) i32 @dofilecont(ptr noundef %0, i32 %1, i32 %2) #0 {
%4 = tail call i32 @lua_gettop(ptr noundef %0) #2
%5 = add nsw i32 %4, -1
ret i32 %5
}
declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| xLua_WebGLPlugins_extr_lbaselib.c_dofilecont |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.