IR_x86
stringlengths 592
249k
| IR_arm
stringlengths 558
250k
| filename
stringlengths 17
191
|
---|---|---|
; ModuleID = 'AnghaBench/linux/drivers/net/can/usb/extr_gs_usb.c_gs_get_tx_context.c'
source_filename = "AnghaBench/linux/drivers/net/can/usb/extr_gs_usb.c_gs_get_tx_context.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.gs_can = type { i32, ptr }
%struct.gs_tx_context = type { i32 }
@GS_MAX_TX_URBS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gs_get_tx_context], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @gs_get_tx_context(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @GS_MAX_TX_URBS, align 4, !tbaa !5
%4 = icmp ugt i32 %3, %1
br i1 %4, label %5, label %17
5: ; preds = %2
%6 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%7 = getelementptr inbounds %struct.gs_can, ptr %0, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !9
%9 = zext i32 %1 to i64
%10 = getelementptr inbounds %struct.gs_tx_context, ptr %8, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = icmp eq i32 %11, %1
%13 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
br i1 %12, label %14, label %17
14: ; preds = %5
%15 = load ptr, ptr %7, align 8, !tbaa !9
%16 = getelementptr inbounds %struct.gs_tx_context, ptr %15, i64 %9
br label %17
17: ; preds = %5, %2, %14
%18 = phi ptr [ %16, %14 ], [ null, %2 ], [ null, %5 ]
ret ptr %18
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"gs_can", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"gs_tx_context", !6, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/can/usb/extr_gs_usb.c_gs_get_tx_context.c'
source_filename = "AnghaBench/linux/drivers/net/can/usb/extr_gs_usb.c_gs_get_tx_context.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.gs_tx_context = type { i32 }
@GS_MAX_TX_URBS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gs_get_tx_context], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @gs_get_tx_context(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @GS_MAX_TX_URBS, align 4, !tbaa !6
%4 = icmp ugt i32 %3, %1
br i1 %4, label %5, label %17
5: ; preds = %2
%6 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = zext i32 %1 to i64
%10 = getelementptr inbounds %struct.gs_tx_context, ptr %8, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = icmp eq i32 %11, %1
%13 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
br i1 %12, label %14, label %17
14: ; preds = %5
%15 = load ptr, ptr %7, align 8, !tbaa !10
%16 = getelementptr inbounds %struct.gs_tx_context, ptr %15, i64 %9
br label %17
17: ; preds = %5, %2, %14
%18 = phi ptr [ %16, %14 ], [ null, %2 ], [ null, %5 ]
ret ptr %18
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"gs_can", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"gs_tx_context", !7, i64 0}
|
linux_drivers_net_can_usb_extr_gs_usb.c_gs_get_tx_context
|
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_tegra-smmu.c_tegra_smmu_as_unprepare.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_tegra-smmu.c_tegra_smmu_as_unprepare.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.tegra_smmu_as = type { i64, ptr, i32, i32 }
@SMMU_SIZE_PD = dso_local local_unnamed_addr global i32 0, align 4
@DMA_TO_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tegra_smmu_as_unprepare], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tegra_smmu_as_unprepare(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = add nsw i64 %3, -1
store i64 %4, ptr %1, align 8, !tbaa !5
%5 = icmp sgt i64 %3, 1
br i1 %5, label %17, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.tegra_smmu_as, ptr %1, i64 0, i32 3
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = tail call i32 @tegra_smmu_free_asid(ptr noundef %0, i32 noundef %8) #2
%10 = load i32, ptr %0, align 4, !tbaa !13
%11 = getelementptr inbounds %struct.tegra_smmu_as, ptr %1, i64 0, i32 2
%12 = load i32, ptr %11, align 8, !tbaa !15
%13 = load i32, ptr @SMMU_SIZE_PD, align 4, !tbaa !16
%14 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !16
%15 = tail call i32 @dma_unmap_page(i32 noundef %10, i32 noundef %12, i32 noundef %13, i32 noundef %14) #2
%16 = getelementptr inbounds %struct.tegra_smmu_as, ptr %1, i64 0, i32 1
store ptr null, ptr %16, align 8, !tbaa !17
br label %17
17: ; preds = %2, %6
ret void
}
declare i32 @tegra_smmu_free_asid(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_unmap_page(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 = !{!"tegra_smmu_as", !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 = !{!14, !11, i64 0}
!14 = !{!"tegra_smmu", !11, i64 0}
!15 = !{!6, !11, i64 16}
!16 = !{!11, !11, i64 0}
!17 = !{!6, !10, i64 8}
|
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_tegra-smmu.c_tegra_smmu_as_unprepare.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_tegra-smmu.c_tegra_smmu_as_unprepare.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SMMU_SIZE_PD = common local_unnamed_addr global i32 0, align 4
@DMA_TO_DEVICE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tegra_smmu_as_unprepare], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tegra_smmu_as_unprepare(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = add nsw i64 %3, -1
store i64 %4, ptr %1, align 8, !tbaa !6
%5 = icmp sgt i64 %3, 1
br i1 %5, label %17, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 20
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = tail call i32 @tegra_smmu_free_asid(ptr noundef %0, i32 noundef %8) #2
%10 = load i32, ptr %0, align 4, !tbaa !14
%11 = getelementptr inbounds i8, ptr %1, i64 16
%12 = load i32, ptr %11, align 8, !tbaa !16
%13 = load i32, ptr @SMMU_SIZE_PD, align 4, !tbaa !17
%14 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !17
%15 = tail call i32 @dma_unmap_page(i32 noundef %10, i32 noundef %12, i32 noundef %13, i32 noundef %14) #2
%16 = getelementptr inbounds i8, ptr %1, i64 8
store ptr null, ptr %16, align 8, !tbaa !18
br label %17
17: ; preds = %2, %6
ret void
}
declare i32 @tegra_smmu_free_asid(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_unmap_page(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 = !{!"tegra_smmu_as", !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 = !{!15, !12, i64 0}
!15 = !{!"tegra_smmu", !12, i64 0}
!16 = !{!7, !12, i64 16}
!17 = !{!12, !12, i64 0}
!18 = !{!7, !11, i64 8}
|
linux_drivers_iommu_extr_tegra-smmu.c_tegra_smmu_as_unprepare
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_bo.c_ttm_bo_check_placement.c'
source_filename = "AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_bo.c_ttm_bo_check_placement.c"
target datalayout = "e-m:e-p270:32:32-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_placement = type { i64, i64 }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @ttm_bo_check_placement(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
%5 = getelementptr inbounds %struct.ttm_placement, ptr %1, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = icmp eq i64 %6, 0
%8 = select i1 %4, i1 %7, i1 false
br i1 %8, label %14, label %9
9: ; preds = %2
%10 = load i64, ptr %0, align 8, !tbaa !11
%11 = sub nsw i64 %6, %3
%12 = icmp sle i64 %10, %11
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %2, %9
%15 = phi i32 [ %13, %9 ], [ 1, %2 ]
%16 = tail call i32 @MPASS(i32 noundef %15) #2
ret i32 0
}
declare i32 @MPASS(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_placement", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !7, i64 0}
!12 = !{!"ttm_buffer_object", !13, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_bo.c_ttm_bo_check_placement.c'
source_filename = "AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_bo.c_ttm_bo_check_placement.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @ttm_bo_check_placement(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = icmp eq i64 %6, 0
%8 = select i1 %4, i1 %7, i1 false
br i1 %8, label %14, label %9
9: ; preds = %2
%10 = load i64, ptr %0, align 8, !tbaa !12
%11 = sub nsw i64 %6, %3
%12 = icmp sle i64 %10, %11
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %2, %9
%15 = phi i32 [ %13, %9 ], [ 1, %2 ]
%16 = tail call i32 @MPASS(i32 noundef %15) #2
ret i32 0
}
declare i32 @MPASS(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_placement", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!13, !8, i64 0}
!13 = !{!"ttm_buffer_object", !14, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
|
freebsd_sys_dev_drm2_ttm_extr_ttm_bo.c_ttm_bo_check_placement
|
; ModuleID = 'AnghaBench/freebsd/usr.bin/write/extr_write.c_do_write.c'
source_filename = "AnghaBench/freebsd/usr.bin/write/extr_write.c_do_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MAXHOSTNAMELEN = dso_local local_unnamed_addr global i32 0, align 4
@O_WRONLY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"openat(%s%s)\00", align 1
@_PATH_DEV = dso_local local_unnamed_addr global i32 0, align 4
@stdout = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@SIGINT = dso_local local_unnamed_addr global i32 0, align 4
@done = dso_local local_unnamed_addr global i32 0, align 4
@SIGHUP = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"???\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"\0D\0A\07\07\07Message from %s@%s on %s at %s ...\0D\0A\00", align 1
@stdin = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @do_write(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = alloca [512 x i32], align 16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
%7 = load i32, ptr @MAXHOSTNAMELEN, align 4, !tbaa !5
%8 = zext i32 %7 to i64
%9 = tail call ptr @llvm.stacksave.p0()
%10 = alloca i8, i64 %8, align 16
call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %6) #5
%11 = load i32, ptr @O_WRONLY, align 4, !tbaa !5
%12 = tail call i32 @openat(i32 noundef %0, ptr noundef %1, i32 noundef %11) #5
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %4
%15 = load i32, ptr @_PATH_DEV, align 4, !tbaa !5
%16 = tail call i32 @err(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %15, ptr noundef %1) #5
br label %17
17: ; preds = %14, %4
%18 = load ptr, ptr @stdout, align 8, !tbaa !9
%19 = tail call i32 @fclose(ptr noundef %18)
%20 = tail call ptr @fdopen(i32 noundef %12, ptr noundef nonnull @.str.1)
store ptr %20, ptr @stdout, align 8, !tbaa !9
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = load i32, ptr @_PATH_DEV, align 4, !tbaa !5
%24 = tail call i32 @err(i32 noundef 1, ptr noundef nonnull @.str.2, i32 noundef %23, ptr noundef %1) #5
br label %25
25: ; preds = %22, %17
%26 = load i32, ptr @SIGINT, align 4, !tbaa !5
%27 = load i32, ptr @done, align 4, !tbaa !5
%28 = tail call i32 @signal(i32 noundef %26, i32 noundef %27) #5
%29 = load i32, ptr @SIGHUP, align 4, !tbaa !5
%30 = load i32, ptr @done, align 4, !tbaa !5
%31 = tail call i32 @signal(i32 noundef %29, i32 noundef %30) #5
%32 = call i64 @gethostname(ptr noundef nonnull %10, i32 noundef %7) #5
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %25
%35 = call i32 @strcpy(ptr noundef nonnull %10, ptr noundef nonnull @.str.3) #5
br label %36
36: ; preds = %34, %25
%37 = call i32 @time(ptr noundef null) #5
store i32 %37, ptr %5, align 4, !tbaa !5
%38 = call ptr @ctime(ptr noundef nonnull %5) #5
%39 = getelementptr inbounds i8, ptr %38, i64 16
store i8 0, ptr %39, align 1, !tbaa !11
%40 = getelementptr inbounds i8, ptr %38, i64 11
%41 = call i32 @printf(ptr noundef nonnull @.str.4, ptr noundef %3, ptr noundef nonnull %10, ptr noundef %2, ptr noundef nonnull %40) #5
%42 = load i32, ptr @stdin, align 4, !tbaa !5
%43 = call ptr @fgetws(ptr noundef nonnull %6, i32 noundef 512, i32 noundef %42) #5
%44 = icmp eq ptr %43, null
br i1 %44, label %50, label %45
45: ; preds = %36, %45
%46 = call i32 @wr_fputs(ptr noundef nonnull %6) #5
%47 = load i32, ptr @stdin, align 4, !tbaa !5
%48 = call ptr @fgetws(ptr noundef nonnull %6, i32 noundef 512, i32 noundef %47) #5
%49 = icmp eq ptr %48, null
br i1 %49, label %50, label %45, !llvm.loop !12
50: ; preds = %45, %36
call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %6) #5
call void @llvm.stackrestore.p0(ptr %9)
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @openat(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @err(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #4
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fdopen(i32 noundef, ptr nocapture noundef readonly) local_unnamed_addr #4
declare i32 @signal(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @gethostname(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @time(ptr noundef) local_unnamed_addr #3
declare ptr @ctime(ptr noundef) local_unnamed_addr #3
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @fgetws(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @wr_fputs(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/freebsd/usr.bin/write/extr_write.c_do_write.c'
source_filename = "AnghaBench/freebsd/usr.bin/write/extr_write.c_do_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAXHOSTNAMELEN = common local_unnamed_addr global i32 0, align 4
@O_WRONLY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"openat(%s%s)\00", align 1
@_PATH_DEV = common local_unnamed_addr global i32 0, align 4
@stdout = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@SIGINT = common local_unnamed_addr global i32 0, align 4
@done = common local_unnamed_addr global i32 0, align 4
@SIGHUP = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"???\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"\0D\0A\07\07\07Message from %s@%s on %s at %s ...\0D\0A\00", align 1
@stdin = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @do_write(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = alloca [512 x i32], align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
%7 = load i32, ptr @MAXHOSTNAMELEN, align 4, !tbaa !6
%8 = zext i32 %7 to i64
%9 = tail call ptr @llvm.stacksave.p0()
%10 = alloca i8, i64 %8, align 1
call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %6) #5
%11 = load i32, ptr @O_WRONLY, align 4, !tbaa !6
%12 = tail call i32 @openat(i32 noundef %0, ptr noundef %1, i32 noundef %11) #5
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %4
%15 = load i32, ptr @_PATH_DEV, align 4, !tbaa !6
%16 = tail call i32 @err(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %15, ptr noundef %1) #5
br label %17
17: ; preds = %14, %4
%18 = load ptr, ptr @stdout, align 8, !tbaa !10
%19 = tail call i32 @fclose(ptr noundef %18)
%20 = tail call ptr @fdopen(i32 noundef %12, ptr noundef nonnull @.str.1)
store ptr %20, ptr @stdout, align 8, !tbaa !10
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = load i32, ptr @_PATH_DEV, align 4, !tbaa !6
%24 = tail call i32 @err(i32 noundef 1, ptr noundef nonnull @.str.2, i32 noundef %23, ptr noundef %1) #5
br label %25
25: ; preds = %22, %17
%26 = load i32, ptr @SIGINT, align 4, !tbaa !6
%27 = load i32, ptr @done, align 4, !tbaa !6
%28 = tail call i32 @signal(i32 noundef %26, i32 noundef %27) #5
%29 = load i32, ptr @SIGHUP, align 4, !tbaa !6
%30 = load i32, ptr @done, align 4, !tbaa !6
%31 = tail call i32 @signal(i32 noundef %29, i32 noundef %30) #5
%32 = call i64 @gethostname(ptr noundef nonnull %10, i32 noundef %7) #5
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %25
%35 = call i32 @strcpy(ptr noundef nonnull %10, ptr noundef nonnull @.str.3) #5
br label %36
36: ; preds = %34, %25
%37 = call i32 @time(ptr noundef null) #5
store i32 %37, ptr %5, align 4, !tbaa !6
%38 = call ptr @ctime(ptr noundef nonnull %5) #5
%39 = getelementptr inbounds i8, ptr %38, i64 16
store i8 0, ptr %39, align 1, !tbaa !12
%40 = getelementptr inbounds i8, ptr %38, i64 11
%41 = call i32 @printf(ptr noundef nonnull @.str.4, ptr noundef %3, ptr noundef nonnull %10, ptr noundef %2, ptr noundef nonnull %40) #5
%42 = load i32, ptr @stdin, align 4, !tbaa !6
%43 = call ptr @fgetws(ptr noundef nonnull %6, i32 noundef 512, i32 noundef %42) #5
%44 = icmp eq ptr %43, null
br i1 %44, label %50, label %45
45: ; preds = %36, %45
%46 = call i32 @wr_fputs(ptr noundef nonnull %6) #5
%47 = load i32, ptr @stdin, align 4, !tbaa !6
%48 = call ptr @fgetws(ptr noundef nonnull %6, i32 noundef 512, i32 noundef %47) #5
%49 = icmp eq ptr %48, null
br i1 %49, label %50, label %45, !llvm.loop !13
50: ; preds = %45, %36
call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %6) #5
call void @llvm.stackrestore.p0(ptr %9)
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @openat(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @err(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #4
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fdopen(i32 noundef, ptr nocapture noundef readonly) local_unnamed_addr #4
declare i32 @signal(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @gethostname(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @time(ptr noundef) local_unnamed_addr #3
declare ptr @ctime(ptr noundef) local_unnamed_addr #3
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @fgetws(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @wr_fputs(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { 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 #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
|
freebsd_usr.bin_write_extr_write.c_do_write
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/ntb/ntb_hw/extr_ntb_hw_plx.c_ntb_plx_mw_set_trans_internal.c'
source_filename = "AnghaBench/freebsd/sys/dev/ntb/ntb_hw/extr_ntb_hw_plx.c_ntb_plx_mw_set_trans_internal.c"
target datalayout = "e-m:e-p270:32:32-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.ntb_plx_softc = type { i32, i32, i32, i32, i32, i32, i64, ptr }
%struct.ntb_plx_mw_info = type { i32, i32, ptr, i64 }
%struct.TYPE_2__ = type { i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@UINT64_MAX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ntb_plx_mw_set_trans_internal], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ntb_plx_mw_set_trans_internal(i32 noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @device_get_softc(i32 noundef %0) #2
%4 = getelementptr inbounds %struct.ntb_plx_softc, ptr %3, i64 0, i32 7
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = zext i32 %1 to i64
%7 = getelementptr inbounds %struct.ntb_plx_mw_info, ptr %5, i64 %6
%8 = load i32, ptr %3, align 8, !tbaa !12
%9 = icmp eq i32 %8, %1
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = getelementptr inbounds %struct.ntb_plx_softc, ptr %3, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !13
br label %13
13: ; preds = %2, %10
%14 = phi i32 [ %12, %10 ], [ 0, %2 ]
%15 = load i32, ptr %7, align 8, !tbaa !14
%16 = icmp eq i32 %15, 2
br i1 %16, label %17, label %25
17: ; preds = %13
%18 = getelementptr inbounds %struct.ntb_plx_softc, ptr %3, i64 0, i32 2
%19 = load i32, ptr %18, align 8, !tbaa !16
%20 = icmp eq i32 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %17
%22 = getelementptr inbounds %struct.ntb_plx_mw_info, ptr %5, i64 %6, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !17
%24 = sub nsw i32 %23, %14
br label %40
25: ; preds = %13, %17
%26 = getelementptr inbounds %struct.ntb_plx_mw_info, ptr %5, i64 %6, i32 2
%27 = load ptr, ptr %26, align 8, !tbaa !18
%28 = load i32, ptr %27, align 4, !tbaa !19
%29 = tail call i32 @powerof2(i32 noundef %28) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %25
%32 = tail call i64 @flsll(i32 noundef %28) #2
%33 = shl nuw i64 1, %32
%34 = trunc i64 %33 to i32
br label %35
35: ; preds = %31, %25
%36 = phi i32 [ %28, %25 ], [ %34, %31 ]
%37 = add i32 %36, -1
%38 = icmp ult i32 %37, 1048575
%39 = select i1 %38, i32 1048576, i32 %36
br label %40
40: ; preds = %35, %21
%41 = phi i1 [ false, %21 ], [ true, %35 ]
%42 = phi i32 [ %24, %21 ], [ %39, %35 ]
%43 = add nsw i32 %42, -1
%44 = and i32 %43, %14
%45 = icmp eq i32 %44, 0
br i1 %45, label %48, label %46
46: ; preds = %40
%47 = load i32, ptr @EINVAL, align 4, !tbaa !21
br label %194
48: ; preds = %40
%49 = getelementptr inbounds %struct.ntb_plx_mw_info, ptr %5, i64 %6, i32 3
%50 = load i64, ptr %49, align 8, !tbaa !22
%51 = icmp eq i64 %50, 0
%52 = icmp sgt i32 %42, 0
%53 = sub nsw i32 0, %42
%54 = and i32 %53, -1048576
br i1 %51, label %73, label %55
55: ; preds = %48
%56 = or disjoint i32 %54, 12
%57 = select i1 %52, i32 %56, i32 12
%58 = load i32, ptr %7, align 8, !tbaa !14
%59 = shl i32 %58, 2
%60 = add i32 %59, 224
%61 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %60, i32 noundef %57) #2
%62 = load i32, ptr %7, align 8, !tbaa !14
%63 = shl i32 %62, 2
%64 = add i32 %63, 228
%65 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %64, i32 noundef poison) #2
%66 = load i32, ptr %7, align 8, !tbaa !14
%67 = tail call i32 @PCIR_BAR(i32 noundef %66) #2
%68 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %67, i32 noundef %14) #2
%69 = load i32, ptr %7, align 8, !tbaa !14
%70 = tail call i32 @PCIR_BAR(i32 noundef %69) #2
%71 = add nsw i32 %70, 4
%72 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %71, i32 noundef poison) #2
br label %84
73: ; preds = %48
%74 = select i1 %52, i32 %54, i32 0
%75 = load i32, ptr %7, align 8, !tbaa !14
%76 = shl i32 %75, 2
%77 = add i32 %76, 224
%78 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %77, i32 noundef %74) #2
%79 = load i32, ptr %7, align 8, !tbaa !14
%80 = shl nsw i32 %79, 29
%81 = add nsw i32 %80, %14
%82 = tail call i32 @PCIR_BAR(i32 noundef %79) #2
%83 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %82, i32 noundef %81) #2
br label %84
84: ; preds = %73, %55
br i1 %41, label %85, label %89
85: ; preds = %84
%86 = getelementptr inbounds %struct.ntb_plx_mw_info, ptr %5, i64 %6, i32 2
%87 = load ptr, ptr %86, align 8, !tbaa !18
%88 = getelementptr inbounds %struct.TYPE_2__, ptr %87, i64 0, i32 1
br label %89
89: ; preds = %84, %85
%90 = phi ptr [ %88, %85 ], [ @UINT64_MAX, %84 ]
%91 = load i32, ptr %90, align 4, !tbaa !21
%92 = load i64, ptr %49, align 8, !tbaa !22
%93 = icmp eq i64 %92, 0
%94 = load i32, ptr %7, align 8, !tbaa !14
%95 = shl i32 %94, 2
%96 = add i32 %95, 3124
%97 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %96, i32 noundef %91) #2
br i1 %93, label %103, label %98
98: ; preds = %89
%99 = load i32, ptr %7, align 8, !tbaa !14
%100 = shl i32 %99, 2
%101 = add i32 %100, 3128
%102 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %101, i32 noundef poison) #2
br label %103
103: ; preds = %89, %98
br i1 %41, label %104, label %108
104: ; preds = %103
%105 = getelementptr inbounds %struct.ntb_plx_mw_info, ptr %5, i64 %6, i32 2
%106 = load ptr, ptr %105, align 8, !tbaa !18
%107 = load i32, ptr %106, align 4, !tbaa !19
br label %108
108: ; preds = %103, %104
%109 = phi i32 [ %107, %104 ], [ 0, %103 ]
%110 = getelementptr inbounds %struct.ntb_plx_softc, ptr %3, i64 0, i32 3
%111 = load i32, ptr %110, align 4, !tbaa !23
%112 = icmp eq i32 %111, 0
br i1 %112, label %194, label %113
113: ; preds = %108
%114 = load i32, ptr %7, align 8, !tbaa !14
%115 = icmp eq i32 %114, 2
br i1 %115, label %116, label %194
116: ; preds = %113
%117 = getelementptr inbounds %struct.ntb_plx_softc, ptr %3, i64 0, i32 2
%118 = load i32, ptr %117, align 8, !tbaa !16
%119 = and i32 %91, %43
%120 = or i32 %118, %119
%121 = icmp eq i32 %120, 0
%122 = icmp eq i32 %109, %42
%123 = select i1 %121, i1 %122, i1 false
br i1 %123, label %192, label %124
124: ; preds = %116
%125 = shl nsw i32 %111, 7
%126 = sdiv i32 %42, %125
%127 = getelementptr inbounds %struct.ntb_plx_mw_info, ptr %5, i64 %6, i32 2
%128 = getelementptr inbounds %struct.ntb_plx_softc, ptr %3, i64 0, i32 6
%129 = getelementptr inbounds %struct.ntb_plx_softc, ptr %3, i64 0, i32 4
%130 = getelementptr inbounds %struct.ntb_plx_softc, ptr %3, i64 0, i32 5
br label %131
131: ; preds = %124, %164
%132 = phi i32 [ %125, %124 ], [ %188, %164 ]
%133 = phi i32 [ %111, %124 ], [ %187, %164 ]
%134 = phi i32 [ 0, %124 ], [ %155, %164 ]
%135 = phi i32 [ 0, %124 ], [ %186, %164 ]
%136 = phi i32 [ %91, %124 ], [ %154, %164 ]
%137 = phi i32 [ %109, %124 ], [ %153, %164 ]
%138 = phi i32 [ undef, %124 ], [ %185, %164 ]
%139 = load i32, ptr %117, align 8, !tbaa !16
%140 = ashr i32 %132, %139
%141 = urem i32 %135, %140
%142 = icmp eq i32 %141, 0
br i1 %142, label %143, label %151
143: ; preds = %131
%144 = load ptr, ptr %127, align 8, !tbaa !18
%145 = zext i32 %134 to i64
%146 = getelementptr inbounds %struct.TYPE_2__, ptr %144, i64 %145
%147 = getelementptr inbounds %struct.TYPE_2__, ptr %144, i64 %145, i32 1
%148 = load i32, ptr %147, align 4, !tbaa !24
%149 = add i32 %134, 1
%150 = load i32, ptr %146, align 4, !tbaa !19
br label %151
151: ; preds = %143, %131
%152 = phi i32 [ %148, %143 ], [ %138, %131 ]
%153 = phi i32 [ %150, %143 ], [ %137, %131 ]
%154 = phi i32 [ %148, %143 ], [ %136, %131 ]
%155 = phi i32 [ %149, %143 ], [ %134, %131 ]
%156 = load i64, ptr %128, align 8, !tbaa !25
%157 = icmp eq i64 %156, 0
%158 = zext i1 %157 to i32
%159 = icmp eq i32 %133, 1
br i1 %159, label %160, label %164
160: ; preds = %151
%161 = load i32, ptr %129, align 8, !tbaa !26
%162 = shl nsw i32 %161, 1
%163 = or disjoint i32 %162, %158
br label %164
164: ; preds = %160, %151
%165 = phi i32 [ %163, %160 ], [ %158, %151 ]
%166 = shl nsw i32 %133, 12
%167 = mul nsw i32 %166, %165
%168 = shl i32 %135, 2
%169 = add i32 %168, 229376
%170 = icmp ugt i32 %135, 127
%171 = select i1 %170, i32 3584, i32 0
%172 = add i32 %169, %171
%173 = add i32 %172, %167
%174 = load i32, ptr %130, align 4, !tbaa !27
%175 = tail call i32 @bus_write_4(i32 noundef %174, i32 noundef %173, i32 noundef %152) #2
%176 = load i32, ptr %130, align 4, !tbaa !27
%177 = add nsw i32 %173, 1024
%178 = tail call i32 @bus_write_4(i32 noundef %176, i32 noundef %177, i32 noundef poison) #2
%179 = load i32, ptr %130, align 4, !tbaa !27
%180 = add nsw i32 %173, 2048
%181 = add nsw i32 %154, %153
%182 = icmp slt i32 %152, %181
%183 = select i1 %182, i32 3, i32 0
%184 = tail call i32 @bus_write_4(i32 noundef %179, i32 noundef %180, i32 noundef %183) #2
%185 = add nsw i32 %152, %126
%186 = add nuw i32 %135, 1
%187 = load i32, ptr %110, align 4, !tbaa !23
%188 = shl nsw i32 %187, 7
%189 = icmp ult i32 %186, %188
br i1 %189, label %131, label %190, !llvm.loop !28
190: ; preds = %164
%191 = tail call i32 @NTX_WRITE(ptr noundef nonnull %3, i32 noundef 3220, i32 noundef 268435456) #2
br label %194
192: ; preds = %116
%193 = tail call i32 @NTX_WRITE(ptr noundef nonnull %3, i32 noundef 3220, i32 noundef 0) #2
br label %194
194: ; preds = %113, %108, %190, %192, %46
%195 = phi i32 [ %47, %46 ], [ 0, %192 ], [ 0, %190 ], [ 0, %108 ], [ 0, %113 ]
ret i32 %195
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @powerof2(i32 noundef) local_unnamed_addr #1
declare i64 @flsll(i32 noundef) local_unnamed_addr #1
declare i32 @PNTX_WRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PCIR_BAR(i32 noundef) local_unnamed_addr #1
declare i32 @bus_write_4(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NTX_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, !11, i64 32}
!6 = !{!"ntb_plx_softc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !11, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!15, !7, i64 0}
!15 = !{!"ntb_plx_mw_info", !7, i64 0, !7, i64 4, !11, i64 8, !10, i64 16}
!16 = !{!6, !7, i64 8}
!17 = !{!15, !7, i64 4}
!18 = !{!15, !11, i64 8}
!19 = !{!20, !7, i64 0}
!20 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!21 = !{!7, !7, i64 0}
!22 = !{!15, !10, i64 16}
!23 = !{!6, !7, i64 12}
!24 = !{!20, !7, i64 4}
!25 = !{!6, !10, i64 24}
!26 = !{!6, !7, i64 16}
!27 = !{!6, !7, i64 20}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/ntb/ntb_hw/extr_ntb_hw_plx.c_ntb_plx_mw_set_trans_internal.c'
source_filename = "AnghaBench/freebsd/sys/dev/ntb/ntb_hw/extr_ntb_hw_plx.c_ntb_plx_mw_set_trans_internal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ntb_plx_mw_info = type { i32, i32, ptr, i64 }
%struct.TYPE_2__ = type { i32, i32 }
@EINVAL = common local_unnamed_addr global i32 0, align 4
@UINT64_MAX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ntb_plx_mw_set_trans_internal], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ntb_plx_mw_set_trans_internal(i32 noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @device_get_softc(i32 noundef %0) #2
%4 = getelementptr inbounds i8, ptr %3, i64 32
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = zext i32 %1 to i64
%7 = getelementptr inbounds %struct.ntb_plx_mw_info, ptr %5, i64 %6
%8 = load i32, ptr %3, align 8, !tbaa !13
%9 = icmp eq i32 %8, %1
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %3, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !14
br label %13
13: ; preds = %2, %10
%14 = phi i32 [ %12, %10 ], [ 0, %2 ]
%15 = load i32, ptr %7, align 8, !tbaa !15
%16 = icmp eq i32 %15, 2
br i1 %16, label %17, label %25
17: ; preds = %13
%18 = getelementptr inbounds i8, ptr %3, i64 8
%19 = load i32, ptr %18, align 8, !tbaa !17
%20 = icmp eq i32 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %17
%22 = getelementptr inbounds i8, ptr %7, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !18
%24 = sub nsw i32 %23, %14
br label %40
25: ; preds = %13, %17
%26 = getelementptr inbounds i8, ptr %7, i64 8
%27 = load ptr, ptr %26, align 8, !tbaa !19
%28 = load i32, ptr %27, align 4, !tbaa !20
%29 = tail call i32 @powerof2(i32 noundef %28) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %25
%32 = tail call i64 @flsll(i32 noundef %28) #2
%33 = shl nuw i64 1, %32
%34 = trunc i64 %33 to i32
br label %35
35: ; preds = %31, %25
%36 = phi i32 [ %28, %25 ], [ %34, %31 ]
%37 = add i32 %36, -1
%38 = icmp ult i32 %37, 1048575
%39 = select i1 %38, i32 1048576, i32 %36
br label %40
40: ; preds = %35, %21
%41 = phi i1 [ false, %21 ], [ true, %35 ]
%42 = phi i32 [ %24, %21 ], [ %39, %35 ]
%43 = add nsw i32 %42, -1
%44 = and i32 %43, %14
%45 = icmp eq i32 %44, 0
br i1 %45, label %48, label %46
46: ; preds = %40
%47 = load i32, ptr @EINVAL, align 4, !tbaa !22
br label %194
48: ; preds = %40
%49 = getelementptr inbounds i8, ptr %7, i64 16
%50 = load i64, ptr %49, align 8, !tbaa !23
%51 = icmp eq i64 %50, 0
%52 = icmp sgt i32 %42, 0
%53 = sub nsw i32 0, %42
%54 = and i32 %53, -1048576
br i1 %51, label %73, label %55
55: ; preds = %48
%56 = or disjoint i32 %54, 12
%57 = select i1 %52, i32 %56, i32 12
%58 = load i32, ptr %7, align 8, !tbaa !15
%59 = shl i32 %58, 2
%60 = add i32 %59, 224
%61 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %60, i32 noundef %57) #2
%62 = load i32, ptr %7, align 8, !tbaa !15
%63 = shl i32 %62, 2
%64 = add i32 %63, 228
%65 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %64, i32 noundef poison) #2
%66 = load i32, ptr %7, align 8, !tbaa !15
%67 = tail call i32 @PCIR_BAR(i32 noundef %66) #2
%68 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %67, i32 noundef %14) #2
%69 = load i32, ptr %7, align 8, !tbaa !15
%70 = tail call i32 @PCIR_BAR(i32 noundef %69) #2
%71 = add nsw i32 %70, 4
%72 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %71, i32 noundef poison) #2
br label %84
73: ; preds = %48
%74 = select i1 %52, i32 %54, i32 0
%75 = load i32, ptr %7, align 8, !tbaa !15
%76 = shl i32 %75, 2
%77 = add i32 %76, 224
%78 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %77, i32 noundef %74) #2
%79 = load i32, ptr %7, align 8, !tbaa !15
%80 = shl nsw i32 %79, 29
%81 = add nsw i32 %80, %14
%82 = tail call i32 @PCIR_BAR(i32 noundef %79) #2
%83 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %82, i32 noundef %81) #2
br label %84
84: ; preds = %73, %55
br i1 %41, label %85, label %89
85: ; preds = %84
%86 = getelementptr inbounds i8, ptr %7, i64 8
%87 = load ptr, ptr %86, align 8, !tbaa !19
%88 = getelementptr inbounds i8, ptr %87, i64 4
br label %89
89: ; preds = %84, %85
%90 = phi ptr [ %88, %85 ], [ @UINT64_MAX, %84 ]
%91 = load i32, ptr %90, align 4, !tbaa !22
%92 = load i64, ptr %49, align 8, !tbaa !23
%93 = icmp eq i64 %92, 0
%94 = load i32, ptr %7, align 8, !tbaa !15
%95 = shl i32 %94, 2
%96 = add i32 %95, 3124
%97 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %96, i32 noundef %91) #2
br i1 %93, label %103, label %98
98: ; preds = %89
%99 = load i32, ptr %7, align 8, !tbaa !15
%100 = shl i32 %99, 2
%101 = add i32 %100, 3128
%102 = tail call i32 @PNTX_WRITE(ptr noundef nonnull %3, i32 noundef %101, i32 noundef poison) #2
br label %103
103: ; preds = %89, %98
br i1 %41, label %104, label %108
104: ; preds = %103
%105 = getelementptr inbounds i8, ptr %7, i64 8
%106 = load ptr, ptr %105, align 8, !tbaa !19
%107 = load i32, ptr %106, align 4, !tbaa !20
br label %108
108: ; preds = %103, %104
%109 = phi i32 [ %107, %104 ], [ 0, %103 ]
%110 = getelementptr inbounds i8, ptr %3, i64 12
%111 = load i32, ptr %110, align 4, !tbaa !24
%112 = icmp eq i32 %111, 0
br i1 %112, label %194, label %113
113: ; preds = %108
%114 = load i32, ptr %7, align 8, !tbaa !15
%115 = icmp eq i32 %114, 2
br i1 %115, label %116, label %194
116: ; preds = %113
%117 = getelementptr inbounds i8, ptr %3, i64 8
%118 = load i32, ptr %117, align 8, !tbaa !17
%119 = and i32 %91, %43
%120 = or i32 %118, %119
%121 = icmp eq i32 %120, 0
%122 = icmp eq i32 %109, %42
%123 = select i1 %121, i1 %122, i1 false
br i1 %123, label %192, label %124
124: ; preds = %116
%125 = shl nsw i32 %111, 7
%126 = sdiv i32 %42, %125
%127 = getelementptr inbounds i8, ptr %7, i64 8
%128 = getelementptr inbounds i8, ptr %3, i64 24
%129 = getelementptr inbounds i8, ptr %3, i64 16
%130 = getelementptr inbounds i8, ptr %3, i64 20
br label %131
131: ; preds = %124, %164
%132 = phi i32 [ %125, %124 ], [ %188, %164 ]
%133 = phi i32 [ %111, %124 ], [ %187, %164 ]
%134 = phi i32 [ 0, %124 ], [ %155, %164 ]
%135 = phi i32 [ 0, %124 ], [ %186, %164 ]
%136 = phi i32 [ %91, %124 ], [ %154, %164 ]
%137 = phi i32 [ %109, %124 ], [ %153, %164 ]
%138 = phi i32 [ undef, %124 ], [ %185, %164 ]
%139 = load i32, ptr %117, align 8, !tbaa !17
%140 = ashr i32 %132, %139
%141 = urem i32 %135, %140
%142 = icmp eq i32 %141, 0
br i1 %142, label %143, label %151
143: ; preds = %131
%144 = load ptr, ptr %127, align 8, !tbaa !19
%145 = zext i32 %134 to i64
%146 = getelementptr inbounds %struct.TYPE_2__, ptr %144, i64 %145
%147 = getelementptr inbounds i8, ptr %146, i64 4
%148 = load i32, ptr %147, align 4, !tbaa !25
%149 = add i32 %134, 1
%150 = load i32, ptr %146, align 4, !tbaa !20
br label %151
151: ; preds = %143, %131
%152 = phi i32 [ %148, %143 ], [ %138, %131 ]
%153 = phi i32 [ %150, %143 ], [ %137, %131 ]
%154 = phi i32 [ %148, %143 ], [ %136, %131 ]
%155 = phi i32 [ %149, %143 ], [ %134, %131 ]
%156 = load i64, ptr %128, align 8, !tbaa !26
%157 = icmp eq i64 %156, 0
%158 = zext i1 %157 to i32
%159 = icmp eq i32 %133, 1
br i1 %159, label %160, label %164
160: ; preds = %151
%161 = load i32, ptr %129, align 8, !tbaa !27
%162 = shl nsw i32 %161, 1
%163 = or disjoint i32 %162, %158
br label %164
164: ; preds = %160, %151
%165 = phi i32 [ %163, %160 ], [ %158, %151 ]
%166 = shl nsw i32 %133, 12
%167 = mul nsw i32 %166, %165
%168 = shl i32 %135, 2
%169 = add i32 %168, 229376
%170 = icmp ugt i32 %135, 127
%171 = select i1 %170, i32 3584, i32 0
%172 = add i32 %169, %171
%173 = add i32 %172, %167
%174 = load i32, ptr %130, align 4, !tbaa !28
%175 = tail call i32 @bus_write_4(i32 noundef %174, i32 noundef %173, i32 noundef %152) #2
%176 = load i32, ptr %130, align 4, !tbaa !28
%177 = add nsw i32 %173, 1024
%178 = tail call i32 @bus_write_4(i32 noundef %176, i32 noundef %177, i32 noundef poison) #2
%179 = load i32, ptr %130, align 4, !tbaa !28
%180 = add nsw i32 %173, 2048
%181 = add nsw i32 %154, %153
%182 = icmp slt i32 %152, %181
%183 = select i1 %182, i32 3, i32 0
%184 = tail call i32 @bus_write_4(i32 noundef %179, i32 noundef %180, i32 noundef %183) #2
%185 = add nsw i32 %152, %126
%186 = add nuw i32 %135, 1
%187 = load i32, ptr %110, align 4, !tbaa !24
%188 = shl nsw i32 %187, 7
%189 = icmp ult i32 %186, %188
br i1 %189, label %131, label %190, !llvm.loop !29
190: ; preds = %164
%191 = tail call i32 @NTX_WRITE(ptr noundef nonnull %3, i32 noundef 3220, i32 noundef 268435456) #2
br label %194
192: ; preds = %116
%193 = tail call i32 @NTX_WRITE(ptr noundef nonnull %3, i32 noundef 3220, i32 noundef 0) #2
br label %194
194: ; preds = %113, %108, %190, %192, %46
%195 = phi i32 [ %47, %46 ], [ 0, %192 ], [ 0, %190 ], [ 0, %108 ], [ 0, %113 ]
ret i32 %195
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @powerof2(i32 noundef) local_unnamed_addr #1
declare i64 @flsll(i32 noundef) local_unnamed_addr #1
declare i32 @PNTX_WRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PCIR_BAR(i32 noundef) local_unnamed_addr #1
declare i32 @bus_write_4(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NTX_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, !12, i64 32}
!7 = !{!"ntb_plx_softc", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !11, i64 24, !12, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !8, i64 4}
!15 = !{!16, !8, i64 0}
!16 = !{!"ntb_plx_mw_info", !8, i64 0, !8, i64 4, !12, i64 8, !11, i64 16}
!17 = !{!7, !8, i64 8}
!18 = !{!16, !8, i64 4}
!19 = !{!16, !12, i64 8}
!20 = !{!21, !8, i64 0}
!21 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!22 = !{!8, !8, i64 0}
!23 = !{!16, !11, i64 16}
!24 = !{!7, !8, i64 12}
!25 = !{!21, !8, i64 4}
!26 = !{!7, !11, i64 24}
!27 = !{!7, !8, i64 16}
!28 = !{!7, !8, i64 20}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
|
freebsd_sys_dev_ntb_ntb_hw_extr_ntb_hw_plx.c_ntb_plx_mw_set_trans_internal
|
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-hotkey.c_query_hotkeys.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_obs-hotkey.c_query_hotkeys.c"
target datalayout = "e-m:e-p270:32:32-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.obs_query_hotkeys_helper = type { i32, i32, i32 }
@OBS_KEY_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@INTERACT_SHIFT_KEY = dso_local local_unnamed_addr global i32 0, align 4
@OBS_KEY_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@INTERACT_CONTROL_KEY = dso_local local_unnamed_addr global i32 0, align 4
@OBS_KEY_ALT = dso_local local_unnamed_addr global i32 0, align 4
@INTERACT_ALT_KEY = dso_local local_unnamed_addr global i32 0, align 4
@OBS_KEY_META = dso_local local_unnamed_addr global i32 0, align 4
@INTERACT_COMMAND_KEY = dso_local local_unnamed_addr global i32 0, align 4
@obs = dso_local local_unnamed_addr global ptr null, align 8
@query_hotkey = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @query_hotkeys], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @query_hotkeys() #0 {
%1 = alloca %struct.obs_query_hotkeys_helper, align 4
%2 = load i32, ptr @OBS_KEY_SHIFT, align 4, !tbaa !5
%3 = tail call i64 @is_pressed(i32 noundef %2) #3
%4 = icmp eq i64 %3, 0
%5 = load i32, ptr @INTERACT_SHIFT_KEY, align 4
%6 = select i1 %4, i32 0, i32 %5
%7 = load i32, ptr @OBS_KEY_CONTROL, align 4, !tbaa !5
%8 = tail call i64 @is_pressed(i32 noundef %7) #3
%9 = icmp eq i64 %8, 0
%10 = load i32, ptr @INTERACT_CONTROL_KEY, align 4
%11 = select i1 %9, i32 0, i32 %10
%12 = or i32 %11, %6
%13 = load i32, ptr @OBS_KEY_ALT, align 4, !tbaa !5
%14 = tail call i64 @is_pressed(i32 noundef %13) #3
%15 = icmp eq i64 %14, 0
%16 = load i32, ptr @INTERACT_ALT_KEY, align 4
%17 = select i1 %15, i32 0, i32 %16
%18 = or i32 %12, %17
%19 = load i32, ptr @OBS_KEY_META, align 4, !tbaa !5
%20 = tail call i64 @is_pressed(i32 noundef %19) #3
%21 = icmp eq i64 %20, 0
%22 = load i32, ptr @INTERACT_COMMAND_KEY, align 4
%23 = select i1 %21, i32 0, i32 %22
%24 = or i32 %18, %23
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #3
store i32 %24, ptr %1, align 4, !tbaa !9
%25 = getelementptr inbounds %struct.obs_query_hotkeys_helper, ptr %1, i64 0, i32 1
%26 = load ptr, ptr @obs, align 8, !tbaa !11
%27 = load <2 x i32>, ptr %26, align 4, !tbaa !5
%28 = shufflevector <2 x i32> %27, <2 x i32> poison, <2 x i32> <i32 1, i32 0>
store <2 x i32> %28, ptr %25, align 4, !tbaa !5
%29 = load i32, ptr @query_hotkey, align 4, !tbaa !5
%30 = call i32 @enum_bindings(i32 noundef %29, ptr noundef nonnull %1) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #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 @is_pressed(i32 noundef) local_unnamed_addr #2
declare i32 @enum_bindings(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"obs_query_hotkeys_helper", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-hotkey.c_query_hotkeys.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_obs-hotkey.c_query_hotkeys.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.obs_query_hotkeys_helper = type { i32, i32, i32 }
@OBS_KEY_SHIFT = common local_unnamed_addr global i32 0, align 4
@INTERACT_SHIFT_KEY = common local_unnamed_addr global i32 0, align 4
@OBS_KEY_CONTROL = common local_unnamed_addr global i32 0, align 4
@INTERACT_CONTROL_KEY = common local_unnamed_addr global i32 0, align 4
@OBS_KEY_ALT = common local_unnamed_addr global i32 0, align 4
@INTERACT_ALT_KEY = common local_unnamed_addr global i32 0, align 4
@OBS_KEY_META = common local_unnamed_addr global i32 0, align 4
@INTERACT_COMMAND_KEY = common local_unnamed_addr global i32 0, align 4
@obs = common local_unnamed_addr global ptr null, align 8
@query_hotkey = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @query_hotkeys], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @query_hotkeys() #0 {
%1 = alloca %struct.obs_query_hotkeys_helper, align 4
%2 = load i32, ptr @OBS_KEY_SHIFT, align 4, !tbaa !6
%3 = tail call i64 @is_pressed(i32 noundef %2) #3
%4 = icmp eq i64 %3, 0
%5 = load i32, ptr @INTERACT_SHIFT_KEY, align 4
%6 = select i1 %4, i32 0, i32 %5
%7 = load i32, ptr @OBS_KEY_CONTROL, align 4, !tbaa !6
%8 = tail call i64 @is_pressed(i32 noundef %7) #3
%9 = icmp eq i64 %8, 0
%10 = load i32, ptr @INTERACT_CONTROL_KEY, align 4
%11 = select i1 %9, i32 0, i32 %10
%12 = or i32 %11, %6
%13 = load i32, ptr @OBS_KEY_ALT, align 4, !tbaa !6
%14 = tail call i64 @is_pressed(i32 noundef %13) #3
%15 = icmp eq i64 %14, 0
%16 = load i32, ptr @INTERACT_ALT_KEY, align 4
%17 = select i1 %15, i32 0, i32 %16
%18 = or i32 %12, %17
%19 = load i32, ptr @OBS_KEY_META, align 4, !tbaa !6
%20 = tail call i64 @is_pressed(i32 noundef %19) #3
%21 = icmp eq i64 %20, 0
%22 = load i32, ptr @INTERACT_COMMAND_KEY, align 4
%23 = select i1 %21, i32 0, i32 %22
%24 = or i32 %18, %23
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #3
store i32 %24, ptr %1, align 4, !tbaa !10
%25 = getelementptr inbounds i8, ptr %1, i64 4
%26 = load ptr, ptr @obs, align 8, !tbaa !12
%27 = load <2 x i32>, ptr %26, align 4, !tbaa !6
%28 = shufflevector <2 x i32> %27, <2 x i32> poison, <2 x i32> <i32 1, i32 0>
store <2 x i32> %28, ptr %25, align 4, !tbaa !6
%29 = load i32, ptr @query_hotkey, align 4, !tbaa !6
%30 = call i32 @enum_bindings(i32 noundef %29, ptr noundef nonnull %1) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #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 @is_pressed(i32 noundef) local_unnamed_addr #2
declare i32 @enum_bindings(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"obs_query_hotkeys_helper", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
|
obs-studio_libobs_extr_obs-hotkey.c_query_hotkeys
|
; ModuleID = 'AnghaBench/openpilot/phonelibs/nanovg/extr_nanovg.c_nvgSave.c'
source_filename = "AnghaBench/openpilot/phonelibs/nanovg/extr_nanovg.c_nvgSave.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, ptr }
@NVG_MAX_STATES = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @nvgSave(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @NVG_MAX_STATES, align 8, !tbaa !11
%4 = icmp ult i64 %2, %3
br i1 %4, label %5, label %17
5: ; preds = %1
%6 = icmp eq i64 %2, 0
br i1 %6, label %15, label %7
7: ; preds = %5
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = getelementptr inbounds i32, ptr %9, i64 %2
%11 = getelementptr i32, ptr %10, i64 -1
%12 = tail call i32 @memcpy(ptr noundef nonnull %10, ptr noundef %11, i32 noundef 4) #2
%13 = load i64, ptr %0, align 8, !tbaa !5
%14 = add i64 %13, 1
br label %15
15: ; preds = %7, %5
%16 = phi i64 [ %14, %7 ], [ 1, %5 ]
store i64 %16, ptr %0, align 8, !tbaa !5
br label %17
17: ; preds = %1, %15
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
|
; ModuleID = 'AnghaBench/openpilot/phonelibs/nanovg/extr_nanovg.c_nvgSave.c'
source_filename = "AnghaBench/openpilot/phonelibs/nanovg/extr_nanovg.c_nvgSave.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NVG_MAX_STATES = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @nvgSave(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @NVG_MAX_STATES, align 8, !tbaa !12
%4 = icmp ult i64 %2, %3
br i1 %4, label %5, label %17
5: ; preds = %1
%6 = icmp eq i64 %2, 0
br i1 %6, label %15, label %7
7: ; preds = %5
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = getelementptr inbounds i32, ptr %9, i64 %2
%11 = getelementptr i8, ptr %10, i64 -4
%12 = tail call i32 @memcpy(ptr noundef nonnull %10, ptr noundef %11, i32 noundef 4) #2
%13 = load i64, ptr %0, align 8, !tbaa !6
%14 = add i64 %13, 1
br label %15
15: ; preds = %7, %5
%16 = phi i64 [ %14, %7 ], [ 1, %5 ]
store i64 %16, ptr %0, align 8, !tbaa !6
br label %17
17: ; preds = %1, %15
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
|
openpilot_phonelibs_nanovg_extr_nanovg.c_nvgSave
|
; ModuleID = 'AnghaBench/vlc/modules/codec/omxil/extr_mediacodec.c_DecodeFlushLocked.c'
source_filename = "AnghaBench/vlc/modules/codec/omxil/extr_mediacodec.c_DecodeFlushLocked.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, i32, i32, i32, i32, i32, i32, %struct.TYPE_9__, ptr, i64, i64 }
%struct.TYPE_9__ = type { ptr }
@VLC_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @DecodeFlushLocked], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @DecodeFlushLocked(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 8, !tbaa !10
store i32 0, ptr %2, align 8, !tbaa !10
%4 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1
store i32 1, ptr %4, align 4, !tbaa !15
%5 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 2
store i32 0, ptr %5, align 8, !tbaa !16
%6 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 9
%7 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
%8 = load ptr, ptr %7, align 8, !tbaa !17
%9 = tail call i32 %8(ptr noundef nonnull %0) #3
%10 = icmp eq i32 %3, 0
br i1 %10, label %19, label %11
11: ; preds = %1
%12 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 7
%13 = load ptr, ptr %12, align 8, !tbaa !18
%14 = tail call i64 %13(ptr noundef nonnull %12) #3
%15 = load i64, ptr @VLC_SUCCESS, align 8, !tbaa !19
%16 = icmp eq i64 %14, %15
br i1 %16, label %19, label %17
17: ; preds = %11
%18 = tail call i32 @AbortDecoderLocked(ptr noundef nonnull %0) #3
br label %35
19: ; preds = %11, %1
%20 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 6
%21 = tail call i32 @vlc_cond_broadcast(ptr noundef nonnull %20) #3
%22 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 5
%23 = load i32, ptr %22, align 4, !tbaa !20
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %35
25: ; preds = %19
%26 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 4
%27 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 3
br label %28
28: ; preds = %25, %31
%29 = load i32, ptr %4, align 4, !tbaa !15
%30 = icmp eq i32 %29, 0
br i1 %30, label %35, label %31
31: ; preds = %28
%32 = tail call i32 @vlc_cond_wait(ptr noundef nonnull %26, ptr noundef nonnull %27) #3
%33 = load i32, ptr %22, align 4, !tbaa !20
%34 = icmp eq i32 %33, 0
br i1 %34, label %28, label %35, !llvm.loop !21
35: ; preds = %31, %28, %19, %17
ret void
}
declare i32 @AbortDecoderLocked(ptr noundef) local_unnamed_addr #1
declare i32 @vlc_cond_broadcast(ptr noundef) local_unnamed_addr #1
declare i32 @vlc_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="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_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_8__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !13, i64 32, !7, i64 40, !14, i64 48, !14, i64 56}
!12 = !{!"int", !8, i64 0}
!13 = !{!"TYPE_9__", !7, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !12, i64 4}
!16 = !{!11, !12, i64 8}
!17 = !{!11, !7, i64 40}
!18 = !{!11, !7, i64 32}
!19 = !{!14, !14, i64 0}
!20 = !{!11, !12, i64 20}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/vlc/modules/codec/omxil/extr_mediacodec.c_DecodeFlushLocked.c'
source_filename = "AnghaBench/vlc/modules/codec/omxil/extr_mediacodec.c_DecodeFlushLocked.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VLC_SUCCESS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @DecodeFlushLocked], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @DecodeFlushLocked(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 8, !tbaa !11
%4 = getelementptr inbounds i8, ptr %2, i64 4
store <2 x i32> <i32 0, i32 1>, ptr %2, align 8, !tbaa !16
%5 = getelementptr inbounds i8, ptr %2, i64 8
store i32 0, ptr %5, align 8, !tbaa !17
%6 = getelementptr inbounds i8, ptr %2, i64 48
%7 = getelementptr inbounds i8, ptr %2, i64 40
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
%8 = load ptr, ptr %7, align 8, !tbaa !18
%9 = tail call i32 %8(ptr noundef nonnull %0) #3
%10 = icmp eq i32 %3, 0
br i1 %10, label %19, label %11
11: ; preds = %1
%12 = getelementptr inbounds i8, ptr %2, i64 32
%13 = load ptr, ptr %12, align 8, !tbaa !19
%14 = tail call i64 %13(ptr noundef nonnull %12) #3
%15 = load i64, ptr @VLC_SUCCESS, align 8, !tbaa !20
%16 = icmp eq i64 %14, %15
br i1 %16, label %19, label %17
17: ; preds = %11
%18 = tail call i32 @AbortDecoderLocked(ptr noundef nonnull %0) #3
br label %35
19: ; preds = %11, %1
%20 = getelementptr inbounds i8, ptr %2, i64 24
%21 = tail call i32 @vlc_cond_broadcast(ptr noundef nonnull %20) #3
%22 = getelementptr inbounds i8, ptr %2, i64 20
%23 = load i32, ptr %22, align 4, !tbaa !21
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %35
25: ; preds = %19
%26 = getelementptr inbounds i8, ptr %2, i64 16
%27 = getelementptr inbounds i8, ptr %2, i64 12
br label %28
28: ; preds = %25, %31
%29 = load i32, ptr %4, align 4, !tbaa !22
%30 = icmp eq i32 %29, 0
br i1 %30, label %35, label %31
31: ; preds = %28
%32 = tail call i32 @vlc_cond_wait(ptr noundef nonnull %26, ptr noundef nonnull %27) #3
%33 = load i32, ptr %22, align 4, !tbaa !21
%34 = icmp eq i32 %33, 0
br i1 %34, label %28, label %35, !llvm.loop !23
35: ; preds = %31, %28, %19, %17
ret void
}
declare i32 @AbortDecoderLocked(ptr noundef) local_unnamed_addr #1
declare i32 @vlc_cond_broadcast(ptr noundef) local_unnamed_addr #1
declare i32 @vlc_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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_7__", !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_8__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 32, !8, i64 40, !15, i64 48, !15, i64 56}
!13 = !{!"int", !9, i64 0}
!14 = !{!"TYPE_9__", !8, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!12, !13, i64 8}
!18 = !{!12, !8, i64 40}
!19 = !{!12, !8, i64 32}
!20 = !{!15, !15, i64 0}
!21 = !{!12, !13, i64 20}
!22 = !{!12, !13, i64 4}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
|
vlc_modules_codec_omxil_extr_mediacodec.c_DecodeFlushLocked
|
; ModuleID = 'AnghaBench/linux/sound/pci/au88x0/extr_au88x0_xtalk.c_vortex_XtalkHw_SetLeftEQ.c'
source_filename = "AnghaBench/linux/sound/pci/au88x0/extr_au88x0_xtalk.c_vortex_XtalkHw_SetLeftEQ.c"
target datalayout = "e-m:e-p270:32:32-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 @vortex_XtalkHw_SetLeftEQ], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vortex_XtalkHw_SetLeftEQ(ptr nocapture noundef readonly %0, i16 noundef signext %1, i16 noundef signext %2, ptr nocapture noundef readonly %3) #0 {
br label %5
5: ; preds = %4, %5
%6 = phi i64 [ 0, %4 ], [ %43, %5 ]
%7 = load i32, ptr %0, align 4, !tbaa !5
%8 = mul nuw nsw i64 %6, 36
%9 = getelementptr inbounds ptr, ptr %3, i64 %6
%10 = load ptr, ptr %9, align 8, !tbaa !10
%11 = load i16, ptr %10, align 2, !tbaa !12
%12 = trunc i64 %8 to i32
%13 = or i32 %12, 147968
%14 = tail call i32 @hwwrite(i32 noundef %7, i32 noundef %13, i16 noundef signext %11) #2
%15 = load i32, ptr %0, align 4, !tbaa !5
%16 = load ptr, ptr %9, align 8, !tbaa !10
%17 = getelementptr inbounds i16, ptr %16, i64 1
%18 = load i16, ptr %17, align 2, !tbaa !12
%19 = trunc i64 %8 to i32
%20 = add i32 %19, 147972
%21 = tail call i32 @hwwrite(i32 noundef %15, i32 noundef %20, i16 noundef signext %18) #2
%22 = load i32, ptr %0, align 4, !tbaa !5
%23 = load ptr, ptr %9, align 8, !tbaa !10
%24 = getelementptr inbounds i16, ptr %23, i64 2
%25 = load i16, ptr %24, align 2, !tbaa !12
%26 = trunc i64 %8 to i32
%27 = add i32 %26, 147976
%28 = tail call i32 @hwwrite(i32 noundef %22, i32 noundef %27, i16 noundef signext %25) #2
%29 = load i32, ptr %0, align 4, !tbaa !5
%30 = load ptr, ptr %9, align 8, !tbaa !10
%31 = getelementptr inbounds i16, ptr %30, i64 3
%32 = load i16, ptr %31, align 2, !tbaa !12
%33 = trunc i64 %8 to i32
%34 = add i32 %33, 147980
%35 = tail call i32 @hwwrite(i32 noundef %29, i32 noundef %34, i16 noundef signext %32) #2
%36 = load i32, ptr %0, align 4, !tbaa !5
%37 = load ptr, ptr %9, align 8, !tbaa !10
%38 = getelementptr inbounds i16, ptr %37, i64 4
%39 = load i16, ptr %38, align 2, !tbaa !12
%40 = trunc i64 %8 to i32
%41 = add i32 %40, 147984
%42 = tail call i32 @hwwrite(i32 noundef %36, i32 noundef %41, i16 noundef signext %39) #2
%43 = add nuw nsw i64 %6, 1
%44 = icmp eq i64 %43, 5
br i1 %44, label %45, label %5, !llvm.loop !14
45: ; preds = %5
%46 = load i32, ptr %0, align 4, !tbaa !5
%47 = tail call i32 @hwwrite(i32 noundef %46, i32 noundef 148792, i16 noundef signext %1) #2
%48 = load i32, ptr %0, align 4, !tbaa !5
%49 = tail call i32 @hwwrite(i32 noundef %48, i32 noundef 148796, i16 noundef signext %2) #2
ret void
}
declare i32 @hwwrite(i32 noundef, i32 noundef, i16 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"short", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/sound/pci/au88x0/extr_au88x0_xtalk.c_vortex_XtalkHw_SetLeftEQ.c'
source_filename = "AnghaBench/linux/sound/pci/au88x0/extr_au88x0_xtalk.c_vortex_XtalkHw_SetLeftEQ.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 @vortex_XtalkHw_SetLeftEQ], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vortex_XtalkHw_SetLeftEQ(ptr nocapture noundef readonly %0, i16 noundef signext %1, i16 noundef signext %2, ptr nocapture noundef readonly %3) #0 {
br label %5
5: ; preds = %4, %5
%6 = phi i64 [ 0, %4 ], [ %39, %5 ]
%7 = load i32, ptr %0, align 4, !tbaa !6
%8 = getelementptr inbounds ptr, ptr %3, i64 %6
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = load i16, ptr %9, align 2, !tbaa !13
%11 = trunc i64 %6 to i32
%12 = mul i32 %11, 36
%13 = or i32 %12, 147968
%14 = tail call i32 @hwwrite(i32 noundef %7, i32 noundef %13, i16 noundef signext %10) #2
%15 = load i32, ptr %0, align 4, !tbaa !6
%16 = load ptr, ptr %8, align 8, !tbaa !11
%17 = getelementptr inbounds i8, ptr %16, i64 2
%18 = load i16, ptr %17, align 2, !tbaa !13
%19 = add i32 %12, 147972
%20 = tail call i32 @hwwrite(i32 noundef %15, i32 noundef %19, i16 noundef signext %18) #2
%21 = load i32, ptr %0, align 4, !tbaa !6
%22 = load ptr, ptr %8, align 8, !tbaa !11
%23 = getelementptr inbounds i8, ptr %22, i64 4
%24 = load i16, ptr %23, align 2, !tbaa !13
%25 = add i32 %12, 147976
%26 = tail call i32 @hwwrite(i32 noundef %21, i32 noundef %25, i16 noundef signext %24) #2
%27 = load i32, ptr %0, align 4, !tbaa !6
%28 = load ptr, ptr %8, align 8, !tbaa !11
%29 = getelementptr inbounds i8, ptr %28, i64 6
%30 = load i16, ptr %29, align 2, !tbaa !13
%31 = add i32 %12, 147980
%32 = tail call i32 @hwwrite(i32 noundef %27, i32 noundef %31, i16 noundef signext %30) #2
%33 = load i32, ptr %0, align 4, !tbaa !6
%34 = load ptr, ptr %8, align 8, !tbaa !11
%35 = getelementptr inbounds i8, ptr %34, i64 8
%36 = load i16, ptr %35, align 2, !tbaa !13
%37 = add i32 %12, 147984
%38 = tail call i32 @hwwrite(i32 noundef %33, i32 noundef %37, i16 noundef signext %36) #2
%39 = add nuw nsw i64 %6, 1
%40 = icmp eq i64 %39, 5
br i1 %40, label %41, label %5, !llvm.loop !15
41: ; preds = %5
%42 = load i32, ptr %0, align 4, !tbaa !6
%43 = tail call i32 @hwwrite(i32 noundef %42, i32 noundef 148792, i16 noundef signext %1) #2
%44 = load i32, ptr %0, align 4, !tbaa !6
%45 = tail call i32 @hwwrite(i32 noundef %44, i32 noundef 148796, i16 noundef signext %2) #2
ret void
}
declare i32 @hwwrite(i32 noundef, i32 noundef, i16 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !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 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"short", !9, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
|
linux_sound_pci_au88x0_extr_au88x0_xtalk.c_vortex_XtalkHw_SetLeftEQ
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_time_64.c___delay.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_time_64.c___delay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@tick_ops = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @__delay(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @tick_ops, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !9
%4 = tail call i64 (...) %3() #1
br label %5
5: ; preds = %5, %1
%6 = load ptr, ptr @tick_ops, align 8, !tbaa !5
%7 = load ptr, ptr %6, align 8, !tbaa !9
%8 = tail call i64 (...) %7() #1
%9 = sub i64 %8, %4
%10 = icmp ult i64 %9, %0
br i1 %10, label %5, label %11, !llvm.loop !11
11: ; preds = %5
ret void
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_2__", !6, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_time_64.c___delay.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_time_64.c___delay.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tick_ops = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @__delay(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @tick_ops, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = tail call i64 %3() #1
br label %5
5: ; preds = %5, %1
%6 = load ptr, ptr @tick_ops, align 8, !tbaa !6
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = tail call i64 %7() #1
%9 = sub i64 %8, %4
%10 = icmp ult i64 %9, %0
br i1 %10, label %5, label %11, !llvm.loop !12
11: ; preds = %5
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
|
fastsocket_kernel_arch_sparc_kernel_extr_time_64.c___delay
|
; ModuleID = 'AnghaBench/linux/virt/kvm/arm/extr_arch_timer.c_kvm_timer_vcpu_load.c'
source_filename = "AnghaBench/linux/virt/kvm/arm/extr_arch_timer.c_kvm_timer_vcpu_load.c"
target datalayout = "e-m:e-p270:32:32-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.timer_map = type { i64, ptr, ptr }
@has_gic_active_state = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @kvm_timer_vcpu_load(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.timer_map, align 8
%3 = tail call ptr @vcpu_timer(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #3
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
%7 = tail call i64 @unlikely(i32 noundef %6) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %42
9: ; preds = %1
%10 = call i32 @get_timer_map(ptr noundef %0, ptr noundef nonnull %2) #3
%11 = call i64 @static_branch_likely(ptr noundef nonnull @has_gic_active_state) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %22, label %13
13: ; preds = %9
%14 = getelementptr inbounds %struct.timer_map, ptr %2, i64 0, i32 2
%15 = load ptr, ptr %14, align 8, !tbaa !10
%16 = call i32 @kvm_timer_vcpu_load_gic(ptr noundef %15) #3
%17 = getelementptr inbounds %struct.timer_map, ptr %2, i64 0, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !14
%19 = icmp eq ptr %18, null
br i1 %19, label %24, label %20
20: ; preds = %13
%21 = call i32 @kvm_timer_vcpu_load_gic(ptr noundef nonnull %18) #3
br label %24
22: ; preds = %9
%23 = call i32 @kvm_timer_vcpu_load_nogic(ptr noundef %0) #3
br label %24
24: ; preds = %13, %20, %22
%25 = getelementptr inbounds %struct.timer_map, ptr %2, i64 0, i32 2
%26 = load ptr, ptr %25, align 8, !tbaa !10
%27 = load i32, ptr %26, align 4, !tbaa !15
%28 = call i32 @set_cntvoff(i32 noundef %27) #3
%29 = call i32 @kvm_timer_unblocking(ptr noundef %0) #3
%30 = load ptr, ptr %25, align 8, !tbaa !10
%31 = call i32 @timer_restore_state(ptr noundef %30) #3
%32 = getelementptr inbounds %struct.timer_map, ptr %2, i64 0, i32 1
%33 = load ptr, ptr %32, align 8, !tbaa !14
%34 = icmp eq ptr %33, null
br i1 %34, label %37, label %35
35: ; preds = %24
%36 = call i32 @timer_restore_state(ptr noundef nonnull %33) #3
br label %37
37: ; preds = %35, %24
%38 = load i64, ptr %2, align 8, !tbaa !17
%39 = icmp eq i64 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %37
%41 = call i32 @timer_emulate(i64 noundef %38) #3
br label %42
42: ; preds = %37, %40, %1
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @vcpu_timer(ptr noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i32 @get_timer_map(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @static_branch_likely(ptr noundef) local_unnamed_addr #2
declare i32 @kvm_timer_vcpu_load_gic(ptr noundef) local_unnamed_addr #2
declare i32 @kvm_timer_vcpu_load_nogic(ptr noundef) local_unnamed_addr #2
declare i32 @set_cntvoff(i32 noundef) local_unnamed_addr #2
declare i32 @kvm_timer_unblocking(ptr noundef) local_unnamed_addr #2
declare i32 @timer_restore_state(ptr noundef) local_unnamed_addr #2
declare i32 @timer_emulate(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"arch_timer_cpu", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 16}
!11 = !{!"timer_map", !12, i64 0, !13, i64 8, !13, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 8}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_3__", !7, i64 0}
!17 = !{!11, !12, i64 0}
|
; ModuleID = 'AnghaBench/linux/virt/kvm/arm/extr_arch_timer.c_kvm_timer_vcpu_load.c'
source_filename = "AnghaBench/linux/virt/kvm/arm/extr_arch_timer.c_kvm_timer_vcpu_load.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.timer_map = type { i64, ptr, ptr }
@has_gic_active_state = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @kvm_timer_vcpu_load(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.timer_map, align 8
%3 = tail call ptr @vcpu_timer(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #3
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
%7 = tail call i64 @unlikely(i32 noundef %6) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %42
9: ; preds = %1
%10 = call i32 @get_timer_map(ptr noundef %0, ptr noundef nonnull %2) #3
%11 = call i64 @static_branch_likely(ptr noundef nonnull @has_gic_active_state) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %22, label %13
13: ; preds = %9
%14 = getelementptr inbounds i8, ptr %2, i64 16
%15 = load ptr, ptr %14, align 8, !tbaa !11
%16 = call i32 @kvm_timer_vcpu_load_gic(ptr noundef %15) #3
%17 = getelementptr inbounds i8, ptr %2, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !15
%19 = icmp eq ptr %18, null
br i1 %19, label %24, label %20
20: ; preds = %13
%21 = call i32 @kvm_timer_vcpu_load_gic(ptr noundef nonnull %18) #3
br label %24
22: ; preds = %9
%23 = call i32 @kvm_timer_vcpu_load_nogic(ptr noundef %0) #3
br label %24
24: ; preds = %13, %20, %22
%25 = getelementptr inbounds i8, ptr %2, i64 16
%26 = load ptr, ptr %25, align 8, !tbaa !11
%27 = load i32, ptr %26, align 4, !tbaa !16
%28 = call i32 @set_cntvoff(i32 noundef %27) #3
%29 = call i32 @kvm_timer_unblocking(ptr noundef %0) #3
%30 = load ptr, ptr %25, align 8, !tbaa !11
%31 = call i32 @timer_restore_state(ptr noundef %30) #3
%32 = getelementptr inbounds i8, ptr %2, i64 8
%33 = load ptr, ptr %32, align 8, !tbaa !15
%34 = icmp eq ptr %33, null
br i1 %34, label %37, label %35
35: ; preds = %24
%36 = call i32 @timer_restore_state(ptr noundef nonnull %33) #3
br label %37
37: ; preds = %35, %24
%38 = load i64, ptr %2, align 8, !tbaa !18
%39 = icmp eq i64 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %37
%41 = call i32 @timer_emulate(i64 noundef %38) #3
br label %42
42: ; preds = %37, %40, %1
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @vcpu_timer(ptr noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i32 @get_timer_map(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @static_branch_likely(ptr noundef) local_unnamed_addr #2
declare i32 @kvm_timer_vcpu_load_gic(ptr noundef) local_unnamed_addr #2
declare i32 @kvm_timer_vcpu_load_nogic(ptr noundef) local_unnamed_addr #2
declare i32 @set_cntvoff(i32 noundef) local_unnamed_addr #2
declare i32 @kvm_timer_unblocking(ptr noundef) local_unnamed_addr #2
declare i32 @timer_restore_state(ptr noundef) local_unnamed_addr #2
declare i32 @timer_emulate(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"arch_timer_cpu", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 16}
!12 = !{!"timer_map", !13, i64 0, !14, i64 8, !14, i64 16}
!13 = !{!"long", !9, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!12, !14, i64 8}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_3__", !8, i64 0}
!18 = !{!12, !13, i64 0}
|
linux_virt_kvm_arm_extr_arch_timer.c_kvm_timer_vcpu_load
|
; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_switec.c_switec_open.c'
source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_switec.c_switec_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"
@lswitec_task = dso_local local_unnamed_addr global i32 0, align 4
@tasknumber = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @switec_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @switec_open(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @lswitec_task, align 4, !tbaa !5
%3 = tail call i32 @task_get_id(i32 noundef %2) #2
store i32 %3, ptr @tasknumber, align 4, !tbaa !5
ret i32 0
}
declare i32 @task_get_id(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/nodemcu-firmware/app/modules/extr_switec.c_switec_open.c'
source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_switec.c_switec_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@lswitec_task = common local_unnamed_addr global i32 0, align 4
@tasknumber = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @switec_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @switec_open(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @lswitec_task, align 4, !tbaa !6
%3 = tail call i32 @task_get_id(i32 noundef %2) #2
store i32 %3, ptr @tasknumber, align 4, !tbaa !6
ret i32 0
}
declare i32 @task_get_id(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"}
|
nodemcu-firmware_app_modules_extr_switec.c_switec_open
|
; ModuleID = 'AnghaBench/torch7/lib/luaT/extr_luaT.c_luaT_getfieldchecklightudata.c'
source_filename = "AnghaBench/torch7/lib/luaT/extr_luaT.c_luaT_getfieldchecklightudata.c"
target datalayout = "e-m:e-p270:32:32-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 [43 x i8] c"bad argument #%d (field %s does not exist)\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"bad argument #%d (field %s is not a light userdata)\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @luaT_getfieldchecklightudata(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @lua_getfield(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
%5 = tail call i64 @lua_isnil(ptr noundef %0, i32 noundef -1) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1, ptr noundef %2) #2
br label %9
9: ; preds = %7, %3
%10 = tail call i32 @lua_islightuserdata(ptr noundef %0, i32 noundef -1) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %1, ptr noundef %2) #2
br label %14
14: ; preds = %12, %9
%15 = tail call ptr @lua_touserdata(ptr noundef %0, i32 noundef -1) #2
ret ptr %15
}
declare i32 @lua_getfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @lua_isnil(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_error(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lua_islightuserdata(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @lua_touserdata(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/torch7/lib/luaT/extr_luaT.c_luaT_getfieldchecklightudata.c'
source_filename = "AnghaBench/torch7/lib/luaT/extr_luaT.c_luaT_getfieldchecklightudata.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 [43 x i8] c"bad argument #%d (field %s does not exist)\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"bad argument #%d (field %s is not a light userdata)\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @luaT_getfieldchecklightudata(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @lua_getfield(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
%5 = tail call i64 @lua_isnil(ptr noundef %0, i32 noundef -1) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1, ptr noundef %2) #2
br label %9
9: ; preds = %7, %3
%10 = tail call i32 @lua_islightuserdata(ptr noundef %0, i32 noundef -1) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %1, ptr noundef %2) #2
br label %14
14: ; preds = %12, %9
%15 = tail call ptr @lua_touserdata(ptr noundef %0, i32 noundef -1) #2
ret ptr %15
}
declare i32 @lua_getfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @lua_isnil(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_error(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lua_islightuserdata(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @lua_touserdata(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)"}
|
torch7_lib_luaT_extr_luaT.c_luaT_getfieldchecklightudata
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/saa7164/extr_saa7164-cards.c_saa7164_card_setup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/saa7164/extr_saa7164-cards.c_saa7164_card_setup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.saa7164_dev = type { i32, ptr }
@saa7164_card_setup.eeprom = internal global [256 x i32] zeroinitializer, align 16
; Function Attrs: nounwind uwtable
define dso_local void @saa7164_card_setup(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.saa7164_dev, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = tail call i64 @saa7164_api_read_eeprom(ptr noundef nonnull %0, ptr noundef nonnull @saa7164_card_setup.eeprom, i32 noundef 1024) #2
%8 = icmp slt i64 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %6, %1
%10 = load i32, ptr %0, align 8, !tbaa !14
%11 = add i32 %10, -128
%12 = icmp ult i32 %11, 6
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = tail call i32 @hauppauge_eeprom(ptr noundef nonnull %0, ptr noundef nonnull @saa7164_card_setup.eeprom) #2
br label %15
15: ; preds = %9, %6, %13
ret void
}
declare i64 @saa7164_api_read_eeprom(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hauppauge_eeprom(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 = !{!"saa7164_dev", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/saa7164/extr_saa7164-cards.c_saa7164_card_setup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/saa7164/extr_saa7164-cards.c_saa7164_card_setup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@saa7164_card_setup.eeprom = internal global [256 x i32] zeroinitializer, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @saa7164_card_setup(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr %3, align 8, !tbaa !12
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = tail call i64 @saa7164_api_read_eeprom(ptr noundef nonnull %0, ptr noundef nonnull @saa7164_card_setup.eeprom, i32 noundef 1024) #2
%8 = icmp slt i64 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %6, %1
%10 = load i32, ptr %0, align 8, !tbaa !15
%11 = add i32 %10, -128
%12 = icmp ult i32 %11, 6
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = tail call i32 @hauppauge_eeprom(ptr noundef nonnull %0, ptr noundef nonnull @saa7164_card_setup.eeprom) #2
br label %15
15: ; preds = %9, %6, %13
ret void
}
declare i64 @saa7164_api_read_eeprom(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hauppauge_eeprom(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 = !{!"saa7164_dev", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!7, !8, i64 0}
|
fastsocket_kernel_drivers_media_video_saa7164_extr_saa7164-cards.c_saa7164_card_setup
|
; ModuleID = 'AnghaBench/linux/fs/nfs/extr_nfs4xdr.c_nfs4_lock_type.c'
source_filename = "AnghaBench/linux/fs/nfs/extr_nfs4xdr.c_nfs4_lock_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@F_RDLCK = dso_local local_unnamed_addr global i64 0, align 8
@NFS4_READW_LT = dso_local local_unnamed_addr global i32 0, align 4
@NFS4_READ_LT = dso_local local_unnamed_addr global i32 0, align 4
@NFS4_WRITEW_LT = dso_local local_unnamed_addr global i32 0, align 4
@NFS4_WRITE_LT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nfs4_lock_type], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @nfs4_lock_type(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr @F_RDLCK, align 8, !tbaa !10
%5 = icmp eq i64 %3, %4
%6 = icmp eq i32 %1, 0
%7 = load i32, ptr @NFS4_READW_LT, align 4
%8 = load i32, ptr @NFS4_WRITEW_LT, align 4
%9 = select i1 %5, i32 %7, i32 %8
%10 = load i32, ptr @NFS4_READ_LT, align 4
%11 = load i32, ptr @NFS4_WRITE_LT, align 4
%12 = select i1 %5, i32 %10, i32 %11
%13 = select i1 %6, i32 %12, i32 %9
ret i32 %13
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"file_lock", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/fs/nfs/extr_nfs4xdr.c_nfs4_lock_type.c'
source_filename = "AnghaBench/linux/fs/nfs/extr_nfs4xdr.c_nfs4_lock_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@F_RDLCK = common local_unnamed_addr global i64 0, align 8
@NFS4_READW_LT = common local_unnamed_addr global i32 0, align 4
@NFS4_READ_LT = common local_unnamed_addr global i32 0, align 4
@NFS4_WRITEW_LT = common local_unnamed_addr global i32 0, align 4
@NFS4_WRITE_LT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nfs4_lock_type], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @nfs4_lock_type(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr @F_RDLCK, align 8, !tbaa !11
%5 = icmp eq i64 %3, %4
%6 = icmp eq i32 %1, 0
%7 = load i32, ptr @NFS4_READW_LT, align 4
%8 = load i32, ptr @NFS4_WRITEW_LT, align 4
%9 = select i1 %5, i32 %7, i32 %8
%10 = load i32, ptr @NFS4_READ_LT, align 4
%11 = load i32, ptr @NFS4_WRITE_LT, align 4
%12 = select i1 %5, i32 %10, i32 %11
%13 = select i1 %6, i32 %12, i32 %9
ret i32 %13
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"file_lock", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
|
linux_fs_nfs_extr_nfs4xdr.c_nfs4_lock_type
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_sdma_v3_0.c_sdma_v3_0_enable.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_sdma_v3_0.c_sdma_v3_0_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"
@mmSDMA0_F32_CNTL = dso_local local_unnamed_addr global i64 0, align 8
@sdma_offsets = dso_local local_unnamed_addr global ptr null, align 8
@SDMA0_F32_CNTL = dso_local local_unnamed_addr global i32 0, align 4
@HALT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sdma_v3_0_enable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sdma_v3_0_enable(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = tail call i32 @sdma_v3_0_gfx_stop(ptr noundef %0) #2
%6 = tail call i32 @sdma_v3_0_rlc_stop(ptr noundef %0) #2
br label %7
7: ; preds = %4, %2
%8 = load i32, ptr %0, align 4, !tbaa !5
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %33
10: ; preds = %7
%11 = zext i1 %3 to i32
br label %12
12: ; preds = %10, %12
%13 = phi i64 [ %29, %12 ], [ 0, %10 ]
%14 = load i64, ptr @mmSDMA0_F32_CNTL, align 8, !tbaa !11
%15 = load ptr, ptr @sdma_offsets, align 8, !tbaa !13
%16 = getelementptr inbounds i64, ptr %15, i64 %13
%17 = load i64, ptr %16, align 8, !tbaa !11
%18 = add nsw i64 %17, %14
%19 = tail call i32 @RREG32(i64 noundef %18) #2
%20 = load i32, ptr @SDMA0_F32_CNTL, align 4, !tbaa !15
%21 = load i32, ptr @HALT, align 4, !tbaa !15
%22 = tail call i32 @REG_SET_FIELD(i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %11) #2
%23 = load i64, ptr @mmSDMA0_F32_CNTL, align 8, !tbaa !11
%24 = load ptr, ptr @sdma_offsets, align 8, !tbaa !13
%25 = getelementptr inbounds i64, ptr %24, i64 %13
%26 = load i64, ptr %25, align 8, !tbaa !11
%27 = add nsw i64 %26, %23
%28 = tail call i32 @WREG32(i64 noundef %27, i32 noundef %22) #2
%29 = add nuw nsw i64 %13, 1
%30 = load i32, ptr %0, align 4, !tbaa !5
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %12, label %33, !llvm.loop !16
33: ; preds = %12, %7
ret void
}
declare i32 @sdma_v3_0_gfx_stop(ptr noundef) local_unnamed_addr #1
declare i32 @sdma_v3_0_rlc_stop(ptr noundef) local_unnamed_addr #1
declare i32 @RREG32(i64 noundef) local_unnamed_addr #1
declare i32 @REG_SET_FIELD(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WREG32(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, !8, i64 0}
!6 = !{!"amdgpu_device", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_sdma_v3_0.c_sdma_v3_0_enable.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_sdma_v3_0.c_sdma_v3_0_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mmSDMA0_F32_CNTL = common local_unnamed_addr global i64 0, align 8
@sdma_offsets = common local_unnamed_addr global ptr null, align 8
@SDMA0_F32_CNTL = common local_unnamed_addr global i32 0, align 4
@HALT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sdma_v3_0_enable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sdma_v3_0_enable(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = tail call i32 @sdma_v3_0_gfx_stop(ptr noundef %0) #2
%6 = tail call i32 @sdma_v3_0_rlc_stop(ptr noundef %0) #2
br label %7
7: ; preds = %4, %2
%8 = load i32, ptr %0, align 4, !tbaa !6
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %33
10: ; preds = %7
%11 = zext i1 %3 to i32
br label %12
12: ; preds = %10, %12
%13 = phi i64 [ %29, %12 ], [ 0, %10 ]
%14 = load i64, ptr @mmSDMA0_F32_CNTL, align 8, !tbaa !12
%15 = load ptr, ptr @sdma_offsets, align 8, !tbaa !14
%16 = getelementptr inbounds i64, ptr %15, i64 %13
%17 = load i64, ptr %16, align 8, !tbaa !12
%18 = add nsw i64 %17, %14
%19 = tail call i32 @RREG32(i64 noundef %18) #2
%20 = load i32, ptr @SDMA0_F32_CNTL, align 4, !tbaa !16
%21 = load i32, ptr @HALT, align 4, !tbaa !16
%22 = tail call i32 @REG_SET_FIELD(i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %11) #2
%23 = load i64, ptr @mmSDMA0_F32_CNTL, align 8, !tbaa !12
%24 = load ptr, ptr @sdma_offsets, align 8, !tbaa !14
%25 = getelementptr inbounds i64, ptr %24, i64 %13
%26 = load i64, ptr %25, align 8, !tbaa !12
%27 = add nsw i64 %26, %23
%28 = tail call i32 @WREG32(i64 noundef %27, i32 noundef %22) #2
%29 = add nuw nsw i64 %13, 1
%30 = load i32, ptr %0, align 4, !tbaa !6
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %12, label %33, !llvm.loop !17
33: ; preds = %12, %7
ret void
}
declare i32 @sdma_v3_0_gfx_stop(ptr noundef) local_unnamed_addr #1
declare i32 @sdma_v3_0_rlc_stop(ptr noundef) local_unnamed_addr #1
declare i32 @RREG32(i64 noundef) local_unnamed_addr #1
declare i32 @REG_SET_FIELD(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WREG32(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, !9, i64 0}
!7 = !{!"amdgpu_device", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !10, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !10, i64 0}
!16 = !{!9, !9, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_gpu_drm_amd_amdgpu_extr_sdma_v3_0.c_sdma_v3_0_enable
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_h264_ps.c_ff_h264_ps_uninit.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_h264_ps.c_ff_h264_ps_uninit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, ptr, i32, i32, ptr, ptr }
@MAX_SPS_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@MAX_PPS_COUNT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ff_h264_ps_uninit(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @MAX_SPS_COUNT, align 4, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5
br label %11
6: ; preds = %11, %1
%7 = load i32, ptr @MAX_PPS_COUNT, align 4, !tbaa !5
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %29
9: ; preds = %6
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
br label %20
11: ; preds = %4, %11
%12 = phi i64 [ 0, %4 ], [ %16, %11 ]
%13 = load ptr, ptr %5, align 8, !tbaa !9
%14 = getelementptr inbounds i32, ptr %13, i64 %12
%15 = tail call i32 @av_buffer_unref(ptr noundef %14) #3
%16 = add nuw nsw i64 %12, 1
%17 = load i32, ptr @MAX_SPS_COUNT, align 4, !tbaa !5
%18 = sext i32 %17 to i64
%19 = icmp slt i64 %16, %18
br i1 %19, label %11, label %6, !llvm.loop !12
20: ; preds = %9, %20
%21 = phi i64 [ 0, %9 ], [ %25, %20 ]
%22 = load ptr, ptr %10, align 8, !tbaa !14
%23 = getelementptr inbounds i32, ptr %22, i64 %21
%24 = tail call i32 @av_buffer_unref(ptr noundef %23) #3
%25 = add nuw nsw i64 %21, 1
%26 = load i32, ptr @MAX_PPS_COUNT, align 4, !tbaa !5
%27 = sext i32 %26 to i64
%28 = icmp slt i64 %25, %27
br i1 %28, label %20, label %29, !llvm.loop !15
29: ; preds = %20, %6
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%31 = tail call i32 @av_buffer_unref(ptr noundef nonnull %30) #3
%32 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%33 = tail call i32 @av_buffer_unref(ptr noundef nonnull %32) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
ret void
}
declare i32 @av_buffer_unref(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 32}
!10 = !{!"TYPE_3__", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !11, i64 24, !11, i64 32}
!11 = !{!"any pointer", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!10, !11, i64 24}
!15 = distinct !{!15, !13}
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_h264_ps.c_ff_h264_ps_uninit.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_h264_ps.c_ff_h264_ps_uninit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAX_SPS_COUNT = common local_unnamed_addr global i32 0, align 4
@MAX_PPS_COUNT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ff_h264_ps_uninit(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @MAX_SPS_COUNT, align 4, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 32
br label %11
6: ; preds = %11, %1
%7 = load i32, ptr @MAX_PPS_COUNT, align 4, !tbaa !6
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %29
9: ; preds = %6
%10 = getelementptr inbounds i8, ptr %0, i64 24
br label %20
11: ; preds = %4, %11
%12 = phi i64 [ 0, %4 ], [ %16, %11 ]
%13 = load ptr, ptr %5, align 8, !tbaa !10
%14 = getelementptr inbounds i32, ptr %13, i64 %12
%15 = tail call i32 @av_buffer_unref(ptr noundef %14) #3
%16 = add nuw nsw i64 %12, 1
%17 = load i32, ptr @MAX_SPS_COUNT, align 4, !tbaa !6
%18 = sext i32 %17 to i64
%19 = icmp slt i64 %16, %18
br i1 %19, label %11, label %6, !llvm.loop !13
20: ; preds = %9, %20
%21 = phi i64 [ 0, %9 ], [ %25, %20 ]
%22 = load ptr, ptr %10, align 8, !tbaa !15
%23 = getelementptr inbounds i32, ptr %22, i64 %21
%24 = tail call i32 @av_buffer_unref(ptr noundef %23) #3
%25 = add nuw nsw i64 %21, 1
%26 = load i32, ptr @MAX_PPS_COUNT, align 4, !tbaa !6
%27 = sext i32 %26 to i64
%28 = icmp slt i64 %25, %27
br i1 %28, label %20, label %29, !llvm.loop !16
29: ; preds = %20, %6
%30 = getelementptr inbounds i8, ptr %0, i64 20
%31 = tail call i32 @av_buffer_unref(ptr noundef nonnull %30) #3
%32 = getelementptr inbounds i8, ptr %0, i64 16
%33 = tail call i32 @av_buffer_unref(ptr noundef nonnull %32) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
ret void
}
declare i32 @av_buffer_unref(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 32}
!11 = !{!"TYPE_3__", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !12, i64 24, !12, i64 32}
!12 = !{!"any pointer", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!11, !12, i64 24}
!16 = distinct !{!16, !14}
|
FFmpeg_libavcodec_extr_h264_ps.c_ff_h264_ps_uninit
|
; ModuleID = 'AnghaBench/zfs/module/lua/extr_lgc.c_entersweep.c'
source_filename = "AnghaBench/zfs/module/lua/extr_lgc.c_entersweep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, ptr, i32, ptr, i64, i32 }
@GCSsweepstring = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @entersweep], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @entersweep(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = tail call ptr @G(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !5
%4 = load i32, ptr @GCSsweepstring, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 5
store i32 %4, ptr %5, align 8, !tbaa !9
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %1
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 3
%11 = load ptr, ptr %10, align 8, !tbaa !14
%12 = icmp eq ptr %11, null
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %9, %1
%15 = phi i32 [ 0, %1 ], [ %13, %9 ]
%16 = tail call i32 @lua_assert(i32 noundef %15) #3
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 4
store i64 0, ptr %17, align 8, !tbaa !15
%18 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 2
%19 = call ptr @sweeptolive(ptr noundef %0, ptr noundef nonnull %18, ptr noundef nonnull %2) #3
%20 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 3
store ptr %19, ptr %20, align 8, !tbaa !14
%21 = call ptr @sweeptolive(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %2) #3
store ptr %21, ptr %6, align 8, !tbaa !13
%22 = load i32, ptr %2, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @G(ptr noundef) local_unnamed_addr #2
declare i32 @lua_assert(i32 noundef) local_unnamed_addr #2
declare ptr @sweeptolive(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 40}
!10 = !{!"TYPE_3__", !6, i64 0, !11, i64 8, !6, i64 16, !11, i64 24, !12, i64 32, !6, i64 40}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !11, i64 8}
!14 = !{!10, !11, i64 24}
!15 = !{!10, !12, i64 32}
|
; ModuleID = 'AnghaBench/zfs/module/lua/extr_lgc.c_entersweep.c'
source_filename = "AnghaBench/zfs/module/lua/extr_lgc.c_entersweep.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GCSsweepstring = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @entersweep], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @entersweep(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = tail call ptr @G(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !6
%4 = load i32, ptr @GCSsweepstring, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %3, i64 40
store i32 %4, ptr %5, align 8, !tbaa !10
%6 = getelementptr inbounds i8, ptr %3, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %1
%10 = getelementptr inbounds i8, ptr %3, i64 24
%11 = load ptr, ptr %10, align 8, !tbaa !15
%12 = icmp eq ptr %11, null
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %9, %1
%15 = phi i32 [ 0, %1 ], [ %13, %9 ]
%16 = tail call i32 @lua_assert(i32 noundef %15) #3
%17 = getelementptr inbounds i8, ptr %3, i64 32
store i64 0, ptr %17, align 8, !tbaa !16
%18 = getelementptr inbounds i8, ptr %3, i64 16
%19 = call ptr @sweeptolive(ptr noundef %0, ptr noundef nonnull %18, ptr noundef nonnull %2) #3
%20 = getelementptr inbounds i8, ptr %3, i64 24
store ptr %19, ptr %20, align 8, !tbaa !15
%21 = call ptr @sweeptolive(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %2) #3
store ptr %21, ptr %6, align 8, !tbaa !14
%22 = load i32, ptr %2, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @G(ptr noundef) local_unnamed_addr #2
declare i32 @lua_assert(i32 noundef) local_unnamed_addr #2
declare ptr @sweeptolive(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 40}
!11 = !{!"TYPE_3__", !7, i64 0, !12, i64 8, !7, i64 16, !12, i64 24, !13, i64 32, !7, i64 40}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !12, i64 8}
!15 = !{!11, !12, i64 24}
!16 = !{!11, !13, i64 32}
|
zfs_module_lua_extr_lgc.c_entersweep
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/usb/usx2y/extr_usbusx2y.c_usX2Y_AsyncSeq04_init.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/usb/usx2y/extr_usbusx2y.c_usX2Y_AsyncSeq04_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr, ptr }
%struct.usX2Ydev = type { %struct.TYPE_2__, i32 }
@URB_DataLen_AsyncSeq = dso_local local_unnamed_addr global i32 0, align 4
@URBS_AsyncSeq = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@i_usX2Y_Out04Int = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @usX2Y_AsyncSeq04_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @URB_DataLen_AsyncSeq, align 4, !tbaa !5
%3 = load i32, ptr @URBS_AsyncSeq, align 4, !tbaa !5
%4 = mul nsw i32 %3, %2
%5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%6 = tail call ptr @kmalloc(i32 noundef %4, i32 noundef %5) #2
store ptr %6, ptr %0, align 8, !tbaa !9
%7 = icmp eq ptr %6, null
br i1 %7, label %14, label %8
8: ; preds = %1
%9 = load i32, ptr @URBS_AsyncSeq, align 4, !tbaa !5
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %45
11: ; preds = %8
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%13 = getelementptr inbounds %struct.usX2Ydev, ptr %0, i64 0, i32 1
br label %17
14: ; preds = %1
%15 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%16 = sub nsw i32 0, %15
br label %45
17: ; preds = %11, %27
%18 = phi i64 [ 0, %11 ], [ %41, %27 ]
%19 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%20 = tail call ptr @usb_alloc_urb(i32 noundef 0, i32 noundef %19) #2
%21 = load ptr, ptr %12, align 8, !tbaa !13
%22 = getelementptr inbounds ptr, ptr %21, i64 %18
store ptr %20, ptr %22, align 8, !tbaa !14
%23 = icmp eq ptr %20, null
br i1 %23, label %24, label %27
24: ; preds = %17
%25 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%26 = sub nsw i32 0, %25
br label %45
27: ; preds = %17
%28 = load ptr, ptr %12, align 8, !tbaa !13
%29 = getelementptr inbounds ptr, ptr %28, i64 %18
%30 = load ptr, ptr %29, align 8, !tbaa !14
%31 = load i32, ptr %13, align 8, !tbaa !15
%32 = tail call i32 @usb_sndbulkpipe(i32 noundef %31, i32 noundef 4) #2
%33 = load ptr, ptr %0, align 8, !tbaa !9
%34 = load i32, ptr @URB_DataLen_AsyncSeq, align 4, !tbaa !5
%35 = trunc i64 %18 to i32
%36 = mul nsw i32 %34, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %33, i64 %37
%39 = load i32, ptr @i_usX2Y_Out04Int, align 4, !tbaa !5
%40 = tail call i32 @usb_fill_bulk_urb(ptr noundef %30, i32 noundef %31, i32 noundef %32, ptr noundef %38, i32 noundef 0, i32 noundef %39, ptr noundef nonnull %0) #2
%41 = add nuw nsw i64 %18, 1
%42 = load i32, ptr @URBS_AsyncSeq, align 4, !tbaa !5
%43 = sext i32 %42 to i64
%44 = icmp slt i64 %41, %43
br i1 %44, label %17, label %45, !llvm.loop !16
45: ; preds = %27, %8, %24, %14
%46 = phi i32 [ %16, %14 ], [ %26, %24 ], [ 0, %8 ], [ 0, %27 ]
ret i32 %46
}
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @usb_alloc_urb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_fill_bulk_urb(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_sndbulkpipe(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, !12, i64 0}
!10 = !{!"usX2Ydev", !11, i64 0, !6, i64 16}
!11 = !{!"TYPE_2__", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!12, !12, i64 0}
!15 = !{!10, !6, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/usb/usx2y/extr_usbusx2y.c_usX2Y_AsyncSeq04_init.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/usb/usx2y/extr_usbusx2y.c_usX2Y_AsyncSeq04_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@URB_DataLen_AsyncSeq = common local_unnamed_addr global i32 0, align 4
@URBS_AsyncSeq = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@i_usX2Y_Out04Int = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @usX2Y_AsyncSeq04_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @URB_DataLen_AsyncSeq, align 4, !tbaa !6
%3 = load i32, ptr @URBS_AsyncSeq, align 4, !tbaa !6
%4 = mul nsw i32 %3, %2
%5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%6 = tail call ptr @kmalloc(i32 noundef %4, i32 noundef %5) #2
store ptr %6, ptr %0, align 8, !tbaa !10
%7 = icmp eq ptr %6, null
br i1 %7, label %14, label %8
8: ; preds = %1
%9 = load i32, ptr @URBS_AsyncSeq, align 4, !tbaa !6
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %45
11: ; preds = %8
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = getelementptr inbounds i8, ptr %0, i64 16
br label %17
14: ; preds = %1
%15 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%16 = sub nsw i32 0, %15
br label %45
17: ; preds = %11, %27
%18 = phi i64 [ 0, %11 ], [ %41, %27 ]
%19 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%20 = tail call ptr @usb_alloc_urb(i32 noundef 0, i32 noundef %19) #2
%21 = load ptr, ptr %12, align 8, !tbaa !14
%22 = getelementptr inbounds ptr, ptr %21, i64 %18
store ptr %20, ptr %22, align 8, !tbaa !15
%23 = icmp eq ptr %20, null
br i1 %23, label %24, label %27
24: ; preds = %17
%25 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%26 = sub nsw i32 0, %25
br label %45
27: ; preds = %17
%28 = load ptr, ptr %12, align 8, !tbaa !14
%29 = getelementptr inbounds ptr, ptr %28, i64 %18
%30 = load ptr, ptr %29, align 8, !tbaa !15
%31 = load i32, ptr %13, align 8, !tbaa !16
%32 = tail call i32 @usb_sndbulkpipe(i32 noundef %31, i32 noundef 4) #2
%33 = load ptr, ptr %0, align 8, !tbaa !10
%34 = load i32, ptr @URB_DataLen_AsyncSeq, align 4, !tbaa !6
%35 = trunc nuw nsw i64 %18 to i32
%36 = mul nsw i32 %34, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %33, i64 %37
%39 = load i32, ptr @i_usX2Y_Out04Int, align 4, !tbaa !6
%40 = tail call i32 @usb_fill_bulk_urb(ptr noundef %30, i32 noundef %31, i32 noundef %32, ptr noundef %38, i32 noundef 0, i32 noundef %39, ptr noundef nonnull %0) #2
%41 = add nuw nsw i64 %18, 1
%42 = load i32, ptr @URBS_AsyncSeq, align 4, !tbaa !6
%43 = sext i32 %42 to i64
%44 = icmp slt i64 %41, %43
br i1 %44, label %17, label %45, !llvm.loop !17
45: ; preds = %27, %8, %24, %14
%46 = phi i32 [ %16, %14 ], [ %26, %24 ], [ 0, %8 ], [ 0, %27 ]
ret i32 %46
}
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @usb_alloc_urb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_fill_bulk_urb(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_sndbulkpipe(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, !13, i64 0}
!11 = !{!"usX2Ydev", !12, i64 0, !7, i64 16}
!12 = !{!"TYPE_2__", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 8}
!15 = !{!13, !13, i64 0}
!16 = !{!11, !7, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
|
fastsocket_kernel_sound_usb_usx2y_extr_usbusx2y.c_usX2Y_AsyncSeq04_init
|
; ModuleID = 'AnghaBench/tengine/src/core/extr_ngx_conf_file.c_ngx_conf_set_keyval_slot.c'
source_filename = "AnghaBench/tengine/src/core/extr_ngx_conf_file.c_ngx_conf_set_keyval_slot.c"
target datalayout = "e-m:e-p270:32:32-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 { ptr, i32 }
%struct.TYPE_13__ = type { ptr, ptr }
%struct.TYPE_16__ = type { i32, ptr }
@NGX_CONF_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@NGX_CONF_OK = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @ngx_conf_set_keyval_slot(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %1, align 8, !tbaa !5
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i8, ptr %2, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %16
9: ; preds = %3
%10 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 8, !tbaa !12
%12 = tail call ptr @ngx_array_create(i32 noundef %11, i32 noundef 4, i32 noundef 16) #2
store ptr %12, ptr %6, align 8, !tbaa !11
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !11
br label %38
16: ; preds = %9, %3
%17 = phi ptr [ %12, %9 ], [ %7, %3 ]
%18 = tail call ptr @ngx_array_push(ptr noundef nonnull %17) #2
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !11
br label %38
22: ; preds = %16
%23 = load ptr, ptr %0, align 8, !tbaa !14
%24 = load ptr, ptr %23, align 8, !tbaa !15
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8, !tbaa !11
%27 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 1
store ptr %26, ptr %27, align 8, !tbaa !17
%28 = getelementptr inbounds ptr, ptr %24, i64 2
%29 = load ptr, ptr %28, align 8, !tbaa !11
store ptr %29, ptr %18, align 8, !tbaa !19
%30 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 1
%31 = load ptr, ptr %30, align 8, !tbaa !20
%32 = icmp eq ptr %31, null
br i1 %32, label %36, label %33
33: ; preds = %22
%34 = load ptr, ptr %31, align 8, !tbaa !21
%35 = tail call ptr %34(ptr noundef nonnull %0, ptr noundef nonnull %31, ptr noundef nonnull %18) #2
br label %38
36: ; preds = %22
%37 = load ptr, ptr @NGX_CONF_OK, align 8, !tbaa !11
br label %38
38: ; preds = %36, %33, %20, %14
%39 = phi ptr [ %15, %14 ], [ %21, %20 ], [ %35, %33 ], [ %37, %36 ]
ret ptr %39
}
declare ptr @ngx_array_create(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ngx_array_push(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_16__", !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 = !{!10, !10, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"TYPE_14__", !10, i64 0, !7, i64 8}
!14 = !{!13, !10, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_12__", !10, i64 0}
!17 = !{!18, !10, i64 8}
!18 = !{!"TYPE_13__", !10, i64 0, !10, i64 8}
!19 = !{!18, !10, i64 0}
!20 = !{!6, !10, i64 8}
!21 = !{!22, !10, i64 0}
!22 = !{!"TYPE_15__", !10, i64 0}
|
; ModuleID = 'AnghaBench/tengine/src/core/extr_ngx_conf_file.c_ngx_conf_set_keyval_slot.c'
source_filename = "AnghaBench/tengine/src/core/extr_ngx_conf_file.c_ngx_conf_set_keyval_slot.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NGX_CONF_ERROR = common local_unnamed_addr global ptr null, align 8
@NGX_CONF_OK = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @ngx_conf_set_keyval_slot(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %1, align 8, !tbaa !6
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i8, ptr %2, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %16
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i32, ptr %10, align 8, !tbaa !13
%12 = tail call ptr @ngx_array_create(i32 noundef %11, i32 noundef 4, i32 noundef 16) #2
store ptr %12, ptr %6, align 8, !tbaa !12
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !12
br label %38
16: ; preds = %9, %3
%17 = phi ptr [ %12, %9 ], [ %7, %3 ]
%18 = tail call ptr @ngx_array_push(ptr noundef nonnull %17) #2
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !12
br label %38
22: ; preds = %16
%23 = load ptr, ptr %0, align 8, !tbaa !15
%24 = load ptr, ptr %23, align 8, !tbaa !16
%25 = getelementptr inbounds i8, ptr %24, i64 8
%26 = load ptr, ptr %25, align 8, !tbaa !12
%27 = getelementptr inbounds i8, ptr %18, i64 8
store ptr %26, ptr %27, align 8, !tbaa !18
%28 = getelementptr inbounds i8, ptr %24, i64 16
%29 = load ptr, ptr %28, align 8, !tbaa !12
store ptr %29, ptr %18, align 8, !tbaa !20
%30 = getelementptr inbounds i8, ptr %1, i64 8
%31 = load ptr, ptr %30, align 8, !tbaa !21
%32 = icmp eq ptr %31, null
br i1 %32, label %36, label %33
33: ; preds = %22
%34 = load ptr, ptr %31, align 8, !tbaa !22
%35 = tail call ptr %34(ptr noundef nonnull %0, ptr noundef nonnull %31, ptr noundef nonnull %18) #2
br label %38
36: ; preds = %22
%37 = load ptr, ptr @NGX_CONF_OK, align 8, !tbaa !12
br label %38
38: ; preds = %36, %33, %20, %14
%39 = phi ptr [ %15, %14 ], [ %21, %20 ], [ %35, %33 ], [ %37, %36 ]
ret ptr %39
}
declare ptr @ngx_array_create(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ngx_array_push(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_16__", !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 = !{!11, !11, i64 0}
!13 = !{!14, !8, i64 8}
!14 = !{!"TYPE_14__", !11, i64 0, !8, i64 8}
!15 = !{!14, !11, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_12__", !11, i64 0}
!18 = !{!19, !11, i64 8}
!19 = !{!"TYPE_13__", !11, i64 0, !11, i64 8}
!20 = !{!19, !11, i64 0}
!21 = !{!7, !11, i64 8}
!22 = !{!23, !11, i64 0}
!23 = !{!"TYPE_15__", !11, i64 0}
|
tengine_src_core_extr_ngx_conf_file.c_ngx_conf_set_keyval_slot
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_cnic.c_cnic_init_context.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_cnic.c_cnic_init_context.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CTX_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cnic_init_context], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cnic_init_context(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @GET_CID_ADDR(i32 noundef %1) #2
%4 = load i32, ptr @CTX_SIZE, align 4, !tbaa !5
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %12
6: ; preds = %2, %6
%7 = phi i32 [ %9, %6 ], [ 0, %2 ]
%8 = tail call i32 @cnic_ctx_wr(ptr noundef %0, i32 noundef %3, i32 noundef %7, i32 noundef 0) #2
%9 = add nuw nsw i32 %7, 4
%10 = load i32, ptr @CTX_SIZE, align 4, !tbaa !5
%11 = icmp slt i32 %9, %10
br i1 %11, label %6, label %12, !llvm.loop !9
12: ; preds = %6, %2
ret void
}
declare i32 @GET_CID_ADDR(i32 noundef) local_unnamed_addr #1
declare i32 @cnic_ctx_wr(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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_cnic.c_cnic_init_context.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_cnic.c_cnic_init_context.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CTX_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cnic_init_context], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cnic_init_context(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @GET_CID_ADDR(i32 noundef %1) #2
%4 = load i32, ptr @CTX_SIZE, align 4, !tbaa !6
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %12
6: ; preds = %2, %6
%7 = phi i32 [ %9, %6 ], [ 0, %2 ]
%8 = tail call i32 @cnic_ctx_wr(ptr noundef %0, i32 noundef %3, i32 noundef %7, i32 noundef 0) #2
%9 = add nuw nsw i32 %7, 4
%10 = load i32, ptr @CTX_SIZE, align 4, !tbaa !6
%11 = icmp slt i32 %9, %10
br i1 %11, label %6, label %12, !llvm.loop !10
12: ; preds = %6, %2
ret void
}
declare i32 @GET_CID_ADDR(i32 noundef) local_unnamed_addr #1
declare i32 @cnic_ctx_wr(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_net_ethernet_broadcom_extr_cnic.c_cnic_init_context
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_bcm3510.c_bcm3510_release.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_bcm3510.c_bcm3510_release.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @bcm3510_release], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bcm3510_release(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @kfree(ptr noundef %2) #2
ret void
}
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, !7, i64 0}
!6 = !{!"dvb_frontend", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_bcm3510.c_bcm3510_release.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_bcm3510.c_bcm3510_release.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 @bcm3510_release], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bcm3510_release(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @kfree(ptr noundef %2) #2
ret void
}
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, !8, i64 0}
!7 = !{!"dvb_frontend", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
fastsocket_kernel_drivers_media_dvb_frontends_extr_bcm3510.c_bcm3510_release
|
; ModuleID = 'AnghaBench/freebsd/lib/libthread_db/extr_libthr_db.c_pt_ta_map_lwp2thr.c'
source_filename = "AnghaBench/freebsd/lib/libthread_db/extr_libthr_db.c_pt_ta_map_lwp2thr.c"
target datalayout = "e-m:e-p270:32:32-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 @pt_ta_map_lwp2thr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pt_ta_map_lwp2thr(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @pt_ta_map_id2thr(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
ret i32 %4
}
declare i32 @pt_ta_map_id2thr(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)"}
|
; ModuleID = 'AnghaBench/freebsd/lib/libthread_db/extr_libthr_db.c_pt_ta_map_lwp2thr.c'
source_filename = "AnghaBench/freebsd/lib/libthread_db/extr_libthr_db.c_pt_ta_map_lwp2thr.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 @pt_ta_map_lwp2thr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pt_ta_map_lwp2thr(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @pt_ta_map_id2thr(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
ret i32 %4
}
declare i32 @pt_ta_map_id2thr(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)"}
|
freebsd_lib_libthread_db_extr_libthr_db.c_pt_ta_map_lwp2thr
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cisco/enic/extr_enic_dev.c_enic_dev_del_addr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cisco/enic/extr_enic_dev.c_enic_dev_del_addr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.enic = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @enic_dev_del_addr(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @spin_lock_bh(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.enic, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call i32 @vnic_dev_del_addr(i32 noundef %5, ptr noundef %1) #2
%7 = tail call i32 @spin_unlock_bh(ptr noundef %0) #2
ret i32 %6
}
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @vnic_dev_del_addr(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"enic", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cisco/enic/extr_enic_dev.c_enic_dev_del_addr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cisco/enic/extr_enic_dev.c_enic_dev_del_addr.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 @enic_dev_del_addr(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @spin_lock_bh(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call i32 @vnic_dev_del_addr(i32 noundef %5, ptr noundef %1) #2
%7 = tail call i32 @spin_unlock_bh(ptr noundef %0) #2
ret i32 %6
}
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @vnic_dev_del_addr(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"enic", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_net_ethernet_cisco_enic_extr_enic_dev.c_enic_dev_del_addr
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_msa.c_ff_avg_h264_qpel16_mc00_msa.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_msa.c_ff_avg_h264_qpel16_mc00_msa.c"
target datalayout = "e-m:e-p270:32:32-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 @ff_avg_h264_qpel16_mc00_msa(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @LD_UB8(ptr noundef %1, i32 noundef %2, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%5 = shl nsw i32 %2, 3
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i32, ptr %1, i64 %6
%8 = tail call i32 @LD_UB8(ptr noundef %0, i32 noundef %2, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%9 = tail call i32 @AVER_UB4_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%10 = tail call i32 @AVER_UB4_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%11 = tail call i32 @ST_UB8(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, ptr noundef %0, i32 noundef %2) #2
%12 = getelementptr inbounds i32, ptr %0, i64 %6
%13 = tail call i32 @LD_UB8(ptr noundef %7, i32 noundef %2, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%14 = tail call i32 @LD_UB8(ptr noundef %12, i32 noundef %2, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%15 = tail call i32 @AVER_UB4_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%16 = tail call i32 @AVER_UB4_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%17 = tail call i32 @ST_UB8(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, ptr noundef %12, i32 noundef %2) #2
ret void
}
declare i32 @LD_UB8(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AVER_UB4_UB(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ST_UB8(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_msa.c_ff_avg_h264_qpel16_mc00_msa.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_msa.c_ff_avg_h264_qpel16_mc00_msa.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 @ff_avg_h264_qpel16_mc00_msa(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @LD_UB8(ptr noundef %1, i32 noundef %2, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%5 = shl nsw i32 %2, 3
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i32, ptr %1, i64 %6
%8 = tail call i32 @LD_UB8(ptr noundef %0, i32 noundef %2, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%9 = tail call i32 @AVER_UB4_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%10 = tail call i32 @AVER_UB4_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%11 = tail call i32 @ST_UB8(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, ptr noundef %0, i32 noundef %2) #2
%12 = getelementptr inbounds i32, ptr %0, i64 %6
%13 = tail call i32 @LD_UB8(ptr noundef %7, i32 noundef %2, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%14 = tail call i32 @LD_UB8(ptr noundef %12, i32 noundef %2, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%15 = tail call i32 @AVER_UB4_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%16 = tail call i32 @AVER_UB4_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%17 = tail call i32 @ST_UB8(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, ptr noundef %12, i32 noundef %2) #2
ret void
}
declare i32 @LD_UB8(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AVER_UB4_UB(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ST_UB8(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
FFmpeg_libavcodec_mips_extr_h264qpel_msa.c_ff_avg_h264_qpel16_mc00_msa
|
; ModuleID = 'AnghaBench/linux/net/llc/extr_llc_c_ev.c_llc_conn_ev_qlfy_data_flag_eq_1.c'
source_filename = "AnghaBench/linux/net/llc/extr_llc_c_ev.c_llc_conn_ev_qlfy_data_flag_eq_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @llc_conn_ev_qlfy_data_flag_eq_1(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call ptr @llc_sk(ptr noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = icmp ne i32 %4, 1
%6 = zext i1 %5 to i32
ret i32 %6
}
declare ptr @llc_sk(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/net/llc/extr_llc_c_ev.c_llc_conn_ev_qlfy_data_flag_eq_1.c'
source_filename = "AnghaBench/linux/net/llc/extr_llc_c_ev.c_llc_conn_ev_qlfy_data_flag_eq_1.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @llc_conn_ev_qlfy_data_flag_eq_1(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call ptr @llc_sk(ptr noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = icmp ne i32 %4, 1
%6 = zext i1 %5 to i32
ret i32 %6
}
declare ptr @llc_sk(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_net_llc_extr_llc_c_ev.c_llc_conn_ev_qlfy_data_flag_eq_1
|
; ModuleID = 'AnghaBench/xLua/WebGLPlugins/extr_xlua.c_c_lua_setglobal.c'
source_filename = "AnghaBench/xLua/WebGLPlugins/extr_xlua.c_c_lua_setglobal.c"
target datalayout = "e-m:e-p270:32:32-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 @c_lua_setglobal], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @c_lua_setglobal(ptr noundef %0) #0 {
%2 = tail call i32 @lua_tostring(ptr noundef %0, i32 noundef 1) #2
%3 = tail call i32 @lua_setglobal(ptr noundef %0, i32 noundef %2) #2
ret i32 0
}
declare i32 @lua_setglobal(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/xLua/WebGLPlugins/extr_xlua.c_c_lua_setglobal.c'
source_filename = "AnghaBench/xLua/WebGLPlugins/extr_xlua.c_c_lua_setglobal.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 @c_lua_setglobal], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @c_lua_setglobal(ptr noundef %0) #0 {
%2 = tail call i32 @lua_tostring(ptr noundef %0, i32 noundef 1) #2
%3 = tail call i32 @lua_setglobal(ptr noundef %0, i32 noundef %2) #2
ret i32 0
}
declare i32 @lua_setglobal(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_tostring(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)"}
|
xLua_WebGLPlugins_extr_xlua.c_c_lua_setglobal
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core.c_mlxsw_core_driver_get.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core.c_mlxsw_core_driver_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"
@mlxsw_core_driver_list_lock = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlxsw_core_driver_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @mlxsw_core_driver_get(ptr noundef %0) #0 {
%2 = tail call i32 @spin_lock(ptr noundef nonnull @mlxsw_core_driver_list_lock) #2
%3 = tail call ptr @__driver_find(ptr noundef %0) #2
%4 = tail call i32 @spin_unlock(ptr noundef nonnull @mlxsw_core_driver_list_lock) #2
ret ptr %3
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare ptr @__driver_find(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core.c_mlxsw_core_driver_get.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core.c_mlxsw_core_driver_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mlxsw_core_driver_list_lock = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mlxsw_core_driver_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @mlxsw_core_driver_get(ptr noundef %0) #0 {
%2 = tail call i32 @spin_lock(ptr noundef nonnull @mlxsw_core_driver_list_lock) #2
%3 = tail call ptr @__driver_find(ptr noundef %0) #2
%4 = tail call i32 @spin_unlock(ptr noundef nonnull @mlxsw_core_driver_list_lock) #2
ret ptr %3
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare ptr @__driver_find(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_net_ethernet_mellanox_mlxsw_extr_core.c_mlxsw_core_driver_get
|
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gap/extr_gap_conn.c_gap_send_event.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gap/extr_gap_conn.c_gap_send_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i64, i64, i32 }
@BT_HDR_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@BT_EVT_TO_GAP_MSG = dso_local local_unnamed_addr global i32 0, align 4
@BTU_TASK = dso_local local_unnamed_addr global i32 0, align 4
@BTU_HCI_RCV_MBOX = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"Unable to allocate message buffer for event.\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @gap_send_event(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @BT_HDR_SIZE, align 4, !tbaa !5
%3 = tail call i64 @osi_malloc(i32 noundef %2) #3
%4 = icmp eq i64 %3, 0
br i1 %4, label %13, label %5
5: ; preds = %1
%6 = inttoptr i64 %3 to ptr
%7 = load i32, ptr @BT_EVT_TO_GAP_MSG, align 4, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 3
store i32 %7, ptr %8, align 8, !tbaa !9
%9 = getelementptr inbounds %struct.TYPE_3__, 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)
store i32 %0, ptr %6, align 8, !tbaa !12
%10 = load i32, ptr @BTU_TASK, align 4, !tbaa !5
%11 = load i32, ptr @BTU_HCI_RCV_MBOX, align 4, !tbaa !5
%12 = tail call i32 @GKI_send_msg(i32 noundef %10, i32 noundef %11, ptr noundef nonnull %6) #3
br label %15
13: ; preds = %1
%14 = tail call i32 @GAP_TRACE_ERROR(ptr noundef nonnull @.str) #3
br label %15
15: ; preds = %13, %5
ret void
}
declare i64 @osi_malloc(i32 noundef) local_unnamed_addr #1
declare i32 @GKI_send_msg(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @GAP_TRACE_ERROR(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 24}
!10 = !{!"TYPE_3__", !6, i64 0, !11, i64 8, !11, i64 16, !6, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 0}
|
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gap/extr_gap_conn.c_gap_send_event.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gap/extr_gap_conn.c_gap_send_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BT_HDR_SIZE = common local_unnamed_addr global i32 0, align 4
@BT_EVT_TO_GAP_MSG = common local_unnamed_addr global i32 0, align 4
@BTU_TASK = common local_unnamed_addr global i32 0, align 4
@BTU_HCI_RCV_MBOX = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"Unable to allocate message buffer for event.\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @gap_send_event(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @BT_HDR_SIZE, align 4, !tbaa !6
%3 = tail call i64 @osi_malloc(i32 noundef %2) #3
%4 = icmp eq i64 %3, 0
br i1 %4, label %13, label %5
5: ; preds = %1
%6 = inttoptr i64 %3 to ptr
%7 = load i32, ptr @BT_EVT_TO_GAP_MSG, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %6, i64 24
store i32 %7, ptr %8, align 8, !tbaa !10
%9 = getelementptr inbounds i8, ptr %6, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, i8 0, i64 16, i1 false)
store i32 %0, ptr %6, align 8, !tbaa !13
%10 = load i32, ptr @BTU_TASK, align 4, !tbaa !6
%11 = load i32, ptr @BTU_HCI_RCV_MBOX, align 4, !tbaa !6
%12 = tail call i32 @GKI_send_msg(i32 noundef %10, i32 noundef %11, ptr noundef nonnull %6) #3
br label %15
13: ; preds = %1
%14 = tail call i32 @GAP_TRACE_ERROR(ptr noundef nonnull @.str) #3
br label %15
15: ; preds = %13, %5
ret void
}
declare i64 @osi_malloc(i32 noundef) local_unnamed_addr #1
declare i32 @GKI_send_msg(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @GAP_TRACE_ERROR(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 24}
!11 = !{!"TYPE_3__", !7, i64 0, !12, i64 8, !12, i64 16, !7, i64 24}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 0}
|
esp-idf_components_bt_host_bluedroid_stack_gap_extr_gap_conn.c_gap_send_event
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_kgdb.c_kgdb_arch_init.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_kgdb.c_kgdb_arch_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"
@__debugger_ipi = dso_local local_unnamed_addr global i32 0, align 4
@old__debugger_ipi = dso_local local_unnamed_addr global i32 0, align 4
@__debugger = dso_local local_unnamed_addr global i32 0, align 4
@old__debugger = dso_local local_unnamed_addr global i32 0, align 4
@__debugger_bpt = dso_local local_unnamed_addr global i32 0, align 4
@old__debugger_bpt = dso_local local_unnamed_addr global i32 0, align 4
@__debugger_sstep = dso_local local_unnamed_addr global i32 0, align 4
@old__debugger_sstep = dso_local local_unnamed_addr global i32 0, align 4
@__debugger_iabr_match = dso_local local_unnamed_addr global i32 0, align 4
@old__debugger_iabr_match = dso_local local_unnamed_addr global i32 0, align 4
@__debugger_dabr_match = dso_local local_unnamed_addr global i32 0, align 4
@old__debugger_dabr_match = dso_local local_unnamed_addr global i32 0, align 4
@__debugger_fault_handler = dso_local local_unnamed_addr global i32 0, align 4
@old__debugger_fault_handler = dso_local local_unnamed_addr global i32 0, align 4
@kgdb_call_nmi_hook = dso_local local_unnamed_addr global i32 0, align 4
@kgdb_debugger = dso_local local_unnamed_addr global i32 0, align 4
@kgdb_handle_breakpoint = dso_local local_unnamed_addr global i32 0, align 4
@kgdb_singlestep = dso_local local_unnamed_addr global i32 0, align 4
@kgdb_iabr_match = dso_local local_unnamed_addr global i32 0, align 4
@kgdb_dabr_match = dso_local local_unnamed_addr global i32 0, align 4
@kgdb_not_implemented = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable
define dso_local noundef i32 @kgdb_arch_init() local_unnamed_addr #0 {
%1 = load i32, ptr @__debugger_ipi, align 4, !tbaa !5
store i32 %1, ptr @old__debugger_ipi, align 4, !tbaa !5
%2 = load i32, ptr @__debugger, align 4, !tbaa !5
store i32 %2, ptr @old__debugger, align 4, !tbaa !5
%3 = load i32, ptr @__debugger_bpt, align 4, !tbaa !5
store i32 %3, ptr @old__debugger_bpt, align 4, !tbaa !5
%4 = load i32, ptr @__debugger_sstep, align 4, !tbaa !5
store i32 %4, ptr @old__debugger_sstep, align 4, !tbaa !5
%5 = load i32, ptr @__debugger_iabr_match, align 4, !tbaa !5
store i32 %5, ptr @old__debugger_iabr_match, align 4, !tbaa !5
%6 = load i32, ptr @__debugger_dabr_match, align 4, !tbaa !5
store i32 %6, ptr @old__debugger_dabr_match, align 4, !tbaa !5
%7 = load i32, ptr @__debugger_fault_handler, align 4, !tbaa !5
store i32 %7, ptr @old__debugger_fault_handler, align 4, !tbaa !5
%8 = load i32, ptr @kgdb_call_nmi_hook, align 4, !tbaa !5
store i32 %8, ptr @__debugger_ipi, align 4, !tbaa !5
%9 = load i32, ptr @kgdb_debugger, align 4, !tbaa !5
store i32 %9, ptr @__debugger, align 4, !tbaa !5
%10 = load i32, ptr @kgdb_handle_breakpoint, align 4, !tbaa !5
store i32 %10, ptr @__debugger_bpt, align 4, !tbaa !5
%11 = load i32, ptr @kgdb_singlestep, align 4, !tbaa !5
store i32 %11, ptr @__debugger_sstep, align 4, !tbaa !5
%12 = load i32, ptr @kgdb_iabr_match, align 4, !tbaa !5
store i32 %12, ptr @__debugger_iabr_match, align 4, !tbaa !5
%13 = load i32, ptr @kgdb_dabr_match, align 4, !tbaa !5
store i32 %13, ptr @__debugger_dabr_match, align 4, !tbaa !5
%14 = load i32, ptr @kgdb_not_implemented, align 4, !tbaa !5
store i32 %14, ptr @__debugger_fault_handler, align 4, !tbaa !5
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_kgdb.c_kgdb_arch_init.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_kgdb.c_kgdb_arch_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__debugger_ipi = common local_unnamed_addr global i32 0, align 4
@old__debugger_ipi = common local_unnamed_addr global i32 0, align 4
@__debugger = common local_unnamed_addr global i32 0, align 4
@old__debugger = common local_unnamed_addr global i32 0, align 4
@__debugger_bpt = common local_unnamed_addr global i32 0, align 4
@old__debugger_bpt = common local_unnamed_addr global i32 0, align 4
@__debugger_sstep = common local_unnamed_addr global i32 0, align 4
@old__debugger_sstep = common local_unnamed_addr global i32 0, align 4
@__debugger_iabr_match = common local_unnamed_addr global i32 0, align 4
@old__debugger_iabr_match = common local_unnamed_addr global i32 0, align 4
@__debugger_dabr_match = common local_unnamed_addr global i32 0, align 4
@old__debugger_dabr_match = common local_unnamed_addr global i32 0, align 4
@__debugger_fault_handler = common local_unnamed_addr global i32 0, align 4
@old__debugger_fault_handler = common local_unnamed_addr global i32 0, align 4
@kgdb_call_nmi_hook = common local_unnamed_addr global i32 0, align 4
@kgdb_debugger = common local_unnamed_addr global i32 0, align 4
@kgdb_handle_breakpoint = common local_unnamed_addr global i32 0, align 4
@kgdb_singlestep = common local_unnamed_addr global i32 0, align 4
@kgdb_iabr_match = common local_unnamed_addr global i32 0, align 4
@kgdb_dabr_match = common local_unnamed_addr global i32 0, align 4
@kgdb_not_implemented = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync)
define noundef i32 @kgdb_arch_init() local_unnamed_addr #0 {
%1 = load i32, ptr @__debugger_ipi, align 4, !tbaa !6
store i32 %1, ptr @old__debugger_ipi, align 4, !tbaa !6
%2 = load i32, ptr @__debugger, align 4, !tbaa !6
store i32 %2, ptr @old__debugger, align 4, !tbaa !6
%3 = load i32, ptr @__debugger_bpt, align 4, !tbaa !6
store i32 %3, ptr @old__debugger_bpt, align 4, !tbaa !6
%4 = load i32, ptr @__debugger_sstep, align 4, !tbaa !6
store i32 %4, ptr @old__debugger_sstep, align 4, !tbaa !6
%5 = load i32, ptr @__debugger_iabr_match, align 4, !tbaa !6
store i32 %5, ptr @old__debugger_iabr_match, align 4, !tbaa !6
%6 = load i32, ptr @__debugger_dabr_match, align 4, !tbaa !6
store i32 %6, ptr @old__debugger_dabr_match, align 4, !tbaa !6
%7 = load i32, ptr @__debugger_fault_handler, align 4, !tbaa !6
store i32 %7, ptr @old__debugger_fault_handler, align 4, !tbaa !6
%8 = load i32, ptr @kgdb_call_nmi_hook, align 4, !tbaa !6
store i32 %8, ptr @__debugger_ipi, align 4, !tbaa !6
%9 = load i32, ptr @kgdb_debugger, align 4, !tbaa !6
store i32 %9, ptr @__debugger, align 4, !tbaa !6
%10 = load i32, ptr @kgdb_handle_breakpoint, align 4, !tbaa !6
store i32 %10, ptr @__debugger_bpt, align 4, !tbaa !6
%11 = load i32, ptr @kgdb_singlestep, align 4, !tbaa !6
store i32 %11, ptr @__debugger_sstep, align 4, !tbaa !6
%12 = load i32, ptr @kgdb_iabr_match, align 4, !tbaa !6
store i32 %12, ptr @__debugger_iabr_match, align 4, !tbaa !6
%13 = load i32, ptr @kgdb_dabr_match, align 4, !tbaa !6
store i32 %13, ptr @__debugger_dabr_match, align 4, !tbaa !6
%14 = load i32, ptr @kgdb_not_implemented, align 4, !tbaa !6
store i32 %14, ptr @__debugger_fault_handler, align 4, !tbaa !6
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
fastsocket_kernel_arch_powerpc_kernel_extr_kgdb.c_kgdb_arch_init
|
; ModuleID = 'AnghaBench/git/extr_submodule.c_submodule_move_head.c'
source_filename = "AnghaBench/git/extr_submodule.c_submodule_move_head.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.child_process = type { i32, i32, ptr, i32, i32 }
%struct.strbuf = type { i32 }
@CHILD_PROCESS_INIT = dso_local local_unnamed_addr global %struct.child_process zeroinitializer, align 8
@the_repository = dso_local local_unnamed_addr global i32 0, align 4
@SUBMODULE_MOVE_HEAD_FORCE = dso_local local_unnamed_addr global i32 0, align 4
@null_oid = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"could not get submodule information for '%s'\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"submodule '%s' has dirty index\00", align 1
@SUBMODULE_MOVE_HEAD_DRY_RUN = dso_local local_unnamed_addr global i32 0, align 4
@ABSORB_GITDIR_RECURSE_SUBMODULES = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"%s/modules/%s\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"--super-prefix=%s%s/\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"read-tree\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"--recurse-submodules\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"-n\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"-u\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"--reset\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"-m\00", align 1
@.str.10 = private unnamed_addr constant [37 x i8] c"Submodule '%s' could not be updated.\00", align 1
@.str.11 = private unnamed_addr constant [11 x i8] c"update-ref\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"HEAD\00", align 1
@.str.13 = private unnamed_addr constant [11 x i8] c"--no-deref\00", align 1
@STRBUF_INIT = dso_local local_unnamed_addr global %struct.strbuf zeroinitializer, align 4
@.str.14 = private unnamed_addr constant [8 x i8] c"%s/.git\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @submodule_move_head(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.child_process, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.strbuf, align 4
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) @CHILD_PROCESS_INIT, i64 24, i1 false), !tbaa.struct !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%8 = load i32, ptr @the_repository, align 4, !tbaa !6
%9 = tail call i32 @is_submodule_active(i32 noundef %8, ptr noundef %0) #4
%10 = icmp eq i32 %9, 0
br i1 %10, label %132, label %11
11: ; preds = %4
%12 = icmp eq ptr %1, null
br i1 %12, label %20, label %13
13: ; preds = %11
%14 = load i32, ptr @SUBMODULE_MOVE_HEAD_FORCE, align 4, !tbaa !6
%15 = and i32 %14, %3
%16 = icmp eq i32 %15, 0
%17 = select i1 %16, ptr null, ptr %6
%18 = call i32 @is_submodule_populated_gently(ptr noundef %0, ptr noundef %17) #4
%19 = icmp eq i32 %18, 0
br i1 %19, label %132, label %20
20: ; preds = %13, %11
%21 = load i32, ptr @the_repository, align 4, !tbaa !6
%22 = call ptr @submodule_from_path(i32 noundef %21, ptr noundef nonnull @null_oid, ptr noundef %0) #4
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @BUG(ptr noundef nonnull @.str, ptr noundef %0) #4
br label %26
26: ; preds = %24, %20
br i1 %12, label %41, label %27
27: ; preds = %26
%28 = load i32, ptr @SUBMODULE_MOVE_HEAD_FORCE, align 4, !tbaa !6
%29 = and i32 %28, %3
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %27
%32 = call i64 @submodule_has_dirty_index(ptr noundef %22) #4
%33 = icmp eq i64 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = call i32 @_(ptr noundef nonnull @.str.1) #4
%36 = call i32 @error(i32 noundef %35, ptr noundef %0) #4
br label %132
37: ; preds = %31, %27
%38 = load i32, ptr @SUBMODULE_MOVE_HEAD_DRY_RUN, align 4, !tbaa !6
%39 = and i32 %38, %3
%40 = icmp eq i32 %39, 0
br i1 %40, label %45, label %68
41: ; preds = %26
%42 = load i32, ptr @SUBMODULE_MOVE_HEAD_DRY_RUN, align 4, !tbaa !6
%43 = and i32 %42, %3
%44 = icmp eq i32 %43, 0
br i1 %44, label %51, label %68
45: ; preds = %37
%46 = call i32 @submodule_uses_gitfile(ptr noundef %0) #4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %58
48: ; preds = %45
%49 = load i32, ptr @ABSORB_GITDIR_RECURSE_SUBMODULES, align 4, !tbaa !6
%50 = call i32 @absorb_git_dir_into_superproject(ptr noundef %0, i32 noundef %49) #4
br label %58
51: ; preds = %41
%52 = call i32 (...) @get_git_common_dir() #4
%53 = load i32, ptr %22, align 4, !tbaa !12
%54 = call ptr @xstrfmt(ptr noundef nonnull @.str.2, i32 noundef %52, i32 noundef %53) #4
%55 = call i32 @connect_work_tree_and_git_dir(ptr noundef %0, ptr noundef %54, i32 noundef 0) #4
%56 = call i32 @free(ptr noundef %54) #4
%57 = call i32 @submodule_reset_index(ptr noundef %0) #4
br label %68
58: ; preds = %45, %48
%59 = load i32, ptr @SUBMODULE_MOVE_HEAD_FORCE, align 4, !tbaa !6
%60 = and i32 %59, %3
%61 = icmp eq i32 %60, 0
br i1 %61, label %68, label %62
62: ; preds = %58
%63 = call i32 (...) @get_git_common_dir() #4
%64 = load i32, ptr %22, align 4, !tbaa !12
%65 = call ptr @xstrfmt(ptr noundef nonnull @.str.2, i32 noundef %63, i32 noundef %64) #4
%66 = call i32 @connect_work_tree_and_git_dir(ptr noundef %0, ptr noundef %65, i32 noundef 1) #4
%67 = call i32 @free(ptr noundef %65) #4
br label %68
68: ; preds = %51, %41, %58, %62, %37
%69 = getelementptr inbounds %struct.child_process, ptr %5, i64 0, i32 4
%70 = call i32 @prepare_submodule_repo_env(ptr noundef nonnull %69) #4
store i32 1, ptr %5, align 8, !tbaa !14
%71 = getelementptr inbounds %struct.child_process, ptr %5, i64 0, i32 1
store i32 1, ptr %71, align 4, !tbaa !16
%72 = getelementptr inbounds %struct.child_process, ptr %5, i64 0, i32 2
store ptr %0, ptr %72, align 8, !tbaa !17
%73 = getelementptr inbounds %struct.child_process, ptr %5, i64 0, i32 3
%74 = call i32 (...) @get_super_prefix_or_empty() #4
%75 = call i32 @argv_array_pushf(ptr noundef nonnull %73, ptr noundef nonnull @.str.3, i32 noundef %74, ptr noundef %0) #4
%76 = call i32 (ptr, ptr, ptr, ptr, ...) @argv_array_pushl(ptr noundef nonnull %73, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, ptr noundef null) #4
%77 = load i32, ptr @SUBMODULE_MOVE_HEAD_DRY_RUN, align 4, !tbaa !6
%78 = and i32 %77, %3
%79 = icmp eq i32 %78, 0
%80 = select i1 %79, ptr @.str.7, ptr @.str.6
%81 = call i32 @argv_array_push(ptr noundef nonnull %73, ptr noundef nonnull %80) #4
%82 = load i32, ptr @SUBMODULE_MOVE_HEAD_FORCE, align 4, !tbaa !6
%83 = and i32 %82, %3
%84 = icmp eq i32 %83, 0
%85 = select i1 %84, ptr @.str.9, ptr @.str.8
%86 = call i32 @argv_array_push(ptr noundef nonnull %73, ptr noundef nonnull %85) #4
%87 = load i32, ptr @SUBMODULE_MOVE_HEAD_FORCE, align 4, !tbaa !6
%88 = and i32 %87, %3
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %96
90: ; preds = %68
br i1 %12, label %91, label %93
91: ; preds = %90
%92 = call ptr (...) @empty_tree_oid_hex() #4
br label %93
93: ; preds = %90, %91
%94 = phi ptr [ %92, %91 ], [ %1, %90 ]
%95 = call i32 @argv_array_push(ptr noundef nonnull %73, ptr noundef %94) #4
br label %96
96: ; preds = %93, %68
%97 = icmp eq ptr %2, null
br i1 %97, label %98, label %100
98: ; preds = %96
%99 = call ptr (...) @empty_tree_oid_hex() #4
br label %100
100: ; preds = %96, %98
%101 = phi ptr [ %99, %98 ], [ %2, %96 ]
%102 = call i32 @argv_array_push(ptr noundef nonnull %73, ptr noundef %101) #4
%103 = call i64 @run_command(ptr noundef nonnull %5) #4
%104 = icmp eq i64 %103, 0
br i1 %104, label %108, label %105
105: ; preds = %100
%106 = call i32 @_(ptr noundef nonnull @.str.10) #4
%107 = call i32 @error(i32 noundef %106, ptr noundef %0) #4
br label %132
108: ; preds = %100
%109 = load i32, ptr @SUBMODULE_MOVE_HEAD_DRY_RUN, align 4, !tbaa !6
%110 = and i32 %109, %3
%111 = icmp eq i32 %110, 0
br i1 %111, label %112, label %132
112: ; preds = %108
br i1 %97, label %120, label %113
113: ; preds = %112
%114 = call i32 @child_process_init(ptr noundef nonnull %5) #4
store i32 1, ptr %5, align 8, !tbaa !14
store i32 1, ptr %71, align 4, !tbaa !16
store ptr %0, ptr %72, align 8, !tbaa !17
%115 = call i32 @prepare_submodule_repo_env(ptr noundef nonnull %69) #4
%116 = call i32 (ptr, ptr, ptr, ptr, ...) @argv_array_pushl(ptr noundef nonnull %73, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.13, ptr noundef nonnull %2, ptr noundef null) #4
%117 = call i64 @run_command(ptr noundef nonnull %5) #4
%118 = icmp ne i64 %117, 0
%119 = sext i1 %118 to i32
br label %132
120: ; preds = %112
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
%121 = load i32, ptr @STRBUF_INIT, align 4, !tbaa !6
store i32 %121, ptr %7, align 4, !tbaa !6
%122 = call i32 @strbuf_addf(ptr noundef nonnull %7, ptr noundef nonnull @.str.14, ptr noundef %0) #4
%123 = load i32, ptr %7, align 4, !tbaa !18
%124 = call i32 @unlink_or_warn(i32 noundef %123) #4
%125 = call i32 @strbuf_release(ptr noundef nonnull %7) #4
%126 = call i64 @is_empty_dir(ptr noundef %0) #4
%127 = icmp eq i64 %126, 0
br i1 %127, label %130, label %128
128: ; preds = %120
%129 = call i32 @rmdir_or_warn(ptr noundef %0) #4
br label %130
130: ; preds = %128, %120
%131 = call i32 @submodule_unset_core_worktree(ptr noundef %22) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
br label %132
132: ; preds = %113, %105, %130, %108, %13, %4, %34
%133 = phi i32 [ %36, %34 ], [ 0, %4 ], [ 0, %13 ], [ %107, %105 ], [ 0, %108 ], [ 0, %130 ], [ %119, %113 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
ret i32 %133
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @is_submodule_active(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @is_submodule_populated_gently(ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @submodule_from_path(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @BUG(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @submodule_has_dirty_index(ptr noundef) local_unnamed_addr #3
declare i32 @error(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @_(ptr noundef) local_unnamed_addr #3
declare i32 @submodule_uses_gitfile(ptr noundef) local_unnamed_addr #3
declare i32 @absorb_git_dir_into_superproject(ptr noundef, i32 noundef) local_unnamed_addr #3
declare ptr @xstrfmt(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @get_git_common_dir(...) local_unnamed_addr #3
declare i32 @connect_work_tree_and_git_dir(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @free(ptr noundef) local_unnamed_addr #3
declare i32 @submodule_reset_index(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @prepare_submodule_repo_env(ptr noundef) local_unnamed_addr #3
declare i32 @argv_array_pushf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @get_super_prefix_or_empty(...) local_unnamed_addr #3
declare i32 @argv_array_pushl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #3
declare i32 @argv_array_push(ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @empty_tree_oid_hex(...) local_unnamed_addr #3
declare i64 @run_command(ptr noundef) local_unnamed_addr #3
declare i32 @child_process_init(ptr noundef) local_unnamed_addr #3
declare i32 @strbuf_addf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @unlink_or_warn(i32 noundef) local_unnamed_addr #3
declare i32 @strbuf_release(ptr noundef) local_unnamed_addr #3
declare i64 @is_empty_dir(ptr noundef) local_unnamed_addr #3
declare i32 @rmdir_or_warn(ptr noundef) local_unnamed_addr #3
declare i32 @submodule_unset_core_worktree(ptr noundef) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 8, !10, i64 16, i64 4, !6, i64 20, i64 4, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"submodule", !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"child_process", !7, i64 0, !7, i64 4, !11, i64 8, !7, i64 16, !7, i64 20}
!16 = !{!15, !7, i64 4}
!17 = !{!15, !11, i64 8}
!18 = !{!19, !7, i64 0}
!19 = !{!"strbuf", !7, i64 0}
|
; ModuleID = 'AnghaBench/git/extr_submodule.c_submodule_move_head.c'
source_filename = "AnghaBench/git/extr_submodule.c_submodule_move_head.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.child_process = type { i32, i32, ptr, i32, i32 }
%struct.strbuf = type { i32 }
@CHILD_PROCESS_INIT = common local_unnamed_addr global %struct.child_process zeroinitializer, align 8
@the_repository = common local_unnamed_addr global i32 0, align 4
@SUBMODULE_MOVE_HEAD_FORCE = common local_unnamed_addr global i32 0, align 4
@null_oid = common global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"could not get submodule information for '%s'\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"submodule '%s' has dirty index\00", align 1
@SUBMODULE_MOVE_HEAD_DRY_RUN = common local_unnamed_addr global i32 0, align 4
@ABSORB_GITDIR_RECURSE_SUBMODULES = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"%s/modules/%s\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"--super-prefix=%s%s/\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"read-tree\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"--recurse-submodules\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"-n\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"-u\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"--reset\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"-m\00", align 1
@.str.10 = private unnamed_addr constant [37 x i8] c"Submodule '%s' could not be updated.\00", align 1
@.str.11 = private unnamed_addr constant [11 x i8] c"update-ref\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"HEAD\00", align 1
@.str.13 = private unnamed_addr constant [11 x i8] c"--no-deref\00", align 1
@STRBUF_INIT = common local_unnamed_addr global %struct.strbuf zeroinitializer, align 4
@.str.14 = private unnamed_addr constant [8 x i8] c"%s/.git\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @submodule_move_head(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.child_process, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.strbuf, align 4
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) @CHILD_PROCESS_INIT, i64 24, i1 false), !tbaa.struct !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%8 = load i32, ptr @the_repository, align 4, !tbaa !7
%9 = tail call i32 @is_submodule_active(i32 noundef %8, ptr noundef %0) #4
%10 = icmp eq i32 %9, 0
br i1 %10, label %131, label %11
11: ; preds = %4
%12 = icmp eq ptr %1, null
br i1 %12, label %20, label %13
13: ; preds = %11
%14 = load i32, ptr @SUBMODULE_MOVE_HEAD_FORCE, align 4, !tbaa !7
%15 = and i32 %14, %3
%16 = icmp eq i32 %15, 0
%17 = select i1 %16, ptr null, ptr %6
%18 = call i32 @is_submodule_populated_gently(ptr noundef %0, ptr noundef %17) #4
%19 = icmp eq i32 %18, 0
br i1 %19, label %131, label %20
20: ; preds = %13, %11
%21 = load i32, ptr @the_repository, align 4, !tbaa !7
%22 = call ptr @submodule_from_path(i32 noundef %21, ptr noundef nonnull @null_oid, ptr noundef %0) #4
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @BUG(ptr noundef nonnull @.str, ptr noundef %0) #4
br label %26
26: ; preds = %24, %20
br i1 %12, label %41, label %27
27: ; preds = %26
%28 = load i32, ptr @SUBMODULE_MOVE_HEAD_FORCE, align 4, !tbaa !7
%29 = and i32 %28, %3
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %27
%32 = call i64 @submodule_has_dirty_index(ptr noundef %22) #4
%33 = icmp eq i64 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = call i32 @_(ptr noundef nonnull @.str.1) #4
%36 = call i32 @error(i32 noundef %35, ptr noundef %0) #4
br label %131
37: ; preds = %31, %27
%38 = load i32, ptr @SUBMODULE_MOVE_HEAD_DRY_RUN, align 4, !tbaa !7
%39 = and i32 %38, %3
%40 = icmp eq i32 %39, 0
br i1 %40, label %45, label %68
41: ; preds = %26
%42 = load i32, ptr @SUBMODULE_MOVE_HEAD_DRY_RUN, align 4, !tbaa !7
%43 = and i32 %42, %3
%44 = icmp eq i32 %43, 0
br i1 %44, label %51, label %68
45: ; preds = %37
%46 = call i32 @submodule_uses_gitfile(ptr noundef %0) #4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %58
48: ; preds = %45
%49 = load i32, ptr @ABSORB_GITDIR_RECURSE_SUBMODULES, align 4, !tbaa !7
%50 = call i32 @absorb_git_dir_into_superproject(ptr noundef %0, i32 noundef %49) #4
br label %58
51: ; preds = %41
%52 = call i32 @get_git_common_dir() #4
%53 = load i32, ptr %22, align 4, !tbaa !13
%54 = call ptr @xstrfmt(ptr noundef nonnull @.str.2, i32 noundef %52, i32 noundef %53) #4
%55 = call i32 @connect_work_tree_and_git_dir(ptr noundef %0, ptr noundef %54, i32 noundef 0) #4
%56 = call i32 @free(ptr noundef %54) #4
%57 = call i32 @submodule_reset_index(ptr noundef %0) #4
br label %68
58: ; preds = %45, %48
%59 = load i32, ptr @SUBMODULE_MOVE_HEAD_FORCE, align 4, !tbaa !7
%60 = and i32 %59, %3
%61 = icmp eq i32 %60, 0
br i1 %61, label %68, label %62
62: ; preds = %58
%63 = call i32 @get_git_common_dir() #4
%64 = load i32, ptr %22, align 4, !tbaa !13
%65 = call ptr @xstrfmt(ptr noundef nonnull @.str.2, i32 noundef %63, i32 noundef %64) #4
%66 = call i32 @connect_work_tree_and_git_dir(ptr noundef %0, ptr noundef %65, i32 noundef 1) #4
%67 = call i32 @free(ptr noundef %65) #4
br label %68
68: ; preds = %51, %41, %58, %62, %37
%69 = getelementptr inbounds i8, ptr %5, i64 20
%70 = call i32 @prepare_submodule_repo_env(ptr noundef nonnull %69) #4
store <2 x i32> <i32 1, i32 1>, ptr %5, align 8, !tbaa !7
%71 = getelementptr inbounds i8, ptr %5, i64 8
store ptr %0, ptr %71, align 8, !tbaa !15
%72 = getelementptr inbounds i8, ptr %5, i64 16
%73 = call i32 @get_super_prefix_or_empty() #4
%74 = call i32 @argv_array_pushf(ptr noundef nonnull %72, ptr noundef nonnull @.str.3, i32 noundef %73, ptr noundef %0) #4
%75 = call i32 (ptr, ptr, ptr, ptr, ...) @argv_array_pushl(ptr noundef nonnull %72, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, ptr noundef null) #4
%76 = load i32, ptr @SUBMODULE_MOVE_HEAD_DRY_RUN, align 4, !tbaa !7
%77 = and i32 %76, %3
%78 = icmp eq i32 %77, 0
%79 = select i1 %78, ptr @.str.7, ptr @.str.6
%80 = call i32 @argv_array_push(ptr noundef nonnull %72, ptr noundef nonnull %79) #4
%81 = load i32, ptr @SUBMODULE_MOVE_HEAD_FORCE, align 4, !tbaa !7
%82 = and i32 %81, %3
%83 = icmp eq i32 %82, 0
%84 = select i1 %83, ptr @.str.9, ptr @.str.8
%85 = call i32 @argv_array_push(ptr noundef nonnull %72, ptr noundef nonnull %84) #4
%86 = load i32, ptr @SUBMODULE_MOVE_HEAD_FORCE, align 4, !tbaa !7
%87 = and i32 %86, %3
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %95
89: ; preds = %68
br i1 %12, label %90, label %92
90: ; preds = %89
%91 = call ptr @empty_tree_oid_hex() #4
br label %92
92: ; preds = %89, %90
%93 = phi ptr [ %91, %90 ], [ %1, %89 ]
%94 = call i32 @argv_array_push(ptr noundef nonnull %72, ptr noundef %93) #4
br label %95
95: ; preds = %92, %68
%96 = icmp eq ptr %2, null
br i1 %96, label %97, label %99
97: ; preds = %95
%98 = call ptr @empty_tree_oid_hex() #4
br label %99
99: ; preds = %95, %97
%100 = phi ptr [ %98, %97 ], [ %2, %95 ]
%101 = call i32 @argv_array_push(ptr noundef nonnull %72, ptr noundef %100) #4
%102 = call i64 @run_command(ptr noundef nonnull %5) #4
%103 = icmp eq i64 %102, 0
br i1 %103, label %107, label %104
104: ; preds = %99
%105 = call i32 @_(ptr noundef nonnull @.str.10) #4
%106 = call i32 @error(i32 noundef %105, ptr noundef %0) #4
br label %131
107: ; preds = %99
%108 = load i32, ptr @SUBMODULE_MOVE_HEAD_DRY_RUN, align 4, !tbaa !7
%109 = and i32 %108, %3
%110 = icmp eq i32 %109, 0
br i1 %110, label %111, label %131
111: ; preds = %107
br i1 %96, label %119, label %112
112: ; preds = %111
%113 = call i32 @child_process_init(ptr noundef nonnull %5) #4
store <2 x i32> <i32 1, i32 1>, ptr %5, align 8, !tbaa !7
store ptr %0, ptr %71, align 8, !tbaa !15
%114 = call i32 @prepare_submodule_repo_env(ptr noundef nonnull %69) #4
%115 = call i32 (ptr, ptr, ptr, ptr, ...) @argv_array_pushl(ptr noundef nonnull %72, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.13, ptr noundef nonnull %2, ptr noundef null) #4
%116 = call i64 @run_command(ptr noundef nonnull %5) #4
%117 = icmp ne i64 %116, 0
%118 = sext i1 %117 to i32
br label %131
119: ; preds = %111
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
%120 = load i32, ptr @STRBUF_INIT, align 4, !tbaa !7
store i32 %120, ptr %7, align 4, !tbaa !7
%121 = call i32 @strbuf_addf(ptr noundef nonnull %7, ptr noundef nonnull @.str.14, ptr noundef %0) #4
%122 = load i32, ptr %7, align 4, !tbaa !17
%123 = call i32 @unlink_or_warn(i32 noundef %122) #4
%124 = call i32 @strbuf_release(ptr noundef nonnull %7) #4
%125 = call i64 @is_empty_dir(ptr noundef %0) #4
%126 = icmp eq i64 %125, 0
br i1 %126, label %129, label %127
127: ; preds = %119
%128 = call i32 @rmdir_or_warn(ptr noundef %0) #4
br label %129
129: ; preds = %127, %119
%130 = call i32 @submodule_unset_core_worktree(ptr noundef %22) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
br label %131
131: ; preds = %112, %104, %129, %107, %13, %4, %34
%132 = phi i32 [ %36, %34 ], [ 0, %4 ], [ 0, %13 ], [ %106, %104 ], [ 0, %107 ], [ 0, %129 ], [ %118, %112 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
ret i32 %132
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @is_submodule_active(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @is_submodule_populated_gently(ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @submodule_from_path(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @BUG(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @submodule_has_dirty_index(ptr noundef) local_unnamed_addr #3
declare i32 @error(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @_(ptr noundef) local_unnamed_addr #3
declare i32 @submodule_uses_gitfile(ptr noundef) local_unnamed_addr #3
declare i32 @absorb_git_dir_into_superproject(ptr noundef, i32 noundef) local_unnamed_addr #3
declare ptr @xstrfmt(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @get_git_common_dir(...) local_unnamed_addr #3
declare i32 @connect_work_tree_and_git_dir(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @free(ptr noundef) local_unnamed_addr #3
declare i32 @submodule_reset_index(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @prepare_submodule_repo_env(ptr noundef) local_unnamed_addr #3
declare i32 @argv_array_pushf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @get_super_prefix_or_empty(...) local_unnamed_addr #3
declare i32 @argv_array_pushl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #3
declare i32 @argv_array_push(ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @empty_tree_oid_hex(...) local_unnamed_addr #3
declare i64 @run_command(ptr noundef) local_unnamed_addr #3
declare i32 @child_process_init(ptr noundef) local_unnamed_addr #3
declare i32 @strbuf_addf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @unlink_or_warn(i32 noundef) local_unnamed_addr #3
declare i32 @strbuf_release(ptr noundef) local_unnamed_addr #3
declare i64 @is_empty_dir(ptr noundef) local_unnamed_addr #3
declare i32 @rmdir_or_warn(ptr noundef) local_unnamed_addr #3
declare i32 @submodule_unset_core_worktree(ptr noundef) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{i64 0, i64 4, !7, i64 4, i64 4, !7, i64 8, i64 8, !11, i64 16, i64 4, !7, i64 20, i64 4, !7}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"submodule", !8, i64 0}
!15 = !{!16, !12, i64 8}
!16 = !{!"child_process", !8, i64 0, !8, i64 4, !12, i64 8, !8, i64 16, !8, i64 20}
!17 = !{!18, !8, i64 0}
!18 = !{!"strbuf", !8, i64 0}
|
git_extr_submodule.c_submodule_move_head
|
; ModuleID = 'AnghaBench/freebsd/sys/ofed/drivers/infiniband/core/extr_ib_cm.c_cm_convert_to_ms.c'
source_filename = "AnghaBench/freebsd/sys/ofed/drivers/infiniband/core/extr_ib_cm.c_cm_convert_to_ms.c"
target datalayout = "e-m:e-p270:32:32-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 @cm_convert_to_ms], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @cm_convert_to_ms(i32 noundef %0) #0 {
%2 = add nsw i32 %0, -8
%3 = tail call i32 @max(i32 noundef %2, i32 noundef 0) #2
%4 = shl nuw i32 1, %3
ret i32 %4
}
declare i32 @max(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/freebsd/sys/ofed/drivers/infiniband/core/extr_ib_cm.c_cm_convert_to_ms.c'
source_filename = "AnghaBench/freebsd/sys/ofed/drivers/infiniband/core/extr_ib_cm.c_cm_convert_to_ms.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 @cm_convert_to_ms], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @cm_convert_to_ms(i32 noundef %0) #0 {
%2 = add nsw i32 %0, -8
%3 = tail call i32 @max(i32 noundef %2, i32 noundef 0) #2
%4 = shl nuw i32 1, %3
ret i32 %4
}
declare i32 @max(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)"}
|
freebsd_sys_ofed_drivers_infiniband_core_extr_ib_cm.c_cm_convert_to_ms
|
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_dir.c_ocfs2_dx_dir_new_cluster.c'
source_filename = "AnghaBench/linux/fs/ocfs2/extr_dir.c_ocfs2_dx_dir_new_cluster.c"
target datalayout = "e-m:e-p270:32:32-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 @ocfs2_dx_dir_new_cluster], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ocfs2_dx_dir_new_cluster(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
%10 = call i32 @__ocfs2_dx_dir_new_cluster(ptr noundef %0, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %6, i32 noundef %7, ptr noundef nonnull %9) #3
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %8
%13 = load i32, ptr %9, align 4, !tbaa !5
%14 = call i32 @ocfs2_insert_extent(ptr noundef %3, ptr noundef %1, i32 noundef %2, i32 noundef %13, i32 noundef 1, i32 noundef 0, ptr noundef %5) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %12, %8
%17 = phi i32 [ %10, %8 ], [ %14, %12 ]
%18 = call i32 @mlog_errno(i32 noundef %17) #3
br label %19
19: ; preds = %16, %12
%20 = phi i32 [ 0, %12 ], [ %17, %16 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
ret i32 %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @__ocfs2_dx_dir_new_cluster(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #2
declare i32 @ocfs2_insert_extent(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_dir.c_ocfs2_dx_dir_new_cluster.c'
source_filename = "AnghaBench/linux/fs/ocfs2/extr_dir.c_ocfs2_dx_dir_new_cluster.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 @ocfs2_dx_dir_new_cluster], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @ocfs2_dx_dir_new_cluster(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
%10 = call i32 @__ocfs2_dx_dir_new_cluster(ptr noundef %0, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %6, i32 noundef %7, ptr noundef nonnull %9) #3
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %8
%13 = load i32, ptr %9, align 4, !tbaa !6
%14 = call i32 @ocfs2_insert_extent(ptr noundef %3, ptr noundef %1, i32 noundef %2, i32 noundef %13, i32 noundef 1, i32 noundef 0, ptr noundef %5) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %12, %8
%17 = phi i32 [ %10, %8 ], [ %14, %12 ]
%18 = call i32 @mlog_errno(i32 noundef %17) #3
br label %19
19: ; preds = %16, %12
%20 = phi i32 [ 0, %12 ], [ %17, %16 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
ret i32 %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @__ocfs2_dx_dir_new_cluster(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #2
declare i32 @ocfs2_insert_extent(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_fs_ocfs2_extr_dir.c_ocfs2_dx_dir_new_cluster
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_machine.c_thread__resolve_callchain.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_machine.c_thread__resolve_callchain.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64 }
@callchain_param = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@ORDER_CALLEE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @thread__resolve_callchain(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = tail call i32 @callchain_cursor_reset(ptr noundef %1) #2
%9 = load i64, ptr @callchain_param, align 8, !tbaa !5
%10 = load i64, ptr @ORDER_CALLEE, align 8, !tbaa !10
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %17
12: ; preds = %7
%13 = tail call i32 @thread__resolve_callchain_sample(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %12
%16 = tail call i32 @thread__resolve_callchain_unwind(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %6) #2
br label %22
17: ; preds = %7
%18 = tail call i32 @thread__resolve_callchain_unwind(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %6) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = tail call i32 @thread__resolve_callchain_sample(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #2
br label %22
22: ; preds = %15, %20, %17, %12
%23 = phi i32 [ %13, %12 ], [ %18, %17 ], [ %16, %15 ], [ %21, %20 ]
ret i32 %23
}
declare i32 @callchain_cursor_reset(ptr noundef) local_unnamed_addr #1
declare i32 @thread__resolve_callchain_sample(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @thread__resolve_callchain_unwind(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_machine.c_thread__resolve_callchain.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_machine.c_thread__resolve_callchain.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64 }
@callchain_param = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@ORDER_CALLEE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @thread__resolve_callchain(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = tail call i32 @callchain_cursor_reset(ptr noundef %1) #2
%9 = load i64, ptr @callchain_param, align 8, !tbaa !6
%10 = load i64, ptr @ORDER_CALLEE, align 8, !tbaa !11
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %17
12: ; preds = %7
%13 = tail call i32 @thread__resolve_callchain_sample(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %12
%16 = tail call i32 @thread__resolve_callchain_unwind(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %6) #2
br label %22
17: ; preds = %7
%18 = tail call i32 @thread__resolve_callchain_unwind(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %6) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = tail call i32 @thread__resolve_callchain_sample(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #2
br label %22
22: ; preds = %15, %20, %17, %12
%23 = phi i32 [ %13, %12 ], [ %18, %17 ], [ %16, %15 ], [ %21, %20 ]
ret i32 %23
}
declare i32 @callchain_cursor_reset(ptr noundef) local_unnamed_addr #1
declare i32 @thread__resolve_callchain_sample(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @thread__resolve_callchain_unwind(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
|
linux_tools_perf_util_extr_machine.c_thread__resolve_callchain
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv515.c_rv515_mc_wait_for_idle.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv515.c_rv515_mc_wait_for_idle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MC_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@MC_STATUS_IDLE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @rv515_mc_wait_for_idle(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %16, label %4
4: ; preds = %1, %11
%5 = phi i32 [ %13, %11 ], [ 0, %1 ]
%6 = load i32, ptr @MC_STATUS, align 4, !tbaa !10
%7 = tail call i32 @RREG32_MC(i32 noundef %6) #2
%8 = load i32, ptr @MC_STATUS_IDLE, align 4, !tbaa !10
%9 = and i32 %8, %7
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %4
%12 = tail call i32 @udelay(i32 noundef 1) #2
%13 = add nuw i32 %5, 1
%14 = load i32, ptr %0, align 4, !tbaa !5
%15 = icmp ult i32 %13, %14
br i1 %15, label %4, label %16, !llvm.loop !11
16: ; preds = %4, %11, %1
%17 = phi i32 [ -1, %1 ], [ -1, %11 ], [ 0, %4 ]
ret i32 %17
}
declare i32 @RREG32_MC(i32 noundef) local_unnamed_addr #1
declare i32 @udelay(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 = !{!"radeon_device", !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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv515.c_rv515_mc_wait_for_idle.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv515.c_rv515_mc_wait_for_idle.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MC_STATUS = common local_unnamed_addr global i32 0, align 4
@MC_STATUS_IDLE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @rv515_mc_wait_for_idle(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %16, label %4
4: ; preds = %1, %11
%5 = phi i32 [ %13, %11 ], [ 0, %1 ]
%6 = load i32, ptr @MC_STATUS, align 4, !tbaa !11
%7 = tail call i32 @RREG32_MC(i32 noundef %6) #2
%8 = load i32, ptr @MC_STATUS_IDLE, align 4, !tbaa !11
%9 = and i32 %8, %7
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %4
%12 = tail call i32 @udelay(i32 noundef 1) #2
%13 = add nuw i32 %5, 1
%14 = load i32, ptr %0, align 4, !tbaa !6
%15 = icmp ult i32 %13, %14
br i1 %15, label %4, label %16, !llvm.loop !12
16: ; preds = %4, %11, %1
%17 = phi i32 [ -1, %1 ], [ -1, %11 ], [ 0, %4 ]
ret i32 %17
}
declare i32 @RREG32_MC(i32 noundef) local_unnamed_addr #1
declare i32 @udelay(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 = !{!"radeon_device", !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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_gpu_drm_radeon_extr_rv515.c_rv515_mc_wait_for_idle
|
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/ia64/extr_unwind-ia64.c_desc_gr_mem.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/config/ia64/extr_unwind-ia64.c_desc_gr_mem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.unw_state_record = type { i32, i64, i64, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64 }
@UNW_REG_R4 = dso_local local_unnamed_addr global i64 0, align 8
@UNW_WHERE_SPILL_HOME = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @desc_gr_mem], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @desc_gr_mem(i8 noundef zeroext %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds %struct.unw_state_record, ptr %1, i64 0, i32 3
%4 = getelementptr inbounds %struct.unw_state_record, ptr %1, i64 0, i32 2
%5 = getelementptr inbounds %struct.unw_state_record, ptr %1, i64 0, i32 1
%6 = and i8 %0, 1
%7 = icmp eq i8 %6, 0
br i1 %7, label %18, label %8
8: ; preds = %2
%9 = load i64, ptr %3, align 8, !tbaa !5
%10 = load i64, ptr @UNW_REG_R4, align 8, !tbaa !12
%11 = add i64 %9, %10
%12 = load i32, ptr @UNW_WHERE_SPILL_HOME, align 4, !tbaa !13
%13 = load i64, ptr %4, align 8, !tbaa !14
%14 = load i64, ptr %5, align 8, !tbaa !15
%15 = add i64 %13, -1
%16 = add i64 %15, %14
%17 = tail call i32 @set_reg(i64 noundef %11, i32 noundef %12, i64 noundef %16, i32 noundef 0) #2
store i32 1, ptr %1, align 8, !tbaa !16
br label %18
18: ; preds = %8, %2
%19 = and i8 %0, 2
%20 = icmp eq i8 %19, 0
br i1 %20, label %32, label %21
21: ; preds = %18
%22 = load i64, ptr %3, align 8, !tbaa !5
%23 = load i64, ptr @UNW_REG_R4, align 8, !tbaa !12
%24 = add i64 %22, 1
%25 = add i64 %24, %23
%26 = load i32, ptr @UNW_WHERE_SPILL_HOME, align 4, !tbaa !13
%27 = load i64, ptr %4, align 8, !tbaa !14
%28 = load i64, ptr %5, align 8, !tbaa !15
%29 = add i64 %27, -1
%30 = add i64 %29, %28
%31 = tail call i32 @set_reg(i64 noundef %25, i32 noundef %26, i64 noundef %30, i32 noundef 0) #2
store i32 1, ptr %1, align 8, !tbaa !16
br label %32
32: ; preds = %21, %18
%33 = and i8 %0, 4
%34 = icmp eq i8 %33, 0
br i1 %34, label %46, label %35
35: ; preds = %32
%36 = load i64, ptr %3, align 8, !tbaa !5
%37 = load i64, ptr @UNW_REG_R4, align 8, !tbaa !12
%38 = add i64 %36, 2
%39 = add i64 %38, %37
%40 = load i32, ptr @UNW_WHERE_SPILL_HOME, align 4, !tbaa !13
%41 = load i64, ptr %4, align 8, !tbaa !14
%42 = load i64, ptr %5, align 8, !tbaa !15
%43 = add i64 %41, -1
%44 = add i64 %43, %42
%45 = tail call i32 @set_reg(i64 noundef %39, i32 noundef %40, i64 noundef %44, i32 noundef 0) #2
store i32 1, ptr %1, align 8, !tbaa !16
br label %46
46: ; preds = %35, %32
%47 = and i8 %0, 8
%48 = icmp eq i8 %47, 0
br i1 %48, label %60, label %49
49: ; preds = %46
%50 = load i64, ptr %3, align 8, !tbaa !5
%51 = load i64, ptr @UNW_REG_R4, align 8, !tbaa !12
%52 = add i64 %50, 3
%53 = add i64 %52, %51
%54 = load i32, ptr @UNW_WHERE_SPILL_HOME, align 4, !tbaa !13
%55 = load i64, ptr %4, align 8, !tbaa !14
%56 = load i64, ptr %5, align 8, !tbaa !15
%57 = add i64 %55, -1
%58 = add i64 %57, %56
%59 = tail call i32 @set_reg(i64 noundef %53, i32 noundef %54, i64 noundef %58, i32 noundef 0) #2
store i32 1, ptr %1, align 8, !tbaa !16
br label %60
60: ; preds = %49, %46
ret void
}
declare i32 @set_reg(i64 noundef, i32 noundef, i64 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, !10, i64 24}
!6 = !{!"unw_state_record", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"TYPE_2__", !10, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !10, i64 16}
!15 = !{!6, !10, i64 8}
!16 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/ia64/extr_unwind-ia64.c_desc_gr_mem.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/config/ia64/extr_unwind-ia64.c_desc_gr_mem.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UNW_REG_R4 = common local_unnamed_addr global i64 0, align 8
@UNW_WHERE_SPILL_HOME = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @desc_gr_mem], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @desc_gr_mem(i8 noundef zeroext %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 24
%4 = getelementptr inbounds i8, ptr %1, i64 16
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = and i8 %0, 1
%7 = icmp eq i8 %6, 0
br i1 %7, label %18, label %8
8: ; preds = %2
%9 = load i64, ptr %3, align 8, !tbaa !6
%10 = load i64, ptr @UNW_REG_R4, align 8, !tbaa !13
%11 = add i64 %9, %10
%12 = load i32, ptr @UNW_WHERE_SPILL_HOME, align 4, !tbaa !14
%13 = load i64, ptr %4, align 8, !tbaa !15
%14 = load i64, ptr %5, align 8, !tbaa !16
%15 = add i64 %13, -1
%16 = add i64 %15, %14
%17 = tail call i32 @set_reg(i64 noundef %11, i32 noundef %12, i64 noundef %16, i32 noundef 0) #2
store i32 1, ptr %1, align 8, !tbaa !17
br label %18
18: ; preds = %8, %2
%19 = and i8 %0, 2
%20 = icmp eq i8 %19, 0
br i1 %20, label %32, label %21
21: ; preds = %18
%22 = load i64, ptr %3, align 8, !tbaa !6
%23 = load i64, ptr @UNW_REG_R4, align 8, !tbaa !13
%24 = add i64 %22, 1
%25 = add i64 %24, %23
%26 = load i32, ptr @UNW_WHERE_SPILL_HOME, align 4, !tbaa !14
%27 = load i64, ptr %4, align 8, !tbaa !15
%28 = load i64, ptr %5, align 8, !tbaa !16
%29 = add i64 %27, -1
%30 = add i64 %29, %28
%31 = tail call i32 @set_reg(i64 noundef %25, i32 noundef %26, i64 noundef %30, i32 noundef 0) #2
store i32 1, ptr %1, align 8, !tbaa !17
br label %32
32: ; preds = %21, %18
%33 = and i8 %0, 4
%34 = icmp eq i8 %33, 0
br i1 %34, label %46, label %35
35: ; preds = %32
%36 = load i64, ptr %3, align 8, !tbaa !6
%37 = load i64, ptr @UNW_REG_R4, align 8, !tbaa !13
%38 = add i64 %36, 2
%39 = add i64 %38, %37
%40 = load i32, ptr @UNW_WHERE_SPILL_HOME, align 4, !tbaa !14
%41 = load i64, ptr %4, align 8, !tbaa !15
%42 = load i64, ptr %5, align 8, !tbaa !16
%43 = add i64 %41, -1
%44 = add i64 %43, %42
%45 = tail call i32 @set_reg(i64 noundef %39, i32 noundef %40, i64 noundef %44, i32 noundef 0) #2
store i32 1, ptr %1, align 8, !tbaa !17
br label %46
46: ; preds = %35, %32
%47 = and i8 %0, 8
%48 = icmp eq i8 %47, 0
br i1 %48, label %60, label %49
49: ; preds = %46
%50 = load i64, ptr %3, align 8, !tbaa !6
%51 = load i64, ptr @UNW_REG_R4, align 8, !tbaa !13
%52 = add i64 %50, 3
%53 = add i64 %52, %51
%54 = load i32, ptr @UNW_WHERE_SPILL_HOME, align 4, !tbaa !14
%55 = load i64, ptr %4, align 8, !tbaa !15
%56 = load i64, ptr %5, align 8, !tbaa !16
%57 = add i64 %55, -1
%58 = add i64 %57, %56
%59 = tail call i32 @set_reg(i64 noundef %53, i32 noundef %54, i64 noundef %58, i32 noundef 0) #2
store i32 1, ptr %1, align 8, !tbaa !17
br label %60
60: ; preds = %49, %46
ret void
}
declare i32 @set_reg(i64 noundef, i32 noundef, i64 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, !11, i64 24}
!7 = !{!"unw_state_record", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"TYPE_2__", !11, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !11, i64 16}
!16 = !{!7, !11, i64 8}
!17 = !{!7, !8, i64 0}
|
freebsd_contrib_gcc_config_ia64_extr_unwind-ia64.c_desc_gr_mem
|
; ModuleID = 'AnghaBench/streem/src/extr_sort.c_str_cmp.c'
source_filename = "AnghaBench/streem/src/extr_sort.c_str_cmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @str_cmp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @str_cmp(i32 noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @strm_value_str(i32 noundef %0) #3
%4 = tail call i32 @strm_value_str(i32 noundef %1) #3
%5 = tail call i64 @strm_str_len(i32 noundef %3) #3
%6 = tail call i64 @strm_str_len(i32 noundef %4) #3
%7 = tail call i64 @llvm.smin.i64(i64 %5, i64 %6)
%8 = tail call i32 @strm_str_ptr(i32 noundef %3) #3
%9 = tail call i32 @strm_str_ptr(i32 noundef %4) #3
%10 = tail call i64 @memcmp(i32 noundef %8, i32 noundef %9, i64 noundef %7) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = icmp sgt i64 %5, %6
br i1 %13, label %18, label %14
14: ; preds = %12
%15 = icmp sgt i64 %6, %5
br i1 %15, label %18, label %16
16: ; preds = %14, %2
%17 = trunc i64 %10 to i32
br label %18
18: ; preds = %14, %12, %16
%19 = phi i32 [ %17, %16 ], [ 1, %12 ], [ -1, %14 ]
ret i32 %19
}
declare i32 @strm_value_str(i32 noundef) local_unnamed_addr #1
declare i64 @strm_str_len(i32 noundef) local_unnamed_addr #1
declare i64 @memcmp(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @strm_str_ptr(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.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)"}
|
; ModuleID = 'AnghaBench/streem/src/extr_sort.c_str_cmp.c'
source_filename = "AnghaBench/streem/src/extr_sort.c_str_cmp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @str_cmp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @str_cmp(i32 noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @strm_value_str(i32 noundef %0) #3
%4 = tail call i32 @strm_value_str(i32 noundef %1) #3
%5 = tail call i64 @strm_str_len(i32 noundef %3) #3
%6 = tail call i64 @strm_str_len(i32 noundef %4) #3
%7 = tail call i64 @llvm.smin.i64(i64 %5, i64 %6)
%8 = tail call i32 @strm_str_ptr(i32 noundef %3) #3
%9 = tail call i32 @strm_str_ptr(i32 noundef %4) #3
%10 = tail call i64 @memcmp(i32 noundef %8, i32 noundef %9, i64 noundef %7) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = icmp sgt i64 %5, %6
br i1 %13, label %18, label %14
14: ; preds = %12
%15 = icmp sgt i64 %6, %5
br i1 %15, label %18, label %16
16: ; preds = %14, %2
%17 = trunc i64 %10 to i32
br label %18
18: ; preds = %14, %12, %16
%19 = phi i32 [ %17, %16 ], [ 1, %12 ], [ -1, %14 ]
ret i32 %19
}
declare i32 @strm_value_str(i32 noundef) local_unnamed_addr #1
declare i64 @strm_str_len(i32 noundef) local_unnamed_addr #1
declare i64 @memcmp(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @strm_str_ptr(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.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)"}
|
streem_src_extr_sort.c_str_cmp
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-pmp.c_sata_pmp_handle_link_fail.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-pmp.c_sata_pmp_handle_link_fail.c"
target datalayout = "e-m:e-p270:32:32-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_link = type { i64, i32, %struct.TYPE_4__, i32, ptr }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
@ATA_LFLAG_DISABLED = dso_local local_unnamed_addr global i32 0, align 4
@KERN_WARNING = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"failed to recover link after %d tries, disabling\0A\00", align 1
@ATA_EH_PMP_LINK_TRIES = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sata_pmp_handle_link_fail], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @sata_pmp_handle_link_fail(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds %struct.ata_link, ptr %0, i64 0, i32 4
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %0, align 8, !tbaa !14
%6 = getelementptr inbounds i32, ptr %1, i64 %5
%7 = load i32, ptr %6, align 4, !tbaa !15
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = add nsw i32 %7, -1
store i32 %10, ptr %6, align 4, !tbaa !15
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %34
12: ; preds = %9, %2
%13 = getelementptr inbounds %struct.ata_link, ptr %0, i64 0, i32 1
%14 = load i32, ptr %13, align 8, !tbaa !16
%15 = load i32, ptr @ATA_LFLAG_DISABLED, align 4, !tbaa !15
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %29
18: ; preds = %12
%19 = load i32, ptr @KERN_WARNING, align 4, !tbaa !15
%20 = load i32, ptr @ATA_EH_PMP_LINK_TRIES, align 4, !tbaa !15
%21 = tail call i32 @ata_link_printk(ptr noundef nonnull %0, i32 noundef %19, ptr noundef nonnull @.str, i32 noundef %20) #2
%22 = load i32, ptr %4, align 4, !tbaa !17
%23 = tail call i32 @spin_lock_irqsave(i32 noundef %22, i64 noundef undef) #2
%24 = load i32, ptr @ATA_LFLAG_DISABLED, align 4, !tbaa !15
%25 = load i32, ptr %13, align 8, !tbaa !16
%26 = or i32 %25, %24
store i32 %26, ptr %13, align 8, !tbaa !16
%27 = load i32, ptr %4, align 4, !tbaa !17
%28 = tail call i32 @spin_unlock_irqrestore(i32 noundef %27, i64 noundef undef) #2
br label %29
29: ; preds = %18, %12
%30 = getelementptr inbounds %struct.ata_link, ptr %0, i64 0, i32 3
%31 = load i32, ptr %30, align 8, !tbaa !19
%32 = tail call i32 @ata_dev_disable(i32 noundef %31) #2
%33 = getelementptr inbounds %struct.ata_link, ptr %0, i64 0, i32 2
store i64 0, ptr %33, align 8, !tbaa !20
br label %34
34: ; preds = %9, %29
%35 = phi i32 [ 0, %29 ], [ 1, %9 ]
ret i32 %35
}
declare i32 @ata_link_printk(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ata_dev_disable(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !13, i64 32}
!6 = !{!"ata_link", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24, !13, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !7, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!10, !10, i64 0}
!16 = !{!6, !10, i64 8}
!17 = !{!18, !10, i64 0}
!18 = !{!"ata_port", !10, i64 0}
!19 = !{!6, !10, i64 24}
!20 = !{!6, !7, i64 16}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-pmp.c_sata_pmp_handle_link_fail.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-pmp.c_sata_pmp_handle_link_fail.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATA_LFLAG_DISABLED = common local_unnamed_addr global i32 0, align 4
@KERN_WARNING = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"failed to recover link after %d tries, disabling\0A\00", align 1
@ATA_EH_PMP_LINK_TRIES = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sata_pmp_handle_link_fail], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @sata_pmp_handle_link_fail(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %0, align 8, !tbaa !15
%6 = getelementptr inbounds i32, ptr %1, i64 %5
%7 = load i32, ptr %6, align 4, !tbaa !16
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = add nsw i32 %7, -1
store i32 %10, ptr %6, align 4, !tbaa !16
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %34
12: ; preds = %9, %2
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load i32, ptr %13, align 8, !tbaa !17
%15 = load i32, ptr @ATA_LFLAG_DISABLED, align 4, !tbaa !16
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %29
18: ; preds = %12
%19 = load i32, ptr @KERN_WARNING, align 4, !tbaa !16
%20 = load i32, ptr @ATA_EH_PMP_LINK_TRIES, align 4, !tbaa !16
%21 = tail call i32 @ata_link_printk(ptr noundef nonnull %0, i32 noundef %19, ptr noundef nonnull @.str, i32 noundef %20) #2
%22 = load i32, ptr %4, align 4, !tbaa !18
%23 = tail call i32 @spin_lock_irqsave(i32 noundef %22, i64 noundef undef) #2
%24 = load i32, ptr @ATA_LFLAG_DISABLED, align 4, !tbaa !16
%25 = load i32, ptr %13, align 8, !tbaa !17
%26 = or i32 %25, %24
store i32 %26, ptr %13, align 8, !tbaa !17
%27 = load i32, ptr %4, align 4, !tbaa !18
%28 = tail call i32 @spin_unlock_irqrestore(i32 noundef %27, i64 noundef undef) #2
br label %29
29: ; preds = %18, %12
%30 = getelementptr inbounds i8, ptr %0, i64 24
%31 = load i32, ptr %30, align 8, !tbaa !20
%32 = tail call i32 @ata_dev_disable(i32 noundef %31) #2
%33 = getelementptr inbounds i8, ptr %0, i64 16
store i64 0, ptr %33, align 8, !tbaa !21
br label %34
34: ; preds = %9, %29
%35 = phi i32 [ 0, %29 ], [ 1, %9 ]
ret i32 %35
}
declare i32 @ata_link_printk(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ata_dev_disable(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !14, i64 32}
!7 = !{!"ata_link", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 24, !14, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !8, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!7, !11, i64 8}
!18 = !{!19, !11, i64 0}
!19 = !{!"ata_port", !11, i64 0}
!20 = !{!7, !11, i64 24}
!21 = !{!7, !8, i64 16}
|
fastsocket_kernel_drivers_ata_extr_libata-pmp.c_sata_pmp_handle_link_fail
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_ucm.c_ib_ucm_new_cm_id.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_ucm.c_ib_ucm_new_cm_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"
@IB_CM_REQ_RECEIVED = dso_local local_unnamed_addr global i32 0, align 4
@IB_CM_SIDR_REQ_RECEIVED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ib_ucm_new_cm_id], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @ib_ucm_new_cm_id(i32 noundef %0) #0 {
%2 = load i32, ptr @IB_CM_REQ_RECEIVED, align 4, !tbaa !5
%3 = icmp eq i32 %2, %0
%4 = load i32, ptr @IB_CM_SIDR_REQ_RECEIVED, align 4
%5 = icmp eq i32 %4, %0
%6 = select i1 %3, i1 true, i1 %5
%7 = zext i1 %6 to i32
ret i32 %7
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_ucm.c_ib_ucm_new_cm_id.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_ucm.c_ib_ucm_new_cm_id.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IB_CM_REQ_RECEIVED = common local_unnamed_addr global i32 0, align 4
@IB_CM_SIDR_REQ_RECEIVED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ib_ucm_new_cm_id], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @ib_ucm_new_cm_id(i32 noundef %0) #0 {
%2 = load i32, ptr @IB_CM_REQ_RECEIVED, align 4, !tbaa !6
%3 = icmp eq i32 %2, %0
%4 = load i32, ptr @IB_CM_SIDR_REQ_RECEIVED, align 4
%5 = icmp eq i32 %4, %0
%6 = select i1 %3, i1 true, i1 %5
%7 = zext i1 %6 to i32
ret i32 %7
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
fastsocket_kernel_drivers_infiniband_core_extr_ucm.c_ib_ucm_new_cm_id
|
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-mt7622.c_mtk_rtc_getalarm.c'
source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-mt7622.c_mtk_rtc_getalarm.c"
target datalayout = "e-m:e-p270:32:32-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.rtc_wkalrm = type { i32, i32, %struct.rtc_time }
%struct.rtc_time = type { i32 }
@MTK_AL = dso_local local_unnamed_addr global i32 0, align 4
@MTK_RTC_AL_CTL = dso_local local_unnamed_addr global i32 0, align 4
@RTC_AL_EN = dso_local local_unnamed_addr global i32 0, align 4
@MTK_RTC_INT = dso_local local_unnamed_addr global i32 0, align 4
@RTC_INT_AL_STA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mtk_rtc_getalarm], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @mtk_rtc_getalarm(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.rtc_wkalrm, ptr %1, i64 0, i32 2
%5 = load i32, ptr @MTK_AL, align 4, !tbaa !5
%6 = tail call i32 @mtk_rtc_get_alarm_or_time(ptr noundef %3, ptr noundef nonnull %4, i32 noundef %5) #2
%7 = load i32, ptr @MTK_RTC_AL_CTL, align 4, !tbaa !5
%8 = tail call i32 @mtk_r32(ptr noundef %3, i32 noundef %7) #2
%9 = load i32, ptr @RTC_AL_EN, align 4, !tbaa !5
%10 = and i32 %9, %8
%11 = icmp ne i32 %10, 0
%12 = zext i1 %11 to i32
store i32 %12, ptr %1, align 4, !tbaa !9
%13 = load i32, ptr @MTK_RTC_INT, align 4, !tbaa !5
%14 = tail call i32 @mtk_r32(ptr noundef %3, i32 noundef %13) #2
%15 = load i32, ptr @RTC_INT_AL_STA, align 4, !tbaa !5
%16 = and i32 %15, %14
%17 = icmp ne i32 %16, 0
%18 = zext i1 %17 to i32
%19 = getelementptr inbounds %struct.rtc_wkalrm, ptr %1, i64 0, i32 1
store i32 %18, ptr %19, align 4, !tbaa !12
ret i32 0
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @mtk_rtc_get_alarm_or_time(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtk_r32(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 = !{!"rtc_wkalrm", !6, i64 0, !6, i64 4, !11, i64 8}
!11 = !{!"rtc_time", !6, i64 0}
!12 = !{!10, !6, i64 4}
|
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-mt7622.c_mtk_rtc_getalarm.c'
source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-mt7622.c_mtk_rtc_getalarm.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MTK_AL = common local_unnamed_addr global i32 0, align 4
@MTK_RTC_AL_CTL = common local_unnamed_addr global i32 0, align 4
@RTC_AL_EN = common local_unnamed_addr global i32 0, align 4
@MTK_RTC_INT = common local_unnamed_addr global i32 0, align 4
@RTC_INT_AL_STA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mtk_rtc_getalarm], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @mtk_rtc_getalarm(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load i32, ptr @MTK_AL, align 4, !tbaa !6
%6 = tail call i32 @mtk_rtc_get_alarm_or_time(ptr noundef %3, ptr noundef nonnull %4, i32 noundef %5) #2
%7 = load i32, ptr @MTK_RTC_AL_CTL, align 4, !tbaa !6
%8 = tail call i32 @mtk_r32(ptr noundef %3, i32 noundef %7) #2
%9 = load i32, ptr @RTC_AL_EN, align 4, !tbaa !6
%10 = and i32 %9, %8
%11 = icmp ne i32 %10, 0
%12 = zext i1 %11 to i32
store i32 %12, ptr %1, align 4, !tbaa !10
%13 = load i32, ptr @MTK_RTC_INT, align 4, !tbaa !6
%14 = tail call i32 @mtk_r32(ptr noundef %3, i32 noundef %13) #2
%15 = load i32, ptr @RTC_INT_AL_STA, align 4, !tbaa !6
%16 = and i32 %15, %14
%17 = icmp ne i32 %16, 0
%18 = zext i1 %17 to i32
%19 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %18, ptr %19, align 4, !tbaa !13
ret i32 0
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @mtk_rtc_get_alarm_or_time(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtk_r32(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 = !{!"rtc_wkalrm", !7, i64 0, !7, i64 4, !12, i64 8}
!12 = !{!"rtc_time", !7, i64 0}
!13 = !{!11, !7, i64 4}
|
linux_drivers_rtc_extr_rtc-mt7622.c_mtk_rtc_getalarm
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/c67x00/extr_c67x00-sched.c_c67x00_handle_isoc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/c67x00/extr_c67x00-sched.c_c67x00_handle_isoc.c"
target datalayout = "e-m:e-p270:32:32-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.c67x00_td = type { i32, i32, ptr }
%struct.urb = type { i32, ptr, i32, ptr }
%struct.TYPE_2__ = type { i32, i32 }
@TD_ERROR_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @c67x00_handle_isoc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @c67x00_handle_isoc(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.c67x00_td, ptr %1, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %31, label %6
6: ; preds = %2
%7 = load i32, ptr %1, align 8, !tbaa !11
%8 = getelementptr inbounds %struct.c67x00_td, ptr %1, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = load i32, ptr @TD_ERROR_MASK, align 4, !tbaa !13
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %6
%14 = getelementptr inbounds %struct.urb, ptr %4, i64 0, i32 2
%15 = load i32, ptr %14, align 8, !tbaa !14
%16 = add nsw i32 %15, 1
store i32 %16, ptr %14, align 8, !tbaa !14
br label %17
17: ; preds = %13, %6
%18 = tail call i32 @td_actual_bytes(ptr noundef nonnull %1) #2
%19 = getelementptr inbounds %struct.urb, ptr %4, i64 0, i32 1
%20 = load ptr, ptr %19, align 8, !tbaa !16
%21 = sext i32 %7 to i64
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21, i32 1
store i32 %18, ptr %22, align 4, !tbaa !17
%23 = tail call i32 @c67x00_td_to_error(ptr noundef %0, ptr noundef nonnull %1) #2
%24 = load ptr, ptr %19, align 8, !tbaa !16
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i64 %21
store i32 %23, ptr %25, align 4, !tbaa !19
%26 = add nsw i32 %7, 1
%27 = load i32, ptr %4, align 8, !tbaa !20
%28 = icmp eq i32 %26, %27
br i1 %28, label %29, label %31
29: ; preds = %17
%30 = tail call i32 @c67x00_giveback_urb(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 0) #2
br label %31
31: ; preds = %17, %29, %2
ret void
}
declare i32 @td_actual_bytes(ptr noundef) local_unnamed_addr #1
declare i32 @c67x00_td_to_error(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @c67x00_giveback_urb(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, !10, i64 8}
!6 = !{!"c67x00_td", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !7, i64 16}
!15 = !{!"urb", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24}
!16 = !{!15, !10, i64 8}
!17 = !{!18, !7, i64 4}
!18 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!19 = !{!18, !7, i64 0}
!20 = !{!15, !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/c67x00/extr_c67x00-sched.c_c67x00_handle_isoc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/c67x00/extr_c67x00-sched.c_c67x00_handle_isoc.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, i32 }
@TD_ERROR_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @c67x00_handle_isoc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @c67x00_handle_isoc(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %31, label %6
6: ; preds = %2
%7 = load i32, ptr %1, align 8, !tbaa !12
%8 = getelementptr inbounds i8, ptr %1, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = load i32, ptr @TD_ERROR_MASK, align 4, !tbaa !14
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %6
%14 = getelementptr inbounds i8, ptr %4, i64 16
%15 = load i32, ptr %14, align 8, !tbaa !15
%16 = add nsw i32 %15, 1
store i32 %16, ptr %14, align 8, !tbaa !15
br label %17
17: ; preds = %13, %6
%18 = tail call i32 @td_actual_bytes(ptr noundef nonnull %1) #2
%19 = getelementptr inbounds i8, ptr %4, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !17
%21 = sext i32 %7 to i64
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21, i32 1
store i32 %18, ptr %22, align 4, !tbaa !18
%23 = tail call i32 @c67x00_td_to_error(ptr noundef %0, ptr noundef nonnull %1) #2
%24 = load ptr, ptr %19, align 8, !tbaa !17
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i64 %21
store i32 %23, ptr %25, align 4, !tbaa !20
%26 = add nsw i32 %7, 1
%27 = load i32, ptr %4, align 8, !tbaa !21
%28 = icmp eq i32 %26, %27
br i1 %28, label %29, label %31
29: ; preds = %17
%30 = tail call i32 @c67x00_giveback_urb(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 0) #2
br label %31
31: ; preds = %17, %29, %2
ret void
}
declare i32 @td_actual_bytes(ptr noundef) local_unnamed_addr #1
declare i32 @c67x00_td_to_error(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @c67x00_giveback_urb(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, !11, i64 8}
!7 = !{!"c67x00_td", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!7, !8, i64 4}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !8, i64 16}
!16 = !{!"urb", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24}
!17 = !{!16, !11, i64 8}
!18 = !{!19, !8, i64 4}
!19 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!20 = !{!19, !8, i64 0}
!21 = !{!16, !8, i64 0}
|
fastsocket_kernel_drivers_usb_c67x00_extr_c67x00-sched.c_c67x00_handle_isoc
|
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_cmpa_32_di.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_cmpa_32_di.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AX = dso_local local_unnamed_addr global i64 0, align 8
@FLAG_N = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_V = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_C = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @m68k_op_cmpa_32_di() local_unnamed_addr #0 {
%1 = tail call i64 (...) @OPER_AY_DI_32() #2
%2 = load i64, ptr @AX, align 8, !tbaa !5
%3 = sub nsw i64 %2, %1
%4 = tail call i32 @NFLAG_32(i64 noundef %3) #2
store i32 %4, ptr @FLAG_N, align 4, !tbaa !9
%5 = tail call i32 @MASK_OUT_ABOVE_32(i64 noundef %3) #2
store i32 %5, ptr @FLAG_Z, align 4, !tbaa !9
%6 = tail call i32 @VFLAG_SUB_32(i64 noundef %1, i64 noundef %2, i64 noundef %3) #2
store i32 %6, ptr @FLAG_V, align 4, !tbaa !9
%7 = tail call i32 @CFLAG_SUB_32(i64 noundef %1, i64 noundef %2, i64 noundef %3) #2
store i32 %7, ptr @FLAG_C, align 4, !tbaa !9
ret void
}
declare i64 @OPER_AY_DI_32(...) local_unnamed_addr #1
declare i32 @NFLAG_32(i64 noundef) local_unnamed_addr #1
declare i32 @MASK_OUT_ABOVE_32(i64 noundef) local_unnamed_addr #1
declare i32 @VFLAG_SUB_32(i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @CFLAG_SUB_32(i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_cmpa_32_di.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_cmpa_32_di.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AX = common local_unnamed_addr global i64 0, align 8
@FLAG_N = common local_unnamed_addr global i32 0, align 4
@FLAG_Z = common local_unnamed_addr global i32 0, align 4
@FLAG_V = common local_unnamed_addr global i32 0, align 4
@FLAG_C = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @m68k_op_cmpa_32_di() local_unnamed_addr #0 {
%1 = tail call i64 @OPER_AY_DI_32() #2
%2 = load i64, ptr @AX, align 8, !tbaa !6
%3 = sub nsw i64 %2, %1
%4 = tail call i32 @NFLAG_32(i64 noundef %3) #2
store i32 %4, ptr @FLAG_N, align 4, !tbaa !10
%5 = tail call i32 @MASK_OUT_ABOVE_32(i64 noundef %3) #2
store i32 %5, ptr @FLAG_Z, align 4, !tbaa !10
%6 = tail call i32 @VFLAG_SUB_32(i64 noundef %1, i64 noundef %2, i64 noundef %3) #2
store i32 %6, ptr @FLAG_V, align 4, !tbaa !10
%7 = tail call i32 @CFLAG_SUB_32(i64 noundef %1, i64 noundef %2, i64 noundef %3) #2
store i32 %7, ptr @FLAG_C, align 4, !tbaa !10
ret void
}
declare i64 @OPER_AY_DI_32(...) local_unnamed_addr #1
declare i32 @NFLAG_32(i64 noundef) local_unnamed_addr #1
declare i32 @MASK_OUT_ABOVE_32(i64 noundef) local_unnamed_addr #1
declare i32 @VFLAG_SUB_32(i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @CFLAG_SUB_32(i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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}
|
Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopac.c_m68k_op_cmpa_32_di
|
; ModuleID = 'AnghaBench/skynet/service-src/extr_service_gate.c__cb.c'
source_filename = "AnghaBench/skynet/service-src/extr_service_gate.c__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"
@.str = private unnamed_addr constant [31 x i8] c"Invalid client message from %x\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Invalid client id %d from %x\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @_cb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @_cb(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 %3, i32 noundef %4, ptr noundef %5, i64 noundef %6) #0 {
switch i32 %2, label %41 [
i32 128, label %8
i32 130, label %11
i32 129, label %37
]
8: ; preds = %7
%9 = trunc i64 %6 to i32
%10 = tail call i32 @_ctrl(ptr noundef %1, ptr noundef %5, i32 noundef %9) #2
br label %41
11: ; preds = %7
%12 = icmp ult i64 %6, 5
br i1 %12, label %13, label %15
13: ; preds = %11
%14 = tail call i32 (ptr, ptr, i32, ...) @skynet_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %4) #2
br label %41
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %5, i64 %6
%17 = getelementptr inbounds i8, ptr %16, i64 -4
%18 = load i32, ptr %17, align 4, !tbaa !5
%19 = load i32, ptr %16, align 4, !tbaa !5
%20 = shl i32 %19, 8
%21 = or i32 %20, %18
%22 = getelementptr inbounds i8, ptr %16, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !5
%24 = shl i32 %23, 16
%25 = or i32 %21, %24
%26 = getelementptr inbounds i8, ptr %16, i64 8
%27 = load i32, ptr %26, align 4, !tbaa !5
%28 = shl i32 %27, 24
%29 = or i32 %25, %28
%30 = tail call i32 @hashid_lookup(ptr noundef %1, i32 noundef %29) #2
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %15
%33 = tail call i32 (ptr, ptr, i32, ...) @skynet_error(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %29, i32 noundef %4) #2
br label %41
34: ; preds = %15
%35 = add i64 %6, -4
%36 = tail call i32 @skynet_socket_send(ptr noundef %0, i32 noundef %29, ptr noundef nonnull %5, i64 noundef %35) #2
br label %41
37: ; preds = %7
%38 = trunc i64 %6 to i32
%39 = add i32 %38, -4
%40 = tail call i32 @dispatch_socket_message(ptr noundef %1, ptr noundef %5, i32 noundef %39) #2
br label %41
41: ; preds = %8, %13, %37, %7, %32, %34
%42 = phi i32 [ 1, %34 ], [ 0, %32 ], [ 0, %7 ], [ 0, %37 ], [ 0, %13 ], [ 0, %8 ]
ret i32 %42
}
declare i32 @_ctrl(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skynet_error(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @hashid_lookup(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skynet_socket_send(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dispatch_socket_message(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"}
|
; ModuleID = 'AnghaBench/skynet/service-src/extr_service_gate.c__cb.c'
source_filename = "AnghaBench/skynet/service-src/extr_service_gate.c__cb.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"Invalid client message from %x\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Invalid client id %d from %x\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @_cb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @_cb(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 %3, i32 noundef %4, ptr noundef %5, i64 noundef %6) #0 {
switch i32 %2, label %41 [
i32 128, label %8
i32 130, label %11
i32 129, label %37
]
8: ; preds = %7
%9 = trunc i64 %6 to i32
%10 = tail call i32 @_ctrl(ptr noundef %1, ptr noundef %5, i32 noundef %9) #2
br label %41
11: ; preds = %7
%12 = icmp ult i64 %6, 5
br i1 %12, label %13, label %15
13: ; preds = %11
%14 = tail call i32 (ptr, ptr, i32, ...) @skynet_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %4) #2
br label %41
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %5, i64 %6
%17 = getelementptr inbounds i8, ptr %16, i64 -4
%18 = load i32, ptr %17, align 4, !tbaa !6
%19 = load i32, ptr %16, align 4, !tbaa !6
%20 = shl i32 %19, 8
%21 = or i32 %20, %18
%22 = getelementptr inbounds i8, ptr %16, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !6
%24 = shl i32 %23, 16
%25 = or i32 %21, %24
%26 = getelementptr inbounds i8, ptr %16, i64 8
%27 = load i32, ptr %26, align 4, !tbaa !6
%28 = shl i32 %27, 24
%29 = or i32 %25, %28
%30 = tail call i32 @hashid_lookup(ptr noundef %1, i32 noundef %29) #2
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %15
%33 = tail call i32 (ptr, ptr, i32, ...) @skynet_error(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %29, i32 noundef %4) #2
br label %41
34: ; preds = %15
%35 = add i64 %6, -4
%36 = tail call i32 @skynet_socket_send(ptr noundef %0, i32 noundef %29, ptr noundef nonnull %5, i64 noundef %35) #2
br label %41
37: ; preds = %7
%38 = trunc i64 %6 to i32
%39 = add i32 %38, -4
%40 = tail call i32 @dispatch_socket_message(ptr noundef %1, ptr noundef %5, i32 noundef %39) #2
br label %41
41: ; preds = %8, %13, %37, %7, %32, %34
%42 = phi i32 [ 1, %34 ], [ 0, %32 ], [ 0, %7 ], [ 0, %37 ], [ 0, %13 ], [ 0, %8 ]
ret i32 %42
}
declare i32 @_ctrl(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skynet_error(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @hashid_lookup(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skynet_socket_send(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dispatch_socket_message(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"}
|
skynet_service-src_extr_service_gate.c__cb
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_sdio.c_wl1271_probe.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_sdio.c_wl1271_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.resource = type { ptr, i32, i32 }
%struct.wlcore_platdev_data = type { ptr, ptr, ptr, ptr }
%struct.sdio_func = type { i32, i32, ptr }
%struct.wl12xx_sdio_glue = type { ptr, ptr, ptr, ptr }
%struct.TYPE_13__ = type { %struct.TYPE_12__, i32 }
%struct.TYPE_12__ = type { i64 }
%struct.TYPE_15__ = type { i32, i32 }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@sdio_ops = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"can't allocate glue\0A\00", align 1
@MMC_QUIRK_LENIENT_FN0 = dso_local local_unnamed_addr global i32 0, align 4
@MMC_QUIRK_BLKSZ_FOR_BYTE_MODE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"missing wlan platform data: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"sdio PM caps = 0x%x\0A\00", align 1
@MMC_PM_KEEP_POWER = dso_local local_unnamed_addr global i32 0, align 4
@SDIO_SDIO_REV_3_00 = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [7 x i8] c"wl18xx\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"wl12xx\00", align 1
@PLATFORM_DEVID_AUTO = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [31 x i8] c"can't allocate platform_device\00", align 1
@IORESOURCE_IRQ = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [4 x i8] c"irq\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"can't add resources\0A\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c"can't add platform data\0A\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"can't add platform device\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @wl1271_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wl1271_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = alloca [1 x %struct.resource], align 16
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%5 = sub nsw i32 0, %4
%6 = load i32, ptr %0, align 8, !tbaa !9
%7 = icmp eq i32 %6, 2
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i32, ptr @ENODEV, align 4, !tbaa !5
%10 = sub nsw i32 0, %9
br label %100
11: ; preds = %2
%12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%13 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %12) #3
%14 = icmp eq ptr %13, null
br i1 %14, label %100, label %15
15: ; preds = %11
%16 = getelementptr inbounds %struct.wlcore_platdev_data, ptr %13, i64 0, i32 3
store ptr @sdio_ops, ptr %16, align 8, !tbaa !12
%17 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%18 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %17) #3
%19 = icmp eq ptr %18, null
%20 = getelementptr inbounds %struct.sdio_func, ptr %0, i64 0, i32 1
br i1 %19, label %21, label %23
21: ; preds = %15
%22 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %20, ptr noundef nonnull @.str) #3
br label %97
23: ; preds = %15
%24 = getelementptr inbounds %struct.wl12xx_sdio_glue, ptr %18, i64 0, i32 1
store ptr %20, ptr %24, align 8, !tbaa !14
%25 = load i32, ptr @MMC_QUIRK_LENIENT_FN0, align 4, !tbaa !5
%26 = getelementptr inbounds %struct.sdio_func, ptr %0, i64 0, i32 2
%27 = load ptr, ptr %26, align 8, !tbaa !16
%28 = getelementptr inbounds %struct.TYPE_13__, ptr %27, i64 0, i32 1
%29 = load i32, ptr %28, align 8, !tbaa !17
%30 = or i32 %29, %25
%31 = load i32, ptr @MMC_QUIRK_BLKSZ_FOR_BYTE_MODE, align 4, !tbaa !5
%32 = or i32 %31, %30
store i32 %32, ptr %28, align 8, !tbaa !17
%33 = tail call ptr (...) @wl12xx_get_platform_data() #3
%34 = getelementptr inbounds %struct.wlcore_platdev_data, ptr %13, i64 0, i32 2
store ptr %33, ptr %34, align 8, !tbaa !21
%35 = tail call i64 @IS_ERR(ptr noundef %33) #3
%36 = icmp eq i64 %35, 0
br i1 %36, label %42, label %37
37: ; preds = %23
%38 = load ptr, ptr %34, align 8, !tbaa !21
%39 = tail call i32 @PTR_ERR(ptr noundef %38) #3
%40 = load ptr, ptr %24, align 8, !tbaa !14
%41 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %40, ptr noundef nonnull @.str.1, i32 noundef %39) #3
br label %94
42: ; preds = %23
%43 = tail call i32 @sdio_get_host_pm_caps(ptr noundef nonnull %0) #3
%44 = load ptr, ptr %24, align 8, !tbaa !14
%45 = tail call i32 @dev_dbg(ptr noundef %44, ptr noundef nonnull @.str.2, i32 noundef %43) #3
%46 = load i32, ptr @MMC_PM_KEEP_POWER, align 4, !tbaa !5
%47 = and i32 %46, %43
%48 = icmp eq i32 %47, 0
br i1 %48, label %51, label %49
49: ; preds = %42
%50 = load ptr, ptr %34, align 8, !tbaa !21
store i32 1, ptr %50, align 4, !tbaa !22
br label %51
51: ; preds = %49, %42
%52 = tail call i32 @sdio_set_drvdata(ptr noundef nonnull %0, ptr noundef nonnull %18) #3
%53 = tail call i32 @pm_runtime_put_noidle(ptr noundef nonnull %20) #3
%54 = load ptr, ptr %26, align 8, !tbaa !16
%55 = load i64, ptr %54, align 8, !tbaa !24
%56 = load i64, ptr @SDIO_SDIO_REV_3_00, align 8, !tbaa !25
%57 = icmp eq i64 %55, %56
%58 = select i1 %57, ptr @.str.3, ptr @.str.4
%59 = load i32, ptr @PLATFORM_DEVID_AUTO, align 4, !tbaa !5
%60 = tail call ptr @platform_device_alloc(ptr noundef nonnull %58, i32 noundef %59) #3
store ptr %60, ptr %18, align 8, !tbaa !26
%61 = icmp eq ptr %60, null
br i1 %61, label %62, label %67
62: ; preds = %51
%63 = load ptr, ptr %24, align 8, !tbaa !14
%64 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %63, ptr noundef nonnull @.str.5) #3
%65 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%66 = sub nsw i32 0, %65
br label %94
67: ; preds = %51
store ptr %20, ptr %60, align 8, !tbaa !27
%68 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 16) #3
%69 = load ptr, ptr %34, align 8, !tbaa !21
%70 = getelementptr inbounds %struct.TYPE_15__, ptr %69, i64 0, i32 1
%71 = load i32, ptr %70, align 4, !tbaa !30
%72 = getelementptr inbounds %struct.resource, ptr %3, i64 0, i32 2
store i32 %71, ptr %72, align 4, !tbaa !31
%73 = load i32, ptr @IORESOURCE_IRQ, align 4, !tbaa !5
%74 = getelementptr inbounds %struct.resource, ptr %3, i64 0, i32 1
store i32 %73, ptr %74, align 8, !tbaa !33
store ptr @.str.6, ptr %3, align 16, !tbaa !34
%75 = load ptr, ptr %18, align 8, !tbaa !26
%76 = call i32 @ARRAY_SIZE(ptr noundef nonnull %3) #3
%77 = call i32 @platform_device_add_resources(ptr noundef %75, ptr noundef nonnull %3, i32 noundef %76) #3
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %87
79: ; preds = %67
%80 = load ptr, ptr %18, align 8, !tbaa !26
%81 = call i32 @platform_device_add_data(ptr noundef %80, ptr noundef nonnull %13, i32 noundef 32) #3
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %87
83: ; preds = %79
%84 = load ptr, ptr %18, align 8, !tbaa !26
%85 = call i32 @platform_device_add(ptr noundef %84) #3
%86 = icmp eq i32 %85, 0
br i1 %86, label %100, label %87
87: ; preds = %83, %79, %67
%88 = phi ptr [ @.str.7, %67 ], [ @.str.8, %79 ], [ @.str.9, %83 ]
%89 = phi i32 [ %77, %67 ], [ %81, %79 ], [ %85, %83 ]
%90 = load ptr, ptr %24, align 8, !tbaa !14
%91 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %90, ptr noundef nonnull %88) #3
%92 = load ptr, ptr %18, align 8, !tbaa !26
%93 = call i32 @platform_device_put(ptr noundef %92) #3
br label %94
94: ; preds = %87, %62, %37
%95 = phi i32 [ %39, %37 ], [ %89, %87 ], [ %66, %62 ]
%96 = call i32 @kfree(ptr noundef nonnull %18) #3
br label %97
97: ; preds = %94, %21
%98 = phi i32 [ %95, %94 ], [ %5, %21 ]
%99 = call i32 @kfree(ptr noundef nonnull %13) #3
br label %100
100: ; preds = %97, %11, %83, %8
%101 = phi i32 [ %10, %8 ], [ 0, %83 ], [ %98, %97 ], [ %5, %11 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret i32 %101
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @wl12xx_get_platform_data(...) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @sdio_get_host_pm_caps(ptr noundef) local_unnamed_addr #2
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sdio_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pm_runtime_put_noidle(ptr noundef) local_unnamed_addr #2
declare ptr @platform_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @platform_device_add_resources(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
declare i32 @platform_device_add_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @platform_device_add(ptr noundef) local_unnamed_addr #2
declare i32 @platform_device_put(ptr noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"sdio_func", !6, i64 0, !6, i64 4, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 24}
!13 = !{!"wlcore_platdev_data", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!14 = !{!15, !11, i64 8}
!15 = !{!"wl12xx_sdio_glue", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!16 = !{!10, !11, i64 8}
!17 = !{!18, !6, i64 8}
!18 = !{!"TYPE_13__", !19, i64 0, !6, i64 8}
!19 = !{!"TYPE_12__", !20, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!13, !11, i64 16}
!22 = !{!23, !6, i64 0}
!23 = !{!"TYPE_15__", !6, i64 0, !6, i64 4}
!24 = !{!18, !20, i64 0}
!25 = !{!20, !20, i64 0}
!26 = !{!15, !11, i64 0}
!27 = !{!28, !11, i64 0}
!28 = !{!"TYPE_16__", !29, i64 0}
!29 = !{!"TYPE_14__", !11, i64 0}
!30 = !{!23, !6, i64 4}
!31 = !{!32, !6, i64 12}
!32 = !{!"resource", !11, i64 0, !6, i64 8, !6, i64 12}
!33 = !{!32, !6, i64 8}
!34 = !{!32, !11, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_sdio.c_wl1271_probe.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_sdio.c_wl1271_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.resource = type { ptr, i32, i32 }
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@sdio_ops = common global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"can't allocate glue\0A\00", align 1
@MMC_QUIRK_LENIENT_FN0 = common local_unnamed_addr global i32 0, align 4
@MMC_QUIRK_BLKSZ_FOR_BYTE_MODE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"missing wlan platform data: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"sdio PM caps = 0x%x\0A\00", align 1
@MMC_PM_KEEP_POWER = common local_unnamed_addr global i32 0, align 4
@SDIO_SDIO_REV_3_00 = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [7 x i8] c"wl18xx\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"wl12xx\00", align 1
@PLATFORM_DEVID_AUTO = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [31 x i8] c"can't allocate platform_device\00", align 1
@IORESOURCE_IRQ = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [4 x i8] c"irq\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"can't add resources\0A\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c"can't add platform data\0A\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"can't add platform device\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @wl1271_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @wl1271_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = alloca [1 x %struct.resource], align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%5 = sub nsw i32 0, %4
%6 = load i32, ptr %0, align 8, !tbaa !10
%7 = icmp eq i32 %6, 2
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i32, ptr @ENODEV, align 4, !tbaa !6
%10 = sub nsw i32 0, %9
br label %100
11: ; preds = %2
%12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%13 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %12) #3
%14 = icmp eq ptr %13, null
br i1 %14, label %100, label %15
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %13, i64 24
store ptr @sdio_ops, ptr %16, align 8, !tbaa !13
%17 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%18 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %17) #3
%19 = icmp eq ptr %18, null
%20 = getelementptr inbounds i8, ptr %0, i64 4
br i1 %19, label %21, label %23
21: ; preds = %15
%22 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %20, ptr noundef nonnull @.str) #3
br label %97
23: ; preds = %15
%24 = getelementptr inbounds i8, ptr %18, i64 8
store ptr %20, ptr %24, align 8, !tbaa !15
%25 = load i32, ptr @MMC_QUIRK_LENIENT_FN0, align 4, !tbaa !6
%26 = getelementptr inbounds i8, ptr %0, i64 8
%27 = load ptr, ptr %26, align 8, !tbaa !17
%28 = getelementptr inbounds i8, ptr %27, i64 8
%29 = load i32, ptr %28, align 8, !tbaa !18
%30 = or i32 %29, %25
%31 = load i32, ptr @MMC_QUIRK_BLKSZ_FOR_BYTE_MODE, align 4, !tbaa !6
%32 = or i32 %31, %30
store i32 %32, ptr %28, align 8, !tbaa !18
%33 = tail call ptr @wl12xx_get_platform_data() #3
%34 = getelementptr inbounds i8, ptr %13, i64 16
store ptr %33, ptr %34, align 8, !tbaa !22
%35 = tail call i64 @IS_ERR(ptr noundef %33) #3
%36 = icmp eq i64 %35, 0
br i1 %36, label %42, label %37
37: ; preds = %23
%38 = load ptr, ptr %34, align 8, !tbaa !22
%39 = tail call i32 @PTR_ERR(ptr noundef %38) #3
%40 = load ptr, ptr %24, align 8, !tbaa !15
%41 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %40, ptr noundef nonnull @.str.1, i32 noundef %39) #3
br label %94
42: ; preds = %23
%43 = tail call i32 @sdio_get_host_pm_caps(ptr noundef nonnull %0) #3
%44 = load ptr, ptr %24, align 8, !tbaa !15
%45 = tail call i32 @dev_dbg(ptr noundef %44, ptr noundef nonnull @.str.2, i32 noundef %43) #3
%46 = load i32, ptr @MMC_PM_KEEP_POWER, align 4, !tbaa !6
%47 = and i32 %46, %43
%48 = icmp eq i32 %47, 0
br i1 %48, label %51, label %49
49: ; preds = %42
%50 = load ptr, ptr %34, align 8, !tbaa !22
store i32 1, ptr %50, align 4, !tbaa !23
br label %51
51: ; preds = %49, %42
%52 = tail call i32 @sdio_set_drvdata(ptr noundef nonnull %0, ptr noundef nonnull %18) #3
%53 = tail call i32 @pm_runtime_put_noidle(ptr noundef nonnull %20) #3
%54 = load ptr, ptr %26, align 8, !tbaa !17
%55 = load i64, ptr %54, align 8, !tbaa !25
%56 = load i64, ptr @SDIO_SDIO_REV_3_00, align 8, !tbaa !26
%57 = icmp eq i64 %55, %56
%58 = select i1 %57, ptr @.str.3, ptr @.str.4
%59 = load i32, ptr @PLATFORM_DEVID_AUTO, align 4, !tbaa !6
%60 = tail call ptr @platform_device_alloc(ptr noundef nonnull %58, i32 noundef %59) #3
store ptr %60, ptr %18, align 8, !tbaa !27
%61 = icmp eq ptr %60, null
br i1 %61, label %62, label %67
62: ; preds = %51
%63 = load ptr, ptr %24, align 8, !tbaa !15
%64 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %63, ptr noundef nonnull @.str.5) #3
%65 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%66 = sub nsw i32 0, %65
br label %94
67: ; preds = %51
store ptr %20, ptr %60, align 8, !tbaa !28
%68 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 16) #3
%69 = load ptr, ptr %34, align 8, !tbaa !22
%70 = getelementptr inbounds i8, ptr %69, i64 4
%71 = load i32, ptr %70, align 4, !tbaa !31
%72 = getelementptr inbounds i8, ptr %3, i64 12
store i32 %71, ptr %72, align 4, !tbaa !32
%73 = load i32, ptr @IORESOURCE_IRQ, align 4, !tbaa !6
%74 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %73, ptr %74, align 8, !tbaa !34
store ptr @.str.6, ptr %3, align 8, !tbaa !35
%75 = load ptr, ptr %18, align 8, !tbaa !27
%76 = call i32 @ARRAY_SIZE(ptr noundef nonnull %3) #3
%77 = call i32 @platform_device_add_resources(ptr noundef %75, ptr noundef nonnull %3, i32 noundef %76) #3
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %87
79: ; preds = %67
%80 = load ptr, ptr %18, align 8, !tbaa !27
%81 = call i32 @platform_device_add_data(ptr noundef %80, ptr noundef nonnull %13, i32 noundef 32) #3
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %87
83: ; preds = %79
%84 = load ptr, ptr %18, align 8, !tbaa !27
%85 = call i32 @platform_device_add(ptr noundef %84) #3
%86 = icmp eq i32 %85, 0
br i1 %86, label %100, label %87
87: ; preds = %83, %79, %67
%88 = phi ptr [ @.str.7, %67 ], [ @.str.8, %79 ], [ @.str.9, %83 ]
%89 = phi i32 [ %77, %67 ], [ %81, %79 ], [ %85, %83 ]
%90 = load ptr, ptr %24, align 8, !tbaa !15
%91 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %90, ptr noundef nonnull %88) #3
%92 = load ptr, ptr %18, align 8, !tbaa !27
%93 = call i32 @platform_device_put(ptr noundef %92) #3
br label %94
94: ; preds = %87, %62, %37
%95 = phi i32 [ %39, %37 ], [ %89, %87 ], [ %66, %62 ]
%96 = call i32 @kfree(ptr noundef nonnull %18) #3
br label %97
97: ; preds = %94, %21
%98 = phi i32 [ %95, %94 ], [ %5, %21 ]
%99 = call i32 @kfree(ptr noundef nonnull %13) #3
br label %100
100: ; preds = %97, %11, %83, %8
%101 = phi i32 [ %10, %8 ], [ 0, %83 ], [ %98, %97 ], [ %5, %11 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret i32 %101
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @wl12xx_get_platform_data(...) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @sdio_get_host_pm_caps(ptr noundef) local_unnamed_addr #2
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sdio_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pm_runtime_put_noidle(ptr noundef) local_unnamed_addr #2
declare ptr @platform_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @platform_device_add_resources(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
declare i32 @platform_device_add_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @platform_device_add(ptr noundef) local_unnamed_addr #2
declare i32 @platform_device_put(ptr noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"sdio_func", !7, i64 0, !7, i64 4, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 24}
!14 = !{!"wlcore_platdev_data", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!15 = !{!16, !12, i64 8}
!16 = !{!"wl12xx_sdio_glue", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!17 = !{!11, !12, i64 8}
!18 = !{!19, !7, i64 8}
!19 = !{!"TYPE_13__", !20, i64 0, !7, i64 8}
!20 = !{!"TYPE_12__", !21, i64 0}
!21 = !{!"long", !8, i64 0}
!22 = !{!14, !12, i64 16}
!23 = !{!24, !7, i64 0}
!24 = !{!"TYPE_15__", !7, i64 0, !7, i64 4}
!25 = !{!19, !21, i64 0}
!26 = !{!21, !21, i64 0}
!27 = !{!16, !12, i64 0}
!28 = !{!29, !12, i64 0}
!29 = !{!"TYPE_16__", !30, i64 0}
!30 = !{!"TYPE_14__", !12, i64 0}
!31 = !{!24, !7, i64 4}
!32 = !{!33, !7, i64 12}
!33 = !{!"resource", !12, i64 0, !7, i64 8, !7, i64 12}
!34 = !{!33, !7, i64 8}
!35 = !{!33, !12, i64 0}
|
fastsocket_kernel_drivers_net_wireless_ti_wlcore_extr_sdio.c_wl1271_probe
|
; ModuleID = 'AnghaBench/linux/drivers/hwtracing/coresight/extr_coresight-tmc-etr.c_get_perf_etr_buf_per_thread.c'
source_filename = "AnghaBench/linux/drivers/hwtracing/coresight/extr_coresight-tmc-etr.c_get_perf_etr_buf_per_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 @get_perf_etr_buf_per_thread], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @get_perf_etr_buf_per_thread(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = tail call ptr @alloc_etr_buf(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #2
ret ptr %6
}
declare ptr @alloc_etr_buf(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)"}
|
; ModuleID = 'AnghaBench/linux/drivers/hwtracing/coresight/extr_coresight-tmc-etr.c_get_perf_etr_buf_per_thread.c'
source_filename = "AnghaBench/linux/drivers/hwtracing/coresight/extr_coresight-tmc-etr.c_get_perf_etr_buf_per_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 @get_perf_etr_buf_per_thread], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @get_perf_etr_buf_per_thread(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = tail call ptr @alloc_etr_buf(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #2
ret ptr %6
}
declare ptr @alloc_etr_buf(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)"}
|
linux_drivers_hwtracing_coresight_extr_coresight-tmc-etr.c_get_perf_etr_buf_per_thread
|
; ModuleID = 'AnghaBench/fastsocket/kernel/net/core/extr_skbuff.c_skb_queue_tail.c'
source_filename = "AnghaBench/fastsocket/kernel/net/core/extr_skbuff.c_skb_queue_tail.c"
target datalayout = "e-m:e-p270:32:32-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 @skb_queue_tail(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%4 = tail call i32 @__skb_queue_tail(ptr noundef %0, ptr noundef %1) #2
%5 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__skb_queue_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/net/core/extr_skbuff.c_skb_queue_tail.c'
source_filename = "AnghaBench/fastsocket/kernel/net/core/extr_skbuff.c_skb_queue_tail.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 @skb_queue_tail(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%4 = tail call i32 @__skb_queue_tail(ptr noundef %0, ptr noundef %1) #2
%5 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__skb_queue_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_net_core_extr_skbuff.c_skb_queue_tail
|
; ModuleID = 'AnghaBench/freebsd/sys/mips/cavium/extr_uart_dev_oct16550.c_oct16550_bus_param.c'
source_filename = "AnghaBench/freebsd/sys/mips/cavium/extr_uart_dev_oct16550.c_oct16550_bus_param.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.uart_softc = type { i32, %struct.uart_bas }
%struct.uart_bas = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @oct16550_bus_param], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @oct16550_bus_param(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = getelementptr inbounds %struct.uart_softc, ptr %0, i64 0, i32 1
%7 = load i32, ptr %0, align 4, !tbaa !5
%8 = tail call i32 @uart_lock(i32 noundef %7) #2
%9 = tail call i32 @oct16550_param(ptr noundef nonnull %6, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2
%10 = load i32, ptr %0, align 4, !tbaa !5
%11 = tail call i32 @uart_unlock(i32 noundef %10) #2
ret i32 %9
}
declare i32 @uart_lock(i32 noundef) local_unnamed_addr #1
declare i32 @oct16550_param(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uart_unlock(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 = !{!"uart_softc", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"uart_bas", !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/mips/cavium/extr_uart_dev_oct16550.c_oct16550_bus_param.c'
source_filename = "AnghaBench/freebsd/sys/mips/cavium/extr_uart_dev_oct16550.c_oct16550_bus_param.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 @oct16550_bus_param], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @oct16550_bus_param(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %0, align 4, !tbaa !6
%8 = tail call i32 @uart_lock(i32 noundef %7) #2
%9 = tail call i32 @oct16550_param(ptr noundef nonnull %6, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2
%10 = load i32, ptr %0, align 4, !tbaa !6
%11 = tail call i32 @uart_unlock(i32 noundef %10) #2
ret i32 %9
}
declare i32 @uart_lock(i32 noundef) local_unnamed_addr #1
declare i32 @oct16550_param(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uart_unlock(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 = !{!"uart_softc", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"uart_bas", !8, i64 0}
|
freebsd_sys_mips_cavium_extr_uart_dev_oct16550.c_oct16550_bus_param
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_sge.c_ofldtxq_stop.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_sge.c_ofldtxq_stop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sge_uld_txq = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@FW_WR_EQUEQ_F = dso_local local_unnamed_addr global i32 0, align 4
@FW_WR_EQUIQ_F = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ofldtxq_stop], section "llvm.metadata"
; Function Attrs: nofree nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @ofldtxq_stop(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr @FW_WR_EQUEQ_F, align 4, !tbaa !5
%4 = load i32, ptr @FW_WR_EQUIQ_F, align 4, !tbaa !5
%5 = or i32 %4, %3
%6 = tail call i32 @htonl(i32 noundef %5)
%7 = load i32, ptr %1, align 4, !tbaa !9
%8 = or i32 %7, %6
store i32 %8, ptr %1, align 4, !tbaa !9
%9 = getelementptr inbounds %struct.sge_uld_txq, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = add nsw i32 %10, 1
store i32 %11, ptr %9, align 4, !tbaa !11
store i32 1, ptr %0, align 4, !tbaa !14
ret void
}
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @htonl(i32 noundef) local_unnamed_addr #1
attributes #0 = { nofree nosync nounwind 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" }
attributes #1 = { nofree nosync nounwind memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"fw_wr_hdr", !6, i64 0}
!11 = !{!12, !6, i64 4}
!12 = !{!"sge_uld_txq", !6, i64 0, !13, i64 4}
!13 = !{!"TYPE_2__", !6, i64 0}
!14 = !{!12, !6, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_sge.c_ofldtxq_stop.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_sge.c_ofldtxq_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FW_WR_EQUEQ_F = common local_unnamed_addr global i32 0, align 4
@FW_WR_EQUIQ_F = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ofldtxq_stop], section "llvm.metadata"
; Function Attrs: nofree nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @ofldtxq_stop(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr @FW_WR_EQUEQ_F, align 4, !tbaa !6
%4 = load i32, ptr @FW_WR_EQUIQ_F, align 4, !tbaa !6
%5 = or i32 %4, %3
%6 = tail call i32 @htonl(i32 noundef %5)
%7 = load i32, ptr %1, align 4, !tbaa !10
%8 = or i32 %7, %6
store i32 %8, ptr %1, align 4, !tbaa !10
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = add nsw i32 %10, 1
store i32 %11, ptr %9, align 4, !tbaa !12
store i32 1, ptr %0, align 4, !tbaa !15
ret void
}
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @htonl(i32 noundef) local_unnamed_addr #1
attributes #0 = { nofree nosync nounwind ssp 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" }
attributes #1 = { nofree nosync nounwind memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"fw_wr_hdr", !7, i64 0}
!12 = !{!13, !7, i64 4}
!13 = !{!"sge_uld_txq", !7, i64 0, !14, i64 4}
!14 = !{!"TYPE_2__", !7, i64 0}
!15 = !{!13, !7, i64 0}
|
linux_drivers_net_ethernet_chelsio_cxgb4_extr_sge.c_ofldtxq_stop
|
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/modes/extr_ctr128.c_CRYPTO_ctr128_encrypt_ctr32.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/modes/extr_ctr128.c_CRYPTO_ctr128_encrypt_ctr32.c"
target datalayout = "e-m:e-p270:32:32-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 @CRYPTO_ctr128_encrypt_ctr32(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr nocapture noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 {
%9 = load i32, ptr %6, align 4, !tbaa !5
%10 = icmp ne i32 %9, 0
%11 = icmp ne i64 %2, 0
%12 = and i1 %10, %11
br i1 %12, label %13, label %31
13: ; preds = %8, %13
%14 = phi i32 [ %27, %13 ], [ %9, %8 ]
%15 = phi ptr [ %18, %13 ], [ %0, %8 ]
%16 = phi ptr [ %24, %13 ], [ %1, %8 ]
%17 = phi i64 [ %25, %13 ], [ %2, %8 ]
%18 = getelementptr inbounds i8, ptr %15, i64 1
%19 = load i8, ptr %15, align 1, !tbaa !9
%20 = zext i32 %14 to i64
%21 = getelementptr inbounds i8, ptr %5, i64 %20
%22 = load i8, ptr %21, align 1, !tbaa !9
%23 = xor i8 %22, %19
%24 = getelementptr inbounds i8, ptr %16, i64 1
store i8 %23, ptr %16, align 1, !tbaa !9
%25 = add i64 %17, -1
%26 = add i32 %14, 1
%27 = and i32 %26, 15
%28 = icmp ne i32 %27, 0
%29 = icmp ne i64 %25, 0
%30 = select i1 %28, i1 %29, i1 false
br i1 %30, label %13, label %31, !llvm.loop !10
31: ; preds = %13, %8
%32 = phi i64 [ %2, %8 ], [ %25, %13 ]
%33 = phi ptr [ %1, %8 ], [ %24, %13 ]
%34 = phi ptr [ %0, %8 ], [ %18, %13 ]
%35 = phi i32 [ %9, %8 ], [ %27, %13 ]
%36 = getelementptr inbounds i8, ptr %4, i64 12
%37 = tail call i32 @GETU32(ptr noundef nonnull %36) #3
%38 = icmp ugt i64 %32, 15
br i1 %38, label %39, label %65
39: ; preds = %31, %59
%40 = phi i32 [ %50, %59 ], [ %37, %31 ]
%41 = phi ptr [ %63, %59 ], [ %34, %31 ]
%42 = phi ptr [ %62, %59 ], [ %33, %31 ]
%43 = phi i64 [ %61, %59 ], [ %32, %31 ]
%44 = lshr i64 %43, 4
%45 = tail call i64 @llvm.umin.i64(i64 %44, i64 268435456)
%46 = trunc i64 %45 to i32
%47 = add i32 %40, %46
%48 = zext i32 %47 to i64
%49 = icmp ugt i64 %45, %48
%50 = select i1 %49, i32 0, i32 %47
%51 = select i1 %49, i64 %48, i64 0
%52 = sub nsw i64 %45, %51
%53 = trunc i64 %52 to i32
%54 = tail call i32 %7(ptr noundef %41, ptr noundef %42, i32 noundef %53, ptr noundef %3, ptr noundef %4) #3
%55 = tail call i32 @PUTU32(ptr noundef nonnull %36, i32 noundef %50) #3
%56 = icmp eq i32 %50, 0
br i1 %56, label %57, label %59
57: ; preds = %39
%58 = tail call i32 @ctr96_inc(ptr noundef %4) #3
br label %59
59: ; preds = %57, %39
%60 = shl nsw i64 %52, 4
%61 = sub i64 %43, %60
%62 = getelementptr inbounds i8, ptr %42, i64 %60
%63 = getelementptr inbounds i8, ptr %41, i64 %60
%64 = icmp ugt i64 %61, 15
br i1 %64, label %39, label %65, !llvm.loop !12
65: ; preds = %59, %31
%66 = phi i64 [ %32, %31 ], [ %61, %59 ]
%67 = phi ptr [ %33, %31 ], [ %62, %59 ]
%68 = phi ptr [ %34, %31 ], [ %63, %59 ]
%69 = phi i32 [ %37, %31 ], [ %50, %59 ]
%70 = icmp eq i64 %66, 0
br i1 %70, label %118, label %71
71: ; preds = %65
%72 = tail call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 16) #3
%73 = tail call i32 %7(ptr noundef %5, ptr noundef %5, i32 noundef 1, ptr noundef %3, ptr noundef %4) #3
%74 = add i32 %69, 1
%75 = tail call i32 @PUTU32(ptr noundef nonnull %36, i32 noundef %74) #3
%76 = icmp eq i32 %74, 0
br i1 %76, label %77, label %79
77: ; preds = %71
%78 = tail call i32 @ctr96_inc(ptr noundef %4) #3
br label %79
79: ; preds = %71, %77
%80 = and i64 %66, 1
%81 = icmp eq i64 %80, 0
br i1 %81, label %92, label %82
82: ; preds = %79
%83 = add nsw i64 %66, -1
%84 = zext i32 %35 to i64
%85 = getelementptr inbounds i8, ptr %68, i64 %84
%86 = load i8, ptr %85, align 1, !tbaa !9
%87 = getelementptr inbounds i8, ptr %5, i64 %84
%88 = load i8, ptr %87, align 1, !tbaa !9
%89 = xor i8 %88, %86
%90 = getelementptr inbounds i8, ptr %67, i64 %84
store i8 %89, ptr %90, align 1, !tbaa !9
%91 = add i32 %35, 1
br label %92
92: ; preds = %82, %79
%93 = phi i32 [ undef, %79 ], [ %91, %82 ]
%94 = phi i32 [ %35, %79 ], [ %91, %82 ]
%95 = phi i64 [ %66, %79 ], [ %83, %82 ]
%96 = icmp eq i64 %66, 1
br i1 %96, label %118, label %97
97: ; preds = %92, %97
%98 = phi i32 [ %116, %97 ], [ %94, %92 ]
%99 = phi i64 [ %108, %97 ], [ %95, %92 ]
%100 = zext i32 %98 to i64
%101 = getelementptr inbounds i8, ptr %68, i64 %100
%102 = load i8, ptr %101, align 1, !tbaa !9
%103 = getelementptr inbounds i8, ptr %5, i64 %100
%104 = load i8, ptr %103, align 1, !tbaa !9
%105 = xor i8 %104, %102
%106 = getelementptr inbounds i8, ptr %67, i64 %100
store i8 %105, ptr %106, align 1, !tbaa !9
%107 = add i32 %98, 1
%108 = add i64 %99, -2
%109 = zext i32 %107 to i64
%110 = getelementptr inbounds i8, ptr %68, i64 %109
%111 = load i8, ptr %110, align 1, !tbaa !9
%112 = getelementptr inbounds i8, ptr %5, i64 %109
%113 = load i8, ptr %112, align 1, !tbaa !9
%114 = xor i8 %113, %111
%115 = getelementptr inbounds i8, ptr %67, i64 %109
store i8 %114, ptr %115, align 1, !tbaa !9
%116 = add i32 %98, 2
%117 = icmp eq i64 %108, 0
br i1 %117, label %118, label %97, !llvm.loop !13
118: ; preds = %92, %97, %65
%119 = phi i32 [ %35, %65 ], [ %93, %92 ], [ %116, %97 ]
store i32 %119, ptr %6, align 4, !tbaa !5
ret void
}
declare i32 @GETU32(ptr noundef) local_unnamed_addr #1
declare i32 @PUTU32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ctr96_inc(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11, !14}
!14 = !{!"llvm.loop.isvectorized", i32 1}
|
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/modes/extr_ctr128.c_CRYPTO_ctr128_encrypt_ctr32.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/modes/extr_ctr128.c_CRYPTO_ctr128_encrypt_ctr32.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 @CRYPTO_ctr128_encrypt_ctr32(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr nocapture noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 {
%9 = load i32, ptr %6, align 4, !tbaa !6
%10 = icmp ne i32 %9, 0
%11 = icmp ne i64 %2, 0
%12 = and i1 %10, %11
br i1 %12, label %13, label %31
13: ; preds = %8, %13
%14 = phi i32 [ %27, %13 ], [ %9, %8 ]
%15 = phi ptr [ %18, %13 ], [ %0, %8 ]
%16 = phi ptr [ %24, %13 ], [ %1, %8 ]
%17 = phi i64 [ %25, %13 ], [ %2, %8 ]
%18 = getelementptr inbounds i8, ptr %15, i64 1
%19 = load i8, ptr %15, align 1, !tbaa !10
%20 = zext i32 %14 to i64
%21 = getelementptr inbounds i8, ptr %5, i64 %20
%22 = load i8, ptr %21, align 1, !tbaa !10
%23 = xor i8 %22, %19
%24 = getelementptr inbounds i8, ptr %16, i64 1
store i8 %23, ptr %16, align 1, !tbaa !10
%25 = add i64 %17, -1
%26 = add i32 %14, 1
%27 = and i32 %26, 15
%28 = icmp ne i32 %27, 0
%29 = icmp ne i64 %25, 0
%30 = select i1 %28, i1 %29, i1 false
br i1 %30, label %13, label %31, !llvm.loop !11
31: ; preds = %13, %8
%32 = phi i64 [ %2, %8 ], [ %25, %13 ]
%33 = phi ptr [ %1, %8 ], [ %24, %13 ]
%34 = phi ptr [ %0, %8 ], [ %18, %13 ]
%35 = phi i32 [ %9, %8 ], [ %27, %13 ]
%36 = getelementptr inbounds i8, ptr %4, i64 12
%37 = tail call i32 @GETU32(ptr noundef nonnull %36) #3
%38 = icmp ugt i64 %32, 15
br i1 %38, label %39, label %65
39: ; preds = %31, %59
%40 = phi i32 [ %50, %59 ], [ %37, %31 ]
%41 = phi ptr [ %63, %59 ], [ %34, %31 ]
%42 = phi ptr [ %62, %59 ], [ %33, %31 ]
%43 = phi i64 [ %61, %59 ], [ %32, %31 ]
%44 = lshr i64 %43, 4
%45 = tail call i64 @llvm.umin.i64(i64 %44, i64 268435456)
%46 = trunc nuw nsw i64 %45 to i32
%47 = add i32 %40, %46
%48 = zext i32 %47 to i64
%49 = icmp ugt i64 %45, %48
%50 = select i1 %49, i32 0, i32 %47
%51 = select i1 %49, i64 %48, i64 0
%52 = sub nsw i64 %45, %51
%53 = trunc i64 %52 to i32
%54 = tail call i32 %7(ptr noundef %41, ptr noundef %42, i32 noundef %53, ptr noundef %3, ptr noundef %4) #3
%55 = tail call i32 @PUTU32(ptr noundef nonnull %36, i32 noundef %50) #3
%56 = icmp eq i32 %50, 0
br i1 %56, label %57, label %59
57: ; preds = %39
%58 = tail call i32 @ctr96_inc(ptr noundef %4) #3
br label %59
59: ; preds = %57, %39
%60 = shl nsw i64 %52, 4
%61 = sub i64 %43, %60
%62 = getelementptr inbounds i8, ptr %42, i64 %60
%63 = getelementptr inbounds i8, ptr %41, i64 %60
%64 = icmp ugt i64 %61, 15
br i1 %64, label %39, label %65, !llvm.loop !13
65: ; preds = %59, %31
%66 = phi i64 [ %32, %31 ], [ %61, %59 ]
%67 = phi ptr [ %33, %31 ], [ %62, %59 ]
%68 = phi ptr [ %34, %31 ], [ %63, %59 ]
%69 = phi i32 [ %37, %31 ], [ %50, %59 ]
%70 = icmp eq i64 %66, 0
br i1 %70, label %93, label %71
71: ; preds = %65
%72 = tail call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 16) #3
%73 = tail call i32 %7(ptr noundef %5, ptr noundef %5, i32 noundef 1, ptr noundef %3, ptr noundef %4) #3
%74 = add i32 %69, 1
%75 = tail call i32 @PUTU32(ptr noundef nonnull %36, i32 noundef %74) #3
%76 = icmp eq i32 %74, 0
br i1 %76, label %77, label %79
77: ; preds = %71
%78 = tail call i32 @ctr96_inc(ptr noundef %4) #3
br label %79
79: ; preds = %71, %77
br label %80
80: ; preds = %79, %80
%81 = phi i32 [ %91, %80 ], [ %35, %79 ]
%82 = phi i64 [ %83, %80 ], [ %66, %79 ]
%83 = add i64 %82, -1
%84 = zext i32 %81 to i64
%85 = getelementptr inbounds i8, ptr %68, i64 %84
%86 = load i8, ptr %85, align 1, !tbaa !10
%87 = getelementptr inbounds i8, ptr %5, i64 %84
%88 = load i8, ptr %87, align 1, !tbaa !10
%89 = xor i8 %88, %86
%90 = getelementptr inbounds i8, ptr %67, i64 %84
store i8 %89, ptr %90, align 1, !tbaa !10
%91 = add i32 %81, 1
%92 = icmp eq i64 %83, 0
br i1 %92, label %93, label %80, !llvm.loop !14
93: ; preds = %80, %65
%94 = phi i32 [ %35, %65 ], [ %91, %80 ]
store i32 %94, ptr %6, align 4, !tbaa !6
ret void
}
declare i32 @GETU32(ptr noundef) local_unnamed_addr #1
declare i32 @PUTU32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ctr96_inc(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12, !15}
!15 = !{!"llvm.loop.isvectorized", i32 1}
|
freebsd_crypto_openssl_crypto_modes_extr_ctr128.c_CRYPTO_ctr128_encrypt_ctr32
|
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-picolcd_fb.c_picolcd_fb_send_tile.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-picolcd_fb.c_picolcd_fb_send_tile.c"
target datalayout = "e-m:e-p270:32:32-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.picolcd_data = type { i32, i32, i32 }
%struct.hid_report = type { i32, ptr }
@REPORT_LCD_CMD_DATA = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@REPORT_LCD_DATA = dso_local local_unnamed_addr global i32 0, align 4
@PICOLCD_FAILED = dso_local local_unnamed_addr global i32 0, align 4
@HID_REQ_SET_REPORT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @picolcd_fb_send_tile], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @picolcd_fb_send_tile(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @REPORT_LCD_CMD_DATA, align 4, !tbaa !5
%6 = getelementptr inbounds %struct.picolcd_data, ptr %0, i64 0, i32 2
%7 = load i32, ptr %6, align 4, !tbaa !9
%8 = tail call ptr @picolcd_out_report(i32 noundef %5, i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %4
%11 = load i32, ptr %8, align 8, !tbaa !11
%12 = icmp eq i32 %11, 1
br i1 %12, label %16, label %13
13: ; preds = %10, %4
%14 = load i32, ptr @ENODEV, align 4, !tbaa !5
%15 = sub nsw i32 0, %14
br label %116
16: ; preds = %10
%17 = load i32, ptr @REPORT_LCD_DATA, align 4, !tbaa !5
%18 = load i32, ptr %6, align 4, !tbaa !9
%19 = tail call ptr @picolcd_out_report(i32 noundef %17, i32 noundef %18) #2
%20 = icmp eq ptr %19, null
br i1 %20, label %24, label %21
21: ; preds = %16
%22 = load i32, ptr %19, align 8, !tbaa !11
%23 = icmp eq i32 %22, 1
br i1 %23, label %27, label %24
24: ; preds = %21, %16
%25 = load i32, ptr @ENODEV, align 4, !tbaa !5
%26 = sub nsw i32 0, %25
br label %116
27: ; preds = %21
%28 = getelementptr inbounds %struct.picolcd_data, ptr %0, i64 0, i32 1
%29 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %28, i64 noundef undef) #2
%30 = load i32, ptr %0, align 4, !tbaa !14
%31 = load i32, ptr @PICOLCD_FAILED, align 4, !tbaa !5
%32 = and i32 %31, %30
%33 = icmp eq i32 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %27
%35 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %28, i64 noundef undef) #2
%36 = load i32, ptr @ENODEV, align 4, !tbaa !5
%37 = sub nsw i32 0, %36
br label %116
38: ; preds = %27
%39 = getelementptr inbounds %struct.hid_report, ptr %8, i64 0, i32 1
%40 = load ptr, ptr %39, align 8, !tbaa !15
%41 = load i32, ptr %40, align 4, !tbaa !5
%42 = shl i32 %2, 2
%43 = tail call i32 @hid_set_field(i32 noundef %41, i32 noundef 0, i32 noundef %42) #2
%44 = load ptr, ptr %39, align 8, !tbaa !15
%45 = load i32, ptr %44, align 4, !tbaa !5
%46 = tail call i32 @hid_set_field(i32 noundef %45, i32 noundef 1, i32 noundef 2) #2
%47 = load ptr, ptr %39, align 8, !tbaa !15
%48 = load i32, ptr %47, align 4, !tbaa !5
%49 = tail call i32 @hid_set_field(i32 noundef %48, i32 noundef 2, i32 noundef 0) #2
%50 = load ptr, ptr %39, align 8, !tbaa !15
%51 = load i32, ptr %50, align 4, !tbaa !5
%52 = tail call i32 @hid_set_field(i32 noundef %51, i32 noundef 3, i32 noundef 0) #2
%53 = load ptr, ptr %39, align 8, !tbaa !15
%54 = load i32, ptr %53, align 4, !tbaa !5
%55 = or i32 %3, 184
%56 = tail call i32 @hid_set_field(i32 noundef %54, i32 noundef 4, i32 noundef %55) #2
%57 = load ptr, ptr %39, align 8, !tbaa !15
%58 = load i32, ptr %57, align 4, !tbaa !5
%59 = tail call i32 @hid_set_field(i32 noundef %58, i32 noundef 5, i32 noundef 0) #2
%60 = load ptr, ptr %39, align 8, !tbaa !15
%61 = load i32, ptr %60, align 4, !tbaa !5
%62 = tail call i32 @hid_set_field(i32 noundef %61, i32 noundef 6, i32 noundef 0) #2
%63 = load ptr, ptr %39, align 8, !tbaa !15
%64 = load i32, ptr %63, align 4, !tbaa !5
%65 = tail call i32 @hid_set_field(i32 noundef %64, i32 noundef 7, i32 noundef 64) #2
%66 = load ptr, ptr %39, align 8, !tbaa !15
%67 = load i32, ptr %66, align 4, !tbaa !5
%68 = tail call i32 @hid_set_field(i32 noundef %67, i32 noundef 8, i32 noundef 0) #2
%69 = load ptr, ptr %39, align 8, !tbaa !15
%70 = load i32, ptr %69, align 4, !tbaa !5
%71 = tail call i32 @hid_set_field(i32 noundef %70, i32 noundef 9, i32 noundef 0) #2
%72 = load ptr, ptr %39, align 8, !tbaa !15
%73 = load i32, ptr %72, align 4, !tbaa !5
%74 = tail call i32 @hid_set_field(i32 noundef %73, i32 noundef 10, i32 noundef 32) #2
%75 = getelementptr inbounds %struct.hid_report, ptr %19, i64 0, i32 1
%76 = load ptr, ptr %75, align 8, !tbaa !15
%77 = load i32, ptr %76, align 4, !tbaa !5
%78 = or disjoint i32 %42, 1
%79 = tail call i32 @hid_set_field(i32 noundef %77, i32 noundef 0, i32 noundef %78) #2
%80 = load ptr, ptr %75, align 8, !tbaa !15
%81 = load i32, ptr %80, align 4, !tbaa !5
%82 = tail call i32 @hid_set_field(i32 noundef %81, i32 noundef 1, i32 noundef 0) #2
%83 = load ptr, ptr %75, align 8, !tbaa !15
%84 = load i32, ptr %83, align 4, !tbaa !5
%85 = tail call i32 @hid_set_field(i32 noundef %84, i32 noundef 2, i32 noundef 0) #2
%86 = load ptr, ptr %75, align 8, !tbaa !15
%87 = load i32, ptr %86, align 4, !tbaa !5
%88 = tail call i32 @hid_set_field(i32 noundef %87, i32 noundef 3, i32 noundef 32) #2
%89 = shl i32 %3, 8
%90 = shl i32 %2, 6
%91 = add i32 %89, %90
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i32, ptr %1, i64 %92
br label %94
94: ; preds = %38, %94
%95 = phi i64 [ 0, %38 ], [ %106, %94 ]
%96 = icmp ult i64 %95, 32
%97 = getelementptr inbounds i32, ptr %93, i64 %95
%98 = load i32, ptr %97, align 4, !tbaa !5
%99 = trunc i64 %95 to i32
%100 = select i1 %96, ptr %39, ptr %75
%101 = select i1 %96, i32 11, i32 -28
%102 = load ptr, ptr %100, align 8, !tbaa !15
%103 = load i32, ptr %102, align 4, !tbaa !5
%104 = add i32 %101, %99
%105 = tail call i32 @hid_set_field(i32 noundef %103, i32 noundef %104, i32 noundef %98) #2
%106 = add nuw nsw i64 %95, 1
%107 = icmp eq i64 %106, 64
br i1 %107, label %108, label %94, !llvm.loop !16
108: ; preds = %94
%109 = load i32, ptr %6, align 4, !tbaa !9
%110 = load i32, ptr @HID_REQ_SET_REPORT, align 4, !tbaa !5
%111 = tail call i32 @hid_hw_request(i32 noundef %109, ptr noundef nonnull %8, i32 noundef %110) #2
%112 = load i32, ptr %6, align 4, !tbaa !9
%113 = load i32, ptr @HID_REQ_SET_REPORT, align 4, !tbaa !5
%114 = tail call i32 @hid_hw_request(i32 noundef %112, ptr noundef nonnull %19, i32 noundef %113) #2
%115 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %28, i64 noundef undef) #2
br label %116
116: ; preds = %108, %34, %24, %13
%117 = phi i32 [ %15, %13 ], [ %26, %24 ], [ %37, %34 ], [ 0, %108 ]
ret i32 %117
}
declare ptr @picolcd_out_report(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @hid_set_field(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hid_hw_request(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"picolcd_data", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!12, !6, i64 0}
!12 = !{!"hid_report", !6, i64 0, !13, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!10, !6, i64 0}
!15 = !{!12, !13, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-picolcd_fb.c_picolcd_fb_send_tile.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-picolcd_fb.c_picolcd_fb_send_tile.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REPORT_LCD_CMD_DATA = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@REPORT_LCD_DATA = common local_unnamed_addr global i32 0, align 4
@PICOLCD_FAILED = common local_unnamed_addr global i32 0, align 4
@HID_REQ_SET_REPORT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @picolcd_fb_send_tile], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @picolcd_fb_send_tile(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @REPORT_LCD_CMD_DATA, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = tail call ptr @picolcd_out_report(i32 noundef %5, i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %4
%11 = load i32, ptr %8, align 8, !tbaa !12
%12 = icmp eq i32 %11, 1
br i1 %12, label %16, label %13
13: ; preds = %10, %4
%14 = load i32, ptr @ENODEV, align 4, !tbaa !6
%15 = sub nsw i32 0, %14
br label %116
16: ; preds = %10
%17 = load i32, ptr @REPORT_LCD_DATA, align 4, !tbaa !6
%18 = load i32, ptr %6, align 4, !tbaa !10
%19 = tail call ptr @picolcd_out_report(i32 noundef %17, i32 noundef %18) #2
%20 = icmp eq ptr %19, null
br i1 %20, label %24, label %21
21: ; preds = %16
%22 = load i32, ptr %19, align 8, !tbaa !12
%23 = icmp eq i32 %22, 1
br i1 %23, label %27, label %24
24: ; preds = %21, %16
%25 = load i32, ptr @ENODEV, align 4, !tbaa !6
%26 = sub nsw i32 0, %25
br label %116
27: ; preds = %21
%28 = getelementptr inbounds i8, ptr %0, i64 4
%29 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %28, i64 noundef undef) #2
%30 = load i32, ptr %0, align 4, !tbaa !15
%31 = load i32, ptr @PICOLCD_FAILED, align 4, !tbaa !6
%32 = and i32 %31, %30
%33 = icmp eq i32 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %27
%35 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %28, i64 noundef undef) #2
%36 = load i32, ptr @ENODEV, align 4, !tbaa !6
%37 = sub nsw i32 0, %36
br label %116
38: ; preds = %27
%39 = getelementptr inbounds i8, ptr %8, i64 8
%40 = load ptr, ptr %39, align 8, !tbaa !16
%41 = load i32, ptr %40, align 4, !tbaa !6
%42 = shl i32 %2, 2
%43 = tail call i32 @hid_set_field(i32 noundef %41, i32 noundef 0, i32 noundef %42) #2
%44 = load ptr, ptr %39, align 8, !tbaa !16
%45 = load i32, ptr %44, align 4, !tbaa !6
%46 = tail call i32 @hid_set_field(i32 noundef %45, i32 noundef 1, i32 noundef 2) #2
%47 = load ptr, ptr %39, align 8, !tbaa !16
%48 = load i32, ptr %47, align 4, !tbaa !6
%49 = tail call i32 @hid_set_field(i32 noundef %48, i32 noundef 2, i32 noundef 0) #2
%50 = load ptr, ptr %39, align 8, !tbaa !16
%51 = load i32, ptr %50, align 4, !tbaa !6
%52 = tail call i32 @hid_set_field(i32 noundef %51, i32 noundef 3, i32 noundef 0) #2
%53 = load ptr, ptr %39, align 8, !tbaa !16
%54 = load i32, ptr %53, align 4, !tbaa !6
%55 = or i32 %3, 184
%56 = tail call i32 @hid_set_field(i32 noundef %54, i32 noundef 4, i32 noundef %55) #2
%57 = load ptr, ptr %39, align 8, !tbaa !16
%58 = load i32, ptr %57, align 4, !tbaa !6
%59 = tail call i32 @hid_set_field(i32 noundef %58, i32 noundef 5, i32 noundef 0) #2
%60 = load ptr, ptr %39, align 8, !tbaa !16
%61 = load i32, ptr %60, align 4, !tbaa !6
%62 = tail call i32 @hid_set_field(i32 noundef %61, i32 noundef 6, i32 noundef 0) #2
%63 = load ptr, ptr %39, align 8, !tbaa !16
%64 = load i32, ptr %63, align 4, !tbaa !6
%65 = tail call i32 @hid_set_field(i32 noundef %64, i32 noundef 7, i32 noundef 64) #2
%66 = load ptr, ptr %39, align 8, !tbaa !16
%67 = load i32, ptr %66, align 4, !tbaa !6
%68 = tail call i32 @hid_set_field(i32 noundef %67, i32 noundef 8, i32 noundef 0) #2
%69 = load ptr, ptr %39, align 8, !tbaa !16
%70 = load i32, ptr %69, align 4, !tbaa !6
%71 = tail call i32 @hid_set_field(i32 noundef %70, i32 noundef 9, i32 noundef 0) #2
%72 = load ptr, ptr %39, align 8, !tbaa !16
%73 = load i32, ptr %72, align 4, !tbaa !6
%74 = tail call i32 @hid_set_field(i32 noundef %73, i32 noundef 10, i32 noundef 32) #2
%75 = getelementptr inbounds i8, ptr %19, i64 8
%76 = load ptr, ptr %75, align 8, !tbaa !16
%77 = load i32, ptr %76, align 4, !tbaa !6
%78 = or disjoint i32 %42, 1
%79 = tail call i32 @hid_set_field(i32 noundef %77, i32 noundef 0, i32 noundef %78) #2
%80 = load ptr, ptr %75, align 8, !tbaa !16
%81 = load i32, ptr %80, align 4, !tbaa !6
%82 = tail call i32 @hid_set_field(i32 noundef %81, i32 noundef 1, i32 noundef 0) #2
%83 = load ptr, ptr %75, align 8, !tbaa !16
%84 = load i32, ptr %83, align 4, !tbaa !6
%85 = tail call i32 @hid_set_field(i32 noundef %84, i32 noundef 2, i32 noundef 0) #2
%86 = load ptr, ptr %75, align 8, !tbaa !16
%87 = load i32, ptr %86, align 4, !tbaa !6
%88 = tail call i32 @hid_set_field(i32 noundef %87, i32 noundef 3, i32 noundef 32) #2
%89 = shl i32 %3, 8
%90 = shl i32 %2, 6
%91 = add i32 %89, %90
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i32, ptr %1, i64 %92
br label %94
94: ; preds = %38, %94
%95 = phi i64 [ 0, %38 ], [ %106, %94 ]
%96 = icmp ult i64 %95, 32
%97 = getelementptr inbounds i32, ptr %93, i64 %95
%98 = load i32, ptr %97, align 4, !tbaa !6
%99 = trunc i64 %95 to i32
%100 = select i1 %96, ptr %39, ptr %75
%101 = select i1 %96, i32 11, i32 -28
%102 = load ptr, ptr %100, align 8, !tbaa !16
%103 = load i32, ptr %102, align 4, !tbaa !6
%104 = add i32 %101, %99
%105 = tail call i32 @hid_set_field(i32 noundef %103, i32 noundef %104, i32 noundef %98) #2
%106 = add nuw nsw i64 %95, 1
%107 = icmp eq i64 %106, 64
br i1 %107, label %108, label %94, !llvm.loop !17
108: ; preds = %94
%109 = load i32, ptr %6, align 4, !tbaa !10
%110 = load i32, ptr @HID_REQ_SET_REPORT, align 4, !tbaa !6
%111 = tail call i32 @hid_hw_request(i32 noundef %109, ptr noundef nonnull %8, i32 noundef %110) #2
%112 = load i32, ptr %6, align 4, !tbaa !10
%113 = load i32, ptr @HID_REQ_SET_REPORT, align 4, !tbaa !6
%114 = tail call i32 @hid_hw_request(i32 noundef %112, ptr noundef nonnull %19, i32 noundef %113) #2
%115 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %28, i64 noundef undef) #2
br label %116
116: ; preds = %108, %34, %24, %13
%117 = phi i32 [ %15, %13 ], [ %26, %24 ], [ %37, %34 ], [ 0, %108 ]
ret i32 %117
}
declare ptr @picolcd_out_report(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @hid_set_field(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hid_hw_request(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"picolcd_data", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"hid_report", !7, i64 0, !14, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!11, !7, i64 0}
!16 = !{!13, !14, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_hid_extr_hid-picolcd_fb.c_picolcd_fb_send_tile
|
; ModuleID = 'AnghaBench/freebsd/contrib/ldns/extr_dnssec.c_ldns_nsec3_iterations.c'
source_filename = "AnghaBench/freebsd/contrib/ldns/extr_dnssec.c_ldns_nsec3_iterations.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LDNS_RR_TYPE_NSEC3 = dso_local local_unnamed_addr global i64 0, align 8
@LDNS_RR_TYPE_NSEC3PARAM = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @ldns_nsec3_iterations(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %21, label %3
3: ; preds = %1
%4 = tail call i64 @ldns_rr_get_type(ptr noundef nonnull %0) #2
%5 = load i64, ptr @LDNS_RR_TYPE_NSEC3, align 8, !tbaa !5
%6 = icmp eq i64 %4, %5
br i1 %6, label %11, label %7
7: ; preds = %3
%8 = tail call i64 @ldns_rr_get_type(ptr noundef nonnull %0) #2
%9 = load i64, ptr @LDNS_RR_TYPE_NSEC3PARAM, align 8, !tbaa !5
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %21
11: ; preds = %7, %3
%12 = tail call ptr @ldns_rr_rdf(ptr noundef nonnull %0, i32 noundef 2) #2
%13 = icmp eq ptr %12, null
br i1 %13, label %21, label %14
14: ; preds = %11
%15 = tail call ptr @ldns_rr_rdf(ptr noundef nonnull %0, i32 noundef 2) #2
%16 = tail call i64 @ldns_rdf_size(ptr noundef %15) #2
%17 = icmp sgt i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = tail call ptr @ldns_rr_rdf(ptr noundef nonnull %0, i32 noundef 2) #2
%20 = tail call i32 @ldns_rdf2native_int16(ptr noundef %19) #2
br label %21
21: ; preds = %1, %7, %11, %14, %18
%22 = phi i32 [ %20, %18 ], [ 0, %14 ], [ 0, %11 ], [ 0, %7 ], [ 0, %1 ]
ret i32 %22
}
declare i64 @ldns_rr_get_type(ptr noundef) local_unnamed_addr #1
declare ptr @ldns_rr_rdf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ldns_rdf_size(ptr noundef) local_unnamed_addr #1
declare i32 @ldns_rdf2native_int16(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/ldns/extr_dnssec.c_ldns_nsec3_iterations.c'
source_filename = "AnghaBench/freebsd/contrib/ldns/extr_dnssec.c_ldns_nsec3_iterations.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LDNS_RR_TYPE_NSEC3 = common local_unnamed_addr global i64 0, align 8
@LDNS_RR_TYPE_NSEC3PARAM = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ldns_nsec3_iterations(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %21, label %3
3: ; preds = %1
%4 = tail call i64 @ldns_rr_get_type(ptr noundef nonnull %0) #2
%5 = load i64, ptr @LDNS_RR_TYPE_NSEC3, align 8, !tbaa !6
%6 = icmp eq i64 %4, %5
br i1 %6, label %11, label %7
7: ; preds = %3
%8 = tail call i64 @ldns_rr_get_type(ptr noundef nonnull %0) #2
%9 = load i64, ptr @LDNS_RR_TYPE_NSEC3PARAM, align 8, !tbaa !6
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %21
11: ; preds = %7, %3
%12 = tail call ptr @ldns_rr_rdf(ptr noundef nonnull %0, i32 noundef 2) #2
%13 = icmp eq ptr %12, null
br i1 %13, label %21, label %14
14: ; preds = %11
%15 = tail call ptr @ldns_rr_rdf(ptr noundef nonnull %0, i32 noundef 2) #2
%16 = tail call i64 @ldns_rdf_size(ptr noundef %15) #2
%17 = icmp sgt i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = tail call ptr @ldns_rr_rdf(ptr noundef nonnull %0, i32 noundef 2) #2
%20 = tail call i32 @ldns_rdf2native_int16(ptr noundef %19) #2
br label %21
21: ; preds = %1, %7, %11, %14, %18
%22 = phi i32 [ %20, %18 ], [ 0, %14 ], [ 0, %11 ], [ 0, %7 ], [ 0, %1 ]
ret i32 %22
}
declare i64 @ldns_rr_get_type(ptr noundef) local_unnamed_addr #1
declare ptr @ldns_rr_rdf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ldns_rdf_size(ptr noundef) local_unnamed_addr #1
declare i32 @ldns_rdf2native_int16(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"}
|
freebsd_contrib_ldns_extr_dnssec.c_ldns_nsec3_iterations
|
; ModuleID = 'AnghaBench/reactos/dll/win32/msimtf/extr_activeimmapp.c_ActiveIMMApp_Destructor.c'
source_filename = "AnghaBench/reactos/dll/win32/msimtf/extr_activeimmapp.c_ActiveIMMApp_Destructor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ActiveIMMApp_Destructor], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ActiveIMMApp_Destructor(ptr noundef %0) #0 {
%2 = tail call i32 @TRACE(ptr noundef nonnull @.str) #2
%3 = tail call i32 (...) @GetProcessHeap() #2
%4 = tail call i32 @HeapFree(i32 noundef %3, i32 noundef 0, ptr noundef %0) #2
ret void
}
declare i32 @TRACE(ptr noundef) local_unnamed_addr #1
declare i32 @HeapFree(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @GetProcessHeap(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/reactos/dll/win32/msimtf/extr_activeimmapp.c_ActiveIMMApp_Destructor.c'
source_filename = "AnghaBench/reactos/dll/win32/msimtf/extr_activeimmapp.c_ActiveIMMApp_Destructor.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ActiveIMMApp_Destructor], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ActiveIMMApp_Destructor(ptr noundef %0) #0 {
%2 = tail call i32 @TRACE(ptr noundef nonnull @.str) #2
%3 = tail call i32 @GetProcessHeap() #2
%4 = tail call i32 @HeapFree(i32 noundef %3, i32 noundef 0, ptr noundef %0) #2
ret void
}
declare i32 @TRACE(ptr noundef) local_unnamed_addr #1
declare i32 @HeapFree(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @GetProcessHeap(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
reactos_dll_win32_msimtf_extr_activeimmapp.c_ActiveIMMApp_Destructor
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/extr_vmmgp100.c_gp100_vmm_pgt_pfn.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/extr_vmmgp100.c_gp100_vmm_pgt_pfn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NVKM_VMM_PFN_W = dso_local local_unnamed_addr global i32 0, align 4
@NVKM_VMM_PFN_VRAM = dso_local local_unnamed_addr global i32 0, align 4
@NVKM_VMM_PFN_ADDR_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@DMA_BIDIRECTIONAL = dso_local local_unnamed_addr global i32 0, align 4
@NVKM_VMM_PFN_ADDR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gp100_vmm_pgt_pfn], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gp100_vmm_pgt_pfn(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef %4) #0 {
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = load i32, ptr %1, align 4, !tbaa !15
%10 = tail call i32 @nvkm_kmap(i32 noundef %9) #2
%11 = icmp eq i32 %3, 0
br i1 %11, label %66, label %12
12: ; preds = %5
%13 = load ptr, ptr %4, align 8, !tbaa !18
br label %14
14: ; preds = %12, %58
%15 = phi ptr [ %64, %58 ], [ %13, %12 ]
%16 = phi i32 [ %18, %58 ], [ %3, %12 ]
%17 = phi i32 [ %60, %58 ], [ %2, %12 ]
%18 = add nsw i32 %16, -1
%19 = load i32, ptr %15, align 4, !tbaa !20
%20 = load i32, ptr @NVKM_VMM_PFN_W, align 4, !tbaa !20
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %14
%24 = tail call i32 @BIT_ULL(i32 noundef 6) #2
%25 = load ptr, ptr %4, align 8, !tbaa !18
%26 = load i32, ptr %25, align 4, !tbaa !20
br label %27
27: ; preds = %23, %14
%28 = phi i32 [ %19, %14 ], [ %26, %23 ]
%29 = phi i32 [ 0, %14 ], [ %24, %23 ]
%30 = load i32, ptr @NVKM_VMM_PFN_VRAM, align 4, !tbaa !20
%31 = and i32 %30, %28
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %51
33: ; preds = %27
%34 = load i32, ptr @NVKM_VMM_PFN_ADDR_SHIFT, align 4, !tbaa !20
%35 = ashr i32 %28, %34
%36 = tail call i32 @pfn_to_page(i32 noundef %35) #2
%37 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !20
%38 = load i32, ptr @DMA_BIDIRECTIONAL, align 4, !tbaa !20
%39 = tail call i32 @dma_map_page(ptr noundef %8, i32 noundef %36, i32 noundef 0, i32 noundef %37, i32 noundef %38) #2
%40 = tail call i32 @dma_mapping_error(ptr noundef %8, i32 noundef %39) #2
%41 = tail call i32 @WARN_ON(i32 noundef %40) #2
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %58
43: ; preds = %33
%44 = ashr i32 %39, 4
%45 = tail call i32 @BIT_ULL(i32 noundef 3) #2
%46 = tail call i32 @BIT_ULL(i32 noundef 0) #2
%47 = or i32 %44, %45
%48 = or i32 %47, %46
%49 = or i32 %48, %29
%50 = or i32 %49, 4
br label %58
51: ; preds = %27
%52 = load i32, ptr @NVKM_VMM_PFN_ADDR, align 4, !tbaa !20
%53 = and i32 %52, %28
%54 = ashr i32 %53, 4
%55 = tail call i32 @BIT_ULL(i32 noundef 0) #2
%56 = or i32 %55, %54
%57 = or i32 %56, %29
br label %58
58: ; preds = %33, %43, %51
%59 = phi i32 [ %57, %51 ], [ %29, %33 ], [ %50, %43 ]
%60 = add nsw i32 %17, 1
%61 = shl nsw i32 %17, 3
%62 = tail call i32 @VMM_WO064(ptr noundef nonnull %1, ptr noundef nonnull %0, i32 noundef %61, i32 noundef %59) #2
%63 = load ptr, ptr %4, align 8, !tbaa !18
%64 = getelementptr inbounds i32, ptr %63, i64 1
store ptr %64, ptr %4, align 8, !tbaa !18
%65 = icmp eq i32 %18, 0
br i1 %65, label %66, label %14, !llvm.loop !21
66: ; preds = %58, %5
%67 = load i32, ptr %1, align 4, !tbaa !15
%68 = tail call i32 @nvkm_done(i32 noundef %67) #2
ret void
}
declare i32 @nvkm_kmap(i32 noundef) local_unnamed_addr #1
declare i32 @BIT_ULL(i32 noundef) local_unnamed_addr #1
declare i32 @dma_map_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pfn_to_page(i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @dma_mapping_error(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VMM_WO064(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nvkm_done(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 = !{!"nvkm_vmm", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"TYPE_5__", !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_4__", !7, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"nvkm_mmu_pt", !17, i64 0}
!17 = !{!"int", !8, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"nvkm_vmm_map", !7, i64 0}
!20 = !{!17, !17, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/extr_vmmgp100.c_gp100_vmm_pgt_pfn.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/extr_vmmgp100.c_gp100_vmm_pgt_pfn.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NVKM_VMM_PFN_W = common local_unnamed_addr global i32 0, align 4
@NVKM_VMM_PFN_VRAM = common local_unnamed_addr global i32 0, align 4
@NVKM_VMM_PFN_ADDR_SHIFT = common local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@DMA_BIDIRECTIONAL = common local_unnamed_addr global i32 0, align 4
@NVKM_VMM_PFN_ADDR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gp100_vmm_pgt_pfn], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gp100_vmm_pgt_pfn(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef %4) #0 {
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = load i32, ptr %1, align 4, !tbaa !16
%10 = tail call i32 @nvkm_kmap(i32 noundef %9) #2
%11 = icmp eq i32 %3, 0
br i1 %11, label %66, label %12
12: ; preds = %5
%13 = load ptr, ptr %4, align 8, !tbaa !19
br label %14
14: ; preds = %12, %58
%15 = phi ptr [ %64, %58 ], [ %13, %12 ]
%16 = phi i32 [ %18, %58 ], [ %3, %12 ]
%17 = phi i32 [ %60, %58 ], [ %2, %12 ]
%18 = add nsw i32 %16, -1
%19 = load i32, ptr %15, align 4, !tbaa !21
%20 = load i32, ptr @NVKM_VMM_PFN_W, align 4, !tbaa !21
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %14
%24 = tail call i32 @BIT_ULL(i32 noundef 6) #2
%25 = load ptr, ptr %4, align 8, !tbaa !19
%26 = load i32, ptr %25, align 4, !tbaa !21
br label %27
27: ; preds = %23, %14
%28 = phi i32 [ %19, %14 ], [ %26, %23 ]
%29 = phi i32 [ 0, %14 ], [ %24, %23 ]
%30 = load i32, ptr @NVKM_VMM_PFN_VRAM, align 4, !tbaa !21
%31 = and i32 %30, %28
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %51
33: ; preds = %27
%34 = load i32, ptr @NVKM_VMM_PFN_ADDR_SHIFT, align 4, !tbaa !21
%35 = ashr i32 %28, %34
%36 = tail call i32 @pfn_to_page(i32 noundef %35) #2
%37 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !21
%38 = load i32, ptr @DMA_BIDIRECTIONAL, align 4, !tbaa !21
%39 = tail call i32 @dma_map_page(ptr noundef %8, i32 noundef %36, i32 noundef 0, i32 noundef %37, i32 noundef %38) #2
%40 = tail call i32 @dma_mapping_error(ptr noundef %8, i32 noundef %39) #2
%41 = tail call i32 @WARN_ON(i32 noundef %40) #2
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %58
43: ; preds = %33
%44 = ashr i32 %39, 4
%45 = tail call i32 @BIT_ULL(i32 noundef 3) #2
%46 = tail call i32 @BIT_ULL(i32 noundef 0) #2
%47 = or i32 %44, %45
%48 = or i32 %47, %46
%49 = or i32 %48, %29
%50 = or i32 %49, 4
br label %58
51: ; preds = %27
%52 = load i32, ptr @NVKM_VMM_PFN_ADDR, align 4, !tbaa !21
%53 = and i32 %52, %28
%54 = ashr i32 %53, 4
%55 = tail call i32 @BIT_ULL(i32 noundef 0) #2
%56 = or i32 %55, %54
%57 = or i32 %56, %29
br label %58
58: ; preds = %33, %43, %51
%59 = phi i32 [ %57, %51 ], [ %29, %33 ], [ %50, %43 ]
%60 = add nsw i32 %17, 1
%61 = shl nsw i32 %17, 3
%62 = tail call i32 @VMM_WO064(ptr noundef nonnull %1, ptr noundef nonnull %0, i32 noundef %61, i32 noundef %59) #2
%63 = load ptr, ptr %4, align 8, !tbaa !19
%64 = getelementptr inbounds i8, ptr %63, i64 4
store ptr %64, ptr %4, align 8, !tbaa !19
%65 = icmp eq i32 %18, 0
br i1 %65, label %66, label %14, !llvm.loop !22
66: ; preds = %58, %5
%67 = load i32, ptr %1, align 4, !tbaa !16
%68 = tail call i32 @nvkm_done(i32 noundef %67) #2
ret void
}
declare i32 @nvkm_kmap(i32 noundef) local_unnamed_addr #1
declare i32 @BIT_ULL(i32 noundef) local_unnamed_addr #1
declare i32 @dma_map_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pfn_to_page(i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @dma_mapping_error(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VMM_WO064(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nvkm_done(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 = !{!"nvkm_vmm", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"TYPE_5__", !8, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_4__", !8, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"nvkm_mmu_pt", !18, i64 0}
!18 = !{!"int", !9, i64 0}
!19 = !{!20, !8, i64 0}
!20 = !{!"nvkm_vmm_map", !8, i64 0}
!21 = !{!18, !18, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_gpu_drm_nouveau_nvkm_subdev_mmu_extr_vmmgp100.c_gp100_vmm_pgt_pfn
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_qdisc.c_mlxsw_sp_tclass_congestion_disable.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_qdisc.c_mlxsw_sp_tclass_congestion_disable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mlxsw_sp_port = type { i32, ptr }
@MLXSW_REG_CWTPM_LEN = dso_local local_unnamed_addr global i32 0, align 4
@MLXSW_REG_CWTPM_RESET_PROFILE = dso_local local_unnamed_addr global i32 0, align 4
@cwtpm = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlxsw_sp_tclass_congestion_disable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mlxsw_sp_tclass_congestion_disable(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.mlxsw_sp_port, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr @MLXSW_REG_CWTPM_LEN, align 4, !tbaa !11
%6 = zext i32 %5 to i64
%7 = alloca i8, i64 %6, align 16
%8 = load i32, ptr %0, align 8, !tbaa !12
%9 = load i32, ptr @MLXSW_REG_CWTPM_RESET_PROFILE, align 4, !tbaa !11
%10 = call i32 @mlxsw_reg_cwtpm_pack(ptr noundef nonnull %7, i32 noundef %8, i32 noundef %1, i32 noundef %9, i32 noundef 0, i32 noundef 0) #2
%11 = load i32, ptr %4, align 4, !tbaa !13
%12 = load i32, ptr @cwtpm, align 4, !tbaa !11
%13 = call i32 @MLXSW_REG(i32 noundef %12) #2
%14 = call i32 @mlxsw_reg_write(i32 noundef %11, i32 noundef %13, ptr noundef nonnull %7) #2
ret i32 %14
}
declare i32 @mlxsw_reg_cwtpm_pack(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlxsw_reg_write(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @MLXSW_REG(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"mlxsw_sp_port", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"mlxsw_sp", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_qdisc.c_mlxsw_sp_tclass_congestion_disable.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_qdisc.c_mlxsw_sp_tclass_congestion_disable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MLXSW_REG_CWTPM_LEN = common local_unnamed_addr global i32 0, align 4
@MLXSW_REG_CWTPM_RESET_PROFILE = common local_unnamed_addr global i32 0, align 4
@cwtpm = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mlxsw_sp_tclass_congestion_disable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mlxsw_sp_tclass_congestion_disable(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr @MLXSW_REG_CWTPM_LEN, align 4, !tbaa !12
%6 = zext i32 %5 to i64
%7 = alloca i8, i64 %6, align 1
%8 = load i32, ptr %0, align 8, !tbaa !13
%9 = load i32, ptr @MLXSW_REG_CWTPM_RESET_PROFILE, align 4, !tbaa !12
%10 = call i32 @mlxsw_reg_cwtpm_pack(ptr noundef nonnull %7, i32 noundef %8, i32 noundef %1, i32 noundef %9, i32 noundef 0, i32 noundef 0) #2
%11 = load i32, ptr %4, align 4, !tbaa !14
%12 = load i32, ptr @cwtpm, align 4, !tbaa !12
%13 = call i32 @MLXSW_REG(i32 noundef %12) #2
%14 = call i32 @mlxsw_reg_write(i32 noundef %11, i32 noundef %13, ptr noundef nonnull %7) #2
ret i32 %14
}
declare i32 @mlxsw_reg_cwtpm_pack(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlxsw_reg_write(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @MLXSW_REG(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"mlxsw_sp_port", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"mlxsw_sp", !8, i64 0}
|
linux_drivers_net_ethernet_mellanox_mlxsw_extr_spectrum_qdisc.c_mlxsw_sp_tclass_congestion_disable
|
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_uda1334.c_uda1334_put_deemph.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_uda1334.c_uda1334_put_deemph.c"
target datalayout = "e-m:e-p270:32:32-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 @uda1334_put_deemph], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @uda1334_put_deemph(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_soc_kcontrol_component(ptr noundef %0) #2
%4 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %3) #2
%5 = load ptr, ptr %1, align 8, !tbaa !5
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = icmp sgt i32 %6, 1
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @EINVAL, align 4, !tbaa !12
%10 = sub nsw i32 0, %9
br label %14
11: ; preds = %2
%12 = load i32, ptr %4, align 4, !tbaa !14
%13 = tail call i32 @gpiod_set_value_cansleep(i32 noundef %12, i32 noundef %6) #2
br label %14
14: ; preds = %11, %8
%15 = phi i32 [ %10, %8 ], [ 0, %11 ]
ret i32 %15
}
declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #1
declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @gpiod_set_value_cansleep(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, !9, i64 0}
!6 = !{!"snd_ctl_elem_value", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"uda1334_priv", !13, i64 0}
|
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_uda1334.c_uda1334_put_deemph.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_uda1334.c_uda1334_put_deemph.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 @uda1334_put_deemph], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @uda1334_put_deemph(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_soc_kcontrol_component(ptr noundef %0) #2
%4 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %3) #2
%5 = load ptr, ptr %1, align 8, !tbaa !6
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = icmp sgt i32 %6, 1
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @EINVAL, align 4, !tbaa !13
%10 = sub nsw i32 0, %9
br label %14
11: ; preds = %2
%12 = load i32, ptr %4, align 4, !tbaa !15
%13 = tail call i32 @gpiod_set_value_cansleep(i32 noundef %12, i32 noundef %6) #2
br label %14
14: ; preds = %11, %8
%15 = phi i32 [ %10, %8 ], [ 0, %11 ]
ret i32 %15
}
declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #1
declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @gpiod_set_value_cansleep(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, !10, i64 0}
!7 = !{!"snd_ctl_elem_value", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !11, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"uda1334_priv", !14, i64 0}
|
linux_sound_soc_codecs_extr_uda1334.c_uda1334_put_deemph
|
; ModuleID = 'AnghaBench/linux/kernel/extr_taskstats.c_send_reply.c'
source_filename = "AnghaBench/linux/kernel/extr_taskstats.c_send_reply.c"
target datalayout = "e-m:e-p270:32:32-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 @send_reply], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @send_reply(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @nlmsg_hdr(ptr noundef %0) #2
%4 = tail call ptr @nlmsg_data(i32 noundef %3) #2
%5 = tail call ptr @genlmsg_data(ptr noundef %4) #2
%6 = tail call i32 @genlmsg_end(ptr noundef %0, ptr noundef %5) #2
%7 = tail call i32 @genlmsg_reply(ptr noundef %0, ptr noundef %1) #2
ret i32 %7
}
declare ptr @nlmsg_data(i32 noundef) local_unnamed_addr #1
declare i32 @nlmsg_hdr(ptr noundef) local_unnamed_addr #1
declare ptr @genlmsg_data(ptr noundef) local_unnamed_addr #1
declare i32 @genlmsg_end(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @genlmsg_reply(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/kernel/extr_taskstats.c_send_reply.c'
source_filename = "AnghaBench/linux/kernel/extr_taskstats.c_send_reply.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 @send_reply], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @send_reply(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @nlmsg_hdr(ptr noundef %0) #2
%4 = tail call ptr @nlmsg_data(i32 noundef %3) #2
%5 = tail call ptr @genlmsg_data(ptr noundef %4) #2
%6 = tail call i32 @genlmsg_end(ptr noundef %0, ptr noundef %5) #2
%7 = tail call i32 @genlmsg_reply(ptr noundef %0, ptr noundef %1) #2
ret i32 %7
}
declare ptr @nlmsg_data(i32 noundef) local_unnamed_addr #1
declare i32 @nlmsg_hdr(ptr noundef) local_unnamed_addr #1
declare ptr @genlmsg_data(ptr noundef) local_unnamed_addr #1
declare i32 @genlmsg_end(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @genlmsg_reply(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_kernel_extr_taskstats.c_send_reply
|
; ModuleID = 'AnghaBench/openssl/crypto/rand/extr_rand_lib.c_rand_pool_detach.c'
source_filename = "AnghaBench/openssl/crypto/rand/extr_rand_lib.c_rand_pool_detach.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define dso_local ptr @rand_pool_detach(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
ret ptr %2
}
; 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(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
|
; ModuleID = 'AnghaBench/openssl/crypto/rand/extr_rand_lib.c_rand_pool_detach.c'
source_filename = "AnghaBench/openssl/crypto/rand/extr_rand_lib.c_rand_pool_detach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define ptr @rand_pool_detach(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
ret ptr %2
}
; 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(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
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 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
|
openssl_crypto_rand_extr_rand_lib.c_rand_pool_detach
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_cbs_vp9.c_cbs_vp9_read_le.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_cbs_vp9.c_cbs_vp9_read_le.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, i32 }
@AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"Invalid le value at %s: bitstream ended.\0A\00", align 1
@AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cbs_vp9_read_le], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cbs_vp9_read_le(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef writeonly %5) #0 {
%7 = alloca [33 x i8], align 16
%8 = and i32 %2, 7
%9 = icmp eq i32 %8, 0
%10 = zext i1 %9 to i32
%11 = tail call i32 @av_assert0(i32 noundef %10) #3
%12 = load i64, ptr %0, align 8, !tbaa !5
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %6
%15 = tail call i32 @get_bits_count(ptr noundef %1) #3
br label %16
16: ; preds = %14, %6
%17 = phi i32 [ %15, %14 ], [ undef, %6 ]
%18 = tail call i32 @get_bits_left(ptr noundef %1) #3
%19 = icmp slt i32 %18, %2
br i1 %19, label %22, label %20
20: ; preds = %16
%21 = icmp sgt i32 %2, 0
br i1 %21, label %28, label %39
22: ; preds = %16
%23 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%24 = load i32, ptr %23, align 8, !tbaa !11
%25 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !12
%26 = tail call i32 @av_log(i32 noundef %24, i32 noundef %25, ptr noundef nonnull @.str, ptr noundef %3) #3
%27 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !12
br label %114
28: ; preds = %20, %28
%29 = phi i32 [ %34, %28 ], [ 0, %20 ]
%30 = phi i32 [ %33, %28 ], [ 0, %20 ]
%31 = tail call i32 @get_bits(ptr noundef %1, i32 noundef 8) #3
%32 = shl i32 %31, %29
%33 = or i32 %32, %30
%34 = add nuw nsw i32 %29, 8
%35 = icmp slt i32 %34, %2
br i1 %35, label %28, label %36, !llvm.loop !13
36: ; preds = %28
%37 = load i64, ptr %0, align 8, !tbaa !5
%38 = icmp eq i64 %37, 0
br i1 %38, label %112, label %43
39: ; preds = %20
%40 = load i64, ptr %0, align 8, !tbaa !5
%41 = icmp eq i64 %40, 0
br i1 %41, label %112, label %42
42: ; preds = %39
call void @llvm.lifetime.start.p0(i64 33, ptr nonnull %7) #3
br label %107
43: ; preds = %36
call void @llvm.lifetime.start.p0(i64 33, ptr nonnull %7) #3
br i1 %21, label %44, label %107
44: ; preds = %43
%45 = zext nneg i32 %2 to i64
br label %46
46: ; preds = %44, %46
%47 = phi i64 [ 0, %44 ], [ %103, %46 ]
%48 = trunc i64 %47 to i32
%49 = shl nuw i32 1, %48
%50 = and i32 %49, %33
%51 = icmp eq i32 %50, 0
%52 = select i1 %51, i8 48, i8 49
%53 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %47
store i8 %52, ptr %53, align 8, !tbaa !15
%54 = or disjoint i64 %47, 1
%55 = trunc i64 %54 to i32
%56 = shl nuw i32 1, %55
%57 = and i32 %56, %33
%58 = icmp eq i32 %57, 0
%59 = select i1 %58, i8 48, i8 49
%60 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %54
store i8 %59, ptr %60, align 1, !tbaa !15
%61 = or disjoint i64 %47, 2
%62 = trunc i64 %61 to i32
%63 = shl nuw i32 1, %62
%64 = and i32 %63, %33
%65 = icmp eq i32 %64, 0
%66 = select i1 %65, i8 48, i8 49
%67 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %61
store i8 %66, ptr %67, align 2, !tbaa !15
%68 = or disjoint i64 %47, 3
%69 = trunc i64 %68 to i32
%70 = shl nuw i32 1, %69
%71 = and i32 %70, %33
%72 = icmp eq i32 %71, 0
%73 = select i1 %72, i8 48, i8 49
%74 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %68
store i8 %73, ptr %74, align 1, !tbaa !15
%75 = or disjoint i64 %47, 4
%76 = trunc i64 %75 to i32
%77 = shl nuw i32 1, %76
%78 = and i32 %77, %33
%79 = icmp eq i32 %78, 0
%80 = select i1 %79, i8 48, i8 49
%81 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %75
store i8 %80, ptr %81, align 4, !tbaa !15
%82 = or disjoint i64 %47, 5
%83 = trunc i64 %82 to i32
%84 = shl nuw i32 1, %83
%85 = and i32 %84, %33
%86 = icmp eq i32 %85, 0
%87 = select i1 %86, i8 48, i8 49
%88 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %82
store i8 %87, ptr %88, align 1, !tbaa !15
%89 = or disjoint i64 %47, 6
%90 = trunc i64 %89 to i32
%91 = shl nuw i32 1, %90
%92 = and i32 %91, %33
%93 = icmp eq i32 %92, 0
%94 = select i1 %93, i8 48, i8 49
%95 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %89
store i8 %94, ptr %95, align 2, !tbaa !15
%96 = or disjoint i64 %47, 7
%97 = trunc i64 %96 to i32
%98 = shl nuw i32 1, %97
%99 = and i32 %98, %33
%100 = icmp eq i32 %99, 0
%101 = select i1 %100, i8 48, i8 49
%102 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %96
store i8 %101, ptr %102, align 1, !tbaa !15
%103 = add nuw nsw i64 %47, 8
%104 = icmp ult i64 %103, %45
br i1 %104, label %46, label %105, !llvm.loop !16
105: ; preds = %46
%106 = and i64 %103, 4294967288
br label %107
107: ; preds = %42, %105, %43
%108 = phi i32 [ %33, %43 ], [ %33, %105 ], [ 0, %42 ]
%109 = phi i64 [ 0, %43 ], [ %106, %105 ], [ 0, %42 ]
%110 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %109
store i8 0, ptr %110, align 8, !tbaa !15
%111 = call i32 @ff_cbs_trace_syntax_element(ptr noundef nonnull %0, i32 noundef %17, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %7, i32 noundef %108) #3
call void @llvm.lifetime.end.p0(i64 33, ptr nonnull %7) #3
br label %112
112: ; preds = %39, %107, %36
%113 = phi i32 [ 0, %39 ], [ %108, %107 ], [ %33, %36 ]
store i32 %113, ptr %5, align 4, !tbaa !12
br label %114
114: ; preds = %112, %22
%115 = phi i32 [ %27, %22 ], [ 0, %112 ]
ret i32 %115
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @av_assert0(i32 noundef) local_unnamed_addr #2
declare i32 @get_bits_count(ptr noundef) local_unnamed_addr #2
declare i32 @get_bits_left(ptr noundef) local_unnamed_addr #2
declare i32 @av_log(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ff_cbs_trace_syntax_element(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !14}
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_cbs_vp9.c_cbs_vp9_read_le.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_cbs_vp9.c_cbs_vp9_read_le.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"Invalid le value at %s: bitstream ended.\0A\00", align 1
@AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cbs_vp9_read_le], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cbs_vp9_read_le(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef writeonly %5) #0 {
%7 = alloca [33 x i8], align 1
%8 = and i32 %2, 7
%9 = icmp eq i32 %8, 0
%10 = zext i1 %9 to i32
%11 = tail call i32 @av_assert0(i32 noundef %10) #3
%12 = load i64, ptr %0, align 8, !tbaa !6
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %6
%15 = tail call i32 @get_bits_count(ptr noundef %1) #3
br label %16
16: ; preds = %14, %6
%17 = phi i32 [ %15, %14 ], [ undef, %6 ]
%18 = tail call i32 @get_bits_left(ptr noundef %1) #3
%19 = icmp slt i32 %18, %2
br i1 %19, label %22, label %20
20: ; preds = %16
%21 = icmp sgt i32 %2, 0
br i1 %21, label %28, label %39
22: ; preds = %16
%23 = getelementptr inbounds i8, ptr %0, i64 8
%24 = load i32, ptr %23, align 8, !tbaa !12
%25 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !13
%26 = tail call i32 @av_log(i32 noundef %24, i32 noundef %25, ptr noundef nonnull @.str, ptr noundef %3) #3
%27 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !13
br label %136
28: ; preds = %20, %28
%29 = phi i32 [ %34, %28 ], [ 0, %20 ]
%30 = phi i32 [ %33, %28 ], [ 0, %20 ]
%31 = tail call i32 @get_bits(ptr noundef %1, i32 noundef 8) #3
%32 = shl i32 %31, %29
%33 = or i32 %32, %30
%34 = add nuw nsw i32 %29, 8
%35 = icmp slt i32 %34, %2
br i1 %35, label %28, label %36, !llvm.loop !14
36: ; preds = %28
%37 = load i64, ptr %0, align 8, !tbaa !6
%38 = icmp eq i64 %37, 0
br i1 %38, label %134, label %43
39: ; preds = %20
%40 = load i64, ptr %0, align 8, !tbaa !6
%41 = icmp eq i64 %40, 0
br i1 %41, label %134, label %42
42: ; preds = %39
call void @llvm.lifetime.start.p0(i64 33, ptr nonnull %7) #3
br label %129
43: ; preds = %36
call void @llvm.lifetime.start.p0(i64 33, ptr nonnull %7) #3
br i1 %21, label %44, label %129
44: ; preds = %43
%45 = zext nneg i32 %2 to i64
%46 = add nsw i64 %45, -1
%47 = lshr i64 %46, 3
%48 = add nuw nsw i64 %47, 1
%49 = icmp ult i32 %2, 121
br i1 %49, label %96, label %50
50: ; preds = %44
%51 = and i64 %48, 4611686018427387888
%52 = shl i64 %51, 3
%53 = insertelement <16 x i32> poison, i32 %33, i64 0
%54 = getelementptr i8, ptr %7, i64 -7
%55 = shufflevector <16 x i32> %53, <16 x i32> poison, <32 x i32> zeroinitializer
%56 = shufflevector <16 x i32> %53, <16 x i32> poison, <32 x i32> zeroinitializer
%57 = and <32 x i32> %56, <i32 4, i32 1024, i32 262144, i32 67108864, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 8, i32 2048, i32 524288, i32 134217728, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
%58 = icmp eq <32 x i32> %57, zeroinitializer
%59 = select <32 x i1> %58, <32 x i8> <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>, <32 x i8> <i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49>
%60 = shufflevector <16 x i32> %53, <16 x i32> poison, <32 x i32> zeroinitializer
%61 = and <32 x i32> %60, <i32 16, i32 4096, i32 1048576, i32 268435456, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 32, i32 8192, i32 2097152, i32 536870912, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
%62 = icmp eq <32 x i32> %61, zeroinitializer
%63 = select <32 x i1> %62, <32 x i8> <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>, <32 x i8> <i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49>
%64 = shufflevector <16 x i32> %53, <16 x i32> poison, <32 x i32> zeroinitializer
br label %65
65: ; preds = %65, %50
%66 = phi i64 [ 0, %50 ], [ %91, %65 ]
%67 = phi <16 x i32> [ <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56, i32 64, i32 72, i32 80, i32 88, i32 96, i32 104, i32 112, i32 120>, %50 ], [ %92, %65 ]
%68 = shl i64 %66, 3
%69 = insertelement <16 x i64> poison, i64 %68, i64 0
%70 = shufflevector <16 x i64> %69, <16 x i64> poison, <16 x i32> zeroinitializer
%71 = trunc <16 x i64> %70 to <16 x i32>
%72 = or disjoint <16 x i32> %71, <i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57, i32 65, i32 73, i32 81, i32 89, i32 97, i32 105, i32 113, i32 121>
%73 = or disjoint <16 x i64> %70, <i64 6, i64 14, i64 22, i64 30, i64 38, i64 46, i64 54, i64 62, i64 70, i64 78, i64 86, i64 94, i64 102, i64 110, i64 118, i64 126>
%74 = or disjoint <16 x i64> %70, <i64 7, i64 15, i64 23, i64 31, i64 39, i64 47, i64 55, i64 63, i64 71, i64 79, i64 87, i64 95, i64 103, i64 111, i64 119, i64 127>
%75 = extractelement <16 x i64> %74, i64 0
%76 = getelementptr [33 x i8], ptr %54, i64 0, i64 %75
%77 = shufflevector <16 x i32> %67, <16 x i32> %72, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
%78 = shl nuw <32 x i32> <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>, %77
%79 = and <32 x i32> %78, %55
%80 = icmp eq <32 x i32> %79, zeroinitializer
%81 = select <32 x i1> %80, <32 x i8> <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>, <32 x i8> <i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49>
%82 = shufflevector <16 x i64> %73, <16 x i64> %74, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
%83 = trunc <32 x i64> %82 to <32 x i32>
%84 = shl nuw <32 x i32> <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>, %83
%85 = and <32 x i32> %84, %64
%86 = icmp eq <32 x i32> %85, zeroinitializer
%87 = select <32 x i1> %86, <32 x i8> <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>, <32 x i8> <i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49>
%88 = shufflevector <32 x i8> %81, <32 x i8> %59, <64 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31, i32 32, i32 33, i32 34, i32 35, i32 36, i32 37, i32 38, i32 39, i32 40, i32 41, i32 42, i32 43, i32 44, i32 45, i32 46, i32 47, i32 48, i32 49, i32 50, i32 51, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 58, i32 59, i32 60, i32 61, i32 62, i32 63>
%89 = shufflevector <32 x i8> %63, <32 x i8> %87, <64 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31, i32 32, i32 33, i32 34, i32 35, i32 36, i32 37, i32 38, i32 39, i32 40, i32 41, i32 42, i32 43, i32 44, i32 45, i32 46, i32 47, i32 48, i32 49, i32 50, i32 51, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 58, i32 59, i32 60, i32 61, i32 62, i32 63>
%90 = shufflevector <64 x i8> %88, <64 x i8> %89, <128 x i32> <i32 0, i32 16, i32 32, i32 48, i32 64, i32 80, i32 96, i32 112, i32 1, i32 17, i32 33, i32 49, i32 65, i32 81, i32 97, i32 113, i32 2, i32 18, i32 34, i32 50, i32 66, i32 82, i32 98, i32 114, i32 3, i32 19, i32 35, i32 51, i32 67, i32 83, i32 99, i32 115, i32 4, i32 20, i32 36, i32 52, i32 68, i32 84, i32 100, i32 116, i32 5, i32 21, i32 37, i32 53, i32 69, i32 85, i32 101, i32 117, i32 6, i32 22, i32 38, i32 54, i32 70, i32 86, i32 102, i32 118, i32 7, i32 23, i32 39, i32 55, i32 71, i32 87, i32 103, i32 119, i32 8, i32 24, i32 40, i32 56, i32 72, i32 88, i32 104, i32 120, i32 9, i32 25, i32 41, i32 57, i32 73, i32 89, i32 105, i32 121, i32 10, i32 26, i32 42, i32 58, i32 74, i32 90, i32 106, i32 122, i32 11, i32 27, i32 43, i32 59, i32 75, i32 91, i32 107, i32 123, i32 12, i32 28, i32 44, i32 60, i32 76, i32 92, i32 108, i32 124, i32 13, i32 29, i32 45, i32 61, i32 77, i32 93, i32 109, i32 125, i32 14, i32 30, i32 46, i32 62, i32 78, i32 94, i32 110, i32 126, i32 15, i32 31, i32 47, i32 63, i32 79, i32 95, i32 111, i32 127>
store <128 x i8> %90, ptr %76, align 1, !tbaa !16
%91 = add nuw i64 %66, 16
%92 = add <16 x i32> %67, <i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128, i32 128>
%93 = icmp eq i64 %91, %51
br i1 %93, label %94, label %65, !llvm.loop !17
94: ; preds = %65
%95 = icmp eq i64 %48, %51
br i1 %95, label %126, label %96
96: ; preds = %94, %44
%97 = phi i64 [ 0, %44 ], [ %52, %94 ]
%98 = insertelement <8 x i32> poison, i32 %33, i64 0
%99 = shufflevector <8 x i32> %98, <8 x i32> poison, <8 x i32> zeroinitializer
br label %100
100: ; preds = %96, %100
%101 = phi i64 [ %124, %100 ], [ %97, %96 ]
%102 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %101
%103 = trunc i64 %101 to i32
%104 = insertelement <8 x i32> poison, i32 %103, i64 0
%105 = trunc i64 %101 to i32
%106 = or disjoint i32 %105, 1
%107 = insertelement <8 x i32> %104, i32 %106, i64 1
%108 = trunc i64 %101 to i32
%109 = insertelement <2 x i32> poison, i32 %108, i64 0
%110 = shufflevector <2 x i32> %109, <2 x i32> poison, <2 x i32> zeroinitializer
%111 = or <2 x i32> %110, <i32 2, i32 3>
%112 = shufflevector <2 x i32> %111, <2 x i32> poison, <8 x i32> <i32 0, i32 1, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
%113 = shufflevector <8 x i32> %107, <8 x i32> %112, <8 x i32> <i32 0, i32 1, i32 8, i32 9, i32 poison, i32 poison, i32 poison, i32 poison>
%114 = trunc i64 %101 to i32
%115 = insertelement <4 x i32> poison, i32 %114, i64 0
%116 = shufflevector <4 x i32> %115, <4 x i32> poison, <4 x i32> zeroinitializer
%117 = or <4 x i32> %116, <i32 4, i32 5, i32 6, i32 7>
%118 = shufflevector <4 x i32> %117, <4 x i32> poison, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison>
%119 = shufflevector <8 x i32> %113, <8 x i32> %118, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 8, i32 9, i32 10, i32 11>
%120 = shl nuw <8 x i32> <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>, %119
%121 = and <8 x i32> %120, %99
%122 = icmp eq <8 x i32> %121, zeroinitializer
%123 = select <8 x i1> %122, <8 x i8> <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>, <8 x i8> <i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49, i8 49>
store <8 x i8> %123, ptr %102, align 1, !tbaa !16
%124 = add nuw nsw i64 %101, 8
%125 = icmp ult i64 %124, %45
br i1 %125, label %100, label %126, !llvm.loop !20
126: ; preds = %100, %94
%127 = phi i64 [ %52, %94 ], [ %124, %100 ]
%128 = and i64 %127, 4294967288
br label %129
129: ; preds = %42, %126, %43
%130 = phi i32 [ %33, %43 ], [ %33, %126 ], [ 0, %42 ]
%131 = phi i64 [ 0, %43 ], [ %128, %126 ], [ 0, %42 ]
%132 = getelementptr inbounds [33 x i8], ptr %7, i64 0, i64 %131
store i8 0, ptr %132, align 1, !tbaa !16
%133 = call i32 @ff_cbs_trace_syntax_element(ptr noundef nonnull %0, i32 noundef %17, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %7, i32 noundef %130) #3
call void @llvm.lifetime.end.p0(i64 33, ptr nonnull %7) #3
br label %134
134: ; preds = %39, %129, %36
%135 = phi i32 [ 0, %39 ], [ %130, %129 ], [ %33, %36 ]
store i32 %135, ptr %5, align 4, !tbaa !13
br label %136
136: ; preds = %134, %22
%137 = phi i32 [ %27, %22 ], [ 0, %134 ]
ret i32 %137
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @av_assert0(i32 noundef) local_unnamed_addr #2
declare i32 @get_bits_count(ptr noundef) local_unnamed_addr #2
declare i32 @get_bits_left(ptr noundef) local_unnamed_addr #2
declare i32 @av_log(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ff_cbs_trace_syntax_element(ptr noundef, i32 noundef, ptr noundef, 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_4__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!9, !9, i64 0}
!17 = distinct !{!17, !15, !18, !19}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !15, !19, !18}
|
FFmpeg_libavcodec_extr_cbs_vp9.c_cbs_vp9_read_le
|
; ModuleID = 'AnghaBench/freebsd/contrib/bsnmp/snmpd/extr_main.c_trans_first_port.c'
source_filename = "AnghaBench/freebsd/contrib/bsnmp/snmpd/extr_main.c_trans_first_port.c"
target datalayout = "e-m:e-p270:32:32-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 @trans_first_port(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @TAILQ_FIRST(ptr noundef %0) #2
ret ptr %2
}
declare ptr @TAILQ_FIRST(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/bsnmp/snmpd/extr_main.c_trans_first_port.c'
source_filename = "AnghaBench/freebsd/contrib/bsnmp/snmpd/extr_main.c_trans_first_port.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 @trans_first_port(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @TAILQ_FIRST(ptr noundef %0) #2
ret ptr %2
}
declare ptr @TAILQ_FIRST(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_bsnmp_snmpd_extr_main.c_trans_first_port
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/boot/extr_ps3.c_DBG.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/boot/extr_ps3.c_DBG.c"
target datalayout = "e-m:e-p270:32:32-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 @DBG], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @DBG(ptr nocapture readnone %0, ...) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/boot/extr_ps3.c_DBG.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/boot/extr_ps3.c_DBG.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 @DBG], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @DBG(ptr nocapture readnone %0, ...) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_arch_powerpc_boot_extr_ps3.c_DBG
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_celleb_scc_epci.c_celleb_epci_make_config_addr.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_celleb_scc_epci.c_celleb_epci_make_config_addr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"EPCI: config_addr = 0x%p\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @celleb_epci_make_config_addr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i64 @celleb_epci_make_config_addr(ptr noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load ptr, ptr %1, align 8, !tbaa !5
%6 = icmp eq ptr %5, %0
%7 = tail call i64 @celleb_epci_get_epci_cfg(ptr noundef nonnull %1) #2
br i1 %6, label %18, label %8
8: ; preds = %4
%9 = load i32, ptr %0, align 4, !tbaa !10
%10 = shl i32 %9, 16
%11 = and i32 %10, 16711680
%12 = shl i32 %2, 8
%13 = and i32 %12, 65280
%14 = and i32 %3, 255
%15 = or disjoint i32 %13, %14
%16 = or disjoint i32 %15, %11
%17 = or disjoint i32 %16, 16777216
br label %23
18: ; preds = %4
%19 = shl i32 %2, 8
%20 = and i32 %19, 65280
%21 = and i32 %3, 255
%22 = or disjoint i32 %20, %21
br label %23
23: ; preds = %18, %8
%24 = phi i32 [ %22, %18 ], [ %17, %8 ]
%25 = zext nneg i32 %24 to i64
%26 = add nsw i64 %7, %25
%27 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i64 noundef %26) #2
ret i64 %26
}
declare i64 @celleb_epci_get_epci_cfg(ptr noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"pci_controller", !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 = !{!"pci_bus", !12, i64 0}
!12 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_celleb_scc_epci.c_celleb_epci_make_config_addr.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_celleb_scc_epci.c_celleb_epci_make_config_addr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [26 x i8] c"EPCI: config_addr = 0x%p\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @celleb_epci_make_config_addr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i64 @celleb_epci_make_config_addr(ptr noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load ptr, ptr %1, align 8, !tbaa !6
%6 = icmp eq ptr %5, %0
%7 = tail call i64 @celleb_epci_get_epci_cfg(ptr noundef nonnull %1) #2
br i1 %6, label %18, label %8
8: ; preds = %4
%9 = load i32, ptr %0, align 4, !tbaa !11
%10 = shl i32 %9, 16
%11 = and i32 %10, 16711680
%12 = shl i32 %2, 8
%13 = and i32 %12, 65280
%14 = and i32 %3, 255
%15 = or disjoint i32 %13, %14
%16 = or disjoint i32 %15, %11
%17 = or disjoint i32 %16, 16777216
br label %23
18: ; preds = %4
%19 = shl i32 %2, 8
%20 = and i32 %19, 65280
%21 = and i32 %3, 255
%22 = or disjoint i32 %20, %21
br label %23
23: ; preds = %18, %8
%24 = phi i32 [ %22, %18 ], [ %17, %8 ]
%25 = zext nneg i32 %24 to i64
%26 = add nsw i64 %7, %25
%27 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i64 noundef %26) #2
ret i64 %26
}
declare i64 @celleb_epci_get_epci_cfg(ptr noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"pci_controller", !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 = !{!"pci_bus", !13, i64 0}
!13 = !{!"int", !9, i64 0}
|
fastsocket_kernel_arch_powerpc_platforms_cell_extr_celleb_scc_epci.c_celleb_epci_make_config_addr
|
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dmu.c_dmu_write_impl.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_dmu.c_dmu_write_impl.c"
target datalayout = "e-m:e-p270:32:32-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 { i64, i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @dmu_write_impl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dmu_write_impl(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = icmp sgt i32 %1, 0
br i1 %7, label %8, label %102
8: ; preds = %6
%9 = add nsw i32 %1, -1
%10 = zext nneg i32 %9 to i64
%11 = zext nneg i32 %1 to i64
%12 = load ptr, ptr %0, align 8, !tbaa !5
%13 = icmp sgt i64 %3, 0
%14 = zext i1 %13 to i32
%15 = tail call i32 @ASSERT(i32 noundef %14) #2
%16 = load i64, ptr %12, align 8, !tbaa !9
%17 = sub nsw i64 %2, %16
%18 = trunc i64 %17 to i32
%19 = getelementptr inbounds %struct.TYPE_6__, ptr %12, i64 0, i32 1
%20 = load i32, ptr %19, align 8, !tbaa !13
%21 = sub nsw i32 %20, %18
%22 = tail call i64 @MIN(i32 noundef %21, i64 noundef %3) #2
%23 = tail call i32 @ASSERT(i32 noundef 1) #2
%24 = load i32, ptr %19, align 8, !tbaa !13
%25 = sext i32 %24 to i64
%26 = icmp eq i64 %22, %25
br i1 %26, label %29, label %27
27: ; preds = %8
%28 = tail call i32 @dmu_buf_will_dirty(ptr noundef nonnull %12, ptr noundef %5) #2
br label %31
29: ; preds = %8
%30 = tail call i32 @dmu_buf_will_fill(ptr noundef nonnull %12, ptr noundef %5) #2
br label %31
31: ; preds = %29, %27
%32 = getelementptr inbounds %struct.TYPE_6__, ptr %12, i64 0, i32 2
%33 = load i64, ptr %32, align 8, !tbaa !14
%34 = inttoptr i64 %33 to ptr
%35 = shl i64 %17, 32
%36 = ashr exact i64 %35, 32
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = tail call i32 @memcpy(ptr noundef %37, ptr noundef %4, i64 noundef %22) #2
%39 = load i32, ptr %19, align 8, !tbaa !13
%40 = sext i32 %39 to i64
%41 = icmp eq i64 %22, %40
br i1 %41, label %42, label %44
42: ; preds = %31
%43 = tail call i32 @dmu_buf_fill_done(ptr noundef nonnull %12, ptr noundef %5) #2
br label %44
44: ; preds = %42, %31
%45 = icmp eq i32 %1, 1
br i1 %45, label %102, label %46
46: ; preds = %44
%47 = getelementptr inbounds i8, ptr %4, i64 %22
%48 = sub nsw i64 %3, %22
%49 = add nsw i64 %22, %2
br label %50
50: ; preds = %46, %96
%51 = phi i64 [ 1, %46 ], [ %100, %96 ]
%52 = phi i64 [ %49, %46 ], [ %97, %96 ]
%53 = phi i64 [ %48, %46 ], [ %98, %96 ]
%54 = phi ptr [ %47, %46 ], [ %99, %96 ]
%55 = getelementptr inbounds ptr, ptr %0, i64 %51
%56 = load ptr, ptr %55, align 8, !tbaa !5
%57 = icmp sgt i64 %53, 0
%58 = zext i1 %57 to i32
%59 = tail call i32 @ASSERT(i32 noundef %58) #2
%60 = load i64, ptr %56, align 8, !tbaa !9
%61 = sub nsw i64 %52, %60
%62 = trunc i64 %61 to i32
%63 = getelementptr inbounds %struct.TYPE_6__, ptr %56, i64 0, i32 1
%64 = load i32, ptr %63, align 8, !tbaa !13
%65 = sub nsw i32 %64, %62
%66 = tail call i64 @MIN(i32 noundef %65, i64 noundef %53) #2
%67 = icmp eq i64 %51, %10
br i1 %67, label %72, label %68
68: ; preds = %50
%69 = load i32, ptr %63, align 8, !tbaa !13
%70 = sext i32 %69 to i64
%71 = icmp eq i64 %66, %70
br label %72
72: ; preds = %68, %50
%73 = phi i1 [ true, %50 ], [ %71, %68 ]
%74 = zext i1 %73 to i32
%75 = tail call i32 @ASSERT(i32 noundef %74) #2
%76 = load i32, ptr %63, align 8, !tbaa !13
%77 = sext i32 %76 to i64
%78 = icmp eq i64 %66, %77
br i1 %78, label %79, label %81
79: ; preds = %72
%80 = tail call i32 @dmu_buf_will_fill(ptr noundef nonnull %56, ptr noundef %5) #2
br label %83
81: ; preds = %72
%82 = tail call i32 @dmu_buf_will_dirty(ptr noundef nonnull %56, ptr noundef %5) #2
br label %83
83: ; preds = %81, %79
%84 = getelementptr inbounds %struct.TYPE_6__, ptr %56, i64 0, i32 2
%85 = load i64, ptr %84, align 8, !tbaa !14
%86 = inttoptr i64 %85 to ptr
%87 = shl i64 %61, 32
%88 = ashr exact i64 %87, 32
%89 = getelementptr inbounds i8, ptr %86, i64 %88
%90 = tail call i32 @memcpy(ptr noundef %89, ptr noundef %54, i64 noundef %66) #2
%91 = load i32, ptr %63, align 8, !tbaa !13
%92 = sext i32 %91 to i64
%93 = icmp eq i64 %66, %92
br i1 %93, label %94, label %96
94: ; preds = %83
%95 = tail call i32 @dmu_buf_fill_done(ptr noundef nonnull %56, ptr noundef %5) #2
br label %96
96: ; preds = %94, %83
%97 = add nsw i64 %66, %52
%98 = sub nsw i64 %53, %66
%99 = getelementptr inbounds i8, ptr %54, i64 %66
%100 = add nuw nsw i64 %51, 1
%101 = icmp eq i64 %100, %11
br i1 %101, label %102, label %50, !llvm.loop !15
102: ; preds = %96, %44, %6
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i64 @MIN(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dmu_buf_will_fill(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dmu_buf_will_dirty(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dmu_buf_fill_done(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_6__", !11, i64 0, !12, i64 8, !11, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!10, !11, i64 16}
!15 = distinct !{!15, !16, !17}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!"llvm.loop.peeled.count", i32 1}
|
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dmu.c_dmu_write_impl.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_dmu.c_dmu_write_impl.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 @dmu_write_impl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dmu_write_impl(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = icmp sgt i32 %1, 0
br i1 %7, label %8, label %102
8: ; preds = %6
%9 = add nsw i32 %1, -1
%10 = zext nneg i32 %9 to i64
%11 = zext nneg i32 %1 to i64
%12 = load ptr, ptr %0, align 8, !tbaa !6
%13 = icmp sgt i64 %3, 0
%14 = zext i1 %13 to i32
%15 = tail call i32 @ASSERT(i32 noundef %14) #2
%16 = load i64, ptr %12, align 8, !tbaa !10
%17 = sub nsw i64 %2, %16
%18 = trunc i64 %17 to i32
%19 = getelementptr inbounds i8, ptr %12, i64 8
%20 = load i32, ptr %19, align 8, !tbaa !14
%21 = sub nsw i32 %20, %18
%22 = tail call i64 @MIN(i32 noundef %21, i64 noundef %3) #2
%23 = tail call i32 @ASSERT(i32 noundef 1) #2
%24 = load i32, ptr %19, align 8, !tbaa !14
%25 = sext i32 %24 to i64
%26 = icmp eq i64 %22, %25
br i1 %26, label %29, label %27
27: ; preds = %8
%28 = tail call i32 @dmu_buf_will_dirty(ptr noundef nonnull %12, ptr noundef %5) #2
br label %31
29: ; preds = %8
%30 = tail call i32 @dmu_buf_will_fill(ptr noundef nonnull %12, ptr noundef %5) #2
br label %31
31: ; preds = %29, %27
%32 = getelementptr inbounds i8, ptr %12, i64 16
%33 = load i64, ptr %32, align 8, !tbaa !15
%34 = inttoptr i64 %33 to ptr
%35 = shl i64 %17, 32
%36 = ashr exact i64 %35, 32
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = tail call i32 @memcpy(ptr noundef %37, ptr noundef %4, i64 noundef %22) #2
%39 = load i32, ptr %19, align 8, !tbaa !14
%40 = sext i32 %39 to i64
%41 = icmp eq i64 %22, %40
br i1 %41, label %42, label %44
42: ; preds = %31
%43 = tail call i32 @dmu_buf_fill_done(ptr noundef nonnull %12, ptr noundef %5) #2
br label %44
44: ; preds = %42, %31
%45 = icmp eq i32 %1, 1
br i1 %45, label %102, label %46
46: ; preds = %44
%47 = getelementptr inbounds i8, ptr %4, i64 %22
%48 = sub nsw i64 %3, %22
%49 = add nsw i64 %22, %2
br label %50
50: ; preds = %46, %96
%51 = phi i64 [ 1, %46 ], [ %100, %96 ]
%52 = phi i64 [ %49, %46 ], [ %97, %96 ]
%53 = phi i64 [ %48, %46 ], [ %98, %96 ]
%54 = phi ptr [ %47, %46 ], [ %99, %96 ]
%55 = getelementptr inbounds ptr, ptr %0, i64 %51
%56 = load ptr, ptr %55, align 8, !tbaa !6
%57 = icmp sgt i64 %53, 0
%58 = zext i1 %57 to i32
%59 = tail call i32 @ASSERT(i32 noundef %58) #2
%60 = load i64, ptr %56, align 8, !tbaa !10
%61 = sub nsw i64 %52, %60
%62 = trunc i64 %61 to i32
%63 = getelementptr inbounds i8, ptr %56, i64 8
%64 = load i32, ptr %63, align 8, !tbaa !14
%65 = sub nsw i32 %64, %62
%66 = tail call i64 @MIN(i32 noundef %65, i64 noundef %53) #2
%67 = icmp eq i64 %51, %10
br i1 %67, label %72, label %68
68: ; preds = %50
%69 = load i32, ptr %63, align 8, !tbaa !14
%70 = sext i32 %69 to i64
%71 = icmp eq i64 %66, %70
br label %72
72: ; preds = %68, %50
%73 = phi i1 [ true, %50 ], [ %71, %68 ]
%74 = zext i1 %73 to i32
%75 = tail call i32 @ASSERT(i32 noundef %74) #2
%76 = load i32, ptr %63, align 8, !tbaa !14
%77 = sext i32 %76 to i64
%78 = icmp eq i64 %66, %77
br i1 %78, label %79, label %81
79: ; preds = %72
%80 = tail call i32 @dmu_buf_will_fill(ptr noundef nonnull %56, ptr noundef %5) #2
br label %83
81: ; preds = %72
%82 = tail call i32 @dmu_buf_will_dirty(ptr noundef nonnull %56, ptr noundef %5) #2
br label %83
83: ; preds = %81, %79
%84 = getelementptr inbounds i8, ptr %56, i64 16
%85 = load i64, ptr %84, align 8, !tbaa !15
%86 = inttoptr i64 %85 to ptr
%87 = shl i64 %61, 32
%88 = ashr exact i64 %87, 32
%89 = getelementptr inbounds i8, ptr %86, i64 %88
%90 = tail call i32 @memcpy(ptr noundef %89, ptr noundef %54, i64 noundef %66) #2
%91 = load i32, ptr %63, align 8, !tbaa !14
%92 = sext i32 %91 to i64
%93 = icmp eq i64 %66, %92
br i1 %93, label %94, label %96
94: ; preds = %83
%95 = tail call i32 @dmu_buf_fill_done(ptr noundef nonnull %56, ptr noundef %5) #2
br label %96
96: ; preds = %94, %83
%97 = add nsw i64 %66, %52
%98 = sub nsw i64 %53, %66
%99 = getelementptr inbounds i8, ptr %54, i64 %66
%100 = add nuw nsw i64 %51, 1
%101 = icmp eq i64 %100, %11
br i1 %101, label %102, label %50, !llvm.loop !16
102: ; preds = %96, %44, %6
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i64 @MIN(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dmu_buf_will_fill(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dmu_buf_will_dirty(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dmu_buf_fill_done(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0, !13, i64 8, !12, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !13, i64 8}
!15 = !{!11, !12, i64 16}
!16 = distinct !{!16, !17, !18}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.peeled.count", i32 1}
|
zfs_module_zfs_extr_dmu.c_dmu_write_impl
|
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_cmq_send.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_cmq_send.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CMD_RST_PRC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@CMD_RST_PRC_EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hns_roce_cmq_send], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hns_roce_cmq_send(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @hns_roce_v2_rst_process_cmd(ptr noundef %0) #2
%5 = load i32, ptr @CMD_RST_PRC_SUCCESS, align 4, !tbaa !5
%6 = icmp eq i32 %4, %5
br i1 %6, label %26, label %7
7: ; preds = %3
%8 = load i32, ptr @CMD_RST_PRC_EBUSY, align 4, !tbaa !5
%9 = icmp eq i32 %4, %8
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load i32, ptr @EBUSY, align 4, !tbaa !5
%12 = sub nsw i32 0, %11
br label %26
13: ; preds = %7
%14 = tail call i32 @__hns_roce_cmq_send(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %26, label %16
16: ; preds = %13
%17 = tail call i32 @hns_roce_v2_rst_process_cmd(ptr noundef %0) #2
%18 = load i32, ptr @CMD_RST_PRC_SUCCESS, align 4, !tbaa !5
%19 = icmp eq i32 %17, %18
br i1 %19, label %26, label %20
20: ; preds = %16
%21 = load i32, ptr @CMD_RST_PRC_EBUSY, align 4, !tbaa !5
%22 = icmp eq i32 %17, %21
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr @EBUSY, align 4, !tbaa !5
%25 = sub nsw i32 0, %24
br label %26
26: ; preds = %13, %20, %16, %3, %23, %10
%27 = phi i32 [ %12, %10 ], [ %25, %23 ], [ 0, %3 ], [ 0, %16 ], [ %14, %20 ], [ 0, %13 ]
ret i32 %27
}
declare i32 @hns_roce_v2_rst_process_cmd(ptr noundef) local_unnamed_addr #1
declare i32 @__hns_roce_cmq_send(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"}
|
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_cmq_send.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_cmq_send.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CMD_RST_PRC_SUCCESS = common local_unnamed_addr global i32 0, align 4
@CMD_RST_PRC_EBUSY = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hns_roce_cmq_send], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hns_roce_cmq_send(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @hns_roce_v2_rst_process_cmd(ptr noundef %0) #2
%5 = load i32, ptr @CMD_RST_PRC_SUCCESS, align 4, !tbaa !6
%6 = icmp eq i32 %4, %5
br i1 %6, label %26, label %7
7: ; preds = %3
%8 = load i32, ptr @CMD_RST_PRC_EBUSY, align 4, !tbaa !6
%9 = icmp eq i32 %4, %8
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load i32, ptr @EBUSY, align 4, !tbaa !6
%12 = sub nsw i32 0, %11
br label %26
13: ; preds = %7
%14 = tail call i32 @__hns_roce_cmq_send(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %26, label %16
16: ; preds = %13
%17 = tail call i32 @hns_roce_v2_rst_process_cmd(ptr noundef %0) #2
%18 = load i32, ptr @CMD_RST_PRC_SUCCESS, align 4, !tbaa !6
%19 = icmp eq i32 %17, %18
br i1 %19, label %26, label %20
20: ; preds = %16
%21 = load i32, ptr @CMD_RST_PRC_EBUSY, align 4, !tbaa !6
%22 = icmp eq i32 %17, %21
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr @EBUSY, align 4, !tbaa !6
%25 = sub nsw i32 0, %24
br label %26
26: ; preds = %13, %20, %16, %3, %23, %10
%27 = phi i32 [ %12, %10 ], [ %25, %23 ], [ 0, %3 ], [ 0, %16 ], [ %14, %20 ], [ 0, %13 ]
ret i32 %27
}
declare i32 @hns_roce_v2_rst_process_cmd(ptr noundef) local_unnamed_addr #1
declare i32 @__hns_roce_cmq_send(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"}
|
linux_drivers_infiniband_hw_hns_extr_hns_roce_hw_v2.c_hns_roce_cmq_send
|
; ModuleID = 'AnghaBench/linux/drivers/iio/extr_industrialio-buffer.c_iio_show_fixed_type.c'
source_filename = "AnghaBench/linux/drivers/iio/extr_industrialio-buffer.c_iio_show_fixed_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i32, i32, i32, i32, i32 }
@IIO_CPU = dso_local local_unnamed_addr global i64 0, align 8
@IIO_BE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [19 x i8] c"%s:%c%d/%dX%d>>%u\0A\00", align 1
@iio_endian_prefix = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [16 x i8] c"%s:%c%d/%d>>%u\0A\00", align 1
@IIO_LE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @iio_show_fixed_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @iio_show_fixed_type(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @to_iio_dev_attr(ptr noundef %1) #3
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = load i64, ptr @IIO_CPU, align 8, !tbaa !15
%8 = icmp eq i64 %6, %7
%9 = load i64, ptr @IIO_BE, align 8
%10 = select i1 %8, i64 %9, i64 %6
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !16
%13 = icmp sgt i32 %12, 1
%14 = load ptr, ptr @iio_endian_prefix, align 8, !tbaa !17
%15 = getelementptr inbounds ptr, ptr %14, i64 %10
%16 = load ptr, ptr %15, align 8, !tbaa !17
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 2
%18 = load i32, ptr %17, align 4, !tbaa !18
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 3
%20 = load i32, ptr %19, align 8, !tbaa !19
%21 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 4
%22 = load i32, ptr %21, align 4, !tbaa !20
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 5
%24 = load i32, ptr %23, align 8, !tbaa !21
br i1 %13, label %25, label %27
25: ; preds = %3
%26 = tail call i32 (ptr, ptr, ptr, i32, i32, i32, i32, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %16, i32 noundef %18, i32 noundef %20, i32 noundef %22, i32 noundef %12, i32 noundef %24)
br label %29
27: ; preds = %3
%28 = tail call i32 (ptr, ptr, ptr, i32, i32, i32, i32, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %16, i32 noundef %18, i32 noundef %20, i32 noundef %22, i32 noundef %24)
br label %29
29: ; preds = %27, %25
%30 = phi i32 [ %26, %25 ], [ %28, %27 ]
ret i32 %30
}
declare ptr @to_iio_dev_attr(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"iio_dev_attr", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24}
!13 = !{!"long", !8, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!11, !14, i64 8}
!17 = !{!7, !7, i64 0}
!18 = !{!11, !14, i64 12}
!19 = !{!11, !14, i64 16}
!20 = !{!11, !14, i64 20}
!21 = !{!11, !14, i64 24}
|
; ModuleID = 'AnghaBench/linux/drivers/iio/extr_industrialio-buffer.c_iio_show_fixed_type.c'
source_filename = "AnghaBench/linux/drivers/iio/extr_industrialio-buffer.c_iio_show_fixed_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IIO_CPU = common local_unnamed_addr global i64 0, align 8
@IIO_BE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [19 x i8] c"%s:%c%d/%dX%d>>%u\0A\00", align 1
@iio_endian_prefix = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [16 x i8] c"%s:%c%d/%d>>%u\0A\00", align 1
@IIO_LE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @iio_show_fixed_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @iio_show_fixed_type(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @to_iio_dev_attr(ptr noundef %1) #3
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = load i64, ptr @IIO_CPU, align 8, !tbaa !16
%8 = icmp eq i64 %6, %7
%9 = load i64, ptr @IIO_BE, align 8
%10 = select i1 %8, i64 %9, i64 %6
%11 = getelementptr inbounds i8, ptr %5, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !17
%13 = icmp sgt i32 %12, 1
%14 = load ptr, ptr @iio_endian_prefix, align 8, !tbaa !18
%15 = getelementptr inbounds ptr, ptr %14, i64 %10
%16 = load ptr, ptr %15, align 8, !tbaa !18
%17 = getelementptr inbounds i8, ptr %5, i64 12
%18 = load i32, ptr %17, align 4, !tbaa !19
%19 = getelementptr inbounds i8, ptr %5, i64 16
%20 = load i32, ptr %19, align 8, !tbaa !20
%21 = getelementptr inbounds i8, ptr %5, i64 20
%22 = load i32, ptr %21, align 4, !tbaa !21
%23 = getelementptr inbounds i8, ptr %5, i64 24
%24 = load i32, ptr %23, align 8, !tbaa !22
br i1 %13, label %25, label %27
25: ; preds = %3
%26 = tail call i32 (ptr, ptr, ptr, i32, i32, i32, i32, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %16, i32 noundef %18, i32 noundef %20, i32 noundef %22, i32 noundef %12, i32 noundef %24)
br label %29
27: ; preds = %3
%28 = tail call i32 (ptr, ptr, ptr, i32, i32, i32, i32, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %16, i32 noundef %18, i32 noundef %20, i32 noundef %22, i32 noundef %24)
br label %29
29: ; preds = %27, %25
%30 = phi i32 [ %26, %25 ], [ %28, %27 ]
ret i32 %30
}
declare ptr @to_iio_dev_attr(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"iio_dev_attr", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24}
!14 = !{!"long", !9, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!12, !15, i64 8}
!18 = !{!8, !8, i64 0}
!19 = !{!12, !15, i64 12}
!20 = !{!12, !15, i64 16}
!21 = !{!12, !15, i64 20}
!22 = !{!12, !15, i64 24}
|
linux_drivers_iio_extr_industrialio-buffer.c_iio_show_fixed_type
|
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_array.c_Array_push.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_array.c_Array_push.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@S_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @Array_push], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @Array_push(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, ptr nocapture noundef readonly %4, ptr noundef writeonly %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
store i64 0, ptr %8, align 8, !tbaa !5
%9 = tail call i32 @TRACE(ptr noundef nonnull @.str) #3
%10 = call i32 @get_length(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %7, ptr noundef nonnull %8) #3
%11 = call i64 @FAILED(i32 noundef %10) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %46
13: ; preds = %6
%14 = icmp eq i32 %3, 0
br i1 %14, label %30, label %15
15: ; preds = %13
%16 = zext i32 %3 to i64
br label %20
17: ; preds = %20
%18 = add nuw nsw i64 %21, 1
%19 = icmp eq i64 %18, %16
br i1 %19, label %30, label %20, !llvm.loop !9
20: ; preds = %15, %17
%21 = phi i64 [ 0, %15 ], [ %18, %17 ]
%22 = load ptr, ptr %7, align 8, !tbaa !11
%23 = load i64, ptr %8, align 8, !tbaa !5
%24 = add nsw i64 %23, %21
%25 = getelementptr inbounds i32, ptr %4, i64 %21
%26 = load i32, ptr %25, align 4, !tbaa !13
%27 = call i32 @jsdisp_propput_idx(ptr noundef %22, i64 noundef %24, i32 noundef %26) #3
%28 = call i64 @FAILED(i32 noundef %27) #3
%29 = icmp eq i64 %28, 0
br i1 %29, label %17, label %46
30: ; preds = %17, %13
%31 = phi i64 [ 0, %13 ], [ %16, %17 ]
%32 = load ptr, ptr %7, align 8, !tbaa !11
%33 = load i64, ptr %8, align 8, !tbaa !5
%34 = add nsw i64 %33, %31
%35 = call i32 @set_length(ptr noundef %32, i64 noundef %34) #3
%36 = call i64 @FAILED(i32 noundef %35) #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %46
38: ; preds = %30
%39 = icmp eq ptr %5, null
br i1 %39, label %44, label %40
40: ; preds = %38
%41 = load i64, ptr %8, align 8, !tbaa !5
%42 = add nsw i64 %41, %31
%43 = call i32 @jsval_number(i64 noundef %42) #3
store i32 %43, ptr %5, align 4, !tbaa !13
br label %44
44: ; preds = %40, %38
%45 = load i32, ptr @S_OK, align 4, !tbaa !13
br label %46
46: ; preds = %20, %30, %6, %44
%47 = phi i32 [ %45, %44 ], [ %10, %6 ], [ %35, %30 ], [ %27, %20 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %47
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TRACE(ptr noundef) local_unnamed_addr #2
declare i32 @get_length(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare i32 @jsdisp_propput_idx(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_length(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @jsval_number(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_array.c_Array_push.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_array.c_Array_push.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@S_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @Array_push], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @Array_push(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, ptr nocapture noundef readonly %4, ptr noundef writeonly %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
store i64 0, ptr %8, align 8, !tbaa !6
%9 = tail call i32 @TRACE(ptr noundef nonnull @.str) #3
%10 = call i32 @get_length(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %7, ptr noundef nonnull %8) #3
%11 = call i64 @FAILED(i32 noundef %10) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %46
13: ; preds = %6
%14 = icmp eq i32 %3, 0
br i1 %14, label %30, label %15
15: ; preds = %13
%16 = zext i32 %3 to i64
br label %20
17: ; preds = %20
%18 = add nuw nsw i64 %21, 1
%19 = icmp eq i64 %18, %16
br i1 %19, label %30, label %20, !llvm.loop !10
20: ; preds = %15, %17
%21 = phi i64 [ 0, %15 ], [ %18, %17 ]
%22 = load ptr, ptr %7, align 8, !tbaa !12
%23 = load i64, ptr %8, align 8, !tbaa !6
%24 = add nsw i64 %23, %21
%25 = getelementptr inbounds i32, ptr %4, i64 %21
%26 = load i32, ptr %25, align 4, !tbaa !14
%27 = call i32 @jsdisp_propput_idx(ptr noundef %22, i64 noundef %24, i32 noundef %26) #3
%28 = call i64 @FAILED(i32 noundef %27) #3
%29 = icmp eq i64 %28, 0
br i1 %29, label %17, label %46
30: ; preds = %17, %13
%31 = phi i64 [ 0, %13 ], [ %16, %17 ]
%32 = load ptr, ptr %7, align 8, !tbaa !12
%33 = load i64, ptr %8, align 8, !tbaa !6
%34 = add nsw i64 %33, %31
%35 = call i32 @set_length(ptr noundef %32, i64 noundef %34) #3
%36 = call i64 @FAILED(i32 noundef %35) #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %46
38: ; preds = %30
%39 = icmp eq ptr %5, null
br i1 %39, label %44, label %40
40: ; preds = %38
%41 = load i64, ptr %8, align 8, !tbaa !6
%42 = add nsw i64 %41, %31
%43 = call i32 @jsval_number(i64 noundef %42) #3
store i32 %43, ptr %5, align 4, !tbaa !14
br label %44
44: ; preds = %40, %38
%45 = load i32, ptr @S_OK, align 4, !tbaa !14
br label %46
46: ; preds = %20, %30, %6, %44
%47 = phi i32 [ %45, %44 ], [ %10, %6 ], [ %35, %30 ], [ %27, %20 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %47
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TRACE(ptr noundef) local_unnamed_addr #2
declare i32 @get_length(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare i32 @jsdisp_propput_idx(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_length(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @jsval_number(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
|
reactos_dll_win32_jscript_extr_array.c_Array_push
|
; ModuleID = 'AnghaBench/lab/engine/code/cgame/extr_cg_view.c_CG_StepOffset.c'
source_filename = "AnghaBench/lab/engine/code/cgame/extr_cg_view.c_CG_StepOffset.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_4__ = type { i32, i32, i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32* }
@cg = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@STEP_TIME = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (void ()* @CG_StepOffset to i8*)], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind uwtable willreturn
define internal void @CG_StepOffset() #0 {
%1 = load i32, i32* getelementptr inbounds (%struct.TYPE_4__, %struct.TYPE_4__* @cg, i64 0, i32 0), align 8, !tbaa !5
%2 = load i32, i32* getelementptr inbounds (%struct.TYPE_4__, %struct.TYPE_4__* @cg, i64 0, i32 1), align 4, !tbaa !12
%3 = sub nsw i32 %1, %2
%4 = load i32, i32* @STEP_TIME, align 4, !tbaa !13
%5 = icmp sgt i32 %4, %3
br i1 %5, label %6, label %15
6: ; preds = %0
%7 = load i32, i32* getelementptr inbounds (%struct.TYPE_4__, %struct.TYPE_4__* @cg, i64 0, i32 2), align 8, !tbaa !14
%8 = sub nsw i32 %4, %3
%9 = mul nsw i32 %7, %8
%10 = sdiv i32 %9, %4
%11 = load i32*, i32** getelementptr inbounds (%struct.TYPE_4__, %struct.TYPE_4__* @cg, i64 0, i32 3, i32 0), align 8, !tbaa !15
%12 = getelementptr inbounds i32, i32* %11, i64 2
%13 = load i32, i32* %12, align 4, !tbaa !13
%14 = sub nsw i32 %13, %10
store i32 %14, i32* %12, align 4, !tbaa !13
br label %15
15: ; preds = %6, %0
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind uwtable willreturn "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" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !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 = !{!"TYPE_3__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !11, i64 16}
|
; ModuleID = 'AnghaBench/lab/engine/code/cgame/extr_cg_view.c_CG_StepOffset.c'
source_filename = "AnghaBench/lab/engine/code/cgame/extr_cg_view.c_CG_StepOffset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32, i32, i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr }
@cg = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@STEP_TIME = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @CG_StepOffset], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @CG_StepOffset() #0 {
%1 = load i32, ptr @cg, align 8, !tbaa !6
%2 = load i32, ptr getelementptr inbounds (i8, ptr @cg, i64 4), align 4, !tbaa !13
%3 = sub nsw i32 %1, %2
%4 = load i32, ptr @STEP_TIME, align 4, !tbaa !14
%5 = icmp slt i32 %3, %4
br i1 %5, label %6, label %15
6: ; preds = %0
%7 = load i32, ptr getelementptr inbounds (i8, ptr @cg, i64 8), align 8, !tbaa !15
%8 = sub nsw i32 %4, %3
%9 = mul nsw i32 %7, %8
%10 = sdiv i32 %9, %4
%11 = load ptr, ptr getelementptr inbounds (i8, ptr @cg, i64 16), align 8, !tbaa !16
%12 = getelementptr inbounds i8, ptr %11, i64 8
%13 = load i32, ptr %12, align 4, !tbaa !14
%14 = sub nsw i32 %13, %10
store i32 %14, ptr %12, align 4, !tbaa !14
br label %15
15: ; preds = %6, %0
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !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 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 4}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 8}
!16 = !{!7, !12, i64 16}
|
lab_engine_code_cgame_extr_cg_view.c_CG_StepOffset
|
; ModuleID = 'AnghaBench/reactos/boot/freeldr/freeldr/ui/extr_video.c_VideoRestorePaletteState.c'
source_filename = "AnghaBench/reactos/boot/freeldr/freeldr/ui/extr_video.c_VideoRestorePaletteState.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @VideoRestorePaletteState(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @MachVideoSync() #2
%4 = icmp eq i64 %1, 0
br i1 %4, label %17, label %5
5: ; preds = %2, %5
%6 = phi i64 [ %15, %5 ], [ 0, %2 ]
%7 = trunc i64 %6 to i32
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 %6
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 %6, i32 2
%10 = load i32, ptr %9, align 4, !tbaa !5
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 %6, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !10
%13 = load i32, ptr %8, align 4, !tbaa !11
%14 = tail call i32 @MachVideoSetPaletteColor(i32 noundef %7, i32 noundef %10, i32 noundef %12, i32 noundef %13) #2
%15 = add nuw i64 %6, 1
%16 = icmp eq i64 %15, %1
br i1 %16, label %17, label %5, !llvm.loop !12
17: ; preds = %5, %2
ret i32 undef
}
declare i32 @MachVideoSync(...) local_unnamed_addr #1
declare i32 @MachVideoSetPaletteColor(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 8}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/reactos/boot/freeldr/freeldr/ui/extr_video.c_VideoRestorePaletteState.c'
source_filename = "AnghaBench/reactos/boot/freeldr/freeldr/ui/extr_video.c_VideoRestorePaletteState.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32, i32, i32 }
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @VideoRestorePaletteState(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @MachVideoSync() #2
%4 = icmp eq i64 %1, 0
br i1 %4, label %17, label %5
5: ; preds = %2, %5
%6 = phi i64 [ %15, %5 ], [ 0, %2 ]
%7 = trunc i64 %6 to i32
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 %6
%9 = getelementptr inbounds i8, ptr %8, i64 8
%10 = load i32, ptr %9, align 4, !tbaa !6
%11 = getelementptr inbounds i8, ptr %8, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !11
%13 = load i32, ptr %8, align 4, !tbaa !12
%14 = tail call i32 @MachVideoSetPaletteColor(i32 noundef %7, i32 noundef %10, i32 noundef %12, i32 noundef %13) #2
%15 = add nuw i64 %6, 1
%16 = icmp eq i64 %15, %1
br i1 %16, label %17, label %5, !llvm.loop !13
17: ; preds = %5, %2
ret i32 undef
}
declare i32 @MachVideoSync(...) local_unnamed_addr #1
declare i32 @MachVideoSetPaletteColor(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 8}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!7, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
|
reactos_boot_freeldr_freeldr_ui_extr_video.c_VideoRestorePaletteState
|
; ModuleID = 'AnghaBench/reactos/sdk/tools/widl/extr_write_sltg.c_add_enum_typeinfo.c'
source_filename = "AnghaBench/reactos/sdk/tools/widl/extr_write_sltg.c_add_enum_typeinfo.c"
target datalayout = "e-m:e-p270:32:32-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 [39 x i8] c"add_enum_typeinfo: %s not implemented\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @add_enum_typeinfo], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @add_enum_typeinfo(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = tail call i32 @error(ptr noundef nonnull @.str, i32 noundef %3) #2
ret void
}
declare i32 @error(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/reactos/sdk/tools/widl/extr_write_sltg.c_add_enum_typeinfo.c'
source_filename = "AnghaBench/reactos/sdk/tools/widl/extr_write_sltg.c_add_enum_typeinfo.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [39 x i8] c"add_enum_typeinfo: %s not implemented\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @add_enum_typeinfo], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @add_enum_typeinfo(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = tail call i32 @error(ptr noundef nonnull @.str, i32 noundef %3) #2
ret void
}
declare i32 @error(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
reactos_sdk_tools_widl_extr_write_sltg.c_add_enum_typeinfo
|
; ModuleID = 'AnghaBench/freebsd/contrib/ldns/extr_keys.c_ldns_key_set_origttl.c'
source_filename = "AnghaBench/freebsd/contrib/ldns/extr_keys.c_ldns_key_set_origttl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local void @ldns_key_set_origttl(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
store i32 %1, ptr %0, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !9, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/ldns/extr_keys.c_ldns_key_set_origttl.c'
source_filename = "AnghaBench/freebsd/contrib/ldns/extr_keys.c_ldns_key_set_origttl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define void @ldns_key_set_origttl(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
store i32 %1, ptr %0, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !10, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"TYPE_5__", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
|
freebsd_contrib_ldns_extr_keys.c_ldns_key_set_origttl
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/extr_dock.c_show_dock_uid.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/extr_dock.c_show_dock_uid.c"
target datalayout = "e-m:e-p270:32:32-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 [5 x i8] c"_UID\00", align 1
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%llx\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @show_dock_uid], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @show_dock_uid(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = load i64, ptr %0, align 8, !tbaa !5
%6 = inttoptr i64 %5 to ptr
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = call i32 @acpi_evaluate_integer(i32 noundef %8, ptr noundef nonnull @.str, ptr noundef null, ptr noundef nonnull %4) #3
%10 = call i64 @ACPI_FAILURE(i32 noundef %9) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %3
%13 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !15
%14 = load i64, ptr %4, align 8, !tbaa !16
%15 = call i32 @snprintf(ptr noundef %2, i32 noundef %13, ptr noundef nonnull @.str.1, i64 noundef %14) #3
br label %16
16: ; preds = %3, %12
%17 = phi i32 [ %15, %12 ], [ 0, %3 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #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 @acpi_evaluate_integer(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ACPI_FAILURE(i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"device", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"dock_station", !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long long", !8, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/extr_dock.c_show_dock_uid.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/extr_dock.c_show_dock_uid.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 [5 x i8] c"_UID\00", align 1
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%llx\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @show_dock_uid], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @show_dock_uid(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = load i64, ptr %0, align 8, !tbaa !6
%6 = inttoptr i64 %5 to ptr
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = call i32 @acpi_evaluate_integer(i32 noundef %8, ptr noundef nonnull @.str, ptr noundef null, ptr noundef nonnull %4) #3
%10 = call i64 @ACPI_FAILURE(i32 noundef %9) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %3
%13 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !16
%14 = load i64, ptr %4, align 8, !tbaa !17
%15 = call i32 @snprintf(ptr noundef %2, i32 noundef %13, ptr noundef nonnull @.str.1, i64 noundef %14) #3
br label %16
16: ; preds = %3, %12
%17 = phi i32 [ %15, %12 ], [ 0, %3 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #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 @acpi_evaluate_integer(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ACPI_FAILURE(i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"device", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"dock_station", !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long long", !9, i64 0}
|
fastsocket_kernel_drivers_acpi_extr_dock.c_show_dock_uid
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt73usb.c_rt73usb_config_ant.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt73usb.c_rt73usb_config_ant.c"
target datalayout = "e-m:e-p270:32:32-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.antenna_setup = type { i64, i64 }
%struct.rt2x00_dev = type { i64, i32 }
%struct.antenna_sel = type { ptr, i32 }
@ANTENNA_SW_DIVERSITY = dso_local local_unnamed_addr global i64 0, align 8
@IEEE80211_BAND_5GHZ = dso_local local_unnamed_addr global i64 0, align 8
@antenna_sel_a = dso_local local_unnamed_addr global ptr null, align 8
@CAPABILITY_EXTERNAL_LNA_A = dso_local local_unnamed_addr global i32 0, align 4
@antenna_sel_bg = dso_local local_unnamed_addr global ptr null, align 8
@CAPABILITY_EXTERNAL_LNA_BG = dso_local local_unnamed_addr global i32 0, align 4
@PHY_CSR0 = dso_local local_unnamed_addr global i32 0, align 4
@PHY_CSR0_PA_PE_BG = dso_local local_unnamed_addr global i32 0, align 4
@IEEE80211_BAND_2GHZ = dso_local local_unnamed_addr global i64 0, align 8
@PHY_CSR0_PA_PE_A = dso_local local_unnamed_addr global i32 0, align 4
@RF5226 = dso_local local_unnamed_addr global i32 0, align 4
@RF5225 = dso_local local_unnamed_addr global i32 0, align 4
@RF2528 = dso_local local_unnamed_addr global i32 0, align 4
@RF2527 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rt73usb_config_ant], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rt73usb_config_ant(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = load i64, ptr @ANTENNA_SW_DIVERSITY, align 8, !tbaa !10
%6 = icmp eq i64 %4, %5
br i1 %6, label %12, label %7
7: ; preds = %2
%8 = getelementptr inbounds %struct.antenna_setup, ptr %1, i64 0, i32 1
%9 = load i64, ptr %8, align 8, !tbaa !11
%10 = icmp eq i64 %9, %5
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %7, %2
%13 = phi i32 [ 1, %2 ], [ %11, %7 ]
%14 = tail call i32 @BUG_ON(i32 noundef %13) #3
%15 = load i64, ptr %0, align 8, !tbaa !12
%16 = load i64, ptr @IEEE80211_BAND_5GHZ, align 8, !tbaa !10
%17 = icmp eq i64 %15, %16
%18 = getelementptr inbounds %struct.rt2x00_dev, ptr %0, i64 0, i32 1
%19 = load ptr, ptr @antenna_sel_a, align 8
%20 = load ptr, ptr @antenna_sel_bg, align 8
%21 = select i1 %17, ptr %19, ptr %20
%22 = load i32, ptr @CAPABILITY_EXTERNAL_LNA_A, align 4
%23 = load i32, ptr @CAPABILITY_EXTERNAL_LNA_BG, align 4
%24 = select i1 %17, i32 %22, i32 %23
%25 = tail call i32 @test_bit(i32 noundef %24, ptr noundef nonnull %18) #3
%26 = load ptr, ptr @antenna_sel_a, align 8, !tbaa !15
%27 = tail call i32 @ARRAY_SIZE(ptr noundef %26) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %45, label %29
29: ; preds = %12
%30 = zext i32 %25 to i64
br label %31
31: ; preds = %29, %31
%32 = phi i64 [ 0, %29 ], [ %40, %31 ]
%33 = getelementptr inbounds %struct.antenna_sel, ptr %21, i64 %32
%34 = getelementptr inbounds %struct.antenna_sel, ptr %21, i64 %32, i32 1
%35 = load i32, ptr %34, align 8, !tbaa !17
%36 = load ptr, ptr %33, align 8, !tbaa !19
%37 = getelementptr inbounds i32, ptr %36, i64 %30
%38 = load i32, ptr %37, align 4, !tbaa !20
%39 = tail call i32 @rt73usb_bbp_write(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %38) #3
%40 = add nuw nsw i64 %32, 1
%41 = load ptr, ptr @antenna_sel_a, align 8, !tbaa !15
%42 = tail call i32 @ARRAY_SIZE(ptr noundef %41) #3
%43 = zext i32 %42 to i64
%44 = icmp ult i64 %40, %43
br i1 %44, label %31, label %45, !llvm.loop !21
45: ; preds = %31, %12
%46 = load i32, ptr @PHY_CSR0, align 4, !tbaa !20
%47 = call i32 @rt2x00usb_register_read(ptr noundef nonnull %0, i32 noundef %46, ptr noundef nonnull %3) #3
%48 = load i32, ptr @PHY_CSR0_PA_PE_BG, align 4, !tbaa !20
%49 = load i64, ptr %0, align 8, !tbaa !12
%50 = load i64, ptr @IEEE80211_BAND_2GHZ, align 8, !tbaa !10
%51 = icmp eq i64 %49, %50
%52 = zext i1 %51 to i32
%53 = call i32 @rt2x00_set_field32(ptr noundef nonnull %3, i32 noundef %48, i32 noundef %52) #3
%54 = load i32, ptr @PHY_CSR0_PA_PE_A, align 4, !tbaa !20
%55 = load i64, ptr %0, align 8, !tbaa !12
%56 = load i64, ptr @IEEE80211_BAND_5GHZ, align 8, !tbaa !10
%57 = icmp eq i64 %55, %56
%58 = zext i1 %57 to i32
%59 = call i32 @rt2x00_set_field32(ptr noundef nonnull %3, i32 noundef %54, i32 noundef %58) #3
%60 = load i32, ptr @PHY_CSR0, align 4, !tbaa !20
%61 = load i32, ptr %3, align 4, !tbaa !20
%62 = call i32 @rt2x00usb_register_write(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %61) #3
%63 = load i32, ptr @RF5226, align 4, !tbaa !20
%64 = call i64 @rt2x00_rf(ptr noundef nonnull %0, i32 noundef %63) #3
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %70
66: ; preds = %45
%67 = load i32, ptr @RF5225, align 4, !tbaa !20
%68 = call i64 @rt2x00_rf(ptr noundef nonnull %0, i32 noundef %67) #3
%69 = icmp eq i64 %68, 0
br i1 %69, label %72, label %70
70: ; preds = %66, %45
%71 = call i32 @rt73usb_config_antenna_5x(ptr noundef nonnull %0, ptr noundef nonnull %1) #3
br label %82
72: ; preds = %66
%73 = load i32, ptr @RF2528, align 4, !tbaa !20
%74 = call i64 @rt2x00_rf(ptr noundef nonnull %0, i32 noundef %73) #3
%75 = icmp eq i64 %74, 0
br i1 %75, label %76, label %80
76: ; preds = %72
%77 = load i32, ptr @RF2527, align 4, !tbaa !20
%78 = call i64 @rt2x00_rf(ptr noundef nonnull %0, i32 noundef %77) #3
%79 = icmp eq i64 %78, 0
br i1 %79, label %82, label %80
80: ; preds = %76, %72
%81 = call i32 @rt73usb_config_antenna_2x(ptr noundef nonnull %0, ptr noundef nonnull %1) #3
br label %82
82: ; preds = %76, %80, %70
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
declare i32 @rt73usb_bbp_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rt2x00usb_register_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rt2x00_set_field32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rt2x00usb_register_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @rt2x00_rf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rt73usb_config_antenna_5x(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rt73usb_config_antenna_2x(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 = !{!"antenna_setup", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"rt2x00_dev", !7, i64 0, !14, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!18, !14, i64 8}
!18 = !{!"antenna_sel", !16, i64 0, !14, i64 8}
!19 = !{!18, !16, i64 0}
!20 = !{!14, !14, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt73usb.c_rt73usb_config_ant.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt73usb.c_rt73usb_config_ant.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.antenna_sel = type { ptr, i32 }
@ANTENNA_SW_DIVERSITY = common local_unnamed_addr global i64 0, align 8
@IEEE80211_BAND_5GHZ = common local_unnamed_addr global i64 0, align 8
@antenna_sel_a = common local_unnamed_addr global ptr null, align 8
@CAPABILITY_EXTERNAL_LNA_A = common local_unnamed_addr global i32 0, align 4
@antenna_sel_bg = common local_unnamed_addr global ptr null, align 8
@CAPABILITY_EXTERNAL_LNA_BG = common local_unnamed_addr global i32 0, align 4
@PHY_CSR0 = common local_unnamed_addr global i32 0, align 4
@PHY_CSR0_PA_PE_BG = common local_unnamed_addr global i32 0, align 4
@IEEE80211_BAND_2GHZ = common local_unnamed_addr global i64 0, align 8
@PHY_CSR0_PA_PE_A = common local_unnamed_addr global i32 0, align 4
@RF5226 = common local_unnamed_addr global i32 0, align 4
@RF5225 = common local_unnamed_addr global i32 0, align 4
@RF2528 = common local_unnamed_addr global i32 0, align 4
@RF2527 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rt73usb_config_ant], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rt73usb_config_ant(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = load i64, ptr @ANTENNA_SW_DIVERSITY, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %12, label %7
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %1, i64 8
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = icmp eq i64 %9, %5
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %7, %2
%13 = phi i32 [ 1, %2 ], [ %11, %7 ]
%14 = tail call i32 @BUG_ON(i32 noundef %13) #3
%15 = load i64, ptr %0, align 8, !tbaa !13
%16 = load i64, ptr @IEEE80211_BAND_5GHZ, align 8, !tbaa !11
%17 = icmp eq i64 %15, %16
%18 = getelementptr inbounds i8, ptr %0, i64 8
%19 = load ptr, ptr @antenna_sel_a, align 8
%20 = load ptr, ptr @antenna_sel_bg, align 8
%21 = select i1 %17, ptr %19, ptr %20
%22 = load i32, ptr @CAPABILITY_EXTERNAL_LNA_A, align 4
%23 = load i32, ptr @CAPABILITY_EXTERNAL_LNA_BG, align 4
%24 = select i1 %17, i32 %22, i32 %23
%25 = tail call i32 @test_bit(i32 noundef %24, ptr noundef nonnull %18) #3
%26 = load ptr, ptr @antenna_sel_a, align 8, !tbaa !16
%27 = tail call i32 @ARRAY_SIZE(ptr noundef %26) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %45, label %29
29: ; preds = %12
%30 = zext i32 %25 to i64
br label %31
31: ; preds = %29, %31
%32 = phi i64 [ 0, %29 ], [ %40, %31 ]
%33 = getelementptr inbounds %struct.antenna_sel, ptr %21, i64 %32
%34 = getelementptr inbounds i8, ptr %33, i64 8
%35 = load i32, ptr %34, align 8, !tbaa !18
%36 = load ptr, ptr %33, align 8, !tbaa !20
%37 = getelementptr inbounds i32, ptr %36, i64 %30
%38 = load i32, ptr %37, align 4, !tbaa !21
%39 = tail call i32 @rt73usb_bbp_write(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %38) #3
%40 = add nuw nsw i64 %32, 1
%41 = load ptr, ptr @antenna_sel_a, align 8, !tbaa !16
%42 = tail call i32 @ARRAY_SIZE(ptr noundef %41) #3
%43 = zext i32 %42 to i64
%44 = icmp ult i64 %40, %43
br i1 %44, label %31, label %45, !llvm.loop !22
45: ; preds = %31, %12
%46 = load i32, ptr @PHY_CSR0, align 4, !tbaa !21
%47 = call i32 @rt2x00usb_register_read(ptr noundef nonnull %0, i32 noundef %46, ptr noundef nonnull %3) #3
%48 = load i32, ptr @PHY_CSR0_PA_PE_BG, align 4, !tbaa !21
%49 = load i64, ptr %0, align 8, !tbaa !13
%50 = load i64, ptr @IEEE80211_BAND_2GHZ, align 8, !tbaa !11
%51 = icmp eq i64 %49, %50
%52 = zext i1 %51 to i32
%53 = call i32 @rt2x00_set_field32(ptr noundef nonnull %3, i32 noundef %48, i32 noundef %52) #3
%54 = load i32, ptr @PHY_CSR0_PA_PE_A, align 4, !tbaa !21
%55 = load i64, ptr %0, align 8, !tbaa !13
%56 = load i64, ptr @IEEE80211_BAND_5GHZ, align 8, !tbaa !11
%57 = icmp eq i64 %55, %56
%58 = zext i1 %57 to i32
%59 = call i32 @rt2x00_set_field32(ptr noundef nonnull %3, i32 noundef %54, i32 noundef %58) #3
%60 = load i32, ptr @PHY_CSR0, align 4, !tbaa !21
%61 = load i32, ptr %3, align 4, !tbaa !21
%62 = call i32 @rt2x00usb_register_write(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %61) #3
%63 = load i32, ptr @RF5226, align 4, !tbaa !21
%64 = call i64 @rt2x00_rf(ptr noundef nonnull %0, i32 noundef %63) #3
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %70
66: ; preds = %45
%67 = load i32, ptr @RF5225, align 4, !tbaa !21
%68 = call i64 @rt2x00_rf(ptr noundef nonnull %0, i32 noundef %67) #3
%69 = icmp eq i64 %68, 0
br i1 %69, label %72, label %70
70: ; preds = %66, %45
%71 = call i32 @rt73usb_config_antenna_5x(ptr noundef nonnull %0, ptr noundef nonnull %1) #3
br label %82
72: ; preds = %66
%73 = load i32, ptr @RF2528, align 4, !tbaa !21
%74 = call i64 @rt2x00_rf(ptr noundef nonnull %0, i32 noundef %73) #3
%75 = icmp eq i64 %74, 0
br i1 %75, label %76, label %80
76: ; preds = %72
%77 = load i32, ptr @RF2527, align 4, !tbaa !21
%78 = call i64 @rt2x00_rf(ptr noundef nonnull %0, i32 noundef %77) #3
%79 = icmp eq i64 %78, 0
br i1 %79, label %82, label %80
80: ; preds = %76, %72
%81 = call i32 @rt73usb_config_antenna_2x(ptr noundef nonnull %0, ptr noundef nonnull %1) #3
br label %82
82: ; preds = %76, %80, %70
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
declare i32 @rt73usb_bbp_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rt2x00usb_register_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rt2x00_set_field32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rt2x00usb_register_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @rt2x00_rf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rt73usb_config_antenna_5x(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rt73usb_config_antenna_2x(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 = !{!"antenna_setup", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"rt2x00_dev", !8, i64 0, !15, i64 8}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!19, !15, i64 8}
!19 = !{!"antenna_sel", !17, i64 0, !15, i64 8}
!20 = !{!19, !17, i64 0}
!21 = !{!15, !15, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
|
fastsocket_kernel_drivers_net_wireless_rt2x00_extr_rt73usb.c_rt73usb_config_ant
|
; ModuleID = 'AnghaBench/linux/arch/mips/sgi-ip27/extr_ip27-hubio.c_hub_pio_init.c'
source_filename = "AnghaBench/linux/arch/mips/sgi-ip27/extr_ip27-hubio.c_hub_pio_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"
@HUB_NUM_BIG_WINDOW = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @hub_pio_init(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @COMPACT_TO_NASID_NODEID(i32 noundef %0) #2
%3 = tail call ptr @hub_data(i32 noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = load i32, ptr @HUB_NUM_BIG_WINDOW, align 4, !tbaa !10
%6 = tail call i32 @bitmap_zero(i32 noundef %4, i32 noundef %5) #2
%7 = load i32, ptr @HUB_NUM_BIG_WINDOW, align 4, !tbaa !10
%8 = icmp eq i32 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %1, %9
%10 = phi i32 [ %12, %9 ], [ 0, %1 ]
%11 = tail call i32 @IIO_ITTE_DISABLE(i32 noundef %2, i32 noundef %10) #2
%12 = add nuw i32 %10, 1
%13 = load i32, ptr @HUB_NUM_BIG_WINDOW, align 4, !tbaa !10
%14 = icmp ult i32 %12, %13
br i1 %14, label %9, label %15, !llvm.loop !11
15: ; preds = %9, %1
%16 = tail call i32 @hub_set_piomode(i32 noundef %2) #2
ret void
}
declare i32 @COMPACT_TO_NASID_NODEID(i32 noundef) local_unnamed_addr #1
declare i32 @bitmap_zero(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @hub_data(i32 noundef) local_unnamed_addr #1
declare i32 @IIO_ITTE_DISABLE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hub_set_piomode(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/arch/mips/sgi-ip27/extr_ip27-hubio.c_hub_pio_init.c'
source_filename = "AnghaBench/linux/arch/mips/sgi-ip27/extr_ip27-hubio.c_hub_pio_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HUB_NUM_BIG_WINDOW = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @hub_pio_init(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @COMPACT_TO_NASID_NODEID(i32 noundef %0) #2
%3 = tail call ptr @hub_data(i32 noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = load i32, ptr @HUB_NUM_BIG_WINDOW, align 4, !tbaa !11
%6 = tail call i32 @bitmap_zero(i32 noundef %4, i32 noundef %5) #2
%7 = load i32, ptr @HUB_NUM_BIG_WINDOW, align 4, !tbaa !11
%8 = icmp eq i32 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %1, %9
%10 = phi i32 [ %12, %9 ], [ 0, %1 ]
%11 = tail call i32 @IIO_ITTE_DISABLE(i32 noundef %2, i32 noundef %10) #2
%12 = add nuw i32 %10, 1
%13 = load i32, ptr @HUB_NUM_BIG_WINDOW, align 4, !tbaa !11
%14 = icmp ult i32 %12, %13
br i1 %14, label %9, label %15, !llvm.loop !12
15: ; preds = %9, %1
%16 = tail call i32 @hub_set_piomode(i32 noundef %2) #2
ret void
}
declare i32 @COMPACT_TO_NASID_NODEID(i32 noundef) local_unnamed_addr #1
declare i32 @bitmap_zero(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @hub_data(i32 noundef) local_unnamed_addr #1
declare i32 @IIO_ITTE_DISABLE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hub_set_piomode(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
|
linux_arch_mips_sgi-ip27_extr_ip27-hubio.c_hub_pio_init
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_RB_STENCILREFMASK_BF_STENCILREF.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_RB_STENCILREFMASK_BF_STENCILREF.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@A5XX_RB_STENCILREFMASK_BF_STENCILREF__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@A5XX_RB_STENCILREFMASK_BF_STENCILREF__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @A5XX_RB_STENCILREFMASK_BF_STENCILREF], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @A5XX_RB_STENCILREFMASK_BF_STENCILREF(i32 noundef %0) #0 {
%2 = load i32, ptr @A5XX_RB_STENCILREFMASK_BF_STENCILREF__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @A5XX_RB_STENCILREFMASK_BF_STENCILREF__MASK, align 4, !tbaa !5
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_RB_STENCILREFMASK_BF_STENCILREF.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_RB_STENCILREFMASK_BF_STENCILREF.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@A5XX_RB_STENCILREFMASK_BF_STENCILREF__SHIFT = common local_unnamed_addr global i32 0, align 4
@A5XX_RB_STENCILREFMASK_BF_STENCILREF__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @A5XX_RB_STENCILREFMASK_BF_STENCILREF], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @A5XX_RB_STENCILREFMASK_BF_STENCILREF(i32 noundef %0) #0 {
%2 = load i32, ptr @A5XX_RB_STENCILREFMASK_BF_STENCILREF__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @A5XX_RB_STENCILREFMASK_BF_STENCILREF__MASK, align 4, !tbaa !6
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_gpu_drm_msm_adreno_extr_a5xx.xml.h_A5XX_RB_STENCILREFMASK_BF_STENCILREF
|
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp.c_op6.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp.c_op6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @op6(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp.c_op6.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp.c_op6.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @op6(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
Provenance_Cores_Yabause_yabause_src_extr_scsp.c_op6
|
; ModuleID = 'AnghaBench/postgres/src/backend/access/nbtree/extr_nbtpage.c__bt_checkpage.c'
source_filename = "AnghaBench/postgres/src/backend/access/nbtree/extr_nbtpage.c__bt_checkpage.c"
target datalayout = "e-m:e-p270:32:32-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 = dso_local local_unnamed_addr global i32 0, align 4
@ERRCODE_INDEX_CORRUPTED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [53 x i8] c"index \22%s\22 contains unexpected zero page at block %u\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Please REINDEX it.\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"index \22%s\22 contains corrupted page at block %u\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @_bt_checkpage(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @BufferGetPage(i32 noundef %1) #2
%4 = tail call i64 @PageIsNew(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %15, label %6
6: ; preds = %2
%7 = load i32, ptr @ERROR, align 4, !tbaa !5
%8 = load i32, ptr @ERRCODE_INDEX_CORRUPTED, align 4, !tbaa !5
%9 = tail call i32 @errcode(i32 noundef %8) #2
%10 = tail call i32 @RelationGetRelationName(i32 noundef %0) #2
%11 = tail call i32 @BufferGetBlockNumber(i32 noundef %1) #2
%12 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %10, i32 noundef %11) #2
%13 = tail call i32 @errhint(ptr noundef nonnull @.str.1) #2
%14 = tail call i32 @ereport(i32 noundef %7, i32 noundef %13) #2
br label %15
15: ; preds = %6, %2
%16 = tail call i64 @PageGetSpecialSize(i32 noundef %3) #2
%17 = tail call i64 @MAXALIGN(i32 noundef 4) #2
%18 = icmp eq i64 %16, %17
br i1 %18, label %28, label %19
19: ; preds = %15
%20 = load i32, ptr @ERROR, align 4, !tbaa !5
%21 = load i32, ptr @ERRCODE_INDEX_CORRUPTED, align 4, !tbaa !5
%22 = tail call i32 @errcode(i32 noundef %21) #2
%23 = tail call i32 @RelationGetRelationName(i32 noundef %0) #2
%24 = tail call i32 @BufferGetBlockNumber(i32 noundef %1) #2
%25 = tail call i32 @errmsg(ptr noundef nonnull @.str.2, i32 noundef %23, i32 noundef %24) #2
%26 = tail call i32 @errhint(ptr noundef nonnull @.str.1) #2
%27 = tail call i32 @ereport(i32 noundef %20, i32 noundef %26) #2
br label %28
28: ; preds = %19, %15
ret void
}
declare i32 @BufferGetPage(i32 noundef) local_unnamed_addr #1
declare i64 @PageIsNew(i32 noundef) local_unnamed_addr #1
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @errcode(i32 noundef) local_unnamed_addr #1
declare i32 @errmsg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RelationGetRelationName(i32 noundef) local_unnamed_addr #1
declare i32 @BufferGetBlockNumber(i32 noundef) local_unnamed_addr #1
declare i32 @errhint(ptr noundef) local_unnamed_addr #1
declare i64 @PageGetSpecialSize(i32 noundef) local_unnamed_addr #1
declare i64 @MAXALIGN(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/postgres/src/backend/access/nbtree/extr_nbtpage.c__bt_checkpage.c'
source_filename = "AnghaBench/postgres/src/backend/access/nbtree/extr_nbtpage.c__bt_checkpage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ERROR = common local_unnamed_addr global i32 0, align 4
@ERRCODE_INDEX_CORRUPTED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [53 x i8] c"index \22%s\22 contains unexpected zero page at block %u\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Please REINDEX it.\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"index \22%s\22 contains corrupted page at block %u\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @_bt_checkpage(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @BufferGetPage(i32 noundef %1) #2
%4 = tail call i64 @PageIsNew(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %15, label %6
6: ; preds = %2
%7 = load i32, ptr @ERROR, align 4, !tbaa !6
%8 = load i32, ptr @ERRCODE_INDEX_CORRUPTED, align 4, !tbaa !6
%9 = tail call i32 @errcode(i32 noundef %8) #2
%10 = tail call i32 @RelationGetRelationName(i32 noundef %0) #2
%11 = tail call i32 @BufferGetBlockNumber(i32 noundef %1) #2
%12 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %10, i32 noundef %11) #2
%13 = tail call i32 @errhint(ptr noundef nonnull @.str.1) #2
%14 = tail call i32 @ereport(i32 noundef %7, i32 noundef %13) #2
br label %15
15: ; preds = %6, %2
%16 = tail call i64 @PageGetSpecialSize(i32 noundef %3) #2
%17 = tail call i64 @MAXALIGN(i32 noundef 4) #2
%18 = icmp eq i64 %16, %17
br i1 %18, label %28, label %19
19: ; preds = %15
%20 = load i32, ptr @ERROR, align 4, !tbaa !6
%21 = load i32, ptr @ERRCODE_INDEX_CORRUPTED, align 4, !tbaa !6
%22 = tail call i32 @errcode(i32 noundef %21) #2
%23 = tail call i32 @RelationGetRelationName(i32 noundef %0) #2
%24 = tail call i32 @BufferGetBlockNumber(i32 noundef %1) #2
%25 = tail call i32 @errmsg(ptr noundef nonnull @.str.2, i32 noundef %23, i32 noundef %24) #2
%26 = tail call i32 @errhint(ptr noundef nonnull @.str.1) #2
%27 = tail call i32 @ereport(i32 noundef %20, i32 noundef %26) #2
br label %28
28: ; preds = %19, %15
ret void
}
declare i32 @BufferGetPage(i32 noundef) local_unnamed_addr #1
declare i64 @PageIsNew(i32 noundef) local_unnamed_addr #1
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @errcode(i32 noundef) local_unnamed_addr #1
declare i32 @errmsg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RelationGetRelationName(i32 noundef) local_unnamed_addr #1
declare i32 @BufferGetBlockNumber(i32 noundef) local_unnamed_addr #1
declare i32 @errhint(ptr noundef) local_unnamed_addr #1
declare i64 @PageGetSpecialSize(i32 noundef) local_unnamed_addr #1
declare i64 @MAXALIGN(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"}
|
postgres_src_backend_access_nbtree_extr_nbtpage.c__bt_checkpage
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_fcxp_req_rsp_alloc_wait.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_fcxp_req_rsp_alloc_wait.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.bfa_fcxp_mod_s = type { i32, i32, i32, i32 }
%struct.bfa_fcxp_wqe_s = type { i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @bfa_fcxp_req_rsp_alloc_wait(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i64 noundef %11) local_unnamed_addr #0 {
%13 = tail call ptr @BFA_FCXP_MOD(ptr noundef %0) #2
%14 = icmp eq i64 %11, 0
%15 = getelementptr inbounds %struct.bfa_fcxp_mod_s, ptr %13, i64 0, i32 2
%16 = getelementptr inbounds %struct.bfa_fcxp_mod_s, ptr %13, i64 0, i32 3
%17 = select i1 %14, ptr %15, ptr %16
%18 = tail call i32 @list_empty(ptr noundef nonnull %17) #2
%19 = icmp eq i32 %18, 0
%20 = zext i1 %19 to i32
%21 = tail call i32 @WARN_ON(i32 noundef %20) #2
%22 = getelementptr inbounds %struct.bfa_fcxp_wqe_s, ptr %1, i64 0, i32 10
store i32 %2, ptr %22, align 8, !tbaa !5
%23 = getelementptr inbounds %struct.bfa_fcxp_wqe_s, ptr %1, i64 0, i32 9
store ptr %3, ptr %23, align 8, !tbaa !11
%24 = getelementptr inbounds %struct.bfa_fcxp_wqe_s, ptr %1, i64 0, i32 8
store ptr %4, ptr %24, align 8, !tbaa !12
%25 = getelementptr inbounds %struct.bfa_fcxp_wqe_s, ptr %1, i64 0, i32 7
store ptr %0, ptr %25, align 8, !tbaa !13
store i32 %5, ptr %1, align 8, !tbaa !14
%26 = getelementptr inbounds %struct.bfa_fcxp_wqe_s, ptr %1, i64 0, i32 1
store i32 %6, ptr %26, align 4, !tbaa !15
%27 = getelementptr inbounds %struct.bfa_fcxp_wqe_s, ptr %1, i64 0, i32 6
store ptr %7, ptr %27, align 8, !tbaa !16
%28 = getelementptr inbounds %struct.bfa_fcxp_wqe_s, ptr %1, i64 0, i32 5
store ptr %8, ptr %28, align 8, !tbaa !17
%29 = getelementptr inbounds %struct.bfa_fcxp_wqe_s, ptr %1, i64 0, i32 4
store ptr %9, ptr %29, align 8, !tbaa !18
%30 = getelementptr inbounds %struct.bfa_fcxp_wqe_s, ptr %1, i64 0, i32 3
store ptr %10, ptr %30, align 8, !tbaa !19
%31 = getelementptr inbounds %struct.bfa_fcxp_wqe_s, ptr %1, i64 0, i32 2
br i1 %14, label %35, label %32
32: ; preds = %12
%33 = getelementptr inbounds %struct.bfa_fcxp_mod_s, ptr %13, i64 0, i32 1
%34 = tail call i32 @list_add_tail(ptr noundef nonnull %31, ptr noundef nonnull %33) #2
br label %37
35: ; preds = %12
%36 = tail call i32 @list_add_tail(ptr noundef nonnull %31, ptr noundef %13) #2
br label %37
37: ; preds = %35, %32
ret void
}
declare ptr @BFA_FCXP_MOD(ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @list_empty(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(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 72}
!6 = !{!"bfa_fcxp_wqe_s", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !7, i64 72}
!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 64}
!12 = !{!6, !10, i64 56}
!13 = !{!6, !10, i64 48}
!14 = !{!6, !7, i64 0}
!15 = !{!6, !7, i64 4}
!16 = !{!6, !10, i64 40}
!17 = !{!6, !10, i64 32}
!18 = !{!6, !10, i64 24}
!19 = !{!6, !10, i64 16}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_fcxp_req_rsp_alloc_wait.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_fcxp_req_rsp_alloc_wait.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 @bfa_fcxp_req_rsp_alloc_wait(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i64 noundef %11) local_unnamed_addr #0 {
%13 = tail call ptr @BFA_FCXP_MOD(ptr noundef %0) #2
%14 = icmp eq i64 %11, 0
%15 = select i1 %14, i64 8, i64 12
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = tail call i32 @list_empty(ptr noundef nonnull %16) #2
%18 = icmp eq i32 %17, 0
%19 = zext i1 %18 to i32
%20 = tail call i32 @WARN_ON(i32 noundef %19) #2
%21 = getelementptr inbounds i8, ptr %1, i64 72
store i32 %2, ptr %21, align 8, !tbaa !6
%22 = getelementptr inbounds i8, ptr %1, i64 64
store ptr %3, ptr %22, align 8, !tbaa !12
%23 = getelementptr inbounds i8, ptr %1, i64 56
store ptr %4, ptr %23, align 8, !tbaa !13
%24 = getelementptr inbounds i8, ptr %1, i64 48
store ptr %0, ptr %24, align 8, !tbaa !14
store i32 %5, ptr %1, align 8, !tbaa !15
%25 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %6, ptr %25, align 4, !tbaa !16
%26 = getelementptr inbounds i8, ptr %1, i64 40
store ptr %7, ptr %26, align 8, !tbaa !17
%27 = getelementptr inbounds i8, ptr %1, i64 32
store ptr %8, ptr %27, align 8, !tbaa !18
%28 = getelementptr inbounds i8, ptr %1, i64 24
store ptr %9, ptr %28, align 8, !tbaa !19
%29 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %10, ptr %29, align 8, !tbaa !20
%30 = getelementptr inbounds i8, ptr %1, i64 8
br i1 %14, label %34, label %31
31: ; preds = %12
%32 = getelementptr inbounds i8, ptr %13, i64 4
%33 = tail call i32 @list_add_tail(ptr noundef nonnull %30, ptr noundef nonnull %32) #2
br label %36
34: ; preds = %12
%35 = tail call i32 @list_add_tail(ptr noundef nonnull %30, ptr noundef %13) #2
br label %36
36: ; preds = %34, %31
ret void
}
declare ptr @BFA_FCXP_MOD(ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @list_empty(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(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 72}
!7 = !{!"bfa_fcxp_wqe_s", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !8, i64 72}
!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 64}
!13 = !{!7, !11, i64 56}
!14 = !{!7, !11, i64 48}
!15 = !{!7, !8, i64 0}
!16 = !{!7, !8, i64 4}
!17 = !{!7, !11, i64 40}
!18 = !{!7, !11, i64 32}
!19 = !{!7, !11, i64 24}
!20 = !{!7, !11, i64 16}
|
fastsocket_kernel_drivers_scsi_bfa_extr_bfa_svc.c_bfa_fcxp_req_rsp_alloc_wait
|
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/irq/extr_manage.c_irq_thread_check_affinity.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/irq/extr_manage.c_irq_thread_check_affinity.c"
target datalayout = "e-m:e-p270:32:32-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 @irq_thread_check_affinity], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @irq_thread_check_affinity(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/irq/extr_manage.c_irq_thread_check_affinity.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/irq/extr_manage.c_irq_thread_check_affinity.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 @irq_thread_check_affinity], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @irq_thread_check_affinity(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_kernel_irq_extr_manage.c_irq_thread_check_affinity
|
; ModuleID = 'AnghaBench/linux/drivers/cpufreq/extr_cpufreq.c_cpufreq_parse_governor.c'
source_filename = "AnghaBench/linux/drivers/cpufreq/extr_cpufreq.c_cpufreq_parse_governor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@cpufreq_governor_mutex = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"cpufreq_%s\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cpufreq_parse_governor], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cpufreq_parse_governor(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i32 @mutex_lock(ptr noundef nonnull @cpufreq_governor_mutex) #2
%4 = tail call ptr @find_governor(ptr noundef %0) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %17
6: ; preds = %2
%7 = tail call i32 @mutex_unlock(ptr noundef nonnull @cpufreq_governor_mutex) #2
%8 = tail call i32 @request_module(ptr noundef nonnull @.str, ptr noundef %0) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = load i32, ptr @EINVAL, align 4, !tbaa !5
%12 = sub nsw i32 0, %11
br label %28
13: ; preds = %6
%14 = tail call i32 @mutex_lock(ptr noundef nonnull @cpufreq_governor_mutex) #2
%15 = tail call ptr @find_governor(ptr noundef %0) #2
%16 = icmp eq ptr %15, null
br i1 %16, label %24, label %17
17: ; preds = %2, %13
%18 = phi ptr [ %15, %13 ], [ %4, %2 ]
%19 = load i32, ptr %18, align 4, !tbaa !9
%20 = tail call i32 @try_module_get(i32 noundef %19) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %17
%23 = tail call i32 @mutex_unlock(ptr noundef nonnull @cpufreq_governor_mutex) #2
store ptr %18, ptr %1, align 8, !tbaa !11
br label %28
24: ; preds = %17, %13
%25 = tail call i32 @mutex_unlock(ptr noundef nonnull @cpufreq_governor_mutex) #2
%26 = load i32, ptr @EINVAL, align 4, !tbaa !5
%27 = sub nsw i32 0, %26
br label %28
28: ; preds = %10, %24, %22
%29 = phi i32 [ 0, %22 ], [ %27, %24 ], [ %12, %10 ]
ret i32 %29
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @find_governor(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @request_module(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @try_module_get(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 = !{!"cpufreq_governor", !6, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"cpufreq_policy", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/cpufreq/extr_cpufreq.c_cpufreq_parse_governor.c'
source_filename = "AnghaBench/linux/drivers/cpufreq/extr_cpufreq.c_cpufreq_parse_governor.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cpufreq_governor_mutex = common global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"cpufreq_%s\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cpufreq_parse_governor], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cpufreq_parse_governor(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i32 @mutex_lock(ptr noundef nonnull @cpufreq_governor_mutex) #2
%4 = tail call ptr @find_governor(ptr noundef %0) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %17
6: ; preds = %2
%7 = tail call i32 @mutex_unlock(ptr noundef nonnull @cpufreq_governor_mutex) #2
%8 = tail call i32 @request_module(ptr noundef nonnull @.str, ptr noundef %0) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = load i32, ptr @EINVAL, align 4, !tbaa !6
%12 = sub nsw i32 0, %11
br label %28
13: ; preds = %6
%14 = tail call i32 @mutex_lock(ptr noundef nonnull @cpufreq_governor_mutex) #2
%15 = tail call ptr @find_governor(ptr noundef %0) #2
%16 = icmp eq ptr %15, null
br i1 %16, label %24, label %17
17: ; preds = %2, %13
%18 = phi ptr [ %15, %13 ], [ %4, %2 ]
%19 = load i32, ptr %18, align 4, !tbaa !10
%20 = tail call i32 @try_module_get(i32 noundef %19) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %17
%23 = tail call i32 @mutex_unlock(ptr noundef nonnull @cpufreq_governor_mutex) #2
store ptr %18, ptr %1, align 8, !tbaa !12
br label %28
24: ; preds = %17, %13
%25 = tail call i32 @mutex_unlock(ptr noundef nonnull @cpufreq_governor_mutex) #2
%26 = load i32, ptr @EINVAL, align 4, !tbaa !6
%27 = sub nsw i32 0, %26
br label %28
28: ; preds = %10, %24, %22
%29 = phi i32 [ 0, %22 ], [ %27, %24 ], [ %12, %10 ]
ret i32 %29
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @find_governor(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @request_module(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @try_module_get(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 = !{!"cpufreq_governor", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"cpufreq_policy", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
|
linux_drivers_cpufreq_extr_cpufreq.c_cpufreq_parse_governor
|
; ModuleID = 'AnghaBench/lede/scripts/config/extr_symbol.c_sym_toggle_tristate_value.c'
source_filename = "AnghaBench/lede/scripts/config/extr_symbol.c_sym_toggle_tristate_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"
@switch.table.sym_toggle_tristate_value = private unnamed_addr constant [3 x i32] [i32 129, i32 130, i32 128], align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @sym_toggle_tristate_value(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @sym_get_tristate_value(ptr noundef %0) #2
br label %3
3: ; preds = %11, %1
%4 = phi i32 [ %2, %1 ], [ %12, %11 ]
%5 = add i32 %4, -128
%6 = icmp ult i32 %5, 3
br i1 %6, label %7, label %11
7: ; preds = %3
%8 = zext nneg i32 %5 to i64
%9 = getelementptr inbounds [3 x i32], ptr @switch.table.sym_toggle_tristate_value, i64 0, i64 %8
%10 = load i32, ptr %9, align 4
br label %11
11: ; preds = %7, %3
%12 = phi i32 [ %4, %3 ], [ %10, %7 ]
%13 = tail call i64 @sym_set_tristate_value(ptr noundef %0, i32 noundef %12) #2
%14 = icmp ne i64 %13, 0
%15 = icmp eq i32 %2, %12
%16 = select i1 %14, i1 true, i1 %15
br i1 %16, label %17, label %3, !llvm.loop !5
17: ; preds = %11
ret i32 %12
}
declare i32 @sym_get_tristate_value(ptr noundef) local_unnamed_addr #1
declare i64 @sym_set_tristate_value(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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/lede/scripts/config/extr_symbol.c_sym_toggle_tristate_value.c'
source_filename = "AnghaBench/lede/scripts/config/extr_symbol.c_sym_toggle_tristate_value.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@switch.table.sym_toggle_tristate_value = private unnamed_addr constant [3 x i32] [i32 129, i32 130, i32 128], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @sym_toggle_tristate_value(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @sym_get_tristate_value(ptr noundef %0) #2
br label %3
3: ; preds = %11, %1
%4 = phi i32 [ %2, %1 ], [ %12, %11 ]
%5 = add i32 %4, -128
%6 = icmp ult i32 %5, 3
br i1 %6, label %7, label %11
7: ; preds = %3
%8 = zext nneg i32 %5 to i64
%9 = getelementptr inbounds [3 x i32], ptr @switch.table.sym_toggle_tristate_value, i64 0, i64 %8
%10 = load i32, ptr %9, align 4
br label %11
11: ; preds = %7, %3
%12 = phi i32 [ %4, %3 ], [ %10, %7 ]
%13 = tail call i64 @sym_set_tristate_value(ptr noundef %0, i32 noundef %12) #2
%14 = icmp ne i64 %13, 0
%15 = icmp eq i32 %2, %12
%16 = select i1 %14, i1 true, i1 %15
br i1 %16, label %17, label %3, !llvm.loop !6
17: ; preds = %11
ret i32 %12
}
declare i32 @sym_get_tristate_value(ptr noundef) local_unnamed_addr #1
declare i64 @sym_set_tristate_value(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 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
lede_scripts_config_extr_symbol.c_sym_toggle_tristate_value
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/ieee80211/extr_rtl819x_HTProc.c_HTHalfMcsToDataRate.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/ieee80211/extr_rtl819x_HTProc.c_HTHalfMcsToDataRate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MCS_DATA_RATE = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @HTHalfMcsToDataRate(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 @IsHTHalfNmode40Bandwidth(ptr noundef %0) #2
%4 = icmp ne i64 %3, 0
%5 = zext i1 %4 to i64
%6 = tail call i64 @IsHTHalfNmodeSGI(ptr noundef %0, i64 noundef %5) #2
%7 = icmp ne i64 %6, 0
%8 = zext i1 %7 to i64
%9 = load ptr, ptr @MCS_DATA_RATE, align 8, !tbaa !5
%10 = getelementptr inbounds ptr, ptr %9, i64 %5
%11 = load ptr, ptr %10, align 8, !tbaa !5
%12 = getelementptr inbounds ptr, ptr %11, i64 %8
%13 = load ptr, ptr %12, align 8, !tbaa !5
%14 = and i64 %1, 127
%15 = getelementptr inbounds i32, ptr %13, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !9
ret i32 %16
}
declare i64 @IsHTHalfNmode40Bandwidth(ptr noundef) local_unnamed_addr #1
declare i64 @IsHTHalfNmodeSGI(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/ieee80211/extr_rtl819x_HTProc.c_HTHalfMcsToDataRate.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/ieee80211/extr_rtl819x_HTProc.c_HTHalfMcsToDataRate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MCS_DATA_RATE = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @HTHalfMcsToDataRate(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 @IsHTHalfNmode40Bandwidth(ptr noundef %0) #2
%4 = icmp ne i64 %3, 0
%5 = zext i1 %4 to i64
%6 = tail call i64 @IsHTHalfNmodeSGI(ptr noundef %0, i64 noundef %5) #2
%7 = icmp ne i64 %6, 0
%8 = zext i1 %7 to i64
%9 = load ptr, ptr @MCS_DATA_RATE, align 8, !tbaa !6
%10 = getelementptr inbounds ptr, ptr %9, i64 %5
%11 = load ptr, ptr %10, align 8, !tbaa !6
%12 = getelementptr inbounds ptr, ptr %11, i64 %8
%13 = load ptr, ptr %12, align 8, !tbaa !6
%14 = and i64 %1, 127
%15 = getelementptr inbounds i32, ptr %13, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !10
ret i32 %16
}
declare i64 @IsHTHalfNmode40Bandwidth(ptr noundef) local_unnamed_addr #1
declare i64 @IsHTHalfNmodeSGI(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
|
fastsocket_kernel_drivers_staging_rtl8192e_ieee80211_extr_rtl819x_HTProc.c_HTHalfMcsToDataRate
|
; ModuleID = 'AnghaBench/linux/tools/perf/extr_builtin-sched.c_thread__init_runtime.c'
source_filename = "AnghaBench/linux/tools/perf/extr_builtin-sched.c_thread__init_runtime.c"
target datalayout = "e-m:e-p270:32:32-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 @thread__init_runtime], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @thread__init_runtime(ptr noundef %0) #0 {
%2 = tail call ptr @zalloc(i32 noundef 4) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i32 @init_stats(ptr noundef nonnull %2) #2
%6 = tail call i32 @thread__set_priv(ptr noundef %0, ptr noundef nonnull %2) #2
br label %7
7: ; preds = %1, %4
ret ptr %2
}
declare ptr @zalloc(i32 noundef) local_unnamed_addr #1
declare i32 @init_stats(ptr noundef) local_unnamed_addr #1
declare i32 @thread__set_priv(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/tools/perf/extr_builtin-sched.c_thread__init_runtime.c'
source_filename = "AnghaBench/linux/tools/perf/extr_builtin-sched.c_thread__init_runtime.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 @thread__init_runtime], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @thread__init_runtime(ptr noundef %0) #0 {
%2 = tail call ptr @zalloc(i32 noundef 4) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i32 @init_stats(ptr noundef nonnull %2) #2
%6 = tail call i32 @thread__set_priv(ptr noundef %0, ptr noundef nonnull %2) #2
br label %7
7: ; preds = %1, %4
ret ptr %2
}
declare ptr @zalloc(i32 noundef) local_unnamed_addr #1
declare i32 @init_stats(ptr noundef) local_unnamed_addr #1
declare i32 @thread__set_priv(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_tools_perf_extr_builtin-sched.c_thread__init_runtime
|
; ModuleID = 'AnghaBench/vlc/modules/access/dvb/extr_scan.c_scan_set_NotifyCB.c'
source_filename = "AnghaBench/vlc/modules/access/dvb/extr_scan.c_scan_set_NotifyCB.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local void @scan_set_NotifyCB(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
store i32 %1, ptr %0, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/vlc/modules/access/dvb/extr_scan.c_scan_set_NotifyCB.c'
source_filename = "AnghaBench/vlc/modules/access/dvb/extr_scan.c_scan_set_NotifyCB.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define void @scan_set_NotifyCB(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
store i32 %1, ptr %0, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
vlc_modules_access_dvb_extr_scan.c_scan_set_NotifyCB
|
; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_mtk-sd.c_msdc_unprepare_data.c'
source_filename = "AnghaBench/linux/drivers/mmc/host/extr_mtk-sd.c_msdc_unprepare_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.mmc_data = type { i32, i32, i32 }
@MSDC_ASYNC_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@MSDC_PREPARE_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @msdc_unprepare_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @msdc_unprepare_data(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = load i32, ptr @MSDC_ASYNC_FLAG, align 4, !tbaa !13
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %24
8: ; preds = %2
%9 = load i32, ptr @MSDC_PREPARE_FLAG, align 4, !tbaa !13
%10 = and i32 %9, %4
%11 = icmp eq i32 %10, 0
br i1 %11, label %24, label %12
12: ; preds = %8
%13 = load i32, ptr %0, align 4, !tbaa !14
%14 = getelementptr inbounds %struct.mmc_data, ptr %3, i64 0, i32 2
%15 = load i32, ptr %14, align 4, !tbaa !16
%16 = getelementptr inbounds %struct.mmc_data, ptr %3, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !17
%18 = tail call i32 @mmc_get_dma_dir(ptr noundef nonnull %3) #2
%19 = tail call i32 @dma_unmap_sg(i32 noundef %13, i32 noundef %15, i32 noundef %17, i32 noundef %18) #2
%20 = load i32, ptr @MSDC_PREPARE_FLAG, align 4, !tbaa !13
%21 = xor i32 %20, -1
%22 = load i32, ptr %3, align 4, !tbaa !10
%23 = and i32 %22, %21
store i32 %23, ptr %3, align 4, !tbaa !10
br label %24
24: ; preds = %8, %12, %2
ret void
}
declare i32 @dma_unmap_sg(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mmc_get_dma_dir(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 = !{!"mmc_request", !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 = !{!"mmc_data", !12, i64 0, !12, i64 4, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"msdc_host", !12, i64 0}
!16 = !{!11, !12, i64 8}
!17 = !{!11, !12, i64 4}
|
; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_mtk-sd.c_msdc_unprepare_data.c'
source_filename = "AnghaBench/linux/drivers/mmc/host/extr_mtk-sd.c_msdc_unprepare_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MSDC_ASYNC_FLAG = common local_unnamed_addr global i32 0, align 4
@MSDC_PREPARE_FLAG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @msdc_unprepare_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @msdc_unprepare_data(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = load i32, ptr @MSDC_ASYNC_FLAG, align 4, !tbaa !14
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %24
8: ; preds = %2
%9 = load i32, ptr @MSDC_PREPARE_FLAG, align 4, !tbaa !14
%10 = and i32 %9, %4
%11 = icmp eq i32 %10, 0
br i1 %11, label %24, label %12
12: ; preds = %8
%13 = load i32, ptr %0, align 4, !tbaa !15
%14 = getelementptr inbounds i8, ptr %3, i64 8
%15 = load i32, ptr %14, align 4, !tbaa !17
%16 = getelementptr inbounds i8, ptr %3, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !18
%18 = tail call i32 @mmc_get_dma_dir(ptr noundef nonnull %3) #2
%19 = tail call i32 @dma_unmap_sg(i32 noundef %13, i32 noundef %15, i32 noundef %17, i32 noundef %18) #2
%20 = load i32, ptr @MSDC_PREPARE_FLAG, align 4, !tbaa !14
%21 = xor i32 %20, -1
%22 = load i32, ptr %3, align 4, !tbaa !11
%23 = and i32 %22, %21
store i32 %23, ptr %3, align 4, !tbaa !11
br label %24
24: ; preds = %8, %12, %2
ret void
}
declare i32 @dma_unmap_sg(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mmc_get_dma_dir(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 = !{!"mmc_request", !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 = !{!"mmc_data", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"msdc_host", !13, i64 0}
!17 = !{!12, !13, i64 8}
!18 = !{!12, !13, i64 4}
|
linux_drivers_mmc_host_extr_mtk-sd.c_msdc_unprepare_data
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/input/extr_ukbd.c_ukbd_init.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/input/extr_ukbd.c_ukbd_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"
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ukbd_init], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @ukbd_init(i32 %0, ptr nocapture readnone %1, ptr nocapture readnone %2, i32 %3) #0 {
%5 = load i32, ptr @ENXIO, align 4, !tbaa !5
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/input/extr_ukbd.c_ukbd_init.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/input/extr_ukbd.c_ukbd_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENXIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ukbd_init], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @ukbd_init(i32 %0, ptr nocapture readnone %1, ptr nocapture readnone %2, i32 %3) #0 {
%5 = load i32, ptr @ENXIO, align 4, !tbaa !6
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_sys_dev_usb_input_extr_ukbd.c_ukbd_init
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/mmc/host/extr_dwmmc.c_parse_fdt.c'
source_filename = "AnghaBench/freebsd/sys/dev/mmc/host/extr_dwmmc.c_parse_fdt.c"
target datalayout = "e-m:e-p270:32:32-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.dwmmc_softc = type { i32, i32, i32, i64, i32, ptr, i64, i64, i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"bus-width\00", align 1
@MMC_CAP_4_BIT_DATA = dso_local local_unnamed_addr global i32 0, align 4
@MMC_CAP_8_BIT_DATA = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"max-frequency\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"fifo-depth\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"num-slots\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"num-slots property is deprecated\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"clock-frequency\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"No bus speed provided\0A\00", align 1
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse_fdt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @parse_fdt(ptr noundef %0) #0 {
%2 = alloca [3 x i32], align 4
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.dwmmc_softc, ptr %0, i64 0, i32 4
%5 = load i32, ptr %4, align 8, !tbaa !5
%6 = tail call i32 @ofw_bus_get_node(i32 noundef %5) #3
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32, ptr @ENXIO, align 4, !tbaa !13
br label %63
10: ; preds = %1
%11 = call i64 @OF_getencprop(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef nonnull %3, i32 noundef 4) #3
%12 = icmp slt i64 %11, 1
br i1 %12, label %13, label %18
13: ; preds = %10
store i32 4, ptr %3, align 4, !tbaa !13
%14 = load i32, ptr @MMC_CAP_4_BIT_DATA, align 4, !tbaa !13
%15 = getelementptr inbounds %struct.dwmmc_softc, ptr %0, i64 0, i32 10
%16 = load i32, ptr %15, align 8, !tbaa !14
%17 = or i32 %16, %14
store i32 %17, ptr %15, align 8, !tbaa !14
br label %30
18: ; preds = %10
%19 = load i32, ptr %3, align 4, !tbaa !13
%20 = icmp sgt i32 %19, 3
br i1 %20, label %21, label %30
21: ; preds = %18
%22 = load i32, ptr @MMC_CAP_4_BIT_DATA, align 4, !tbaa !13
%23 = getelementptr inbounds %struct.dwmmc_softc, ptr %0, i64 0, i32 10
%24 = load i32, ptr %23, align 8, !tbaa !14
%25 = or i32 %24, %22
store i32 %25, ptr %23, align 8, !tbaa !14
%26 = icmp ugt i32 %19, 7
br i1 %26, label %27, label %30
27: ; preds = %21
%28 = load i32, ptr @MMC_CAP_8_BIT_DATA, align 4, !tbaa !13
%29 = or i32 %25, %28
store i32 %29, ptr %23, align 8, !tbaa !14
br label %30
30: ; preds = %18, %13, %27, %21
%31 = call i64 @OF_getencprop(i32 noundef %6, ptr noundef nonnull @.str.1, ptr noundef nonnull %0, i32 noundef 4) #3
%32 = icmp slt i64 %31, 1
br i1 %32, label %33, label %34
33: ; preds = %30
store i32 200000000, ptr %0, align 8, !tbaa !15
br label %34
34: ; preds = %33, %30
%35 = call i32 @OF_getproplen(i32 noundef %6, ptr noundef nonnull @.str.2) #3
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = call i64 @OF_getencprop(i32 noundef %6, ptr noundef nonnull @.str.2, ptr noundef nonnull %2, i32 noundef %35) #3
%39 = load i32, ptr %2, align 4, !tbaa !13
%40 = getelementptr inbounds %struct.dwmmc_softc, ptr %0, i64 0, i32 1
store i32 %39, ptr %40, align 4, !tbaa !16
br label %41
41: ; preds = %37, %34
%42 = getelementptr inbounds %struct.dwmmc_softc, ptr %0, i64 0, i32 2
store i32 1, ptr %42, align 8, !tbaa !17
%43 = call i32 @OF_getproplen(i32 noundef %6, ptr noundef nonnull @.str.3) #3
%44 = icmp sgt i32 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %41
%46 = load i32, ptr %4, align 8, !tbaa !5
%47 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %46, ptr noundef nonnull @.str.4) #3
%48 = call i64 @OF_getencprop(i32 noundef %6, ptr noundef nonnull @.str.3, ptr noundef nonnull %2, i32 noundef %43) #3
%49 = load i32, ptr %2, align 4, !tbaa !13
store i32 %49, ptr %42, align 8, !tbaa !17
br label %50
50: ; preds = %45, %41
%51 = call i32 @OF_getproplen(i32 noundef %6, ptr noundef nonnull @.str.5) #3
%52 = icmp sgt i32 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = call i64 @OF_getencprop(i32 noundef %6, ptr noundef nonnull @.str.5, ptr noundef nonnull %2, i32 noundef %51) #3
br label %55
55: ; preds = %53, %50
%56 = getelementptr inbounds %struct.dwmmc_softc, ptr %0, i64 0, i32 3
%57 = load i64, ptr %56, align 8, !tbaa !18
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %63
59: ; preds = %55
%60 = load i32, ptr %4, align 8, !tbaa !5
%61 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %60, ptr noundef nonnull @.str.6) #3
%62 = load i32, ptr @ENXIO, align 4, !tbaa !13
br label %63
63: ; preds = %55, %59, %8
%64 = phi i32 [ %9, %8 ], [ %62, %59 ], [ 0, %55 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3
ret i32 %64
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ofw_bus_get_node(i32 noundef) local_unnamed_addr #2
declare i64 @OF_getencprop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @OF_getproplen(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @device_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"dwmmc_softc", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !11, i64 32, !10, i64 40, !10, i64 48, !7, i64 56, !7, i64 60, !12, i64 64}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 64}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !7, i64 4}
!17 = !{!6, !7, i64 8}
!18 = !{!6, !10, i64 16}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/mmc/host/extr_dwmmc.c_parse_fdt.c'
source_filename = "AnghaBench/freebsd/sys/dev/mmc/host/extr_dwmmc.c_parse_fdt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENXIO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"bus-width\00", align 1
@MMC_CAP_4_BIT_DATA = common local_unnamed_addr global i32 0, align 4
@MMC_CAP_8_BIT_DATA = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"max-frequency\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"fifo-depth\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"num-slots\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"num-slots property is deprecated\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"clock-frequency\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"No bus speed provided\0A\00", align 1
@ENODEV = common local_unnamed_addr global i32 0, align 4
@ENOENT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @parse_fdt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @parse_fdt(ptr noundef %0) #0 {
%2 = alloca [3 x i32], align 4
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %0, i64 24
%5 = load i32, ptr %4, align 8, !tbaa !6
%6 = tail call i32 @ofw_bus_get_node(i32 noundef %5) #3
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32, ptr @ENXIO, align 4, !tbaa !14
br label %63
10: ; preds = %1
%11 = call i64 @OF_getencprop(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef nonnull %3, i32 noundef 4) #3
%12 = icmp slt i64 %11, 1
br i1 %12, label %13, label %18
13: ; preds = %10
store i32 4, ptr %3, align 4, !tbaa !14
%14 = load i32, ptr @MMC_CAP_4_BIT_DATA, align 4, !tbaa !14
%15 = getelementptr inbounds i8, ptr %0, i64 64
%16 = load i32, ptr %15, align 8, !tbaa !15
%17 = or i32 %16, %14
store i32 %17, ptr %15, align 8, !tbaa !15
br label %30
18: ; preds = %10
%19 = load i32, ptr %3, align 4, !tbaa !14
%20 = icmp sgt i32 %19, 3
br i1 %20, label %21, label %30
21: ; preds = %18
%22 = load i32, ptr @MMC_CAP_4_BIT_DATA, align 4, !tbaa !14
%23 = getelementptr inbounds i8, ptr %0, i64 64
%24 = load i32, ptr %23, align 8, !tbaa !15
%25 = or i32 %24, %22
store i32 %25, ptr %23, align 8, !tbaa !15
%26 = icmp ugt i32 %19, 7
br i1 %26, label %27, label %30
27: ; preds = %21
%28 = load i32, ptr @MMC_CAP_8_BIT_DATA, align 4, !tbaa !14
%29 = or i32 %25, %28
store i32 %29, ptr %23, align 8, !tbaa !15
br label %30
30: ; preds = %18, %13, %27, %21
%31 = call i64 @OF_getencprop(i32 noundef %6, ptr noundef nonnull @.str.1, ptr noundef nonnull %0, i32 noundef 4) #3
%32 = icmp slt i64 %31, 1
br i1 %32, label %33, label %34
33: ; preds = %30
store i32 200000000, ptr %0, align 8, !tbaa !16
br label %34
34: ; preds = %33, %30
%35 = call i32 @OF_getproplen(i32 noundef %6, ptr noundef nonnull @.str.2) #3
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = call i64 @OF_getencprop(i32 noundef %6, ptr noundef nonnull @.str.2, ptr noundef nonnull %2, i32 noundef %35) #3
%39 = load i32, ptr %2, align 4, !tbaa !14
%40 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %39, ptr %40, align 4, !tbaa !17
br label %41
41: ; preds = %37, %34
%42 = getelementptr inbounds i8, ptr %0, i64 8
store i32 1, ptr %42, align 8, !tbaa !18
%43 = call i32 @OF_getproplen(i32 noundef %6, ptr noundef nonnull @.str.3) #3
%44 = icmp sgt i32 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %41
%46 = load i32, ptr %4, align 8, !tbaa !6
%47 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %46, ptr noundef nonnull @.str.4) #3
%48 = call i64 @OF_getencprop(i32 noundef %6, ptr noundef nonnull @.str.3, ptr noundef nonnull %2, i32 noundef %43) #3
%49 = load i32, ptr %2, align 4, !tbaa !14
store i32 %49, ptr %42, align 8, !tbaa !18
br label %50
50: ; preds = %45, %41
%51 = call i32 @OF_getproplen(i32 noundef %6, ptr noundef nonnull @.str.5) #3
%52 = icmp sgt i32 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = call i64 @OF_getencprop(i32 noundef %6, ptr noundef nonnull @.str.5, ptr noundef nonnull %2, i32 noundef %51) #3
br label %55
55: ; preds = %53, %50
%56 = getelementptr inbounds i8, ptr %0, i64 16
%57 = load i64, ptr %56, align 8, !tbaa !19
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %63
59: ; preds = %55
%60 = load i32, ptr %4, align 8, !tbaa !6
%61 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %60, ptr noundef nonnull @.str.6) #3
%62 = load i32, ptr @ENXIO, align 4, !tbaa !14
br label %63
63: ; preds = %55, %59, %8
%64 = phi i32 [ %9, %8 ], [ %62, %59 ], [ 0, %55 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3
ret i32 %64
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ofw_bus_get_node(i32 noundef) local_unnamed_addr #2
declare i64 @OF_getencprop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @OF_getproplen(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @device_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"dwmmc_softc", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24, !12, i64 32, !11, i64 40, !11, i64 48, !8, i64 56, !8, i64 60, !13, i64 64}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!"TYPE_2__", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 64}
!16 = !{!7, !8, i64 0}
!17 = !{!7, !8, i64 4}
!18 = !{!7, !8, i64 8}
!19 = !{!7, !11, i64 16}
|
freebsd_sys_dev_mmc_host_extr_dwmmc.c_parse_fdt
|
; ModuleID = 'AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_dropCell.c'
source_filename = "AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_dropCell.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i32, i32, i64, i64, ptr, ptr, ptr, i32 }
%struct.TYPE_6__ = type { i64, i32 }
@CORRUPT_DB = dso_local local_unnamed_addr global i64 0, align 8
@SQLITE_CORRUPT_BKPT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dropCell], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dropCell(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef %3) #0 {
%5 = load i32, ptr %3, align 4, !tbaa !5
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %101
7: ; preds = %4
%8 = icmp sgt i32 %1, -1
br i1 %8, label %9, label %13
9: ; preds = %7
%10 = load i32, ptr %0, align 8, !tbaa !9
%11 = icmp sgt i32 %10, %1
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %9, %7
%14 = phi i32 [ 0, %7 ], [ %12, %9 ]
%15 = tail call i32 @assert(i32 noundef %14) #2
%16 = load i64, ptr @CORRUPT_DB, align 8, !tbaa !13
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %13
%19 = tail call i32 @cellSize(ptr noundef %0, i32 noundef %1) #2
%20 = icmp eq i32 %19, %2
%21 = zext i1 %20 to i32
br label %22
22: ; preds = %18, %13
%23 = phi i32 [ 1, %13 ], [ %21, %18 ]
%24 = tail call i32 @assert(i32 noundef %23) #2
%25 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 7
%26 = load i32, ptr %25, align 8, !tbaa !14
%27 = tail call i32 @sqlite3PagerIswriteable(i32 noundef %26) #2
%28 = tail call i32 @assert(i32 noundef %27) #2
%29 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4
%30 = load ptr, ptr %29, align 8, !tbaa !15
%31 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 0, i32 1
%32 = load i32, ptr %31, align 8, !tbaa !16
%33 = tail call i32 @sqlite3_mutex_held(i32 noundef %32) #2
%34 = tail call i32 @assert(i32 noundef %33) #2
%35 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 6
%36 = load ptr, ptr %35, align 8, !tbaa !18
%37 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 5
%38 = load ptr, ptr %37, align 8, !tbaa !19
%39 = shl nsw i32 %1, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i64, ptr %38, i64 %40
%42 = tail call i64 @get2byte(ptr noundef %41) #2
%43 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%44 = load i32, ptr %43, align 4, !tbaa !20
%45 = sext i32 %44 to i64
%46 = getelementptr i64, ptr %36, i64 %45
%47 = getelementptr i64, ptr %46, i64 5
%48 = tail call i64 @get2byte(ptr noundef %47) #2
%49 = icmp eq i64 %42, %48
%50 = zext i1 %49 to i32
%51 = tail call i32 @testcase(i32 noundef %50) #2
%52 = sext i32 %2 to i64
%53 = add nsw i64 %42, %52
%54 = load ptr, ptr %29, align 8, !tbaa !15
%55 = load i64, ptr %54, align 8, !tbaa !21
%56 = icmp eq i64 %53, %55
%57 = zext i1 %56 to i32
%58 = tail call i32 @testcase(i32 noundef %57) #2
%59 = load ptr, ptr %29, align 8, !tbaa !15
%60 = load i64, ptr %59, align 8, !tbaa !21
%61 = icmp sgt i64 %53, %60
br i1 %61, label %62, label %64
62: ; preds = %22
%63 = load i32, ptr @SQLITE_CORRUPT_BKPT, align 4, !tbaa !5
store i32 %63, ptr %3, align 4, !tbaa !5
br label %101
64: ; preds = %22
%65 = tail call i32 @freeSpace(ptr noundef nonnull %0, i64 noundef %42, i32 noundef %2) #2
%66 = icmp eq i32 %65, 0
br i1 %66, label %68, label %67
67: ; preds = %64
store i32 %65, ptr %3, align 4, !tbaa !5
br label %101
68: ; preds = %64
%69 = load i32, ptr %0, align 8, !tbaa !9
%70 = add nsw i32 %69, -1
store i32 %70, ptr %0, align 8, !tbaa !9
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %90
72: ; preds = %68
%73 = getelementptr i64, ptr %46, i64 1
%74 = tail call i32 @memset(ptr noundef %73, i32 noundef 0, i32 noundef 4) #2
%75 = getelementptr i64, ptr %46, i64 7
store i64 0, ptr %75, align 8, !tbaa !13
%76 = load ptr, ptr %29, align 8, !tbaa !15
%77 = load i64, ptr %76, align 8, !tbaa !21
%78 = trunc i64 %77 to i32
%79 = tail call i32 @put2byte(ptr noundef %47, i32 noundef %78) #2
%80 = load ptr, ptr %29, align 8, !tbaa !15
%81 = load i64, ptr %80, align 8, !tbaa !21
%82 = load i32, ptr %43, align 4, !tbaa !20
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3
%85 = load i64, ptr %84, align 8, !tbaa !22
%86 = add i64 %81, -8
%87 = add i64 %85, %83
%88 = sub i64 %86, %87
%89 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
store i64 %88, ptr %89, align 8, !tbaa !23
br label %101
90: ; preds = %68
%91 = getelementptr inbounds i64, ptr %41, i64 2
%92 = sub nsw i32 %70, %1
%93 = shl nsw i32 %92, 1
%94 = tail call i32 @memmove(ptr noundef %41, ptr noundef nonnull %91, i32 noundef %93) #2
%95 = getelementptr i64, ptr %46, i64 3
%96 = load i32, ptr %0, align 8, !tbaa !9
%97 = tail call i32 @put2byte(ptr noundef %95, i32 noundef %96) #2
%98 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%99 = load i64, ptr %98, align 8, !tbaa !23
%100 = add nsw i64 %99, 2
store i64 %100, ptr %98, align 8, !tbaa !23
br label %101
101: ; preds = %72, %90, %4, %67, %62
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @cellSize(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3PagerIswriteable(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_mutex_held(i32 noundef) local_unnamed_addr #1
declare i64 @get2byte(ptr noundef) local_unnamed_addr #1
declare i32 @testcase(i32 noundef) local_unnamed_addr #1
declare i32 @freeSpace(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @put2byte(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memmove(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 = !{!"TYPE_7__", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !6, i64 48}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !6, i64 48}
!15 = !{!10, !12, i64 24}
!16 = !{!17, !6, i64 8}
!17 = !{!"TYPE_6__", !11, i64 0, !6, i64 8}
!18 = !{!10, !12, i64 40}
!19 = !{!10, !12, i64 32}
!20 = !{!10, !6, i64 4}
!21 = !{!17, !11, i64 0}
!22 = !{!10, !11, i64 16}
!23 = !{!10, !11, i64 8}
|
; ModuleID = 'AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_dropCell.c'
source_filename = "AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_dropCell.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CORRUPT_DB = common local_unnamed_addr global i64 0, align 8
@SQLITE_CORRUPT_BKPT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dropCell], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dropCell(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef %3) #0 {
%5 = load i32, ptr %3, align 4, !tbaa !6
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %101
7: ; preds = %4
%8 = icmp sgt i32 %1, -1
br i1 %8, label %9, label %13
9: ; preds = %7
%10 = load i32, ptr %0, align 8, !tbaa !10
%11 = icmp sgt i32 %10, %1
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %9, %7
%14 = phi i32 [ 0, %7 ], [ %12, %9 ]
%15 = tail call i32 @assert(i32 noundef %14) #2
%16 = load i64, ptr @CORRUPT_DB, align 8, !tbaa !14
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %13
%19 = tail call i32 @cellSize(ptr noundef %0, i32 noundef %1) #2
%20 = icmp eq i32 %19, %2
%21 = zext i1 %20 to i32
br label %22
22: ; preds = %18, %13
%23 = phi i32 [ 1, %13 ], [ %21, %18 ]
%24 = tail call i32 @assert(i32 noundef %23) #2
%25 = getelementptr inbounds i8, ptr %0, i64 48
%26 = load i32, ptr %25, align 8, !tbaa !15
%27 = tail call i32 @sqlite3PagerIswriteable(i32 noundef %26) #2
%28 = tail call i32 @assert(i32 noundef %27) #2
%29 = getelementptr inbounds i8, ptr %0, i64 24
%30 = load ptr, ptr %29, align 8, !tbaa !16
%31 = getelementptr inbounds i8, ptr %30, i64 8
%32 = load i32, ptr %31, align 8, !tbaa !17
%33 = tail call i32 @sqlite3_mutex_held(i32 noundef %32) #2
%34 = tail call i32 @assert(i32 noundef %33) #2
%35 = getelementptr inbounds i8, ptr %0, i64 40
%36 = load ptr, ptr %35, align 8, !tbaa !19
%37 = getelementptr inbounds i8, ptr %0, i64 32
%38 = load ptr, ptr %37, align 8, !tbaa !20
%39 = shl nsw i32 %1, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i64, ptr %38, i64 %40
%42 = tail call i64 @get2byte(ptr noundef %41) #2
%43 = getelementptr inbounds i8, ptr %0, i64 4
%44 = load i32, ptr %43, align 4, !tbaa !21
%45 = sext i32 %44 to i64
%46 = getelementptr i64, ptr %36, i64 %45
%47 = getelementptr i8, ptr %46, i64 40
%48 = tail call i64 @get2byte(ptr noundef %47) #2
%49 = icmp eq i64 %42, %48
%50 = zext i1 %49 to i32
%51 = tail call i32 @testcase(i32 noundef %50) #2
%52 = sext i32 %2 to i64
%53 = add nsw i64 %42, %52
%54 = load ptr, ptr %29, align 8, !tbaa !16
%55 = load i64, ptr %54, align 8, !tbaa !22
%56 = icmp eq i64 %53, %55
%57 = zext i1 %56 to i32
%58 = tail call i32 @testcase(i32 noundef %57) #2
%59 = load ptr, ptr %29, align 8, !tbaa !16
%60 = load i64, ptr %59, align 8, !tbaa !22
%61 = icmp sgt i64 %53, %60
br i1 %61, label %62, label %64
62: ; preds = %22
%63 = load i32, ptr @SQLITE_CORRUPT_BKPT, align 4, !tbaa !6
store i32 %63, ptr %3, align 4, !tbaa !6
br label %101
64: ; preds = %22
%65 = tail call i32 @freeSpace(ptr noundef nonnull %0, i64 noundef %42, i32 noundef %2) #2
%66 = icmp eq i32 %65, 0
br i1 %66, label %68, label %67
67: ; preds = %64
store i32 %65, ptr %3, align 4, !tbaa !6
br label %101
68: ; preds = %64
%69 = load i32, ptr %0, align 8, !tbaa !10
%70 = add nsw i32 %69, -1
store i32 %70, ptr %0, align 8, !tbaa !10
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %90
72: ; preds = %68
%73 = getelementptr i8, ptr %46, i64 8
%74 = tail call i32 @memset(ptr noundef %73, i32 noundef 0, i32 noundef 4) #2
%75 = getelementptr i8, ptr %46, i64 56
store i64 0, ptr %75, align 8, !tbaa !14
%76 = load ptr, ptr %29, align 8, !tbaa !16
%77 = load i64, ptr %76, align 8, !tbaa !22
%78 = trunc i64 %77 to i32
%79 = tail call i32 @put2byte(ptr noundef %47, i32 noundef %78) #2
%80 = load ptr, ptr %29, align 8, !tbaa !16
%81 = load i64, ptr %80, align 8, !tbaa !22
%82 = load i32, ptr %43, align 4, !tbaa !21
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %0, i64 16
%85 = load i64, ptr %84, align 8, !tbaa !23
%86 = add i64 %81, -8
%87 = add i64 %85, %83
%88 = sub i64 %86, %87
%89 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %88, ptr %89, align 8, !tbaa !24
br label %101
90: ; preds = %68
%91 = getelementptr inbounds i8, ptr %41, i64 16
%92 = sub nsw i32 %70, %1
%93 = shl nsw i32 %92, 1
%94 = tail call i32 @memmove(ptr noundef %41, ptr noundef nonnull %91, i32 noundef %93) #2
%95 = getelementptr i8, ptr %46, i64 24
%96 = load i32, ptr %0, align 8, !tbaa !10
%97 = tail call i32 @put2byte(ptr noundef %95, i32 noundef %96) #2
%98 = getelementptr inbounds i8, ptr %0, i64 8
%99 = load i64, ptr %98, align 8, !tbaa !24
%100 = add nsw i64 %99, 2
store i64 %100, ptr %98, align 8, !tbaa !24
br label %101
101: ; preds = %72, %90, %4, %67, %62
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @cellSize(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3PagerIswriteable(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_mutex_held(i32 noundef) local_unnamed_addr #1
declare i64 @get2byte(ptr noundef) local_unnamed_addr #1
declare i32 @testcase(i32 noundef) local_unnamed_addr #1
declare i32 @freeSpace(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @put2byte(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memmove(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 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !7, i64 48}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !7, i64 48}
!16 = !{!11, !13, i64 24}
!17 = !{!18, !7, i64 8}
!18 = !{!"TYPE_6__", !12, i64 0, !7, i64 8}
!19 = !{!11, !13, i64 40}
!20 = !{!11, !13, i64 32}
!21 = !{!11, !7, i64 4}
!22 = !{!18, !12, i64 0}
!23 = !{!11, !12, i64 16}
!24 = !{!11, !12, i64 8}
|
wcdb_android_sqlcipher_extr_sqlite3.c_dropCell
|
; ModuleID = 'AnghaBench/linux/drivers/media/pci/ivtv/extr_ivtv-streams.c_ivtv_setup_v4l2_decode_stream.c'
source_filename = "AnghaBench/linux/drivers/media/pci/ivtv/extr_ivtv-streams.c_ivtv_setup_v4l2_decode_stream.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ivtv_stream = type { i32, %struct.TYPE_4__, ptr }
%struct.TYPE_4__ = type { ptr }
%struct.TYPE_6__ = type { i32, i32, i32 }
%struct.ivtv = type { %struct.TYPE_6__, i32, i32, %struct.TYPE_5__, i32, i32 }
%struct.TYPE_5__ = type { i32 }
@CX2341X_MBOX_MAX_DATA = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"Setting some initial decoder settings\0A\00", align 1
@CX2341X_DEC_SET_AUDIO_MODE = dso_local local_unnamed_addr global i32 0, align 4
@CX2341X_DEC_SET_DISPLAY_BUFFERS = dso_local local_unnamed_addr global i32 0, align 4
@CX2341X_DEC_SET_PREBUFFERING = dso_local local_unnamed_addr global i32 0, align 4
@CX2341X_DEC_EXTRACT_VBI = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [48 x i8] c"Decoder VBI RE-Insert start 0x%08x size 0x%08x\0A\00", align 1
@OUT_PASSTHROUGH = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [35 x i8] c"Setup DEC YUV Stream data[0] = %d\0A\00", align 1
@CX2341X_DEC_SET_DECODER_SOURCE = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [36 x i8] c"Couldn't initialize decoder source\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"ivtv_setup_v4l2_decode_stream\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ivtv_setup_v4l2_decode_stream], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ivtv_setup_v4l2_decode_stream(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @CX2341X_MBOX_MAX_DATA, align 4, !tbaa !5
%3 = zext i32 %2 to i64
%4 = alloca i32, i64 %3, align 16
%5 = getelementptr inbounds %struct.ivtv_stream, ptr %0, i64 0, i32 2
%6 = load ptr, ptr %5, align 8, !tbaa !9
%7 = getelementptr inbounds %struct.ivtv_stream, ptr %0, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load i32, ptr @EINVAL, align 4, !tbaa !5
%12 = sub nsw i32 0, %11
br label %66
13: ; preds = %1
%14 = tail call i32 (ptr, ...) @IVTV_DEBUG_INFO(ptr noundef nonnull @.str) #2
%15 = load i32, ptr %6, align 4, !tbaa !14
%16 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !18
%18 = load i32, ptr @CX2341X_DEC_SET_AUDIO_MODE, align 4, !tbaa !5
%19 = getelementptr inbounds %struct.ivtv, ptr %6, i64 0, i32 5
%20 = load i32, ptr %19, align 4, !tbaa !19
%21 = getelementptr inbounds %struct.ivtv, ptr %6, i64 0, i32 4
%22 = load i32, ptr %21, align 4, !tbaa !20
%23 = tail call i64 (ptr, i32, i32, i32, ...) @ivtv_vapi(ptr noundef nonnull %6, i32 noundef %18, i32 noundef 2, i32 noundef %20, i32 noundef %22) #2
%24 = load i32, ptr @CX2341X_DEC_SET_DISPLAY_BUFFERS, align 4, !tbaa !5
%25 = tail call i64 (ptr, i32, i32, i32, ...) @ivtv_vapi(ptr noundef nonnull %6, i32 noundef %24, i32 noundef 1, i32 noundef 0) #2
%26 = load i32, ptr @CX2341X_DEC_SET_PREBUFFERING, align 4, !tbaa !5
%27 = tail call i64 (ptr, i32, i32, i32, ...) @ivtv_vapi(ptr noundef nonnull %6, i32 noundef %26, i32 noundef 1, i32 noundef 1) #2
%28 = load i32, ptr @CX2341X_DEC_EXTRACT_VBI, align 4, !tbaa !5
%29 = call i32 @ivtv_vapi_result(ptr noundef nonnull %6, ptr noundef nonnull %4, i32 noundef %28, i32 noundef 1, i32 noundef 1) #2
%30 = load i32, ptr %4, align 16, !tbaa !5
%31 = getelementptr inbounds %struct.ivtv, ptr %6, i64 0, i32 3
store i32 %30, ptr %31, align 4, !tbaa !21
%32 = getelementptr inbounds i32, ptr %4, i64 1
%33 = load i32, ptr %32, align 4, !tbaa !5
%34 = call i32 (ptr, ...) @IVTV_DEBUG_INFO(ptr noundef nonnull @.str.1, i32 noundef %30, i32 noundef %33) #2
%35 = load i32, ptr %0, align 8, !tbaa !22
%36 = icmp eq i32 %35, 128
br i1 %36, label %37, label %52
37: ; preds = %13
%38 = getelementptr inbounds %struct.ivtv, ptr %6, i64 0, i32 2
%39 = load i32, ptr %38, align 4, !tbaa !23
%40 = load i32, ptr @OUT_PASSTHROUGH, align 4, !tbaa !5
%41 = icmp eq i32 %39, %40
br i1 %41, label %47, label %42
42: ; preds = %37
%43 = getelementptr inbounds %struct.ivtv, ptr %6, i64 0, i32 1
%44 = load i32, ptr %43, align 4, !tbaa !24
%45 = icmp eq i32 %44, 0
%46 = select i1 %45, i32 480, i32 576
br label %47
47: ; preds = %37, %42
%48 = phi i32 [ 2, %42 ], [ 1, %37 ]
%49 = phi i32 [ 720, %42 ], [ %15, %37 ]
%50 = phi i32 [ %46, %42 ], [ %17, %37 ]
%51 = call i32 (ptr, ...) @IVTV_DEBUG_INFO(ptr noundef nonnull @.str.2, i32 noundef %48) #2
br label %52
52: ; preds = %13, %47
%53 = phi i32 [ %48, %47 ], [ 0, %13 ]
%54 = phi i32 [ %49, %47 ], [ %15, %13 ]
%55 = phi i32 [ %50, %47 ], [ %17, %13 ]
%56 = load i32, ptr @CX2341X_DEC_SET_DECODER_SOURCE, align 4, !tbaa !5
%57 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 2
%58 = load i32, ptr %57, align 4, !tbaa !25
%59 = call i64 (ptr, i32, i32, i32, ...) @ivtv_vapi(ptr noundef nonnull %6, i32 noundef %56, i32 noundef 4, i32 noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %58) #2
%60 = icmp eq i64 %59, 0
br i1 %60, label %63, label %61
61: ; preds = %52
%62 = call i32 @IVTV_DEBUG_WARN(ptr noundef nonnull @.str.3) #2
br label %63
63: ; preds = %61, %52
%64 = call i32 @ivtv_msleep_timeout(i32 noundef 10, i32 noundef 0) #2
%65 = call i32 @ivtv_firmware_check(ptr noundef nonnull %6, ptr noundef nonnull @.str.4) #2
br label %66
66: ; preds = %63, %10
%67 = phi i32 [ %12, %10 ], [ %65, %63 ]
ret i32 %67
}
declare i32 @IVTV_DEBUG_INFO(ptr noundef, ...) local_unnamed_addr #1
declare i64 @ivtv_vapi(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @ivtv_vapi_result(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IVTV_DEBUG_WARN(ptr noundef) local_unnamed_addr #1
declare i32 @ivtv_msleep_timeout(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ivtv_firmware_check(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 16}
!10 = !{!"ivtv_stream", !6, i64 0, !11, i64 8, !12, i64 16}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!15, !6, i64 0}
!15 = !{!"ivtv", !16, i64 0, !6, i64 12, !6, i64 16, !17, i64 20, !6, i64 24, !6, i64 28}
!16 = !{!"TYPE_6__", !6, i64 0, !6, i64 4, !6, i64 8}
!17 = !{!"TYPE_5__", !6, i64 0}
!18 = !{!15, !6, i64 4}
!19 = !{!15, !6, i64 28}
!20 = !{!15, !6, i64 24}
!21 = !{!15, !6, i64 20}
!22 = !{!10, !6, i64 0}
!23 = !{!15, !6, i64 16}
!24 = !{!15, !6, i64 12}
!25 = !{!15, !6, i64 8}
|
; ModuleID = 'AnghaBench/linux/drivers/media/pci/ivtv/extr_ivtv-streams.c_ivtv_setup_v4l2_decode_stream.c'
source_filename = "AnghaBench/linux/drivers/media/pci/ivtv/extr_ivtv-streams.c_ivtv_setup_v4l2_decode_stream.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CX2341X_MBOX_MAX_DATA = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"Setting some initial decoder settings\0A\00", align 1
@CX2341X_DEC_SET_AUDIO_MODE = common local_unnamed_addr global i32 0, align 4
@CX2341X_DEC_SET_DISPLAY_BUFFERS = common local_unnamed_addr global i32 0, align 4
@CX2341X_DEC_SET_PREBUFFERING = common local_unnamed_addr global i32 0, align 4
@CX2341X_DEC_EXTRACT_VBI = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [48 x i8] c"Decoder VBI RE-Insert start 0x%08x size 0x%08x\0A\00", align 1
@OUT_PASSTHROUGH = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [35 x i8] c"Setup DEC YUV Stream data[0] = %d\0A\00", align 1
@CX2341X_DEC_SET_DECODER_SOURCE = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [36 x i8] c"Couldn't initialize decoder source\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"ivtv_setup_v4l2_decode_stream\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ivtv_setup_v4l2_decode_stream], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ivtv_setup_v4l2_decode_stream(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @CX2341X_MBOX_MAX_DATA, align 4, !tbaa !6
%3 = zext i32 %2 to i64
%4 = alloca i32, i64 %3, align 4
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load i32, ptr @EINVAL, align 4, !tbaa !6
%12 = sub nsw i32 0, %11
br label %66
13: ; preds = %1
%14 = tail call i32 (ptr, ...) @IVTV_DEBUG_INFO(ptr noundef nonnull @.str) #2
%15 = load i32, ptr %6, align 4, !tbaa !15
%16 = getelementptr inbounds i8, ptr %6, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !19
%18 = load i32, ptr @CX2341X_DEC_SET_AUDIO_MODE, align 4, !tbaa !6
%19 = getelementptr inbounds i8, ptr %6, i64 28
%20 = load i32, ptr %19, align 4, !tbaa !20
%21 = getelementptr inbounds i8, ptr %6, i64 24
%22 = load i32, ptr %21, align 4, !tbaa !21
%23 = tail call i64 (ptr, i32, i32, i32, ...) @ivtv_vapi(ptr noundef nonnull %6, i32 noundef %18, i32 noundef 2, i32 noundef %20, i32 noundef %22) #2
%24 = load i32, ptr @CX2341X_DEC_SET_DISPLAY_BUFFERS, align 4, !tbaa !6
%25 = tail call i64 (ptr, i32, i32, i32, ...) @ivtv_vapi(ptr noundef nonnull %6, i32 noundef %24, i32 noundef 1, i32 noundef 0) #2
%26 = load i32, ptr @CX2341X_DEC_SET_PREBUFFERING, align 4, !tbaa !6
%27 = tail call i64 (ptr, i32, i32, i32, ...) @ivtv_vapi(ptr noundef nonnull %6, i32 noundef %26, i32 noundef 1, i32 noundef 1) #2
%28 = load i32, ptr @CX2341X_DEC_EXTRACT_VBI, align 4, !tbaa !6
%29 = call i32 @ivtv_vapi_result(ptr noundef nonnull %6, ptr noundef nonnull %4, i32 noundef %28, i32 noundef 1, i32 noundef 1) #2
%30 = load i32, ptr %4, align 4, !tbaa !6
%31 = getelementptr inbounds i8, ptr %6, i64 20
store i32 %30, ptr %31, align 4, !tbaa !22
%32 = getelementptr inbounds i8, ptr %4, i64 4
%33 = load i32, ptr %32, align 4, !tbaa !6
%34 = call i32 (ptr, ...) @IVTV_DEBUG_INFO(ptr noundef nonnull @.str.1, i32 noundef %30, i32 noundef %33) #2
%35 = load i32, ptr %0, align 8, !tbaa !23
%36 = icmp eq i32 %35, 128
br i1 %36, label %37, label %52
37: ; preds = %13
%38 = getelementptr inbounds i8, ptr %6, i64 16
%39 = load i32, ptr %38, align 4, !tbaa !24
%40 = load i32, ptr @OUT_PASSTHROUGH, align 4, !tbaa !6
%41 = icmp eq i32 %39, %40
br i1 %41, label %47, label %42
42: ; preds = %37
%43 = getelementptr inbounds i8, ptr %6, i64 12
%44 = load i32, ptr %43, align 4, !tbaa !25
%45 = icmp eq i32 %44, 0
%46 = select i1 %45, i32 480, i32 576
br label %47
47: ; preds = %37, %42
%48 = phi i32 [ 2, %42 ], [ 1, %37 ]
%49 = phi i32 [ 720, %42 ], [ %15, %37 ]
%50 = phi i32 [ %46, %42 ], [ %17, %37 ]
%51 = call i32 (ptr, ...) @IVTV_DEBUG_INFO(ptr noundef nonnull @.str.2, i32 noundef %48) #2
br label %52
52: ; preds = %13, %47
%53 = phi i32 [ %48, %47 ], [ 0, %13 ]
%54 = phi i32 [ %49, %47 ], [ %15, %13 ]
%55 = phi i32 [ %50, %47 ], [ %17, %13 ]
%56 = load i32, ptr @CX2341X_DEC_SET_DECODER_SOURCE, align 4, !tbaa !6
%57 = getelementptr inbounds i8, ptr %6, i64 8
%58 = load i32, ptr %57, align 4, !tbaa !26
%59 = call i64 (ptr, i32, i32, i32, ...) @ivtv_vapi(ptr noundef nonnull %6, i32 noundef %56, i32 noundef 4, i32 noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %58) #2
%60 = icmp eq i64 %59, 0
br i1 %60, label %63, label %61
61: ; preds = %52
%62 = call i32 @IVTV_DEBUG_WARN(ptr noundef nonnull @.str.3) #2
br label %63
63: ; preds = %61, %52
%64 = call i32 @ivtv_msleep_timeout(i32 noundef 10, i32 noundef 0) #2
%65 = call i32 @ivtv_firmware_check(ptr noundef nonnull %6, ptr noundef nonnull @.str.4) #2
br label %66
66: ; preds = %63, %10
%67 = phi i32 [ %12, %10 ], [ %65, %63 ]
ret i32 %67
}
declare i32 @IVTV_DEBUG_INFO(ptr noundef, ...) local_unnamed_addr #1
declare i64 @ivtv_vapi(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @ivtv_vapi_result(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IVTV_DEBUG_WARN(ptr noundef) local_unnamed_addr #1
declare i32 @ivtv_msleep_timeout(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ivtv_firmware_check(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 16}
!11 = !{!"ivtv_stream", !7, i64 0, !12, i64 8, !13, i64 16}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 8}
!15 = !{!16, !7, i64 0}
!16 = !{!"ivtv", !17, i64 0, !7, i64 12, !7, i64 16, !18, i64 20, !7, i64 24, !7, i64 28}
!17 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8}
!18 = !{!"TYPE_5__", !7, i64 0}
!19 = !{!16, !7, i64 4}
!20 = !{!16, !7, i64 28}
!21 = !{!16, !7, i64 24}
!22 = !{!16, !7, i64 20}
!23 = !{!11, !7, i64 0}
!24 = !{!16, !7, i64 16}
!25 = !{!16, !7, i64 12}
!26 = !{!16, !7, i64 8}
|
linux_drivers_media_pci_ivtv_extr_ivtv-streams.c_ivtv_setup_v4l2_decode_stream
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sh/boards/mach-dreamcast/extr_rtc.c_aica_rtc_gettimeofday.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sh/boards/mach-dreamcast/extr_rtc.c_aica_rtc_gettimeofday.c"
target datalayout = "e-m:e-p270:32:32-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.timespec = type { i64, i64 }
@AICA_RTC_SECS_H = dso_local local_unnamed_addr global i32 0, align 4
@AICA_RTC_SECS_L = dso_local local_unnamed_addr global i32 0, align 4
@TWENTY_YEARS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @aica_rtc_gettimeofday], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @aica_rtc_gettimeofday(ptr nocapture noundef writeonly %0) #0 {
br label %2
2: ; preds = %2, %1
%3 = load i32, ptr @AICA_RTC_SECS_H, align 4, !tbaa !5
%4 = tail call i32 @ctrl_inl(i32 noundef %3) #2
%5 = shl i32 %4, 16
%6 = load i32, ptr @AICA_RTC_SECS_L, align 4, !tbaa !5
%7 = tail call i32 @ctrl_inl(i32 noundef %6) #2
%8 = and i32 %7, 65535
%9 = or disjoint i32 %8, %5
%10 = load i32, ptr @AICA_RTC_SECS_H, align 4, !tbaa !5
%11 = tail call i32 @ctrl_inl(i32 noundef %10) #2
%12 = shl i32 %11, 16
%13 = load i32, ptr @AICA_RTC_SECS_L, align 4, !tbaa !5
%14 = tail call i32 @ctrl_inl(i32 noundef %13) #2
%15 = and i32 %14, 65535
%16 = or disjoint i32 %15, %12
%17 = icmp eq i32 %9, %16
br i1 %17, label %18, label %2, !llvm.loop !9
18: ; preds = %2
%19 = sext i32 %9 to i64
%20 = load i64, ptr @TWENTY_YEARS, align 8, !tbaa !11
%21 = sub i64 %19, %20
%22 = getelementptr inbounds %struct.timespec, ptr %0, i64 0, i32 1
store i64 %21, ptr %22, align 8, !tbaa !13
store i64 0, ptr %0, align 8, !tbaa !15
ret void
}
declare i32 @ctrl_inl(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"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"timespec", !12, i64 0, !12, i64 8}
!15 = !{!14, !12, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sh/boards/mach-dreamcast/extr_rtc.c_aica_rtc_gettimeofday.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sh/boards/mach-dreamcast/extr_rtc.c_aica_rtc_gettimeofday.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AICA_RTC_SECS_H = common local_unnamed_addr global i32 0, align 4
@AICA_RTC_SECS_L = common local_unnamed_addr global i32 0, align 4
@TWENTY_YEARS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @aica_rtc_gettimeofday], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @aica_rtc_gettimeofday(ptr nocapture noundef writeonly %0) #0 {
br label %2
2: ; preds = %2, %1
%3 = load i32, ptr @AICA_RTC_SECS_H, align 4, !tbaa !6
%4 = tail call i32 @ctrl_inl(i32 noundef %3) #2
%5 = shl i32 %4, 16
%6 = load i32, ptr @AICA_RTC_SECS_L, align 4, !tbaa !6
%7 = tail call i32 @ctrl_inl(i32 noundef %6) #2
%8 = and i32 %7, 65535
%9 = or disjoint i32 %8, %5
%10 = load i32, ptr @AICA_RTC_SECS_H, align 4, !tbaa !6
%11 = tail call i32 @ctrl_inl(i32 noundef %10) #2
%12 = shl i32 %11, 16
%13 = load i32, ptr @AICA_RTC_SECS_L, align 4, !tbaa !6
%14 = tail call i32 @ctrl_inl(i32 noundef %13) #2
%15 = and i32 %14, 65535
%16 = or disjoint i32 %15, %12
%17 = icmp eq i32 %9, %16
br i1 %17, label %18, label %2, !llvm.loop !10
18: ; preds = %2
%19 = sext i32 %9 to i64
%20 = load i64, ptr @TWENTY_YEARS, align 8, !tbaa !12
%21 = sub i64 %19, %20
%22 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %21, ptr %22, align 8, !tbaa !14
store i64 0, ptr %0, align 8, !tbaa !16
ret void
}
declare i32 @ctrl_inl(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"}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !13, i64 8}
!15 = !{!"timespec", !13, i64 0, !13, i64 8}
!16 = !{!15, !13, i64 0}
|
fastsocket_kernel_arch_sh_boards_mach-dreamcast_extr_rtc.c_aica_rtc_gettimeofday
|
; ModuleID = 'AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_ok.c_action_ok_remap_file_save_content_dir.c'
source_filename = "AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_ok.c_action_ok_remap_file_save_content_dir.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ACTION_OK_REMAP_FILE_SAVE_CONTENT_DIR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @action_ok_remap_file_save_content_dir], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @action_ok_remap_file_save_content_dir(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = load i32, ptr @ACTION_OK_REMAP_FILE_SAVE_CONTENT_DIR, align 4, !tbaa !5
%7 = tail call i32 @generic_action_ok_remap_file_operation(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %6) #2
ret i32 %7
}
declare i32 @generic_action_ok_remap_file_operation(ptr noundef, ptr noundef, i32 noundef, i64 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_ok.c_action_ok_remap_file_save_content_dir.c'
source_filename = "AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_ok.c_action_ok_remap_file_save_content_dir.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ACTION_OK_REMAP_FILE_SAVE_CONTENT_DIR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @action_ok_remap_file_save_content_dir], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @action_ok_remap_file_save_content_dir(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = load i32, ptr @ACTION_OK_REMAP_FILE_SAVE_CONTENT_DIR, align 4, !tbaa !6
%7 = tail call i32 @generic_action_ok_remap_file_operation(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %6) #2
ret i32 %7
}
declare i32 @generic_action_ok_remap_file_operation(ptr noundef, ptr noundef, i32 noundef, i64 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
RetroArch_menu_cbs_extr_menu_cbs_ok.c_action_ok_remap_file_save_content_dir
|
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_e500.h_get_tlb_esel_bit.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_e500.h_get_tlb_esel_bit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_tlb_esel_bit], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @get_tlb_esel_bit(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !11
%4 = lshr i32 %3, 16
%5 = and i32 %4, 4095
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"kvm_vcpu", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
|
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_e500.h_get_tlb_esel_bit.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_e500.h_get_tlb_esel_bit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @get_tlb_esel_bit], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 4096) i32 @get_tlb_esel_bit(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !12
%4 = lshr i32 %3, 16
%5 = and i32 %4, 4095
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"kvm_vcpu", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0}
!14 = !{!"int", !10, i64 0}
|
linux_arch_powerpc_kvm_extr_e500.h_get_tlb_esel_bit
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_write_intctl_1.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_write_intctl_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @write_intctl_1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @write_intctl_1(i32 noundef %0) #0 {
tail call void asm sideeffect "mcr p6, 0, $0, c1, c4, 0", "r,~{dirflag},~{fpsr},~{flags}"(i32 %0) #1, !srcloc !5
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 = !{i64 502}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_write_intctl_1.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_write_intctl_1.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 @write_intctl_1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @write_intctl_1(i32 noundef %0) #0 {
tail call void asm sideeffect "mcr p6, 0, $0, c1, c4, 0", "r"(i32 %0) #1, !srcloc !6
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 = !{i64 502}
|
fastsocket_kernel_arch_arm_mach-iop13xx_extr_irq.c_write_intctl_1
|
; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_pixdesc.c_av_read_image_line.c'
source_filename = "AnghaBench/FFmpeg/libavutil/extr_pixdesc.c_av_read_image_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"
; Function Attrs: nounwind uwtable
define dso_local void @av_read_image_line(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) local_unnamed_addr #0 {
%10 = tail call i32 @av_read_image_line2(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 2) #2
ret void
}
declare i32 @av_read_image_line2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_pixdesc.c_av_read_image_line.c'
source_filename = "AnghaBench/FFmpeg/libavutil/extr_pixdesc.c_av_read_image_line.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 @av_read_image_line(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) local_unnamed_addr #0 {
%10 = tail call i32 @av_read_image_line2(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 2) #2
ret void
}
declare i32 @av_read_image_line2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
FFmpeg_libavutil_extr_pixdesc.c_av_read_image_line
|
; ModuleID = 'AnghaBench/linux/arch/powerpc/mm/extr_slice.c_slice_print_mask.c'
source_filename = "AnghaBench/linux/arch/powerpc/mm/extr_slice.c_slice_print_mask.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @slice_print_mask], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @slice_print_mask(ptr nocapture readnone %0, ptr nocapture readnone %1) #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/powerpc/mm/extr_slice.c_slice_print_mask.c'
source_filename = "AnghaBench/linux/arch/powerpc/mm/extr_slice.c_slice_print_mask.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @slice_print_mask], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @slice_print_mask(ptr nocapture readnone %0, ptr nocapture readnone %1) #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_powerpc_mm_extr_slice.c_slice_print_mask
|
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/knops/mini/keymaps/default/extr_keymap.c_led_init_ports.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/knops/mini/keymaps/default/extr_keymap.c_led_init_ports.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DDRD = dso_local local_unnamed_addr global i32 0, align 4
@PORTD = dso_local local_unnamed_addr global i32 0, align 4
@DDRC = dso_local local_unnamed_addr global i32 0, align 4
@PORTC = dso_local local_unnamed_addr global i32 0, align 4
@DDRE = dso_local local_unnamed_addr global i32 0, align 4
@PORTE = dso_local local_unnamed_addr global i32 0, align 4
@DDRB = dso_local local_unnamed_addr global i32 0, align 4
@PORTB = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable
define dso_local void @led_init_ports() local_unnamed_addr #0 {
%1 = load i32, ptr @DDRD, align 4, !tbaa !5
%2 = load i32, ptr @PORTD, align 4, !tbaa !5
%3 = load i32, ptr @DDRC, align 4, !tbaa !5
%4 = or i32 %3, 192
store i32 %4, ptr @DDRC, align 4, !tbaa !5
%5 = load i32, ptr @PORTC, align 4, !tbaa !5
%6 = and i32 %5, -193
store i32 %6, ptr @PORTC, align 4, !tbaa !5
%7 = load i32, ptr @DDRE, align 4, !tbaa !5
%8 = or i32 %7, 64
store i32 %8, ptr @DDRE, align 4, !tbaa !5
%9 = load i32, ptr @PORTE, align 4, !tbaa !5
%10 = and i32 %9, -65
store i32 %10, ptr @PORTE, align 4, !tbaa !5
%11 = load i32, ptr @DDRB, align 4, !tbaa !5
%12 = load i32, ptr @PORTB, align 4, !tbaa !5
%13 = and i32 %12, -17
store i32 %13, ptr @PORTB, align 4, !tbaa !5
%14 = and i32 %2, -209
store i32 %14, ptr @PORTD, align 4, !tbaa !5
%15 = or i32 %1, 240
store i32 %15, ptr @DDRD, align 4, !tbaa !5
%16 = or i32 %11, 81
store i32 %16, ptr @DDRB, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/knops/mini/keymaps/default/extr_keymap.c_led_init_ports.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/knops/mini/keymaps/default/extr_keymap.c_led_init_ports.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DDRD = common local_unnamed_addr global i32 0, align 4
@PORTD = common local_unnamed_addr global i32 0, align 4
@DDRC = common local_unnamed_addr global i32 0, align 4
@PORTC = common local_unnamed_addr global i32 0, align 4
@DDRE = common local_unnamed_addr global i32 0, align 4
@PORTE = common local_unnamed_addr global i32 0, align 4
@DDRB = common local_unnamed_addr global i32 0, align 4
@PORTB = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync)
define void @led_init_ports() local_unnamed_addr #0 {
%1 = load i32, ptr @DDRD, align 4, !tbaa !6
%2 = load i32, ptr @PORTD, align 4, !tbaa !6
%3 = load i32, ptr @DDRC, align 4, !tbaa !6
%4 = or i32 %3, 192
store i32 %4, ptr @DDRC, align 4, !tbaa !6
%5 = load i32, ptr @PORTC, align 4, !tbaa !6
%6 = and i32 %5, -193
store i32 %6, ptr @PORTC, align 4, !tbaa !6
%7 = load i32, ptr @DDRE, align 4, !tbaa !6
%8 = or i32 %7, 64
store i32 %8, ptr @DDRE, align 4, !tbaa !6
%9 = load i32, ptr @PORTE, align 4, !tbaa !6
%10 = and i32 %9, -65
store i32 %10, ptr @PORTE, align 4, !tbaa !6
%11 = load i32, ptr @DDRB, align 4, !tbaa !6
%12 = load i32, ptr @PORTB, align 4, !tbaa !6
%13 = and i32 %12, -17
store i32 %13, ptr @PORTB, align 4, !tbaa !6
%14 = and i32 %2, -209
store i32 %14, ptr @PORTD, align 4, !tbaa !6
%15 = or i32 %1, 240
store i32 %15, ptr @DDRD, align 4, !tbaa !6
%16 = or i32 %11, 81
store i32 %16, ptr @DDRB, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
qmk_firmware_keyboards_knops_mini_keymaps_default_extr_keymap.c_led_init_ports
|
; ModuleID = 'AnghaBench/linux/drivers/media/pci/bt8xx/extr_bttv-driver.c_bttv_mmap.c'
source_filename = "AnghaBench/linux/drivers/media/pci/bt8xx/extr_bttv-driver.c_bttv_mmap.c"
target datalayout = "e-m:e-p270:32:32-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.bttv_fh = type { i64, ptr }
%struct.vm_area_struct = type { i64, i64 }
@.str = private unnamed_addr constant [28 x i8] c"%d: mmap type=%s 0x%lx+%ld\0A\00", align 1
@v4l2_type_names = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @bttv_mmap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bttv_mmap(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.bttv_fh, ptr %3, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = load ptr, ptr @v4l2_type_names, align 8, !tbaa !17
%8 = load i64, ptr %3, align 8, !tbaa !18
%9 = getelementptr inbounds i32, ptr %7, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !19
%11 = load i64, ptr %1, align 8, !tbaa !20
%12 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 1
%13 = load i64, ptr %12, align 8, !tbaa !22
%14 = sub nsw i64 %13, %11
%15 = tail call i32 @dprintk(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %10, i64 noundef %11, i64 noundef %14) #2
%16 = tail call i32 @bttv_queue(ptr noundef nonnull %3) #2
%17 = tail call i32 @videobuf_mmap_mapper(i32 noundef %16, ptr noundef nonnull %1) #2
ret i32 %17
}
declare i32 @dprintk(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @videobuf_mmap_mapper(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bttv_queue(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 = !{!"file", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"bttv_fh", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !16, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"TYPE_3__", !16, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!11, !12, i64 0}
!19 = !{!16, !16, i64 0}
!20 = !{!21, !12, i64 0}
!21 = !{!"vm_area_struct", !12, i64 0, !12, i64 8}
!22 = !{!21, !12, i64 8}
|
; ModuleID = 'AnghaBench/linux/drivers/media/pci/bt8xx/extr_bttv-driver.c_bttv_mmap.c'
source_filename = "AnghaBench/linux/drivers/media/pci/bt8xx/extr_bttv-driver.c_bttv_mmap.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"%d: mmap type=%s 0x%lx+%ld\0A\00", align 1
@v4l2_type_names = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @bttv_mmap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bttv_mmap(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load i32, ptr %5, align 4, !tbaa !14
%7 = load ptr, ptr @v4l2_type_names, align 8, !tbaa !18
%8 = load i64, ptr %3, align 8, !tbaa !19
%9 = getelementptr inbounds i32, ptr %7, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !20
%11 = load i64, ptr %1, align 8, !tbaa !21
%12 = getelementptr inbounds i8, ptr %1, i64 8
%13 = load i64, ptr %12, align 8, !tbaa !23
%14 = sub nsw i64 %13, %11
%15 = tail call i32 @dprintk(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %10, i64 noundef %11, i64 noundef %14) #2
%16 = tail call i32 @bttv_queue(ptr noundef nonnull %3) #2
%17 = tail call i32 @videobuf_mmap_mapper(i32 noundef %16, ptr noundef nonnull %1) #2
ret i32 %17
}
declare i32 @dprintk(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @videobuf_mmap_mapper(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bttv_queue(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 = !{!"file", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 8}
!12 = !{!"bttv_fh", !13, i64 0, !8, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !17, i64 0}
!15 = !{!"TYPE_4__", !16, i64 0}
!16 = !{!"TYPE_3__", !17, i64 0}
!17 = !{!"int", !9, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!12, !13, i64 0}
!20 = !{!17, !17, i64 0}
!21 = !{!22, !13, i64 0}
!22 = !{!"vm_area_struct", !13, i64 0, !13, i64 8}
!23 = !{!22, !13, i64 8}
|
linux_drivers_media_pci_bt8xx_extr_bttv-driver.c_bttv_mmap
|
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/gatt/extr_bta_gattc_act.c_bta_gattc_write_cmpl.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/gatt/extr_bta_gattc_act.c_bta_gattc_write_cmpl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_20__ = type { %struct.TYPE_26__, i32 }
%struct.TYPE_26__ = type { i64, i64, i32 }
%struct.TYPE_19__ = type { ptr, i32, ptr, i32 }
%struct.TYPE_28__ = type { i64, ptr }
%struct.TYPE_24__ = type { i64, i32, i32, %struct.TYPE_21__ }
%struct.TYPE_21__ = type { i64 }
%struct.TYPE_22__ = type { i64, i32, i32 }
%struct.TYPE_29__ = type { i64, i32 }
@BTA_GATTC_API_WRITE_EVT = dso_local local_unnamed_addr global i64 0, align 8
@BTA_GATTC_WRITE_PREPARE = dso_local local_unnamed_addr global i64 0, align 8
@BTA_GATT_INVALID_PDU = dso_local local_unnamed_addr global i64 0, align 8
@BTA_GATTC_PREP_WRITE_EVT = dso_local local_unnamed_addr global i32 0, align 4
@BTA_GATT_OK = dso_local local_unnamed_addr global i64 0, align 8
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"service change write ccc failed\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @bta_gattc_write_cmpl(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_20__, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, i8 0, i64 32, i1 false)
%4 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 3
%5 = load i32, ptr %4, align 8, !tbaa !5
%6 = tail call ptr @bta_gattc_conn_find(i32 noundef %5) #4
%7 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 32) #4
%8 = load i64, ptr %1, align 8, !tbaa !11
store i64 %8, ptr %3, align 8, !tbaa !14
%9 = getelementptr inbounds %struct.TYPE_28__, ptr %1, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !17
%11 = load i64, ptr %10, align 8, !tbaa !18
%12 = getelementptr inbounds %struct.TYPE_26__, ptr %3, i64 0, i32 1
store i64 %11, ptr %12, align 8, !tbaa !21
%13 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 2
%14 = load ptr, ptr %13, align 8, !tbaa !22
%15 = getelementptr inbounds %struct.TYPE_24__, ptr %14, i64 0, i32 3
%16 = load i64, ptr %15, align 8, !tbaa !23
%17 = load i64, ptr @BTA_GATTC_API_WRITE_EVT, align 8, !tbaa !27
%18 = icmp eq i64 %16, %17
br i1 %18, label %19, label %34
19: ; preds = %2
%20 = load i64, ptr %14, align 8, !tbaa !28
%21 = load i64, ptr @BTA_GATTC_WRITE_PREPARE, align 8, !tbaa !27
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %34
23: ; preds = %19
%24 = getelementptr inbounds %struct.TYPE_24__, ptr %14, i64 0, i32 2
%25 = load i32, ptr %24, align 4, !tbaa !29
%26 = getelementptr inbounds %struct.TYPE_22__, ptr %10, i64 0, i32 2
%27 = load i32, ptr %26, align 4, !tbaa !30
%28 = getelementptr inbounds %struct.TYPE_22__, ptr %10, i64 0, i32 1
%29 = load i32, ptr %28, align 8, !tbaa !31
%30 = call i64 @memcmp(i32 noundef %25, i32 noundef %27, i32 noundef %29) #4
%31 = icmp eq i64 %30, 0
br i1 %31, label %36, label %32
32: ; preds = %23
%33 = load i64, ptr @BTA_GATT_INVALID_PDU, align 8, !tbaa !27
store i64 %33, ptr %3, align 8, !tbaa !14
br label %36
34: ; preds = %19, %2
%35 = getelementptr inbounds %struct.TYPE_24__, ptr %14, i64 0, i32 1
br label %36
36: ; preds = %23, %32, %34
%37 = phi ptr [ %35, %34 ], [ @BTA_GATTC_PREP_WRITE_EVT, %32 ], [ @BTA_GATTC_PREP_WRITE_EVT, %23 ]
%38 = load i32, ptr %37, align 4, !tbaa !32
%39 = call i32 @bta_gattc_free_command_data(ptr noundef nonnull %0) #4
%40 = call i32 @bta_gattc_pop_command_to_send(ptr noundef nonnull %0) #4
%41 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 1
%42 = load i32, ptr %41, align 8, !tbaa !33
%43 = getelementptr inbounds %struct.TYPE_26__, ptr %3, i64 0, i32 2
store i32 %42, ptr %43, align 8, !tbaa !34
%44 = icmp eq ptr %6, null
br i1 %44, label %57, label %45
45: ; preds = %36
%46 = load i64, ptr %6, align 8, !tbaa !35
%47 = load i64, ptr %12, align 8, !tbaa !21
%48 = icmp eq i64 %46, %47
br i1 %48, label %49, label %57
49: ; preds = %45
%50 = load i64, ptr %3, align 8, !tbaa !14
%51 = load i64, ptr @BTA_GATT_OK, align 8, !tbaa !27
%52 = icmp eq i64 %50, %51
br i1 %52, label %61, label %53
53: ; preds = %49
%54 = load i32, ptr @FALSE, align 4, !tbaa !32
%55 = getelementptr inbounds %struct.TYPE_29__, ptr %6, i64 0, i32 1
store i32 %54, ptr %55, align 8, !tbaa !37
%56 = call i32 @APPL_TRACE_ERROR(ptr noundef nonnull @.str) #4
br label %61
57: ; preds = %45, %36
%58 = load ptr, ptr %0, align 8, !tbaa !38
%59 = load ptr, ptr %58, align 8, !tbaa !39
%60 = call i32 %59(i32 noundef %38, ptr noundef nonnull %3) #4
br label %61
61: ; preds = %49, %53, %57
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare ptr @bta_gattc_conn_find(i32 noundef) local_unnamed_addr #3
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @memcmp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @bta_gattc_free_command_data(ptr noundef) local_unnamed_addr #3
declare i32 @bta_gattc_pop_command_to_send(ptr noundef) local_unnamed_addr #3
declare i32 @APPL_TRACE_ERROR(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"TYPE_19__", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_28__", !13, i64 0, !7, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_20__", !16, i64 0, !10, i64 24}
!16 = !{!"TYPE_26__", !13, i64 0, !13, i64 8, !10, i64 16}
!17 = !{!12, !7, i64 8}
!18 = !{!19, !13, i64 0}
!19 = !{!"TYPE_23__", !20, i64 0}
!20 = !{!"TYPE_22__", !13, i64 0, !10, i64 8, !10, i64 12}
!21 = !{!15, !13, i64 8}
!22 = !{!6, !7, i64 16}
!23 = !{!24, !13, i64 16}
!24 = !{!"TYPE_25__", !25, i64 0}
!25 = !{!"TYPE_24__", !13, i64 0, !10, i64 8, !10, i64 12, !26, i64 16}
!26 = !{!"TYPE_21__", !13, i64 0}
!27 = !{!13, !13, i64 0}
!28 = !{!24, !13, i64 0}
!29 = !{!24, !10, i64 12}
!30 = !{!19, !10, i64 12}
!31 = !{!19, !10, i64 8}
!32 = !{!10, !10, i64 0}
!33 = !{!6, !10, i64 8}
!34 = !{!15, !10, i64 16}
!35 = !{!36, !13, i64 0}
!36 = !{!"TYPE_29__", !13, i64 0, !10, i64 8}
!37 = !{!36, !10, i64 8}
!38 = !{!6, !7, i64 0}
!39 = !{!40, !7, i64 0}
!40 = !{!"TYPE_27__", !7, i64 0}
|
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/gatt/extr_bta_gattc_act.c_bta_gattc_write_cmpl.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/gatt/extr_bta_gattc_act.c_bta_gattc_write_cmpl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_20__ = type { %struct.TYPE_26__, i32 }
%struct.TYPE_26__ = type { i64, i64, i32 }
@BTA_GATTC_API_WRITE_EVT = common local_unnamed_addr global i64 0, align 8
@BTA_GATTC_WRITE_PREPARE = common local_unnamed_addr global i64 0, align 8
@BTA_GATT_INVALID_PDU = common local_unnamed_addr global i64 0, align 8
@BTA_GATTC_PREP_WRITE_EVT = common local_unnamed_addr global i32 0, align 4
@BTA_GATT_OK = common local_unnamed_addr global i64 0, align 8
@FALSE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"service change write ccc failed\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @bta_gattc_write_cmpl(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_20__, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, i8 0, i64 32, i1 false)
%4 = getelementptr inbounds i8, ptr %0, i64 24
%5 = load i32, ptr %4, align 8, !tbaa !6
%6 = tail call ptr @bta_gattc_conn_find(i32 noundef %5) #4
%7 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 32) #4
%8 = load i64, ptr %1, align 8, !tbaa !12
store i64 %8, ptr %3, align 8, !tbaa !15
%9 = getelementptr inbounds i8, ptr %1, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !18
%11 = load i64, ptr %10, align 8, !tbaa !19
%12 = getelementptr inbounds i8, ptr %3, i64 8
store i64 %11, ptr %12, align 8, !tbaa !22
%13 = getelementptr inbounds i8, ptr %0, i64 16
%14 = load ptr, ptr %13, align 8, !tbaa !23
%15 = getelementptr inbounds i8, ptr %14, i64 16
%16 = load i64, ptr %15, align 8, !tbaa !24
%17 = load i64, ptr @BTA_GATTC_API_WRITE_EVT, align 8, !tbaa !28
%18 = icmp eq i64 %16, %17
br i1 %18, label %19, label %34
19: ; preds = %2
%20 = load i64, ptr %14, align 8, !tbaa !29
%21 = load i64, ptr @BTA_GATTC_WRITE_PREPARE, align 8, !tbaa !28
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %34
23: ; preds = %19
%24 = getelementptr inbounds i8, ptr %14, i64 12
%25 = load i32, ptr %24, align 4, !tbaa !30
%26 = getelementptr inbounds i8, ptr %10, i64 12
%27 = load i32, ptr %26, align 4, !tbaa !31
%28 = getelementptr inbounds i8, ptr %10, i64 8
%29 = load i32, ptr %28, align 8, !tbaa !32
%30 = call i64 @memcmp(i32 noundef %25, i32 noundef %27, i32 noundef %29) #4
%31 = icmp eq i64 %30, 0
br i1 %31, label %36, label %32
32: ; preds = %23
%33 = load i64, ptr @BTA_GATT_INVALID_PDU, align 8, !tbaa !28
store i64 %33, ptr %3, align 8, !tbaa !15
br label %36
34: ; preds = %19, %2
%35 = getelementptr inbounds i8, ptr %14, i64 8
br label %36
36: ; preds = %23, %32, %34
%37 = phi ptr [ %35, %34 ], [ @BTA_GATTC_PREP_WRITE_EVT, %32 ], [ @BTA_GATTC_PREP_WRITE_EVT, %23 ]
%38 = load i32, ptr %37, align 4, !tbaa !33
%39 = call i32 @bta_gattc_free_command_data(ptr noundef nonnull %0) #4
%40 = call i32 @bta_gattc_pop_command_to_send(ptr noundef nonnull %0) #4
%41 = getelementptr inbounds i8, ptr %0, i64 8
%42 = load i32, ptr %41, align 8, !tbaa !34
%43 = getelementptr inbounds i8, ptr %3, i64 16
store i32 %42, ptr %43, align 8, !tbaa !35
%44 = icmp eq ptr %6, null
br i1 %44, label %57, label %45
45: ; preds = %36
%46 = load i64, ptr %6, align 8, !tbaa !36
%47 = load i64, ptr %12, align 8, !tbaa !22
%48 = icmp eq i64 %46, %47
br i1 %48, label %49, label %57
49: ; preds = %45
%50 = load i64, ptr %3, align 8, !tbaa !15
%51 = load i64, ptr @BTA_GATT_OK, align 8, !tbaa !28
%52 = icmp eq i64 %50, %51
br i1 %52, label %61, label %53
53: ; preds = %49
%54 = load i32, ptr @FALSE, align 4, !tbaa !33
%55 = getelementptr inbounds i8, ptr %6, i64 8
store i32 %54, ptr %55, align 8, !tbaa !38
%56 = call i32 @APPL_TRACE_ERROR(ptr noundef nonnull @.str) #4
br label %61
57: ; preds = %45, %36
%58 = load ptr, ptr %0, align 8, !tbaa !39
%59 = load ptr, ptr %58, align 8, !tbaa !40
%60 = call i32 %59(i32 noundef %38, ptr noundef nonnull %3) #4
br label %61
61: ; preds = %49, %53, %57
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare ptr @bta_gattc_conn_find(i32 noundef) local_unnamed_addr #3
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @memcmp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @bta_gattc_free_command_data(ptr noundef) local_unnamed_addr #3
declare i32 @bta_gattc_pop_command_to_send(ptr noundef) local_unnamed_addr #3
declare i32 @APPL_TRACE_ERROR(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 24}
!7 = !{!"TYPE_19__", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_28__", !14, i64 0, !8, i64 8}
!14 = !{!"long", !9, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"TYPE_20__", !17, i64 0, !11, i64 24}
!17 = !{!"TYPE_26__", !14, i64 0, !14, i64 8, !11, i64 16}
!18 = !{!13, !8, i64 8}
!19 = !{!20, !14, i64 0}
!20 = !{!"TYPE_23__", !21, i64 0}
!21 = !{!"TYPE_22__", !14, i64 0, !11, i64 8, !11, i64 12}
!22 = !{!16, !14, i64 8}
!23 = !{!7, !8, i64 16}
!24 = !{!25, !14, i64 16}
!25 = !{!"TYPE_25__", !26, i64 0}
!26 = !{!"TYPE_24__", !14, i64 0, !11, i64 8, !11, i64 12, !27, i64 16}
!27 = !{!"TYPE_21__", !14, i64 0}
!28 = !{!14, !14, i64 0}
!29 = !{!25, !14, i64 0}
!30 = !{!25, !11, i64 12}
!31 = !{!20, !11, i64 12}
!32 = !{!20, !11, i64 8}
!33 = !{!11, !11, i64 0}
!34 = !{!7, !11, i64 8}
!35 = !{!16, !11, i64 16}
!36 = !{!37, !14, i64 0}
!37 = !{!"TYPE_29__", !14, i64 0, !11, i64 8}
!38 = !{!37, !11, i64 8}
!39 = !{!7, !8, i64 0}
!40 = !{!41, !8, i64 0}
!41 = !{!"TYPE_27__", !8, i64 0}
|
esp-idf_components_bt_host_bluedroid_bta_gatt_extr_bta_gattc_act.c_bta_gattc_write_cmpl
|
; ModuleID = 'AnghaBench/numpy/numpy/linalg/lapack_lite/extr_f2c_s_lapack.c_sgetf2_.c'
source_filename = "AnghaBench/numpy/numpy/linalg/lapack_lite/extr_f2c_s_lapack.c_sgetf2_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@sgetf2_.j = internal unnamed_addr global i32 0, align 4
@sgetf2_.sfmin = internal unnamed_addr global float 0.000000e+00, align 4
@.str = private unnamed_addr constant [7 x i8] c"SGETF2\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"S\00", align 1
@c__1 = dso_local global i32 0, align 4
@c_b151 = dso_local global float 0.000000e+00, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @sgetf2_(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef %5) local_unnamed_addr #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca float, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
%11 = load i32, ptr %3, align 4, !tbaa !5
%12 = xor i32 %11, -1
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds float, ptr %2, i64 %13
%15 = getelementptr inbounds i32, ptr %4, i64 -1
store i32 0, ptr %5, align 4, !tbaa !5
%16 = load i32, ptr %0, align 4, !tbaa !5
%17 = icmp slt i32 %16, 0
br i1 %17, label %28, label %18
18: ; preds = %6
%19 = load i32, ptr %1, align 4, !tbaa !5
%20 = icmp slt i32 %19, 0
br i1 %20, label %28, label %21
21: ; preds = %18
%22 = load i32, ptr %3, align 4, !tbaa !5
%23 = tail call i32 @max(i32 noundef 1, i32 noundef %16) #3
%24 = icmp slt i32 %22, %23
br i1 %24, label %28, label %25
25: ; preds = %21
%26 = load i32, ptr %5, align 4, !tbaa !5
%27 = icmp eq i32 %26, 0
br i1 %27, label %34, label %30
28: ; preds = %21, %18, %6
%29 = phi i32 [ -1, %6 ], [ -2, %18 ], [ -4, %21 ]
store i32 %29, ptr %5, align 4, !tbaa !5
br label %30
30: ; preds = %28, %25
%31 = phi i32 [ %26, %25 ], [ %29, %28 ]
%32 = sub nsw i32 0, %31
store i32 %32, ptr %7, align 4, !tbaa !5
%33 = call i32 @xerbla_(ptr noundef nonnull @.str, ptr noundef nonnull %7) #3
br label %188
34: ; preds = %25
%35 = load i32, ptr %0, align 4, !tbaa !5
%36 = icmp eq i32 %35, 0
br i1 %36, label %188, label %37
37: ; preds = %34
%38 = load i32, ptr %1, align 4, !tbaa !5
%39 = icmp eq i32 %38, 0
br i1 %39, label %188, label %40
40: ; preds = %37
%41 = tail call float @slamch_(ptr noundef nonnull @.str.1) #3
store float %41, ptr @sgetf2_.sfmin, align 4, !tbaa !9
%42 = load i32, ptr %0, align 4, !tbaa !5
%43 = load i32, ptr %1, align 4, !tbaa !5
%44 = tail call i32 @min(i32 noundef %42, i32 noundef %43) #3
store i32 1, ptr @sgetf2_.j, align 4, !tbaa !5
%45 = icmp slt i32 %44, 1
br i1 %45, label %188, label %46
46: ; preds = %40
%47 = add i32 %11, 1
%48 = add i32 %11, 1
br label %49
49: ; preds = %46, %184
%50 = phi i32 [ 1, %46 ], [ %186, %184 ]
%51 = load i32, ptr %0, align 4, !tbaa !5
%52 = sub i32 %51, %50
%53 = add i32 %52, 1
store i32 %53, ptr %8, align 4, !tbaa !5
%54 = add nsw i32 %50, -1
%55 = mul i32 %50, %47
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds float, ptr %14, i64 %56
%58 = call i32 @isamax_(ptr noundef nonnull %8, ptr noundef %57, ptr noundef nonnull @c__1) #3
%59 = add nsw i32 %54, %58
%60 = load i32, ptr @sgetf2_.j, align 4, !tbaa !5
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %15, i64 %61
store i32 %59, ptr %62, align 4, !tbaa !5
%63 = mul nsw i32 %60, %11
%64 = add nsw i32 %63, %59
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds float, ptr %14, i64 %65
%67 = load float, ptr %66, align 4, !tbaa !9
%68 = fcmp une float %67, 0.000000e+00
br i1 %68, label %69, label %144
69: ; preds = %49
%70 = icmp eq i32 %59, %60
br i1 %70, label %80, label %71
71: ; preds = %69
%72 = add nsw i32 %60, %11
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds float, ptr %14, i64 %73
%75 = add nsw i32 %59, %11
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds float, ptr %14, i64 %76
%78 = call i32 @sswap_(ptr noundef nonnull %1, ptr noundef %74, ptr noundef nonnull %3, ptr noundef %77, ptr noundef nonnull %3) #3
%79 = load i32, ptr @sgetf2_.j, align 4, !tbaa !5
br label %80
80: ; preds = %71, %69
%81 = phi i32 [ %79, %71 ], [ %59, %69 ]
%82 = load i32, ptr %0, align 4, !tbaa !5
%83 = icmp slt i32 %81, %82
br i1 %83, label %84, label %159
84: ; preds = %80
%85 = mul i32 %81, %47
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds float, ptr %14, i64 %86
%88 = load float, ptr %87, align 4, !tbaa !9
store float %88, ptr %10, align 4, !tbaa !9
%89 = call i32 @dabs(float noundef %88) #3
%90 = sitofp i32 %89 to float
%91 = load float, ptr @sgetf2_.sfmin, align 4, !tbaa !9
%92 = fcmp ugt float %91, %90
%93 = load i32, ptr %0, align 4, !tbaa !5
%94 = load i32, ptr @sgetf2_.j, align 4, !tbaa !5
%95 = sub nsw i32 %93, %94
store i32 %95, ptr %8, align 4, !tbaa !5
br i1 %92, label %109, label %96
96: ; preds = %84
%97 = mul i32 %94, %47
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds float, ptr %14, i64 %98
%100 = load float, ptr %99, align 4, !tbaa !9
%101 = fdiv float 1.000000e+00, %100
store float %101, ptr %10, align 4, !tbaa !9
%102 = add nsw i32 %94, 1
%103 = mul nsw i32 %94, %11
%104 = add nsw i32 %102, %103
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds float, ptr %14, i64 %105
%107 = call i32 @sscal_(ptr noundef nonnull %8, ptr noundef nonnull %10, ptr noundef %106, ptr noundef nonnull @c__1) #3
%108 = load i32, ptr @sgetf2_.j, align 4, !tbaa !5
br label %159
109: ; preds = %84
%110 = icmp slt i32 %95, 1
br i1 %110, label %159, label %111
111: ; preds = %109
%112 = mul i32 %94, %48
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds float, ptr %14, i64 %113
%115 = add i32 %93, 1
%116 = sub i32 %115, %94
%117 = zext i32 %116 to i64
%118 = add nsw i64 %117, -1
%119 = and i64 %118, 1
%120 = icmp eq i32 %116, 2
br i1 %120, label %148, label %121
121: ; preds = %111
%122 = and i64 %118, -2
br label %123
123: ; preds = %123, %121
%124 = phi i64 [ 1, %121 ], [ %141, %123 ]
%125 = phi i64 [ 0, %121 ], [ %142, %123 ]
%126 = load float, ptr %114, align 4, !tbaa !9
%127 = trunc i64 %124 to i32
%128 = add i32 %112, %127
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds float, ptr %14, i64 %129
%131 = load float, ptr %130, align 4, !tbaa !9
%132 = fdiv float %131, %126
store float %132, ptr %130, align 4, !tbaa !9
%133 = load float, ptr %114, align 4, !tbaa !9
%134 = trunc i64 %124 to i32
%135 = add i32 %134, 1
%136 = add i32 %112, %135
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds float, ptr %14, i64 %137
%139 = load float, ptr %138, align 4, !tbaa !9
%140 = fdiv float %139, %133
store float %140, ptr %138, align 4, !tbaa !9
%141 = add nuw nsw i64 %124, 2
%142 = add i64 %125, 2
%143 = icmp eq i64 %142, %122
br i1 %143, label %148, label %123, !llvm.loop !11
144: ; preds = %49
%145 = load i32, ptr %5, align 4, !tbaa !5
%146 = icmp eq i32 %145, 0
br i1 %146, label %147, label %159
147: ; preds = %144
store i32 %60, ptr %5, align 4, !tbaa !5
br label %159
148: ; preds = %123, %111
%149 = phi i64 [ 1, %111 ], [ %141, %123 ]
%150 = icmp eq i64 %119, 0
br i1 %150, label %159, label %151
151: ; preds = %148
%152 = load float, ptr %114, align 4, !tbaa !9
%153 = trunc i64 %149 to i32
%154 = add i32 %112, %153
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds float, ptr %14, i64 %155
%157 = load float, ptr %156, align 4, !tbaa !9
%158 = fdiv float %157, %152
store float %158, ptr %156, align 4, !tbaa !9
br label %159
159: ; preds = %151, %148, %109, %144, %147, %80, %96
%160 = phi i32 [ %60, %144 ], [ %60, %147 ], [ %81, %80 ], [ %108, %96 ], [ %94, %109 ], [ %94, %148 ], [ %94, %151 ]
%161 = load i32, ptr %0, align 4, !tbaa !5
%162 = load i32, ptr %1, align 4, !tbaa !5
%163 = call i32 @min(i32 noundef %161, i32 noundef %162) #3
%164 = icmp slt i32 %160, %163
br i1 %164, label %165, label %184
165: ; preds = %159
%166 = load i32, ptr %0, align 4, !tbaa !5
%167 = load i32, ptr @sgetf2_.j, align 4, !tbaa !5
%168 = sub nsw i32 %166, %167
store i32 %168, ptr %8, align 4, !tbaa !5
%169 = load i32, ptr %1, align 4, !tbaa !5
%170 = sub nsw i32 %169, %167
store i32 %170, ptr %9, align 4, !tbaa !5
%171 = add nsw i32 %167, 1
%172 = mul nsw i32 %167, %11
%173 = add nsw i32 %171, %172
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds float, ptr %14, i64 %174
%176 = mul nsw i32 %171, %11
%177 = add nsw i32 %176, %167
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds float, ptr %14, i64 %178
%180 = add nsw i32 %176, %171
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds float, ptr %14, i64 %181
%183 = call i32 @sger_(ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull @c_b151, ptr noundef %175, ptr noundef nonnull @c__1, ptr noundef %179, ptr noundef nonnull %3, ptr noundef %182, ptr noundef nonnull %3) #3
br label %184
184: ; preds = %159, %165
%185 = load i32, ptr @sgetf2_.j, align 4, !tbaa !5
%186 = add nsw i32 %185, 1
store i32 %186, ptr @sgetf2_.j, align 4, !tbaa !5
%187 = icmp slt i32 %185, %44
br i1 %187, label %49, label %188, !llvm.loop !13
188: ; preds = %184, %40, %34, %37, %30
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @xerbla_(ptr noundef, ptr noundef) local_unnamed_addr #2
declare float @slamch_(ptr noundef) local_unnamed_addr #2
declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @isamax_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sswap_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dabs(float noundef) local_unnamed_addr #2
declare i32 @sscal_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sger_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
|
; ModuleID = 'AnghaBench/numpy/numpy/linalg/lapack_lite/extr_f2c_s_lapack.c_sgetf2_.c'
source_filename = "AnghaBench/numpy/numpy/linalg/lapack_lite/extr_f2c_s_lapack.c_sgetf2_.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sgetf2_.j = internal unnamed_addr global i32 0, align 4
@sgetf2_.sfmin = internal unnamed_addr global float 0.000000e+00, align 4
@.str = private unnamed_addr constant [7 x i8] c"SGETF2\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"S\00", align 1
@c__1 = common global i32 0, align 4
@c_b151 = common global float 0.000000e+00, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @sgetf2_(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef %5) local_unnamed_addr #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca float, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
%11 = load i32, ptr %3, align 4, !tbaa !6
%12 = xor i32 %11, -1
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds float, ptr %2, i64 %13
%15 = getelementptr inbounds i8, ptr %4, i64 -4
store i32 0, ptr %5, align 4, !tbaa !6
%16 = load i32, ptr %0, align 4, !tbaa !6
%17 = icmp slt i32 %16, 0
br i1 %17, label %28, label %18
18: ; preds = %6
%19 = load i32, ptr %1, align 4, !tbaa !6
%20 = icmp slt i32 %19, 0
br i1 %20, label %28, label %21
21: ; preds = %18
%22 = load i32, ptr %3, align 4, !tbaa !6
%23 = tail call i32 @max(i32 noundef 1, i32 noundef %16) #3
%24 = icmp slt i32 %22, %23
br i1 %24, label %28, label %25
25: ; preds = %21
%26 = load i32, ptr %5, align 4, !tbaa !6
%27 = icmp eq i32 %26, 0
br i1 %27, label %34, label %30
28: ; preds = %21, %18, %6
%29 = phi i32 [ -1, %6 ], [ -2, %18 ], [ -4, %21 ]
store i32 %29, ptr %5, align 4, !tbaa !6
br label %30
30: ; preds = %28, %25
%31 = phi i32 [ %26, %25 ], [ %29, %28 ]
%32 = sub nsw i32 0, %31
store i32 %32, ptr %7, align 4, !tbaa !6
%33 = call i32 @xerbla_(ptr noundef nonnull @.str, ptr noundef nonnull %7) #3
br label %200
34: ; preds = %25
%35 = load i32, ptr %0, align 4, !tbaa !6
%36 = icmp eq i32 %35, 0
br i1 %36, label %200, label %37
37: ; preds = %34
%38 = load i32, ptr %1, align 4, !tbaa !6
%39 = icmp eq i32 %38, 0
br i1 %39, label %200, label %40
40: ; preds = %37
%41 = tail call float @slamch_(ptr noundef nonnull @.str.1) #3
store float %41, ptr @sgetf2_.sfmin, align 4, !tbaa !10
%42 = load i32, ptr %0, align 4, !tbaa !6
%43 = load i32, ptr %1, align 4, !tbaa !6
%44 = tail call i32 @min(i32 noundef %42, i32 noundef %43) #3
store i32 1, ptr @sgetf2_.j, align 4, !tbaa !6
%45 = icmp slt i32 %44, 1
br i1 %45, label %200, label %46
46: ; preds = %40
%47 = add i32 %11, 1
br label %48
48: ; preds = %46, %196
%49 = phi i32 [ 1, %46 ], [ %198, %196 ]
%50 = load i32, ptr %0, align 4, !tbaa !6
%51 = sub i32 %50, %49
%52 = add i32 %51, 1
store i32 %52, ptr %8, align 4, !tbaa !6
%53 = add nsw i32 %49, -1
%54 = mul i32 %49, %47
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds float, ptr %14, i64 %55
%57 = call i32 @isamax_(ptr noundef nonnull %8, ptr noundef %56, ptr noundef nonnull @c__1) #3
%58 = add nsw i32 %53, %57
%59 = load i32, ptr @sgetf2_.j, align 4, !tbaa !6
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %15, i64 %60
store i32 %58, ptr %61, align 4, !tbaa !6
%62 = mul nsw i32 %59, %11
%63 = add nsw i32 %62, %58
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds float, ptr %14, i64 %64
%66 = load float, ptr %65, align 4, !tbaa !10
%67 = fcmp une float %66, 0.000000e+00
br i1 %67, label %68, label %167
68: ; preds = %48
%69 = icmp eq i32 %58, %59
br i1 %69, label %79, label %70
70: ; preds = %68
%71 = add nsw i32 %59, %11
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds float, ptr %14, i64 %72
%74 = add nsw i32 %58, %11
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds float, ptr %14, i64 %75
%77 = call i32 @sswap_(ptr noundef nonnull %1, ptr noundef %73, ptr noundef nonnull %3, ptr noundef %76, ptr noundef nonnull %3) #3
%78 = load i32, ptr @sgetf2_.j, align 4, !tbaa !6
br label %79
79: ; preds = %70, %68
%80 = phi i32 [ %78, %70 ], [ %58, %68 ]
%81 = load i32, ptr %0, align 4, !tbaa !6
%82 = icmp slt i32 %80, %81
br i1 %82, label %83, label %171
83: ; preds = %79
%84 = mul i32 %80, %47
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds float, ptr %14, i64 %85
%87 = load float, ptr %86, align 4, !tbaa !10
store float %87, ptr %10, align 4, !tbaa !10
%88 = call i32 @dabs(float noundef %87) #3
%89 = sitofp i32 %88 to float
%90 = load float, ptr @sgetf2_.sfmin, align 4, !tbaa !10
%91 = fcmp ugt float %90, %89
%92 = load i32, ptr %0, align 4, !tbaa !6
%93 = load i32, ptr @sgetf2_.j, align 4, !tbaa !6
%94 = sub nsw i32 %92, %93
store i32 %94, ptr %8, align 4, !tbaa !6
br i1 %91, label %108, label %95
95: ; preds = %83
%96 = mul i32 %93, %47
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds float, ptr %14, i64 %97
%99 = load float, ptr %98, align 4, !tbaa !10
%100 = fdiv float 1.000000e+00, %99
store float %100, ptr %10, align 4, !tbaa !10
%101 = add nsw i32 %93, 1
%102 = mul nsw i32 %93, %11
%103 = add nsw i32 %101, %102
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds float, ptr %14, i64 %104
%106 = call i32 @sscal_(ptr noundef nonnull %8, ptr noundef nonnull %10, ptr noundef %105, ptr noundef nonnull @c__1) #3
%107 = load i32, ptr @sgetf2_.j, align 4, !tbaa !6
br label %171
108: ; preds = %83
%109 = icmp slt i32 %94, 1
br i1 %109, label %171, label %110
110: ; preds = %108
%111 = mul i32 %93, %47
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds float, ptr %14, i64 %112
%114 = add i32 %92, 1
%115 = sub i32 %114, %93
%116 = zext i32 %115 to i64
%117 = load float, ptr %113, align 4, !tbaa !10
%118 = add nsw i64 %116, -1
%119 = icmp ult i64 %118, 16
br i1 %119, label %155, label %120
120: ; preds = %110
%121 = add nsw i64 %116, -2
%122 = add i32 %111, 1
%123 = trunc i64 %121 to i32
%124 = add i32 %122, %123
%125 = icmp slt i32 %124, %122
%126 = icmp ugt i64 %121, 4294967295
%127 = or i1 %125, %126
br i1 %127, label %155, label %128
128: ; preds = %120
%129 = and i64 %118, -16
%130 = or disjoint i64 %129, 1
%131 = insertelement <4 x float> poison, float %117, i64 0
%132 = shufflevector <4 x float> %131, <4 x float> poison, <4 x i32> zeroinitializer
br label %133
133: ; preds = %133, %128
%134 = phi i64 [ 0, %128 ], [ %151, %133 ]
%135 = trunc i64 %134 to i32
%136 = or disjoint i32 %135, 1
%137 = add i32 %111, %136
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds float, ptr %14, i64 %138
%140 = getelementptr inbounds i8, ptr %139, i64 16
%141 = getelementptr inbounds i8, ptr %139, i64 32
%142 = getelementptr inbounds i8, ptr %139, i64 48
%143 = load <4 x float>, ptr %139, align 4, !tbaa !10
%144 = load <4 x float>, ptr %140, align 4, !tbaa !10
%145 = load <4 x float>, ptr %141, align 4, !tbaa !10
%146 = load <4 x float>, ptr %142, align 4, !tbaa !10
%147 = fdiv <4 x float> %143, %132
%148 = fdiv <4 x float> %144, %132
%149 = fdiv <4 x float> %145, %132
%150 = fdiv <4 x float> %146, %132
store <4 x float> %147, ptr %139, align 4, !tbaa !10
store <4 x float> %148, ptr %140, align 4, !tbaa !10
store <4 x float> %149, ptr %141, align 4, !tbaa !10
store <4 x float> %150, ptr %142, align 4, !tbaa !10
%151 = add nuw i64 %134, 16
%152 = icmp eq i64 %151, %129
br i1 %152, label %153, label %133, !llvm.loop !12
153: ; preds = %133
%154 = icmp eq i64 %118, %129
br i1 %154, label %171, label %155
155: ; preds = %153, %120, %110
%156 = phi i64 [ 1, %120 ], [ 1, %110 ], [ %130, %153 ]
br label %157
157: ; preds = %155, %157
%158 = phi i64 [ %165, %157 ], [ %156, %155 ]
%159 = trunc nuw nsw i64 %158 to i32
%160 = add i32 %111, %159
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds float, ptr %14, i64 %161
%163 = load float, ptr %162, align 4, !tbaa !10
%164 = fdiv float %163, %117
store float %164, ptr %162, align 4, !tbaa !10
%165 = add nuw nsw i64 %158, 1
%166 = icmp eq i64 %165, %116
br i1 %166, label %171, label %157, !llvm.loop !16
167: ; preds = %48
%168 = load i32, ptr %5, align 4, !tbaa !6
%169 = icmp eq i32 %168, 0
br i1 %169, label %170, label %171
170: ; preds = %167
store i32 %59, ptr %5, align 4, !tbaa !6
br label %171
171: ; preds = %157, %108, %153, %167, %170, %79, %95
%172 = phi i32 [ %59, %167 ], [ %59, %170 ], [ %80, %79 ], [ %107, %95 ], [ %93, %153 ], [ %93, %108 ], [ %93, %157 ]
%173 = load i32, ptr %0, align 4, !tbaa !6
%174 = load i32, ptr %1, align 4, !tbaa !6
%175 = call i32 @min(i32 noundef %173, i32 noundef %174) #3
%176 = icmp slt i32 %172, %175
br i1 %176, label %177, label %196
177: ; preds = %171
%178 = load i32, ptr %0, align 4, !tbaa !6
%179 = load i32, ptr @sgetf2_.j, align 4, !tbaa !6
%180 = sub nsw i32 %178, %179
store i32 %180, ptr %8, align 4, !tbaa !6
%181 = load i32, ptr %1, align 4, !tbaa !6
%182 = sub nsw i32 %181, %179
store i32 %182, ptr %9, align 4, !tbaa !6
%183 = add nsw i32 %179, 1
%184 = mul nsw i32 %179, %11
%185 = add nsw i32 %183, %184
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds float, ptr %14, i64 %186
%188 = mul nsw i32 %183, %11
%189 = add nsw i32 %188, %179
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds float, ptr %14, i64 %190
%192 = add nsw i32 %188, %183
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds float, ptr %14, i64 %193
%195 = call i32 @sger_(ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull @c_b151, ptr noundef %187, ptr noundef nonnull @c__1, ptr noundef %191, ptr noundef nonnull %3, ptr noundef %194, ptr noundef nonnull %3) #3
br label %196
196: ; preds = %171, %177
%197 = load i32, ptr @sgetf2_.j, align 4, !tbaa !6
%198 = add nsw i32 %197, 1
store i32 %198, ptr @sgetf2_.j, align 4, !tbaa !6
%199 = icmp slt i32 %197, %44
br i1 %199, label %48, label %200, !llvm.loop !17
200: ; preds = %196, %40, %34, %37, %30
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @xerbla_(ptr noundef, ptr noundef) local_unnamed_addr #2
declare float @slamch_(ptr noundef) local_unnamed_addr #2
declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @isamax_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sswap_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dabs(float noundef) local_unnamed_addr #2
declare i32 @sscal_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sger_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = distinct !{!12, !13, !14, !15}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!"llvm.loop.isvectorized", i32 1}
!15 = !{!"llvm.loop.unroll.runtime.disable"}
!16 = distinct !{!16, !13, !14}
!17 = distinct !{!17, !13}
|
numpy_numpy_linalg_lapack_lite_extr_f2c_s_lapack.c_sgetf2_
|
; ModuleID = 'AnghaBench/linux/arch/sparc/mm/extr_hugetlbpage.c_pud_huge.c'
source_filename = "AnghaBench/linux/arch/sparc/mm/extr_hugetlbpage.c_pud_huge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@_PAGE_VALID = dso_local local_unnamed_addr global i32 0, align 4
@_PAGE_PUD_HUGE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @pud_huge(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @pud_none(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %12
4: ; preds = %1
%5 = tail call i32 @pud_val(i32 noundef %0) #2
%6 = load i32, ptr @_PAGE_VALID, align 4, !tbaa !5
%7 = load i32, ptr @_PAGE_PUD_HUGE, align 4, !tbaa !5
%8 = or i32 %7, %6
%9 = and i32 %8, %5
%10 = icmp ne i32 %9, %6
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %4, %1
%13 = phi i32 [ 0, %1 ], [ %11, %4 ]
ret i32 %13
}
declare i32 @pud_none(i32 noundef) local_unnamed_addr #1
declare i32 @pud_val(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/arch/sparc/mm/extr_hugetlbpage.c_pud_huge.c'
source_filename = "AnghaBench/linux/arch/sparc/mm/extr_hugetlbpage.c_pud_huge.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_PAGE_VALID = common local_unnamed_addr global i32 0, align 4
@_PAGE_PUD_HUGE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @pud_huge(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @pud_none(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %12
4: ; preds = %1
%5 = tail call i32 @pud_val(i32 noundef %0) #2
%6 = load i32, ptr @_PAGE_VALID, align 4, !tbaa !6
%7 = load i32, ptr @_PAGE_PUD_HUGE, align 4, !tbaa !6
%8 = or i32 %7, %6
%9 = and i32 %8, %5
%10 = icmp ne i32 %9, %6
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %4, %1
%13 = phi i32 [ 0, %1 ], [ %11, %4 ]
ret i32 %13
}
declare i32 @pud_none(i32 noundef) local_unnamed_addr #1
declare i32 @pud_val(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_arch_sparc_mm_extr_hugetlbpage.c_pud_huge
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdkfd/extr_kfd_dbgdev.c_dbgdev_wave_reset_wavefronts.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdkfd/extr_kfd_dbgdev.c_dbgdev_wave_reset_wavefronts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%union.SQ_CMD_BITS = type { i64 }
%union.GRBM_GFX_INDEX_BITS = type { i32 }
%struct.dbg_wave_control_info = type { i32, i32 }
%struct.kfd_dev = type { i32, ptr, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_6__ = type { ptr, ptr, ptr }
@HSA_DBG_WAVEMODE_BROADCAST_PROCESS = dso_local local_unnamed_addr global i32 0, align 4
@HSA_DBG_WAVEOP_KILL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"Killing all process wavefronts\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"Killing wave fronts of vmid %d and pasid %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Didn't find vmid for pasid %d\0A\00", align 1
@EFAULT = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dbgdev_wave_reset_wavefronts(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %union.SQ_CMD_BITS, align 8
%4 = alloca %union.GRBM_GFX_INDEX_BITS, align 4
%5 = alloca %struct.dbg_wave_control_info, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = getelementptr inbounds %struct.kfd_dev, ptr %0, i64 0, i32 2
%7 = load i32, ptr %6, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.kfd_dev, ptr %0, i64 0, i32 2, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !12
store i64 0, ptr %3, align 8, !tbaa !13
%10 = load i32, ptr @HSA_DBG_WAVEMODE_BROADCAST_PROCESS, align 4, !tbaa !14
%11 = getelementptr inbounds %struct.dbg_wave_control_info, ptr %5, i64 0, i32 1
store i32 %10, ptr %11, align 4, !tbaa !15
%12 = load i32, ptr @HSA_DBG_WAVEOP_KILL, align 4, !tbaa !14
store i32 %12, ptr %5, align 4, !tbaa !17
%13 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str) #3
%14 = icmp ugt i32 %7, %9
br i1 %14, label %36, label %15
15: ; preds = %2
%16 = getelementptr inbounds %struct.kfd_dev, ptr %0, i64 0, i32 1
br label %17
17: ; preds = %15, %33
%18 = phi i32 [ %7, %15 ], [ %34, %33 ]
%19 = load ptr, ptr %16, align 8, !tbaa !18
%20 = getelementptr inbounds %struct.TYPE_6__, ptr %19, i64 0, i32 2
%21 = load ptr, ptr %20, align 8, !tbaa !19
%22 = load i32, ptr %0, align 8, !tbaa !21
%23 = tail call i64 %21(i32 noundef %22, i32 noundef %18) #3
%24 = icmp eq i64 %23, 0
br i1 %24, label %33, label %25
25: ; preds = %17
%26 = load ptr, ptr %16, align 8, !tbaa !18
%27 = getelementptr inbounds %struct.TYPE_6__, ptr %26, i64 0, i32 1
%28 = load ptr, ptr %27, align 8, !tbaa !22
%29 = load i32, ptr %0, align 8, !tbaa !21
%30 = tail call i32 %28(i32 noundef %29, i32 noundef %18) #3
%31 = load i32, ptr %1, align 4, !tbaa !23
%32 = icmp eq i32 %30, %31
br i1 %32, label %41, label %33
33: ; preds = %17, %25
%34 = add i32 %18, 1
%35 = icmp ugt i32 %34, %9
br i1 %35, label %36, label %17, !llvm.loop !25
36: ; preds = %33, %2
%37 = load i32, ptr %1, align 4, !tbaa !23
%38 = tail call i32 @pr_err(ptr noundef nonnull @.str.2, i32 noundef %37) #3
%39 = load i32, ptr @EFAULT, align 4, !tbaa !14
%40 = sub nsw i32 0, %39
br label %61
41: ; preds = %25
%42 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.1, i32 noundef %18, i32 noundef %30) #3
%43 = tail call ptr @kfd_get_process_device_data(ptr noundef nonnull %0, ptr noundef nonnull %1) #3
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %48
45: ; preds = %41
%46 = load i32, ptr @EFAULT, align 4, !tbaa !14
%47 = sub nsw i32 0, %46
br label %61
48: ; preds = %41
%49 = call i32 @dbgdev_wave_control_set_registers(ptr noundef nonnull %5, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%50 = icmp eq i32 %49, 0
br i1 %50, label %54, label %51
51: ; preds = %48
%52 = load i32, ptr @EINVAL, align 4, !tbaa !14
%53 = sub nsw i32 0, %52
br label %61
54: ; preds = %48
store i32 %18, ptr %3, align 8, !tbaa !13
%55 = load ptr, ptr %16, align 8, !tbaa !18
%56 = load ptr, ptr %55, align 8, !tbaa !27
%57 = load i32, ptr %0, align 8, !tbaa !21
%58 = load i32, ptr %4, align 4, !tbaa !13
%59 = load i64, ptr %3, align 8, !tbaa !13
%60 = call i32 %56(i32 noundef %57, i32 noundef %58, i64 noundef %59) #3
br label %61
61: ; preds = %54, %51, %45, %36
%62 = phi i32 [ %40, %36 ], [ %53, %51 ], [ 0, %54 ], [ %47, %45 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %62
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pr_debug(ptr noundef, ...) local_unnamed_addr #2
declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @kfd_get_process_device_data(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dbgdev_wave_control_set_registers(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"kfd_dev", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!12 = !{!6, !7, i64 20}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 4}
!16 = !{!"dbg_wave_control_info", !7, i64 0, !7, i64 4}
!17 = !{!16, !7, i64 0}
!18 = !{!6, !10, i64 8}
!19 = !{!20, !10, i64 16}
!20 = !{!"TYPE_6__", !10, i64 0, !10, i64 8, !10, i64 16}
!21 = !{!6, !7, i64 0}
!22 = !{!20, !10, i64 8}
!23 = !{!24, !7, i64 0}
!24 = !{!"kfd_process", !7, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!20, !10, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdkfd/extr_kfd_dbgdev.c_dbgdev_wave_reset_wavefronts.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdkfd/extr_kfd_dbgdev.c_dbgdev_wave_reset_wavefronts.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%union.SQ_CMD_BITS = type { i64 }
%union.GRBM_GFX_INDEX_BITS = type { i32 }
%struct.dbg_wave_control_info = type { i32, i32 }
@HSA_DBG_WAVEMODE_BROADCAST_PROCESS = common local_unnamed_addr global i32 0, align 4
@HSA_DBG_WAVEOP_KILL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"Killing all process wavefronts\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"Killing wave fronts of vmid %d and pasid %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Didn't find vmid for pasid %d\0A\00", align 1
@EFAULT = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @dbgdev_wave_reset_wavefronts(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %union.SQ_CMD_BITS, align 8
%4 = alloca %union.GRBM_GFX_INDEX_BITS, align 4
%5 = alloca %struct.dbg_wave_control_info, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load i32, ptr %6, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %0, i64 20
%9 = load i32, ptr %8, align 4, !tbaa !13
store i64 0, ptr %3, align 8, !tbaa !14
%10 = load i32, ptr @HSA_DBG_WAVEMODE_BROADCAST_PROCESS, align 4, !tbaa !15
%11 = getelementptr inbounds i8, ptr %5, i64 4
store i32 %10, ptr %11, align 4, !tbaa !16
%12 = load i32, ptr @HSA_DBG_WAVEOP_KILL, align 4, !tbaa !15
store i32 %12, ptr %5, align 4, !tbaa !18
%13 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str) #3
%14 = icmp ugt i32 %7, %9
br i1 %14, label %36, label %15
15: ; preds = %2
%16 = getelementptr inbounds i8, ptr %0, i64 8
br label %17
17: ; preds = %15, %33
%18 = phi i32 [ %7, %15 ], [ %34, %33 ]
%19 = load ptr, ptr %16, align 8, !tbaa !19
%20 = getelementptr inbounds i8, ptr %19, i64 16
%21 = load ptr, ptr %20, align 8, !tbaa !20
%22 = load i32, ptr %0, align 8, !tbaa !22
%23 = tail call i64 %21(i32 noundef %22, i32 noundef %18) #3
%24 = icmp eq i64 %23, 0
br i1 %24, label %33, label %25
25: ; preds = %17
%26 = load ptr, ptr %16, align 8, !tbaa !19
%27 = getelementptr inbounds i8, ptr %26, i64 8
%28 = load ptr, ptr %27, align 8, !tbaa !23
%29 = load i32, ptr %0, align 8, !tbaa !22
%30 = tail call i32 %28(i32 noundef %29, i32 noundef %18) #3
%31 = load i32, ptr %1, align 4, !tbaa !24
%32 = icmp eq i32 %30, %31
br i1 %32, label %41, label %33
33: ; preds = %17, %25
%34 = add i32 %18, 1
%35 = icmp ugt i32 %34, %9
br i1 %35, label %36, label %17, !llvm.loop !26
36: ; preds = %33, %2
%37 = load i32, ptr %1, align 4, !tbaa !24
%38 = tail call i32 @pr_err(ptr noundef nonnull @.str.2, i32 noundef %37) #3
%39 = load i32, ptr @EFAULT, align 4, !tbaa !15
%40 = sub nsw i32 0, %39
br label %61
41: ; preds = %25
%42 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.1, i32 noundef %18, i32 noundef %30) #3
%43 = tail call ptr @kfd_get_process_device_data(ptr noundef nonnull %0, ptr noundef nonnull %1) #3
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %48
45: ; preds = %41
%46 = load i32, ptr @EFAULT, align 4, !tbaa !15
%47 = sub nsw i32 0, %46
br label %61
48: ; preds = %41
%49 = call i32 @dbgdev_wave_control_set_registers(ptr noundef nonnull %5, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%50 = icmp eq i32 %49, 0
br i1 %50, label %54, label %51
51: ; preds = %48
%52 = load i32, ptr @EINVAL, align 4, !tbaa !15
%53 = sub nsw i32 0, %52
br label %61
54: ; preds = %48
store i32 %18, ptr %3, align 8, !tbaa !14
%55 = load ptr, ptr %16, align 8, !tbaa !19
%56 = load ptr, ptr %55, align 8, !tbaa !28
%57 = load i32, ptr %0, align 8, !tbaa !22
%58 = load i32, ptr %4, align 4, !tbaa !14
%59 = load i64, ptr %3, align 8, !tbaa !14
%60 = call i32 %56(i32 noundef %57, i32 noundef %58, i64 noundef %59) #3
br label %61
61: ; preds = %54, %51, %45, %36
%62 = phi i32 [ %40, %36 ], [ %53, %51 ], [ 0, %54 ], [ %47, %45 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %62
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pr_debug(ptr noundef, ...) local_unnamed_addr #2
declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @kfd_get_process_device_data(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dbgdev_wave_control_set_registers(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"kfd_dev", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!13 = !{!7, !8, i64 20}
!14 = !{!9, !9, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !8, i64 4}
!17 = !{!"dbg_wave_control_info", !8, i64 0, !8, i64 4}
!18 = !{!17, !8, i64 0}
!19 = !{!7, !11, i64 8}
!20 = !{!21, !11, i64 16}
!21 = !{!"TYPE_6__", !11, i64 0, !11, i64 8, !11, i64 16}
!22 = !{!7, !8, i64 0}
!23 = !{!21, !11, i64 8}
!24 = !{!25, !8, i64 0}
!25 = !{!"kfd_process", !8, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!21, !11, i64 0}
|
linux_drivers_gpu_drm_amd_amdkfd_extr_kfd_dbgdev.c_dbgdev_wave_reset_wavefronts
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/i2c/extr_tea6330t.c_snd_tea6330t_put_bass.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/i2c/extr_tea6330t.c_snd_tea6330t_put_bass.c"
target datalayout = "e-m:e-p270:32:32-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.tea6330t = type { i32, i8, ptr, i32, i32, i64 }
@TEA6330T_SADDR_BASS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_tea6330t_put_bass], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_tea6330t_put_bass(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca [2 x i8], align 1
%4 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %3) #3
%5 = load ptr, ptr %1, align 8, !tbaa !5
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = load i32, ptr %4, align 8, !tbaa !14
%8 = add nsw i32 %7, 1
%9 = srem i32 %6, %8
%10 = trunc i32 %9 to i8
%11 = getelementptr inbounds %struct.tea6330t, ptr %4, i64 0, i32 3
%12 = load i32, ptr %11, align 8, !tbaa !17
%13 = tail call i32 @snd_i2c_lock(i32 noundef %12) #3
%14 = getelementptr inbounds %struct.tea6330t, ptr %4, i64 0, i32 1
store i8 %10, ptr %14, align 4, !tbaa !18
%15 = getelementptr inbounds %struct.tea6330t, ptr %4, i64 0, i32 5
%16 = load i64, ptr %15, align 8, !tbaa !19
%17 = icmp eq i64 %16, 0
%18 = select i1 %17, i32 3, i32 7
%19 = add i32 %18, %9
%20 = trunc i32 %19 to i8
%21 = getelementptr inbounds %struct.tea6330t, ptr %4, i64 0, i32 2
%22 = load ptr, ptr %21, align 8, !tbaa !20
%23 = load i64, ptr @TEA6330T_SADDR_BASS, align 8, !tbaa !21
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i8, ptr %24, align 1, !tbaa !22
%26 = icmp ne i8 %25, %20
%27 = zext i1 %26 to i32
%28 = trunc i64 %23 to i8
store i8 %28, ptr %3, align 1, !tbaa !22
store i8 %20, ptr %24, align 1, !tbaa !22
%29 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 1
store i8 %20, ptr %29, align 1, !tbaa !22
%30 = getelementptr inbounds %struct.tea6330t, ptr %4, i64 0, i32 4
%31 = load i32, ptr %30, align 4, !tbaa !23
%32 = call i32 @snd_i2c_sendbytes(i32 noundef %31, ptr noundef nonnull %3, i32 noundef 2) #3
%33 = icmp slt i32 %32, 0
%34 = select i1 %33, i32 %32, i32 %27
%35 = load i32, ptr %11, align 8, !tbaa !17
%36 = call i32 @snd_i2c_unlock(i32 noundef %35) #3
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %3) #3
ret i32 %34
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #2
declare i32 @snd_i2c_lock(i32 noundef) local_unnamed_addr #2
declare i32 @snd_i2c_sendbytes(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @snd_i2c_unlock(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !9, i64 0}
!6 = !{!"snd_ctl_elem_value", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"tea6330t", !13, i64 0, !10, i64 4, !9, i64 8, !13, i64 16, !13, i64 20, !16, i64 24}
!16 = !{!"long", !10, i64 0}
!17 = !{!15, !13, i64 16}
!18 = !{!15, !10, i64 4}
!19 = !{!15, !16, i64 24}
!20 = !{!15, !9, i64 8}
!21 = !{!16, !16, i64 0}
!22 = !{!10, !10, i64 0}
!23 = !{!15, !13, i64 20}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/i2c/extr_tea6330t.c_snd_tea6330t_put_bass.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/i2c/extr_tea6330t.c_snd_tea6330t_put_bass.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TEA6330T_SADDR_BASS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @snd_tea6330t_put_bass], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 2) i32 @snd_tea6330t_put_bass(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca [2 x i8], align 1
%4 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %3) #3
%5 = load ptr, ptr %1, align 8, !tbaa !6
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = load i32, ptr %4, align 8, !tbaa !15
%8 = add nsw i32 %7, 1
%9 = srem i32 %6, %8
%10 = trunc i32 %9 to i8
%11 = getelementptr inbounds i8, ptr %4, i64 16
%12 = load i32, ptr %11, align 8, !tbaa !18
%13 = tail call i32 @snd_i2c_lock(i32 noundef %12) #3
%14 = getelementptr inbounds i8, ptr %4, i64 4
store i8 %10, ptr %14, align 4, !tbaa !19
%15 = getelementptr inbounds i8, ptr %4, i64 24
%16 = load i64, ptr %15, align 8, !tbaa !20
%17 = icmp eq i64 %16, 0
%18 = select i1 %17, i32 3, i32 7
%19 = add i32 %18, %9
%20 = trunc i32 %19 to i8
%21 = getelementptr inbounds i8, ptr %4, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !21
%23 = load i64, ptr @TEA6330T_SADDR_BASS, align 8, !tbaa !22
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i8, ptr %24, align 1, !tbaa !23
%26 = icmp ne i8 %25, %20
%27 = zext i1 %26 to i32
%28 = trunc i64 %23 to i8
store i8 %28, ptr %3, align 1, !tbaa !23
store i8 %20, ptr %24, align 1, !tbaa !23
%29 = getelementptr inbounds i8, ptr %3, i64 1
store i8 %20, ptr %29, align 1, !tbaa !23
%30 = getelementptr inbounds i8, ptr %4, i64 20
%31 = load i32, ptr %30, align 4, !tbaa !24
%32 = call i32 @snd_i2c_sendbytes(i32 noundef %31, ptr noundef nonnull %3, i32 noundef 2) #3
%33 = icmp slt i32 %32, 0
%34 = select i1 %33, i32 %32, i32 %27
%35 = load i32, ptr %11, align 8, !tbaa !18
%36 = call i32 @snd_i2c_unlock(i32 noundef %35) #3
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %3) #3
ret i32 %34
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #2
declare i32 @snd_i2c_lock(i32 noundef) local_unnamed_addr #2
declare i32 @snd_i2c_sendbytes(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @snd_i2c_unlock(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !10, i64 0}
!7 = !{!"snd_ctl_elem_value", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !11, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"tea6330t", !14, i64 0, !11, i64 4, !10, i64 8, !14, i64 16, !14, i64 20, !17, i64 24}
!17 = !{!"long", !11, i64 0}
!18 = !{!16, !14, i64 16}
!19 = !{!16, !11, i64 4}
!20 = !{!16, !17, i64 24}
!21 = !{!16, !10, i64 8}
!22 = !{!17, !17, i64 0}
!23 = !{!11, !11, i64 0}
!24 = !{!16, !14, i64 20}
|
fastsocket_kernel_sound_i2c_extr_tea6330t.c_snd_tea6330t_put_bass
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.