IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/linux/drivers/crypto/bcm/extr_spu.c_spum_ns2_ctx_max_payload.c'
source_filename = "AnghaBench/linux/drivers/crypto/bcm/extr_spu.c_spum_ns2_ctx_max_payload.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SPUM_NS2_MAX_PAYLOAD = dso_local local_unnamed_addr global i32 0, align 4
@CIPHER_MODE_XTS = dso_local local_unnamed_addr global i32 0, align 4
@SPU_XTS_TWEAK_SIZE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @spum_ns2_ctx_max_payload(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @SPUM_NS2_MAX_PAYLOAD, align 4, !tbaa !5
%5 = load i32, ptr @CIPHER_MODE_XTS, align 4, !tbaa !5
%6 = icmp eq i32 %5, %1
%7 = load i64, ptr @SPU_XTS_TWEAK_SIZE, align 8
%8 = trunc i64 %7 to i32
%9 = select i1 %6, i32 %8, i32 0
%10 = sub i32 %4, %9
%11 = urem i32 %10, %2
%12 = sub i32 %10, %11
ret i32 %12
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/crypto/bcm/extr_spu.c_spum_ns2_ctx_max_payload.c'
source_filename = "AnghaBench/linux/drivers/crypto/bcm/extr_spu.c_spum_ns2_ctx_max_payload.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SPUM_NS2_MAX_PAYLOAD = common local_unnamed_addr global i32 0, align 4
@CIPHER_MODE_XTS = common local_unnamed_addr global i32 0, align 4
@SPU_XTS_TWEAK_SIZE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i32 @spum_ns2_ctx_max_payload(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @SPUM_NS2_MAX_PAYLOAD, align 4, !tbaa !6
%5 = load i32, ptr @CIPHER_MODE_XTS, align 4, !tbaa !6
%6 = icmp eq i32 %5, %1
%7 = load i64, ptr @SPU_XTS_TWEAK_SIZE, align 8
%8 = trunc i64 %7 to i32
%9 = select i1 %6, i32 %8, i32 0
%10 = sub i32 %4, %9
%11 = urem i32 %10, %2
%12 = sub i32 %10, %11
ret i32 %12
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_crypto_bcm_extr_spu.c_spum_ns2_ctx_max_payload |
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_pata_sis.c_sis_66_set_dmamode.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_pata_sis.c_sis_66_set_dmamode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@XFER_MW_DMA_0 = dso_local local_unnamed_addr global i32 0, align 4
@sis_66_set_dmamode.mwdma_bits = internal unnamed_addr constant [3 x i32] [i32 8, i32 770, i32 769], align 4
@sis_66_set_dmamode.udma_bits = internal unnamed_addr constant [6 x i32] [i32 61440, i32 53248, i32 45056, i32 40960, i32 36864, i32 32768], align 16
@XFER_UDMA_0 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @sis_66_set_dmamode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sis_66_set_dmamode(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = tail call ptr @to_pci_dev(i32 noundef %5) #3
%7 = load i32, ptr %1, align 4, !tbaa !13
%8 = load i32, ptr @XFER_MW_DMA_0, align 4, !tbaa !15
%9 = tail call i32 @sis_old_port_base(ptr noundef nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%10 = call i32 @pci_read_config_word(ptr noundef %6, i32 noundef %9, ptr noundef nonnull %3) #3
%11 = load i32, ptr %1, align 4, !tbaa !13
%12 = sext i32 %11 to i64
%13 = load i64, ptr @XFER_UDMA_0, align 8, !tbaa !16
%14 = icmp sgt i64 %13, %12
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = sub nsw i32 %7, %8
%17 = load i32, ptr %3, align 4, !tbaa !15
%18 = and i32 %17, -34576
%19 = sext i32 %16 to i64
%20 = getelementptr inbounds [3 x i32], ptr @sis_66_set_dmamode.mwdma_bits, i64 0, i64 %19
br label %28
21: ; preds = %2
%22 = trunc i64 %13 to i32
%23 = sub i32 %11, %22
%24 = load i32, ptr %3, align 4, !tbaa !15
%25 = and i32 %24, -61441
%26 = sext i32 %23 to i64
%27 = getelementptr inbounds [6 x i32], ptr @sis_66_set_dmamode.udma_bits, i64 0, i64 %26
br label %28
28: ; preds = %21, %15
%29 = phi ptr [ %27, %21 ], [ %20, %15 ]
%30 = phi i32 [ %25, %21 ], [ %18, %15 ]
%31 = load i32, ptr %29, align 4, !tbaa !15
%32 = or i32 %31, %30
store i32 %32, ptr %3, align 4, !tbaa !15
%33 = call i32 @pci_write_config_word(ptr noundef %6, i32 noundef %9, i32 noundef %32) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_pci_dev(i32 noundef) local_unnamed_addr #2
declare i32 @sis_old_port_base(ptr noundef) local_unnamed_addr #2
declare i32 @pci_read_config_word(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pci_write_config_word(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ata_port", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"ata_device", !12, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/ata/extr_pata_sis.c_sis_66_set_dmamode.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_pata_sis.c_sis_66_set_dmamode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@XFER_MW_DMA_0 = common local_unnamed_addr global i32 0, align 4
@sis_66_set_dmamode.mwdma_bits = internal unnamed_addr constant [3 x i32] [i32 8, i32 770, i32 769], align 4
@sis_66_set_dmamode.udma_bits = internal unnamed_addr constant [6 x i32] [i32 61440, i32 53248, i32 45056, i32 40960, i32 36864, i32 32768], align 4
@XFER_UDMA_0 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @sis_66_set_dmamode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sis_66_set_dmamode(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call ptr @to_pci_dev(i32 noundef %5) #3
%7 = load i32, ptr %1, align 4, !tbaa !14
%8 = load i32, ptr @XFER_MW_DMA_0, align 4, !tbaa !16
%9 = tail call i32 @sis_old_port_base(ptr noundef nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%10 = call i32 @pci_read_config_word(ptr noundef %6, i32 noundef %9, ptr noundef nonnull %3) #3
%11 = load i32, ptr %1, align 4, !tbaa !14
%12 = sext i32 %11 to i64
%13 = load i64, ptr @XFER_UDMA_0, align 8, !tbaa !17
%14 = icmp sgt i64 %13, %12
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = sub nsw i32 %7, %8
%17 = load i32, ptr %3, align 4, !tbaa !16
%18 = and i32 %17, -34576
%19 = sext i32 %16 to i64
%20 = getelementptr inbounds [3 x i32], ptr @sis_66_set_dmamode.mwdma_bits, i64 0, i64 %19
br label %28
21: ; preds = %2
%22 = trunc i64 %13 to i32
%23 = sub i32 %11, %22
%24 = load i32, ptr %3, align 4, !tbaa !16
%25 = and i32 %24, -61441
%26 = sext i32 %23 to i64
%27 = getelementptr inbounds [6 x i32], ptr @sis_66_set_dmamode.udma_bits, i64 0, i64 %26
br label %28
28: ; preds = %21, %15
%29 = phi ptr [ %27, %21 ], [ %20, %15 ]
%30 = phi i32 [ %25, %21 ], [ %18, %15 ]
%31 = load i32, ptr %29, align 4, !tbaa !16
%32 = or i32 %31, %30
store i32 %32, ptr %3, align 4, !tbaa !16
%33 = call i32 @pci_write_config_word(ptr noundef %6, i32 noundef %9, i32 noundef %32) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_pci_dev(i32 noundef) local_unnamed_addr #2
declare i32 @sis_old_port_base(ptr noundef) local_unnamed_addr #2
declare i32 @pci_read_config_word(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pci_write_config_word(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ata_port", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"ata_device", !13, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !9, i64 0}
| linux_drivers_ata_extr_pata_sis.c_sis_66_set_dmamode |
; ModuleID = 'AnghaBench/linux/net/sched/extr_act_nat.c_tcf_nat_walker.c'
source_filename = "AnghaBench/linux/net/sched/extr_act_nat.c_tcf_nat_walker.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@nat_net_id = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tcf_nat_walker], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tcf_nat_walker(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = load i32, ptr @nat_net_id, align 4, !tbaa !5
%8 = tail call ptr @net_generic(ptr noundef %0, i32 noundef %7) #2
%9 = tail call i32 @tcf_generic_walker(ptr noundef %8, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #2
ret i32 %9
}
declare ptr @net_generic(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcf_generic_walker(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/net/sched/extr_act_nat.c_tcf_nat_walker.c'
source_filename = "AnghaBench/linux/net/sched/extr_act_nat.c_tcf_nat_walker.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@nat_net_id = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tcf_nat_walker], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @tcf_nat_walker(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = load i32, ptr @nat_net_id, align 4, !tbaa !6
%8 = tail call ptr @net_generic(ptr noundef %0, i32 noundef %7) #2
%9 = tail call i32 @tcf_generic_walker(ptr noundef %8, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #2
ret i32 %9
}
declare ptr @net_generic(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcf_generic_walker(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_net_sched_extr_act_nat.c_tcf_nat_walker |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_execbuffer.c_eb_create.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_execbuffer.c_eb_create.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.i915_execbuffer = type { i32, i32, i32, ptr }
@I915_EXEC_HANDLE_LUT = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@__GFP_NORETRY = dso_local local_unnamed_addr global i32 0, align 4
@__GFP_NOWARN = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @eb_create], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @eb_create(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.i915_execbuffer, ptr %0, i64 0, i32 3
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = load i32, ptr @I915_EXEC_HANDLE_LUT, align 4, !tbaa !13
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
%8 = load i32, ptr %0, align 8, !tbaa !14
br i1 %7, label %9, label %41
9: ; preds = %1
%10 = tail call i32 @ilog2(i32 noundef %8) #2
%11 = add nsw i32 %10, 1
%12 = getelementptr inbounds %struct.i915_execbuffer, ptr %0, i64 0, i32 2
br label %13
13: ; preds = %27, %9
%14 = phi i32 [ %11, %9 ], [ %28, %27 ]
%15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13
%16 = icmp ugt i32 %14, 1
%17 = load i32, ptr @__GFP_NORETRY, align 4
%18 = load i32, ptr @__GFP_NOWARN, align 4
%19 = or i32 %18, %17
%20 = select i1 %16, i32 %19, i32 0
%21 = or i32 %20, %15
%22 = zext nneg i32 %14 to i64
%23 = shl i64 4, %22
%24 = trunc i64 %23 to i32
%25 = tail call i32 @kzalloc(i32 noundef %24, i32 noundef %21) #2
store i32 %25, ptr %12, align 8, !tbaa !15
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %13
%28 = add i32 %14, -1
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %13, !llvm.loop !16
30: ; preds = %13, %27
%31 = phi i32 [ %14, %13 ], [ 0, %27 ]
%32 = icmp eq i32 %31, 0
%33 = zext i1 %32 to i32
%34 = tail call i64 @unlikely(i32 noundef %33) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %30
%37 = getelementptr inbounds %struct.i915_execbuffer, ptr %0, i64 0, i32 1
store i32 %31, ptr %37, align 4, !tbaa !18
br label %44
38: ; preds = %30
%39 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%40 = sub nsw i32 0, %39
br label %44
41: ; preds = %1
%42 = sub i32 0, %8
%43 = getelementptr inbounds %struct.i915_execbuffer, ptr %0, i64 0, i32 1
store i32 %42, ptr %43, align 4, !tbaa !18
br label %44
44: ; preds = %41, %36, %38
%45 = phi i32 [ %40, %38 ], [ 0, %36 ], [ 0, %41 ]
ret i32 %45
}
declare i32 @ilog2(i32 noundef) local_unnamed_addr #1
declare i32 @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(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 16}
!6 = !{!"i915_execbuffer", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!6, !7, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_execbuffer.c_eb_create.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_execbuffer.c_eb_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@I915_EXEC_HANDLE_LUT = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@__GFP_NORETRY = common local_unnamed_addr global i32 0, align 4
@__GFP_NOWARN = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @eb_create], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @eb_create(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !12
%5 = load i32, ptr @I915_EXEC_HANDLE_LUT, align 4, !tbaa !14
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
%8 = load i32, ptr %0, align 8, !tbaa !15
br i1 %7, label %9, label %41
9: ; preds = %1
%10 = tail call i32 @ilog2(i32 noundef %8) #2
%11 = add nsw i32 %10, 1
%12 = getelementptr inbounds i8, ptr %0, i64 8
br label %13
13: ; preds = %27, %9
%14 = phi i32 [ %11, %9 ], [ %28, %27 ]
%15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !14
%16 = icmp ugt i32 %14, 1
%17 = load i32, ptr @__GFP_NORETRY, align 4
%18 = load i32, ptr @__GFP_NOWARN, align 4
%19 = or i32 %18, %17
%20 = select i1 %16, i32 %19, i32 0
%21 = or i32 %20, %15
%22 = zext nneg i32 %14 to i64
%23 = shl i64 4, %22
%24 = trunc i64 %23 to i32
%25 = tail call i32 @kzalloc(i32 noundef %24, i32 noundef %21) #2
store i32 %25, ptr %12, align 8, !tbaa !16
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %13
%28 = add i32 %14, -1
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %13, !llvm.loop !17
30: ; preds = %13, %27
%31 = phi i32 [ %14, %13 ], [ 0, %27 ]
%32 = icmp eq i32 %31, 0
%33 = zext i1 %32 to i32
%34 = tail call i64 @unlikely(i32 noundef %33) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %30
%37 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %31, ptr %37, align 4, !tbaa !19
br label %44
38: ; preds = %30
%39 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%40 = sub nsw i32 0, %39
br label %44
41: ; preds = %1
%42 = sub i32 0, %8
%43 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %42, ptr %43, align 4, !tbaa !19
br label %44
44: ; preds = %41, %36, %38
%45 = phi i32 [ %40, %38 ], [ 0, %36 ], [ 0, %41 ]
ret i32 %45
}
declare i32 @ilog2(i32 noundef) local_unnamed_addr #1
declare i32 @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(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 16}
!7 = !{!"i915_execbuffer", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_2__", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!7, !8, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!7, !8, i64 4}
| linux_drivers_gpu_drm_i915_gem_extr_i915_gem_execbuffer.c_eb_create |
; ModuleID = 'AnghaBench/linux/drivers/macintosh/extr_macio_sysfs.c_name_show.c'
source_filename = "AnghaBench/linux/drivers/macintosh/extr_macio_sysfs.c_name_show.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%pOFn\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @name_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @name_show(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %4) #2
ret i32 %5
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"device", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/macintosh/extr_macio_sysfs.c_name_show.c'
source_filename = "AnghaBench/linux/drivers/macintosh/extr_macio_sysfs.c_name_show.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"%pOFn\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @name_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @name_show(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %4) #2
ret i32 %5
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"device", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_macintosh_extr_macio_sysfs.c_name_show |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_top.c_set_history.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_top.c_set_history.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [69 x i8] c"\22set history\22 must be followed by the name of a history subcommand.\0A\00", align 1
@sethistlist = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"set history \00", align 1
@gdb_stdout = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @set_history(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @printf_unfiltered(ptr noundef nonnull @.str) #2
%4 = load i32, ptr @sethistlist, align 4, !tbaa !5
%5 = load i32, ptr @gdb_stdout, align 4, !tbaa !5
%6 = tail call i32 @help_list(i32 noundef %4, ptr noundef nonnull @.str.1, i32 noundef -1, i32 noundef %5) #2
ret void
}
declare i32 @printf_unfiltered(ptr noundef) local_unnamed_addr #1
declare i32 @help_list(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_top.c_set_history.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_top.c_set_history.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [69 x i8] c"\22set history\22 must be followed by the name of a history subcommand.\0A\00", align 1
@sethistlist = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"set history \00", align 1
@gdb_stdout = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @set_history(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @printf_unfiltered(ptr noundef nonnull @.str) #2
%4 = load i32, ptr @sethistlist, align 4, !tbaa !6
%5 = load i32, ptr @gdb_stdout, align 4, !tbaa !6
%6 = tail call i32 @help_list(i32 noundef %4, ptr noundef nonnull @.str.1, i32 noundef -1, i32 noundef %5) #2
ret void
}
declare i32 @printf_unfiltered(ptr noundef) local_unnamed_addr #1
declare i32 @help_list(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gdb_gdb_extr_top.c_set_history |
; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_usdhi6rol0.c_usdhi6_resp_cmd12.c'
source_filename = "AnghaBench/linux/drivers/mmc/host/extr_usdhi6rol0.c_usdhi6_resp_cmd12.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@USDHI6_SD_RSP10 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @usdhi6_resp_cmd12], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @usdhi6_resp_cmd12(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = load i32, ptr @USDHI6_SD_RSP10, align 4, !tbaa !12
%5 = tail call i32 @usdhi6_read(ptr noundef nonnull %0, i32 noundef %4) #2
%6 = load ptr, ptr %3, align 8, !tbaa !14
store i32 %5, ptr %6, align 4, !tbaa !12
ret void
}
declare i32 @usdhi6_read(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 = !{!"usdhi6_host", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"mmc_command", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_usdhi6rol0.c_usdhi6_resp_cmd12.c'
source_filename = "AnghaBench/linux/drivers/mmc/host/extr_usdhi6rol0.c_usdhi6_resp_cmd12.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@USDHI6_SD_RSP10 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @usdhi6_resp_cmd12], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @usdhi6_resp_cmd12(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = load i32, ptr @USDHI6_SD_RSP10, align 4, !tbaa !13
%5 = tail call i32 @usdhi6_read(ptr noundef nonnull %0, i32 noundef %4) #2
%6 = load ptr, ptr %3, align 8, !tbaa !15
store i32 %5, ptr %6, align 4, !tbaa !13
ret void
}
declare i32 @usdhi6_read(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 = !{!"usdhi6_host", !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_2__", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"mmc_command", !8, i64 0}
| linux_drivers_mmc_host_extr_usdhi6rol0.c_usdhi6_resp_cmd12 |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ssb/extr_pcmcia.c_select_core_and_segment.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ssb/extr_pcmcia.c_select_core_and_segment.c"
target datalayout = "e-m:e-p270:32:32-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.ssb_bus = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @select_core_and_segment], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @select_core_and_segment(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %1, align 4, !tbaa !10
%5 = icmp sgt i32 %4, 2047
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = add nsw i32 %4, -2048
store i32 %7, ptr %1, align 4, !tbaa !10
br label %8
8: ; preds = %2, %6
%9 = phi i32 [ 1, %6 ], [ 0, %2 ]
%10 = getelementptr inbounds %struct.ssb_bus, ptr %3, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = icmp ne ptr %11, %0
%13 = zext i1 %12 to i32
%14 = tail call i64 @unlikely(i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %8
%17 = tail call i32 @ssb_pcmcia_switch_core(ptr noundef nonnull %3, ptr noundef nonnull %0) #2
%18 = tail call i64 @unlikely(i32 noundef %17) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %31
20: ; preds = %16, %8
%21 = load i32, ptr %3, align 8, !tbaa !14
%22 = icmp ne i32 %9, %21
%23 = zext i1 %22 to i32
%24 = tail call i64 @unlikely(i32 noundef %23) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %30, label %26
26: ; preds = %20
%27 = tail call i32 @ssb_pcmcia_switch_segment(ptr noundef nonnull %3, i32 noundef %9) #2
%28 = tail call i64 @unlikely(i32 noundef %27) #2
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %26, %20
br label %31
31: ; preds = %26, %16, %30
%32 = phi i32 [ 0, %30 ], [ %17, %16 ], [ %27, %26 ]
ret i32 %32
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @ssb_pcmcia_switch_core(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ssb_pcmcia_switch_segment(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 = !{!"ssb_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"ssb_bus", !11, i64 0, !7, i64 8}
!14 = !{!13, !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ssb/extr_pcmcia.c_select_core_and_segment.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ssb/extr_pcmcia.c_select_core_and_segment.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 @select_core_and_segment], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @select_core_and_segment(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %1, align 4, !tbaa !11
%5 = icmp sgt i32 %4, 2047
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = add nsw i32 %4, -2048
store i32 %7, ptr %1, align 4, !tbaa !11
br label %8
8: ; preds = %2, %6
%9 = phi i32 [ 1, %6 ], [ 0, %2 ]
%10 = getelementptr inbounds i8, ptr %3, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !13
%12 = icmp ne ptr %11, %0
%13 = zext i1 %12 to i32
%14 = tail call i64 @unlikely(i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %8
%17 = tail call i32 @ssb_pcmcia_switch_core(ptr noundef nonnull %3, ptr noundef nonnull %0) #2
%18 = tail call i64 @unlikely(i32 noundef %17) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %31
20: ; preds = %16, %8
%21 = load i32, ptr %3, align 8, !tbaa !15
%22 = icmp ne i32 %9, %21
%23 = zext i1 %22 to i32
%24 = tail call i64 @unlikely(i32 noundef %23) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %30, label %26
26: ; preds = %20
%27 = tail call i32 @ssb_pcmcia_switch_segment(ptr noundef nonnull %3, i32 noundef %9) #2
%28 = tail call i64 @unlikely(i32 noundef %27) #2
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %26, %20
br label %31
31: ; preds = %26, %16, %30
%32 = phi i32 [ 0, %30 ], [ %17, %16 ], [ %27, %26 ]
ret i32 %32
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @ssb_pcmcia_switch_core(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ssb_pcmcia_switch_segment(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 = !{!"ssb_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !8, i64 8}
!14 = !{!"ssb_bus", !12, i64 0, !8, i64 8}
!15 = !{!14, !12, i64 0}
| fastsocket_kernel_drivers_ssb_extr_pcmcia.c_select_core_and_segment |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/rds/extr_send.c_acquire_in_xmit.c'
source_filename = "AnghaBench/fastsocket/kernel/net/rds/extr_send.c_acquire_in_xmit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RDS_IN_XMIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @acquire_in_xmit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @acquire_in_xmit(ptr noundef %0) #0 {
%2 = load i32, ptr @RDS_IN_XMIT, align 4, !tbaa !5
%3 = tail call i64 @test_and_set_bit(i32 noundef %2, ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
%5 = zext i1 %4 to i32
ret i32 %5
}
declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/rds/extr_send.c_acquire_in_xmit.c'
source_filename = "AnghaBench/fastsocket/kernel/net/rds/extr_send.c_acquire_in_xmit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RDS_IN_XMIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @acquire_in_xmit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @acquire_in_xmit(ptr noundef %0) #0 {
%2 = load i32, ptr @RDS_IN_XMIT, align 4, !tbaa !6
%3 = tail call i64 @test_and_set_bit(i32 noundef %2, ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
%5 = zext i1 %4 to i32
ret i32 %5
}
declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_net_rds_extr_send.c_acquire_in_xmit |
; ModuleID = 'AnghaBench/git/extr_sequencer.c_get_dir.c'
source_filename = "AnghaBench/git/extr_sequencer.c_get_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_dir], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @get_dir(ptr noundef %0) #0 {
%2 = tail call i64 @is_rebase_i(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call ptr (...) @rebase_path() #2
br label %8
6: ; preds = %1
%7 = tail call ptr (...) @git_path_seq_dir() #2
br label %8
8: ; preds = %6, %4
%9 = phi ptr [ %5, %4 ], [ %7, %6 ]
ret ptr %9
}
declare i64 @is_rebase_i(ptr noundef) local_unnamed_addr #1
declare ptr @rebase_path(...) local_unnamed_addr #1
declare ptr @git_path_seq_dir(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/git/extr_sequencer.c_get_dir.c'
source_filename = "AnghaBench/git/extr_sequencer.c_get_dir.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_dir], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @get_dir(ptr noundef %0) #0 {
%2 = tail call i64 @is_rebase_i(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call ptr @rebase_path() #2
br label %8
6: ; preds = %1
%7 = tail call ptr @git_path_seq_dir() #2
br label %8
8: ; preds = %6, %4
%9 = phi ptr [ %5, %4 ], [ %7, %6 ]
ret ptr %9
}
declare i64 @is_rebase_i(ptr noundef) local_unnamed_addr #1
declare ptr @rebase_path(...) local_unnamed_addr #1
declare ptr @git_path_seq_dir(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| git_extr_sequencer.c_get_dir |
; ModuleID = 'AnghaBench/openssl/ssl/statem/extr_extensions.c_final_sig_algs.c'
source_filename = "AnghaBench/openssl/ssl/statem/extr_extensions.c_final_sig_algs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TLS13_AD_MISSING_EXTENSION = dso_local local_unnamed_addr global i32 0, align 4
@SSL_F_FINAL_SIG_ALGS = dso_local local_unnamed_addr global i32 0, align 4
@SSL_R_MISSING_SIGALGS_EXTENSION = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @final_sig_algs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @final_sig_algs(ptr noundef %0, i32 %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %5, label %16
5: ; preds = %3
%6 = tail call i64 @SSL_IS_TLS13(ptr noundef %0) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %16, label %8
8: ; preds = %5
%9 = load i32, ptr %0, align 4, !tbaa !5
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %8
%12 = load i32, ptr @TLS13_AD_MISSING_EXTENSION, align 4, !tbaa !10
%13 = load i32, ptr @SSL_F_FINAL_SIG_ALGS, align 4, !tbaa !10
%14 = load i32, ptr @SSL_R_MISSING_SIGALGS_EXTENSION, align 4, !tbaa !10
%15 = tail call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %13, i32 noundef %14) #2
br label %16
16: ; preds = %3, %5, %8, %11
%17 = phi i32 [ 0, %11 ], [ 1, %8 ], [ 1, %5 ], [ 1, %3 ]
ret i32 %17
}
declare i64 @SSL_IS_TLS13(ptr noundef) local_unnamed_addr #1
declare i32 @SSLfatal(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, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/openssl/ssl/statem/extr_extensions.c_final_sig_algs.c'
source_filename = "AnghaBench/openssl/ssl/statem/extr_extensions.c_final_sig_algs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TLS13_AD_MISSING_EXTENSION = common local_unnamed_addr global i32 0, align 4
@SSL_F_FINAL_SIG_ALGS = common local_unnamed_addr global i32 0, align 4
@SSL_R_MISSING_SIGALGS_EXTENSION = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @final_sig_algs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @final_sig_algs(ptr noundef %0, i32 %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %5, label %16
5: ; preds = %3
%6 = tail call i64 @SSL_IS_TLS13(ptr noundef %0) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %16, label %8
8: ; preds = %5
%9 = load i32, ptr %0, align 4, !tbaa !6
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %8
%12 = load i32, ptr @TLS13_AD_MISSING_EXTENSION, align 4, !tbaa !11
%13 = load i32, ptr @SSL_F_FINAL_SIG_ALGS, align 4, !tbaa !11
%14 = load i32, ptr @SSL_R_MISSING_SIGALGS_EXTENSION, align 4, !tbaa !11
%15 = tail call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %13, i32 noundef %14) #2
br label %16
16: ; preds = %3, %5, %8, %11
%17 = phi i32 [ 0, %11 ], [ 1, %8 ], [ 1, %5 ], [ 1, %3 ]
ret i32 %17
}
declare i64 @SSL_IS_TLS13(ptr noundef) local_unnamed_addr #1
declare i32 @SSLfatal(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, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| openssl_ssl_statem_extr_extensions.c_final_sig_algs |
; ModuleID = 'AnghaBench/radare2/libr/bin/p/extr_bin_symbols.c_parseSymbols.c'
source_filename = "AnghaBench/radare2/libr/bin/p/extr_bin_symbols.c_parseSymbols.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@r_bin_symbol_free = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @parseSymbols], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @parseSymbols(ptr noundef %0, i32 noundef %1, ptr noundef writeonly %2, i32 noundef %3) #0 {
%5 = icmp eq ptr %2, null
br i1 %5, label %9, label %6
6: ; preds = %4
%7 = mul nsw i32 %3, 24
%8 = add nsw i32 %7, %1
store i32 %8, ptr %2, align 4, !tbaa !5
br label %9
9: ; preds = %6, %4
%10 = tail call ptr @calloc(i32 noundef 24, i32 noundef %3) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %33, label %12
12: ; preds = %9
%13 = load i32, ptr @r_bin_symbol_free, align 4, !tbaa !5
%14 = tail call ptr @r_list_newf(i32 noundef %13) #2
%15 = mul nsw i32 %3, 24
%16 = tail call i32 @r_buf_read_at(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %10, i32 noundef %15) #2
%17 = icmp sgt i32 %3, 0
br i1 %17, label %18, label %31
18: ; preds = %12
%19 = zext nneg i32 %3 to i64
br label %20
20: ; preds = %18, %20
%21 = phi i64 [ 0, %18 ], [ %29, %20 ]
%22 = mul nuw nsw i64 %21, 24
%23 = getelementptr inbounds i32, ptr %10, i64 %22
%24 = tail call i32 @r_read_le32(ptr noundef nonnull %23) #2
%25 = getelementptr inbounds i32, ptr %23, i64 4
%26 = tail call i32 @r_read_le32(ptr noundef nonnull %25) #2
%27 = tail call i32 @newSymbol(ptr noundef null, i32 noundef %24, i32 noundef %26) #2
%28 = tail call i32 @r_list_append(ptr noundef %14, i32 noundef %27) #2
%29 = add nuw nsw i64 %21, 1
%30 = icmp eq i64 %29, %19
br i1 %30, label %31, label %20, !llvm.loop !9
31: ; preds = %20, %12
%32 = tail call i32 @free(ptr noundef nonnull %10) #2
br label %33
33: ; preds = %9, %31
%34 = phi ptr [ %14, %31 ], [ null, %9 ]
ret ptr %34
}
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @r_list_newf(i32 noundef) local_unnamed_addr #1
declare i32 @r_buf_read_at(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r_read_le32(ptr noundef) local_unnamed_addr #1
declare i32 @r_list_append(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @newSymbol(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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/radare2/libr/bin/p/extr_bin_symbols.c_parseSymbols.c'
source_filename = "AnghaBench/radare2/libr/bin/p/extr_bin_symbols.c_parseSymbols.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@r_bin_symbol_free = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @parseSymbols], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @parseSymbols(ptr noundef %0, i32 noundef %1, ptr noundef writeonly %2, i32 noundef %3) #0 {
%5 = icmp eq ptr %2, null
br i1 %5, label %9, label %6
6: ; preds = %4
%7 = mul nsw i32 %3, 24
%8 = add nsw i32 %7, %1
store i32 %8, ptr %2, align 4, !tbaa !6
br label %9
9: ; preds = %6, %4
%10 = tail call ptr @calloc(i32 noundef 24, i32 noundef %3) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %33, label %12
12: ; preds = %9
%13 = load i32, ptr @r_bin_symbol_free, align 4, !tbaa !6
%14 = tail call ptr @r_list_newf(i32 noundef %13) #2
%15 = mul nsw i32 %3, 24
%16 = tail call i32 @r_buf_read_at(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %10, i32 noundef %15) #2
%17 = icmp sgt i32 %3, 0
br i1 %17, label %18, label %31
18: ; preds = %12
%19 = zext nneg i32 %3 to i64
br label %20
20: ; preds = %18, %20
%21 = phi i64 [ 0, %18 ], [ %29, %20 ]
%22 = mul i64 %21, 96
%23 = getelementptr inbounds i8, ptr %10, i64 %22
%24 = tail call i32 @r_read_le32(ptr noundef nonnull %23) #2
%25 = getelementptr inbounds i8, ptr %23, i64 16
%26 = tail call i32 @r_read_le32(ptr noundef nonnull %25) #2
%27 = tail call i32 @newSymbol(ptr noundef null, i32 noundef %24, i32 noundef %26) #2
%28 = tail call i32 @r_list_append(ptr noundef %14, i32 noundef %27) #2
%29 = add nuw nsw i64 %21, 1
%30 = icmp eq i64 %29, %19
br i1 %30, label %31, label %20, !llvm.loop !10
31: ; preds = %20, %12
%32 = tail call i32 @free(ptr noundef nonnull %10) #2
br label %33
33: ; preds = %9, %31
%34 = phi ptr [ %14, %31 ], [ null, %9 ]
ret ptr %34
}
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @r_list_newf(i32 noundef) local_unnamed_addr #1
declare i32 @r_buf_read_at(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r_read_le32(ptr noundef) local_unnamed_addr #1
declare i32 @r_list_append(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @newSymbol(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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"}
| radare2_libr_bin_p_extr_bin_symbols.c_parseSymbols |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_cmd.c_hclge_destroy_queue.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_cmd.c_hclge_destroy_queue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @hclge_destroy_queue], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @hclge_destroy_queue(ptr noundef %0) #0 {
%2 = tail call i32 @spin_lock(ptr noundef %0) #2
%3 = tail call i32 @hclge_free_cmd_desc(ptr noundef %0) #2
%4 = tail call i32 @spin_unlock(ptr noundef %0) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @hclge_free_cmd_desc(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/hisilicon/hns3/hns3pf/extr_hclge_cmd.c_hclge_destroy_queue.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_cmd.c_hclge_destroy_queue.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 @hclge_destroy_queue], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @hclge_destroy_queue(ptr noundef %0) #0 {
%2 = tail call i32 @spin_lock(ptr noundef %0) #2
%3 = tail call i32 @hclge_free_cmd_desc(ptr noundef %0) #2
%4 = tail call i32 @spin_unlock(ptr noundef %0) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @hclge_free_cmd_desc(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_hisilicon_hns3_hns3pf_extr_hclge_cmd.c_hclge_destroy_queue |
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_controller.c_azx_pcm_hw_params.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_controller.c_azx_pcm_hw_params.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @azx_pcm_hw_params], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @azx_pcm_hw_params(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = tail call ptr @get_azx_dev(ptr noundef %0) #3
%6 = tail call i32 @trace_azx_pcm_hw_params(ptr noundef %4, ptr noundef %5) #3
%7 = tail call i32 @dsp_lock(ptr noundef %5) #3
%8 = tail call i64 @dsp_is_locked(ptr noundef %5) #3
%9 = icmp eq i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = load i32, ptr @EBUSY, align 4, !tbaa !10
%12 = sub nsw i32 0, %11
br label %16
13: ; preds = %2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %5, i8 0, i64 24, i1 false)
%14 = tail call i32 @params_buffer_bytes(ptr noundef %1) #3
%15 = tail call i32 @snd_pcm_lib_malloc_pages(ptr noundef %0, i32 noundef %14) #3
br label %16
16: ; preds = %13, %10
%17 = phi i32 [ %12, %10 ], [ %15, %13 ]
%18 = tail call i32 @dsp_unlock(ptr noundef %5) #3
ret i32 %17
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare ptr @get_azx_dev(ptr noundef) local_unnamed_addr #1
declare i32 @trace_azx_pcm_hw_params(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dsp_lock(ptr noundef) local_unnamed_addr #1
declare i64 @dsp_is_locked(ptr noundef) local_unnamed_addr #1
declare i32 @snd_pcm_lib_malloc_pages(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @params_buffer_bytes(ptr noundef) local_unnamed_addr #1
declare i32 @dsp_unlock(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 = !{!"azx_pcm", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_controller.c_azx_pcm_hw_params.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_controller.c_azx_pcm_hw_params.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EBUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @azx_pcm_hw_params], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @azx_pcm_hw_params(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #3
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = tail call ptr @get_azx_dev(ptr noundef %0) #3
%6 = tail call i32 @trace_azx_pcm_hw_params(ptr noundef %4, ptr noundef %5) #3
%7 = tail call i32 @dsp_lock(ptr noundef %5) #3
%8 = tail call i64 @dsp_is_locked(ptr noundef %5) #3
%9 = icmp eq i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = load i32, ptr @EBUSY, align 4, !tbaa !11
%12 = sub nsw i32 0, %11
br label %16
13: ; preds = %2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %5, i8 0, i64 24, i1 false)
%14 = tail call i32 @params_buffer_bytes(ptr noundef %1) #3
%15 = tail call i32 @snd_pcm_lib_malloc_pages(ptr noundef %0, i32 noundef %14) #3
br label %16
16: ; preds = %13, %10
%17 = phi i32 [ %12, %10 ], [ %15, %13 ]
%18 = tail call i32 @dsp_unlock(ptr noundef %5) #3
ret i32 %17
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare ptr @get_azx_dev(ptr noundef) local_unnamed_addr #1
declare i32 @trace_azx_pcm_hw_params(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dsp_lock(ptr noundef) local_unnamed_addr #1
declare i64 @dsp_is_locked(ptr noundef) local_unnamed_addr #1
declare i32 @snd_pcm_lib_malloc_pages(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @params_buffer_bytes(ptr noundef) local_unnamed_addr #1
declare i32 @dsp_unlock(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 = !{!"azx_pcm", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| linux_sound_pci_hda_extr_hda_controller.c_azx_pcm_hw_params |
; ModuleID = 'AnghaBench/kphp-kdb/storage/extr_storage-data.c_unload_metafiles.c'
source_filename = "AnghaBench/kphp-kdb/storage/extr_storage-data.c_unload_metafiles.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, ptr }
@lru_meta_lst = dso_local local_unnamed_addr global ptr null, align 8
@metafile_bucket_bytes = dso_local local_unnamed_addr global ptr null, align 8
@max_metafiles_bytes = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [91 x i8] c"unload_metafile: max_metafiles_bytes = %d, metafile_bucket_bytes[%d] = %d, metafiles = %d\0A\00", align 1
@metafiles = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @unload_metafiles], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @unload_metafiles(i32 noundef %0) #0 {
%2 = load ptr, ptr @lru_meta_lst, align 8, !tbaa !5
%3 = sext i32 %0 to i64
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 %3, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !9
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 %3
%7 = icmp eq ptr %5, %6
br i1 %7, label %31, label %8
8: ; preds = %1, %25
%9 = phi ptr [ %29, %25 ], [ %6, %1 ]
%10 = phi i32 [ %27, %25 ], [ 0, %1 ]
%11 = phi ptr [ %22, %25 ], [ %5, %1 ]
%12 = load ptr, ptr @metafile_bucket_bytes, align 8, !tbaa !5
%13 = getelementptr inbounds i64, ptr %12, i64 %3
%14 = load i64, ptr %13, align 8, !tbaa !12
%15 = load i64, ptr @max_metafiles_bytes, align 8, !tbaa !12
%16 = icmp sgt i64 %14, %15
br i1 %16, label %17, label %31
17: ; preds = %8, %23
%18 = phi ptr [ %22, %23 ], [ %11, %8 ]
%19 = load i64, ptr %18, align 8, !tbaa !13
%20 = icmp sgt i64 %19, 0
%21 = getelementptr inbounds %struct.TYPE_4__, ptr %18, i64 0, i32 1
%22 = load ptr, ptr %21, align 8, !tbaa !9
br i1 %20, label %23, label %25
23: ; preds = %17
%24 = icmp eq ptr %22, %9
br i1 %24, label %31, label %17, !llvm.loop !14
25: ; preds = %17
%26 = tail call i32 @metafile_free(ptr noundef nonnull %18) #2
%27 = add nuw nsw i32 %10, 1
%28 = load ptr, ptr @lru_meta_lst, align 8, !tbaa !5
%29 = getelementptr inbounds %struct.TYPE_4__, ptr %28, i64 %3
%30 = icmp eq ptr %22, %29
br i1 %30, label %43, label %8, !llvm.loop !14
31: ; preds = %8, %23, %1
%32 = phi i32 [ 0, %1 ], [ %10, %23 ], [ %10, %8 ]
%33 = load ptr, ptr @metafile_bucket_bytes, align 8, !tbaa !5
%34 = getelementptr inbounds i64, ptr %33, i64 %3
%35 = load i64, ptr %34, align 8, !tbaa !12
%36 = load i64, ptr @max_metafiles_bytes, align 8, !tbaa !12
%37 = icmp sle i64 %35, %36
%38 = icmp ne i32 %32, 0
%39 = select i1 %37, i1 true, i1 %38
br i1 %39, label %43, label %40
40: ; preds = %31
%41 = load i32, ptr @metafiles, align 4, !tbaa !16
%42 = tail call i32 @vkprintf(i32 noundef 2, ptr noundef nonnull @.str, i64 noundef %36, i32 noundef %0, i64 noundef %35, i32 noundef %41) #2
br label %43
43: ; preds = %25, %40, %31
ret void
}
declare i32 @metafile_free(ptr noundef) local_unnamed_addr #1
declare i32 @vkprintf(i32 noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"TYPE_4__", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/kphp-kdb/storage/extr_storage-data.c_unload_metafiles.c'
source_filename = "AnghaBench/kphp-kdb/storage/extr_storage-data.c_unload_metafiles.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i64, ptr }
@lru_meta_lst = common local_unnamed_addr global ptr null, align 8
@metafile_bucket_bytes = common local_unnamed_addr global ptr null, align 8
@max_metafiles_bytes = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [91 x i8] c"unload_metafile: max_metafiles_bytes = %d, metafile_bucket_bytes[%d] = %d, metafiles = %d\0A\00", align 1
@metafiles = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @unload_metafiles], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @unload_metafiles(i32 noundef %0) #0 {
%2 = load ptr, ptr @lru_meta_lst, align 8, !tbaa !6
%3 = sext i32 %0 to i64
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 %3, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 %3
%7 = icmp eq ptr %5, %6
br i1 %7, label %31, label %8
8: ; preds = %1, %25
%9 = phi ptr [ %29, %25 ], [ %6, %1 ]
%10 = phi i32 [ %27, %25 ], [ 0, %1 ]
%11 = phi ptr [ %22, %25 ], [ %5, %1 ]
%12 = load ptr, ptr @metafile_bucket_bytes, align 8, !tbaa !6
%13 = getelementptr inbounds i64, ptr %12, i64 %3
%14 = load i64, ptr %13, align 8, !tbaa !13
%15 = load i64, ptr @max_metafiles_bytes, align 8, !tbaa !13
%16 = icmp sgt i64 %14, %15
br i1 %16, label %17, label %31
17: ; preds = %8, %23
%18 = phi ptr [ %22, %23 ], [ %11, %8 ]
%19 = load i64, ptr %18, align 8, !tbaa !14
%20 = icmp sgt i64 %19, 0
%21 = getelementptr inbounds i8, ptr %18, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !10
br i1 %20, label %23, label %25
23: ; preds = %17
%24 = icmp eq ptr %22, %9
br i1 %24, label %31, label %17, !llvm.loop !15
25: ; preds = %17
%26 = tail call i32 @metafile_free(ptr noundef nonnull %18) #2
%27 = add nuw nsw i32 %10, 1
%28 = load ptr, ptr @lru_meta_lst, align 8, !tbaa !6
%29 = getelementptr inbounds %struct.TYPE_4__, ptr %28, i64 %3
%30 = icmp eq ptr %22, %29
br i1 %30, label %43, label %8, !llvm.loop !15
31: ; preds = %8, %23, %1
%32 = phi i32 [ 0, %1 ], [ %10, %23 ], [ %10, %8 ]
%33 = load ptr, ptr @metafile_bucket_bytes, align 8, !tbaa !6
%34 = getelementptr inbounds i64, ptr %33, i64 %3
%35 = load i64, ptr %34, align 8, !tbaa !13
%36 = load i64, ptr @max_metafiles_bytes, align 8, !tbaa !13
%37 = icmp sle i64 %35, %36
%38 = icmp ne i32 %32, 0
%39 = select i1 %37, i1 true, i1 %38
br i1 %39, label %43, label %40
40: ; preds = %31
%41 = load i32, ptr @metafiles, align 4, !tbaa !17
%42 = tail call i32 @vkprintf(i32 noundef 2, ptr noundef nonnull @.str, i64 noundef %36, i32 noundef %0, i64 noundef %35, i32 noundef %41) #2
br label %43
43: ; preds = %25, %40, %31
ret void
}
declare i32 @metafile_free(ptr noundef) local_unnamed_addr #1
declare i32 @vkprintf(i32 noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_4__", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !8, i64 0}
| kphp-kdb_storage_extr_storage-data.c_unload_metafiles |
; ModuleID = 'AnghaBench/linux/arch/x86/entry/vdso/extr_vma.c_vvar_fault.c'
source_filename = "AnghaBench/linux/arch/x86/entry/vdso/extr_vma.c_vvar_fault.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.vm_area_struct = type { i32, ptr }
%struct.vdso_image = type { i64, i64, i64, i64 }
%struct.vm_fault = type { i32, i32 }
@VM_FAULT_SIGBUS = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@__vvar_page = dso_local global i32 0, align 4
@VCLOCK_PVCLOCK = dso_local local_unnamed_addr global i32 0, align 4
@VCLOCK_HVCLOCK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vvar_fault], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vvar_fault(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = load i32, ptr @VM_FAULT_SIGBUS, align 4, !tbaa !14
br label %71
10: ; preds = %3
%11 = load i32, ptr %2, align 4, !tbaa !15
%12 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !14
%13 = shl i32 %11, %12
%14 = sext i32 %13 to i64
%15 = load i64, ptr %6, align 8, !tbaa !17
%16 = add nsw i64 %15, %14
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = load i32, ptr @VM_FAULT_SIGBUS, align 4, !tbaa !14
br label %71
20: ; preds = %10
%21 = getelementptr inbounds %struct.vdso_image, ptr %6, i64 0, i32 1
%22 = load i64, ptr %21, align 8, !tbaa !20
%23 = icmp eq i64 %16, %22
br i1 %23, label %24, label %31
24: ; preds = %20
%25 = getelementptr inbounds %struct.vm_fault, ptr %2, i64 0, i32 1
%26 = load i32, ptr %25, align 4, !tbaa !21
%27 = tail call i32 @__pa_symbol(ptr noundef nonnull @__vvar_page) #2
%28 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !14
%29 = ashr i32 %27, %28
%30 = tail call i32 @vmf_insert_pfn(ptr noundef nonnull %1, i32 noundef %26, i32 noundef %29) #2
br label %71
31: ; preds = %20
%32 = getelementptr inbounds %struct.vdso_image, ptr %6, i64 0, i32 2
%33 = load i64, ptr %32, align 8, !tbaa !22
%34 = icmp eq i64 %16, %33
br i1 %34, label %35, label %51
35: ; preds = %31
%36 = tail call ptr (...) @pvclock_get_pvti_cpu0_va() #2
%37 = icmp eq ptr %36, null
br i1 %37, label %69, label %38
38: ; preds = %35
%39 = load i32, ptr @VCLOCK_PVCLOCK, align 4, !tbaa !14
%40 = tail call i64 @vclock_was_used(i32 noundef %39) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %69, label %42
42: ; preds = %38
%43 = getelementptr inbounds %struct.vm_fault, ptr %2, i64 0, i32 1
%44 = load i32, ptr %43, align 4, !tbaa !21
%45 = tail call i32 @__pa(ptr noundef nonnull %36) #2
%46 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !14
%47 = ashr i32 %45, %46
%48 = load i32, ptr %1, align 8, !tbaa !23
%49 = tail call i32 @pgprot_decrypted(i32 noundef %48) #2
%50 = tail call i32 @vmf_insert_pfn_prot(ptr noundef nonnull %1, i32 noundef %44, i32 noundef %47, i32 noundef %49) #2
br label %71
51: ; preds = %31
%52 = getelementptr inbounds %struct.vdso_image, ptr %6, i64 0, i32 3
%53 = load i64, ptr %52, align 8, !tbaa !24
%54 = icmp eq i64 %16, %53
br i1 %54, label %55, label %69
55: ; preds = %51
%56 = tail call ptr (...) @hv_get_tsc_page() #2
%57 = icmp eq ptr %56, null
br i1 %57, label %69, label %58
58: ; preds = %55
%59 = load i32, ptr @VCLOCK_HVCLOCK, align 4, !tbaa !14
%60 = tail call i64 @vclock_was_used(i32 noundef %59) #2
%61 = icmp eq i64 %60, 0
br i1 %61, label %69, label %62
62: ; preds = %58
%63 = getelementptr inbounds %struct.vm_fault, ptr %2, i64 0, i32 1
%64 = load i32, ptr %63, align 4, !tbaa !21
%65 = tail call i32 @virt_to_phys(ptr noundef nonnull %56) #2
%66 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !14
%67 = ashr i32 %65, %66
%68 = tail call i32 @vmf_insert_pfn(ptr noundef nonnull %1, i32 noundef %64, i32 noundef %67) #2
br label %71
69: ; preds = %55, %58, %35, %38, %51
%70 = load i32, ptr @VM_FAULT_SIGBUS, align 4, !tbaa !14
br label %71
71: ; preds = %62, %42, %69, %24, %18, %8
%72 = phi i32 [ %19, %18 ], [ %30, %24 ], [ %70, %69 ], [ %50, %42 ], [ %68, %62 ], [ %9, %8 ]
ret i32 %72
}
declare i32 @vmf_insert_pfn(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__pa_symbol(ptr noundef) local_unnamed_addr #1
declare ptr @pvclock_get_pvti_cpu0_va(...) local_unnamed_addr #1
declare i64 @vclock_was_used(i32 noundef) local_unnamed_addr #1
declare i32 @vmf_insert_pfn_prot(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__pa(ptr noundef) local_unnamed_addr #1
declare i32 @pgprot_decrypted(i32 noundef) local_unnamed_addr #1
declare ptr @hv_get_tsc_page(...) local_unnamed_addr #1
declare i32 @virt_to_phys(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 = !{!"vm_area_struct", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !10, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"vm_fault", !7, i64 0, !7, i64 4}
!17 = !{!18, !19, i64 0}
!18 = !{!"vdso_image", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24}
!19 = !{!"long", !8, i64 0}
!20 = !{!18, !19, i64 8}
!21 = !{!16, !7, i64 4}
!22 = !{!18, !19, i64 16}
!23 = !{!6, !7, i64 0}
!24 = !{!18, !19, i64 24}
| ; ModuleID = 'AnghaBench/linux/arch/x86/entry/vdso/extr_vma.c_vvar_fault.c'
source_filename = "AnghaBench/linux/arch/x86/entry/vdso/extr_vma.c_vvar_fault.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VM_FAULT_SIGBUS = common local_unnamed_addr global i32 0, align 4
@PAGE_SHIFT = common local_unnamed_addr global i32 0, align 4
@__vvar_page = common global i32 0, align 4
@VCLOCK_PVCLOCK = common local_unnamed_addr global i32 0, align 4
@VCLOCK_HVCLOCK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vvar_fault], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vvar_fault(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = load i32, ptr @VM_FAULT_SIGBUS, align 4, !tbaa !15
br label %71
10: ; preds = %3
%11 = load i32, ptr %2, align 4, !tbaa !16
%12 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !15
%13 = shl i32 %11, %12
%14 = sext i32 %13 to i64
%15 = load i64, ptr %6, align 8, !tbaa !18
%16 = add nsw i64 %15, %14
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = load i32, ptr @VM_FAULT_SIGBUS, align 4, !tbaa !15
br label %71
20: ; preds = %10
%21 = getelementptr inbounds i8, ptr %6, i64 8
%22 = load i64, ptr %21, align 8, !tbaa !21
%23 = icmp eq i64 %16, %22
br i1 %23, label %24, label %31
24: ; preds = %20
%25 = getelementptr inbounds i8, ptr %2, i64 4
%26 = load i32, ptr %25, align 4, !tbaa !22
%27 = tail call i32 @__pa_symbol(ptr noundef nonnull @__vvar_page) #2
%28 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !15
%29 = ashr i32 %27, %28
%30 = tail call i32 @vmf_insert_pfn(ptr noundef nonnull %1, i32 noundef %26, i32 noundef %29) #2
br label %71
31: ; preds = %20
%32 = getelementptr inbounds i8, ptr %6, i64 16
%33 = load i64, ptr %32, align 8, !tbaa !23
%34 = icmp eq i64 %16, %33
br i1 %34, label %35, label %51
35: ; preds = %31
%36 = tail call ptr @pvclock_get_pvti_cpu0_va() #2
%37 = icmp eq ptr %36, null
br i1 %37, label %69, label %38
38: ; preds = %35
%39 = load i32, ptr @VCLOCK_PVCLOCK, align 4, !tbaa !15
%40 = tail call i64 @vclock_was_used(i32 noundef %39) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %69, label %42
42: ; preds = %38
%43 = getelementptr inbounds i8, ptr %2, i64 4
%44 = load i32, ptr %43, align 4, !tbaa !22
%45 = tail call i32 @__pa(ptr noundef nonnull %36) #2
%46 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !15
%47 = ashr i32 %45, %46
%48 = load i32, ptr %1, align 8, !tbaa !24
%49 = tail call i32 @pgprot_decrypted(i32 noundef %48) #2
%50 = tail call i32 @vmf_insert_pfn_prot(ptr noundef nonnull %1, i32 noundef %44, i32 noundef %47, i32 noundef %49) #2
br label %71
51: ; preds = %31
%52 = getelementptr inbounds i8, ptr %6, i64 24
%53 = load i64, ptr %52, align 8, !tbaa !25
%54 = icmp eq i64 %16, %53
br i1 %54, label %55, label %69
55: ; preds = %51
%56 = tail call ptr @hv_get_tsc_page() #2
%57 = icmp eq ptr %56, null
br i1 %57, label %69, label %58
58: ; preds = %55
%59 = load i32, ptr @VCLOCK_HVCLOCK, align 4, !tbaa !15
%60 = tail call i64 @vclock_was_used(i32 noundef %59) #2
%61 = icmp eq i64 %60, 0
br i1 %61, label %69, label %62
62: ; preds = %58
%63 = getelementptr inbounds i8, ptr %2, i64 4
%64 = load i32, ptr %63, align 4, !tbaa !22
%65 = tail call i32 @virt_to_phys(ptr noundef nonnull %56) #2
%66 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !15
%67 = ashr i32 %65, %66
%68 = tail call i32 @vmf_insert_pfn(ptr noundef nonnull %1, i32 noundef %64, i32 noundef %67) #2
br label %71
69: ; preds = %55, %58, %35, %38, %51
%70 = load i32, ptr @VM_FAULT_SIGBUS, align 4, !tbaa !15
br label %71
71: ; preds = %62, %42, %69, %24, %18, %8
%72 = phi i32 [ %19, %18 ], [ %30, %24 ], [ %70, %69 ], [ %50, %42 ], [ %68, %62 ], [ %9, %8 ]
ret i32 %72
}
declare i32 @vmf_insert_pfn(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__pa_symbol(ptr noundef) local_unnamed_addr #1
declare ptr @pvclock_get_pvti_cpu0_va(...) local_unnamed_addr #1
declare i64 @vclock_was_used(i32 noundef) local_unnamed_addr #1
declare i32 @vmf_insert_pfn_prot(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__pa(ptr noundef) local_unnamed_addr #1
declare i32 @pgprot_decrypted(i32 noundef) local_unnamed_addr #1
declare ptr @hv_get_tsc_page(...) local_unnamed_addr #1
declare i32 @virt_to_phys(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 = !{!"vm_area_struct", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"TYPE_3__", !11, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"vm_fault", !8, i64 0, !8, i64 4}
!18 = !{!19, !20, i64 0}
!19 = !{!"vdso_image", !20, i64 0, !20, i64 8, !20, i64 16, !20, i64 24}
!20 = !{!"long", !9, i64 0}
!21 = !{!19, !20, i64 8}
!22 = !{!17, !8, i64 4}
!23 = !{!19, !20, i64 16}
!24 = !{!7, !8, i64 0}
!25 = !{!19, !20, i64 24}
| linux_arch_x86_entry_vdso_extr_vma.c_vvar_fault |
; ModuleID = 'AnghaBench/linux/sound/core/seq/oss/extr_seq_oss_event.c_snd_seq_oss_event_input.c'
source_filename = "AnghaBench/linux/sound/core/seq/oss/extr_seq_oss_event.c_snd_seq_oss_event_input.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_seq_event = type { i64, i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i64 }
%struct.seq_oss_devinfo = type { i64, ptr, i32 }
@SNDRV_SEQ_EVENT_ECHO = dso_local local_unnamed_addr global i64 0, align 8
@SEQ_SYNCTIMER = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @snd_seq_oss_event_input(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i64, ptr %0, align 8, !tbaa !5
%7 = load i64, ptr @SNDRV_SEQ_EVENT_ECHO, align 8, !tbaa !12
%8 = icmp eq i64 %6, %7
br i1 %8, label %11, label %9
9: ; preds = %5
%10 = tail call i32 @snd_seq_oss_midi_input(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2) #2
br label %32
11: ; preds = %5
%12 = getelementptr inbounds %struct.snd_seq_event, ptr %0, i64 0, i32 2
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = load i64, ptr %2, align 8, !tbaa !14
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %32
16: ; preds = %11
%17 = getelementptr inbounds %struct.snd_seq_event, ptr %0, i64 0, i32 1
%18 = load i64, ptr %17, align 8
%19 = load i64, ptr @SEQ_SYNCTIMER, align 8, !tbaa !12
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %26
21: ; preds = %16
%22 = trunc i64 %18 to i32
%23 = getelementptr inbounds %struct.seq_oss_devinfo, ptr %2, i64 0, i32 2
%24 = load i32, ptr %23, align 8, !tbaa !17
%25 = tail call i32 @snd_seq_oss_writeq_wakeup(i32 noundef %24, i32 noundef %22) #2
br label %32
26: ; preds = %16
%27 = getelementptr inbounds %struct.seq_oss_devinfo, ptr %2, i64 0, i32 1
%28 = load ptr, ptr %27, align 8, !tbaa !18
%29 = icmp eq ptr %28, null
br i1 %29, label %32, label %30
30: ; preds = %26
%31 = tail call i32 @snd_seq_oss_readq_put_event(ptr noundef nonnull %28, ptr noundef nonnull %17) #2
br label %32
32: ; preds = %21, %30, %26, %11, %9
%33 = phi i32 [ %10, %9 ], [ 0, %11 ], [ 0, %26 ], [ 0, %30 ], [ 0, %21 ]
ret i32 %33
}
declare i32 @snd_seq_oss_midi_input(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snd_seq_oss_writeq_wakeup(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_seq_oss_readq_put_event(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_seq_event", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"TYPE_4__", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 16}
!14 = !{!15, !7, i64 0}
!15 = !{!"seq_oss_devinfo", !7, i64 0, !16, i64 8, !10, i64 16}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!15, !10, i64 16}
!18 = !{!15, !16, i64 8}
| ; ModuleID = 'AnghaBench/linux/sound/core/seq/oss/extr_seq_oss_event.c_snd_seq_oss_event_input.c'
source_filename = "AnghaBench/linux/sound/core/seq/oss/extr_seq_oss_event.c_snd_seq_oss_event_input.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SNDRV_SEQ_EVENT_ECHO = common local_unnamed_addr global i64 0, align 8
@SEQ_SYNCTIMER = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @snd_seq_oss_event_input(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i64, ptr %0, align 8, !tbaa !6
%7 = load i64, ptr @SNDRV_SEQ_EVENT_ECHO, align 8, !tbaa !13
%8 = icmp eq i64 %6, %7
br i1 %8, label %11, label %9
9: ; preds = %5
%10 = tail call i32 @snd_seq_oss_midi_input(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2) #2
br label %32
11: ; preds = %5
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load i64, ptr %12, align 8, !tbaa !14
%14 = load i64, ptr %2, align 8, !tbaa !15
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %32
16: ; preds = %11
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load i64, ptr %17, align 8
%19 = load i64, ptr @SEQ_SYNCTIMER, align 8, !tbaa !13
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %26
21: ; preds = %16
%22 = trunc i64 %18 to i32
%23 = getelementptr inbounds i8, ptr %2, i64 16
%24 = load i32, ptr %23, align 8, !tbaa !18
%25 = tail call i32 @snd_seq_oss_writeq_wakeup(i32 noundef %24, i32 noundef %22) #2
br label %32
26: ; preds = %16
%27 = getelementptr inbounds i8, ptr %2, i64 8
%28 = load ptr, ptr %27, align 8, !tbaa !19
%29 = icmp eq ptr %28, null
br i1 %29, label %32, label %30
30: ; preds = %26
%31 = tail call i32 @snd_seq_oss_readq_put_event(ptr noundef nonnull %28, ptr noundef nonnull %17) #2
br label %32
32: ; preds = %21, %30, %26, %11, %9
%33 = phi i32 [ %10, %9 ], [ 0, %11 ], [ 0, %26 ], [ 0, %30 ], [ 0, %21 ]
ret i32 %33
}
declare i32 @snd_seq_oss_midi_input(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snd_seq_oss_writeq_wakeup(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_seq_oss_readq_put_event(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_seq_event", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"TYPE_4__", !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 16}
!15 = !{!16, !8, i64 0}
!16 = !{!"seq_oss_devinfo", !8, i64 0, !17, i64 8, !11, i64 16}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!16, !11, i64 16}
!19 = !{!16, !17, i64 8}
| linux_sound_core_seq_oss_extr_seq_oss_event.c_snd_seq_oss_event_input |
; ModuleID = 'AnghaBench/linux/fs/gfs2/extr_bmap.c_gfs2_iomap_begin.c'
source_filename = "AnghaBench/linux/fs/gfs2/extr_bmap.c_gfs2_iomap_begin.c"
target datalayout = "e-m:e-p270:32:32-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.metapath = type { i32 }
%struct.iomap = type { i32, i32 }
@IOMAP_F_BUFFER_HEAD = dso_local local_unnamed_addr global i32 0, align 4
@IOMAP_DIRECT = dso_local local_unnamed_addr global i32 0, align 4
@IOMAP_MAPPED = dso_local local_unnamed_addr global i32 0, align 4
@ENOTBLK = dso_local local_unnamed_addr global i32 0, align 4
@IOMAP_HOLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gfs2_iomap_begin], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @gfs2_iomap_begin(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca %struct.metapath, align 4
%7 = tail call ptr @GFS2_I(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
store i32 1, ptr %6, align 4
%8 = load i32, ptr @IOMAP_F_BUFFER_HEAD, align 4, !tbaa !5
%9 = getelementptr inbounds %struct.iomap, ptr %4, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !9
%11 = or i32 %10, %8
store i32 %11, ptr %9, align 4, !tbaa !9
%12 = tail call i32 @trace_gfs2_iomap_start(ptr noundef %7, i32 noundef %1, i32 noundef %2, i32 noundef %3) #3
%13 = tail call i64 @gfs2_iomap_need_write_lock(i32 noundef %3) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %5
%16 = tail call i32 @gfs2_write_lock(ptr noundef %0) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %53
18: ; preds = %15, %5
%19 = call i32 @gfs2_iomap_get(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %6) #3
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %44
21: ; preds = %18
%22 = trunc i32 %3 to i8
%23 = and i8 %22, -127
switch i8 %23, label %50 [
i8 -127, label %24
i8 -128, label %35
]
24: ; preds = %21
%25 = load i32, ptr @IOMAP_DIRECT, align 4, !tbaa !5
%26 = and i32 %25, %3
%27 = icmp eq i32 %26, 0
br i1 %27, label %39, label %28
28: ; preds = %24
%29 = load i32, ptr %4, align 4, !tbaa !11
%30 = load i32, ptr @IOMAP_MAPPED, align 4, !tbaa !5
%31 = icmp eq i32 %29, %30
br i1 %31, label %50, label %32
32: ; preds = %28
%33 = load i32, ptr @ENOTBLK, align 4, !tbaa !5
%34 = sub nsw i32 0, %33
br label %41
35: ; preds = %21
%36 = load i32, ptr %4, align 4, !tbaa !11
%37 = load i32, ptr @IOMAP_HOLE, align 4, !tbaa !5
%38 = icmp eq i32 %36, %37
br i1 %38, label %50, label %39
39: ; preds = %35, %24
%40 = call i32 @gfs2_iomap_begin_write(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %6) #3
br label %41
41: ; preds = %32, %39
%42 = phi i32 [ %40, %39 ], [ %34, %32 ]
%43 = icmp eq i32 %42, 0
br i1 %43, label %50, label %44
44: ; preds = %18, %41
%45 = phi i32 [ %42, %41 ], [ %19, %18 ]
%46 = call i64 @gfs2_iomap_need_write_lock(i32 noundef %3) #3
%47 = icmp eq i64 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %44
%49 = call i32 @gfs2_write_unlock(ptr noundef %0) #3
br label %50
50: ; preds = %28, %35, %21, %48, %44, %41
%51 = phi i32 [ %45, %48 ], [ %45, %44 ], [ 0, %41 ], [ 0, %21 ], [ 0, %35 ], [ 0, %28 ]
%52 = call i32 @release_metapath(ptr noundef nonnull %6) #3
br label %53
53: ; preds = %15, %50
%54 = phi i32 [ %16, %15 ], [ %51, %50 ]
%55 = call i32 @trace_gfs2_iomap_end(ptr noundef %7, ptr noundef nonnull %4, i32 noundef %54) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %54
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @GFS2_I(ptr noundef) local_unnamed_addr #2
declare i32 @trace_gfs2_iomap_start(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @gfs2_iomap_need_write_lock(i32 noundef) local_unnamed_addr #2
declare i32 @gfs2_write_lock(ptr noundef) local_unnamed_addr #2
declare i32 @gfs2_iomap_get(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gfs2_iomap_begin_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gfs2_write_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @release_metapath(ptr noundef) local_unnamed_addr #2
declare i32 @trace_gfs2_iomap_end(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"iomap", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/gfs2/extr_bmap.c_gfs2_iomap_begin.c'
source_filename = "AnghaBench/linux/fs/gfs2/extr_bmap.c_gfs2_iomap_begin.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.metapath = type { i32 }
@IOMAP_F_BUFFER_HEAD = common local_unnamed_addr global i32 0, align 4
@IOMAP_DIRECT = common local_unnamed_addr global i32 0, align 4
@IOMAP_MAPPED = common local_unnamed_addr global i32 0, align 4
@ENOTBLK = common local_unnamed_addr global i32 0, align 4
@IOMAP_HOLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gfs2_iomap_begin], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @gfs2_iomap_begin(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca %struct.metapath, align 4
%7 = tail call ptr @GFS2_I(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
store i32 1, ptr %6, align 4
%8 = load i32, ptr @IOMAP_F_BUFFER_HEAD, align 4, !tbaa !6
%9 = getelementptr inbounds i8, ptr %4, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !10
%11 = or i32 %10, %8
store i32 %11, ptr %9, align 4, !tbaa !10
%12 = tail call i32 @trace_gfs2_iomap_start(ptr noundef %7, i32 noundef %1, i32 noundef %2, i32 noundef %3) #3
%13 = tail call i64 @gfs2_iomap_need_write_lock(i32 noundef %3) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %5
%16 = tail call i32 @gfs2_write_lock(ptr noundef %0) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %53
18: ; preds = %15, %5
%19 = call i32 @gfs2_iomap_get(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %6) #3
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %44
21: ; preds = %18
%22 = trunc i32 %3 to i8
%23 = and i8 %22, -127
switch i8 %23, label %50 [
i8 -127, label %24
i8 -128, label %35
]
24: ; preds = %21
%25 = load i32, ptr @IOMAP_DIRECT, align 4, !tbaa !6
%26 = and i32 %25, %3
%27 = icmp eq i32 %26, 0
br i1 %27, label %39, label %28
28: ; preds = %24
%29 = load i32, ptr %4, align 4, !tbaa !12
%30 = load i32, ptr @IOMAP_MAPPED, align 4, !tbaa !6
%31 = icmp eq i32 %29, %30
br i1 %31, label %50, label %32
32: ; preds = %28
%33 = load i32, ptr @ENOTBLK, align 4, !tbaa !6
%34 = sub nsw i32 0, %33
br label %41
35: ; preds = %21
%36 = load i32, ptr %4, align 4, !tbaa !12
%37 = load i32, ptr @IOMAP_HOLE, align 4, !tbaa !6
%38 = icmp eq i32 %36, %37
br i1 %38, label %50, label %39
39: ; preds = %35, %24
%40 = call i32 @gfs2_iomap_begin_write(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %6) #3
br label %41
41: ; preds = %32, %39
%42 = phi i32 [ %40, %39 ], [ %34, %32 ]
%43 = icmp eq i32 %42, 0
br i1 %43, label %50, label %44
44: ; preds = %18, %41
%45 = phi i32 [ %42, %41 ], [ %19, %18 ]
%46 = call i64 @gfs2_iomap_need_write_lock(i32 noundef %3) #3
%47 = icmp eq i64 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %44
%49 = call i32 @gfs2_write_unlock(ptr noundef %0) #3
br label %50
50: ; preds = %28, %35, %21, %48, %44, %41
%51 = phi i32 [ %45, %48 ], [ %45, %44 ], [ 0, %41 ], [ 0, %21 ], [ 0, %35 ], [ 0, %28 ]
%52 = call i32 @release_metapath(ptr noundef nonnull %6) #3
br label %53
53: ; preds = %15, %50
%54 = phi i32 [ %16, %15 ], [ %51, %50 ]
%55 = call i32 @trace_gfs2_iomap_end(ptr noundef %7, ptr noundef nonnull %4, i32 noundef %54) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %54
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @GFS2_I(ptr noundef) local_unnamed_addr #2
declare i32 @trace_gfs2_iomap_start(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @gfs2_iomap_need_write_lock(i32 noundef) local_unnamed_addr #2
declare i32 @gfs2_write_lock(ptr noundef) local_unnamed_addr #2
declare i32 @gfs2_iomap_get(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gfs2_iomap_begin_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gfs2_write_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @release_metapath(ptr noundef) local_unnamed_addr #2
declare i32 @trace_gfs2_iomap_end(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"iomap", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
| linux_fs_gfs2_extr_bmap.c_gfs2_iomap_begin |
; ModuleID = 'AnghaBench/freebsd/lib/libc/stdio/extr_xprintf_time.c___printf_arginfo_time.c'
source_filename = "AnghaBench/freebsd/lib/libc/stdio/extr_xprintf_time.c___printf_arginfo_time.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PA_POINTER = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @__printf_arginfo_time(ptr nocapture noundef readnone %0, i64 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = icmp ne i64 %1, 0
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #2
%7 = load i32, ptr @PA_POINTER, align 4, !tbaa !5
store i32 %7, ptr %2, align 4, !tbaa !5
ret i32 1
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/lib/libc/stdio/extr_xprintf_time.c___printf_arginfo_time.c'
source_filename = "AnghaBench/freebsd/lib/libc/stdio/extr_xprintf_time.c___printf_arginfo_time.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PA_POINTER = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @__printf_arginfo_time(ptr nocapture noundef readnone %0, i64 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = icmp ne i64 %1, 0
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #2
%7 = load i32, ptr @PA_POINTER, align 4, !tbaa !6
store i32 %7, ptr %2, align 4, !tbaa !6
ret i32 1
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_lib_libc_stdio_extr_xprintf_time.c___printf_arginfo_time |
; ModuleID = 'AnghaBench/linux/drivers/crypto/stm32/extr_stm32-hash.c_stm32_hash_wait_busy.c'
source_filename = "AnghaBench/linux/drivers/crypto/stm32/extr_stm32-hash.c_stm32_hash_wait_busy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HASH_SR = dso_local local_unnamed_addr global i64 0, align 8
@HASH_SR_BUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @stm32_hash_wait_busy], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @stm32_hash_wait_busy(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @HASH_SR, align 8, !tbaa !10
%4 = add nsw i64 %3, %2
%5 = tail call i32 @readl_relaxed_poll_timeout(i64 noundef %4, i32 noundef undef, i32 noundef 1, i32 noundef 10, i32 noundef 10000) #2
ret i32 %5
}
declare i32 @readl_relaxed_poll_timeout(i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"stm32_hash_dev", !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/drivers/crypto/stm32/extr_stm32-hash.c_stm32_hash_wait_busy.c'
source_filename = "AnghaBench/linux/drivers/crypto/stm32/extr_stm32-hash.c_stm32_hash_wait_busy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HASH_SR = common local_unnamed_addr global i64 0, align 8
@HASH_SR_BUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @stm32_hash_wait_busy], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @stm32_hash_wait_busy(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @HASH_SR, align 8, !tbaa !11
%4 = add nsw i64 %3, %2
%5 = tail call i32 @readl_relaxed_poll_timeout(i64 noundef %4, i32 noundef undef, i32 noundef 1, i32 noundef 10, i32 noundef 10000) #2
ret i32 %5
}
declare i32 @readl_relaxed_poll_timeout(i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"stm32_hash_dev", !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_drivers_crypto_stm32_extr_stm32-hash.c_stm32_hash_wait_busy |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/sti/extr_sti_drv.c_compare_of.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/sti/extr_sti_drv.c_compare_of.c"
target datalayout = "e-m:e-p270:32:32-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 @compare_of], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @compare_of(ptr nocapture noundef readonly %0, ptr noundef readnone %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %3, %1
%5 = zext i1 %4 to i32
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/sti/extr_sti_drv.c_compare_of.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/sti/extr_sti_drv.c_compare_of.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 @compare_of], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @compare_of(ptr nocapture noundef readonly %0, ptr noundef readnone %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %3, %1
%5 = zext i1 %4 to i32
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_sti_extr_sti_drv.c_compare_of |
; ModuleID = 'AnghaBench/reactos/base/applications/calc/extr_winmain.c_convert_text2number.c'
source_filename = "AnghaBench/reactos/base/applications/calc/extr_winmain.c_convert_text2number.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, i64, i32 }
@calc = dso_local global %struct.TYPE_2__ zeroinitializer, align 8
@.str = private unnamed_addr constant [3 x i8] c"0.\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @convert_text2number], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @convert_text2number(ptr noundef %0) #0 {
%2 = load i64, ptr @calc, align 8, !tbaa !5
%3 = load i64, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @calc, i64 0, i32 1), align 8, !tbaa !11
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %18
5: ; preds = %1
%6 = tail call i32 @_T(ptr noundef nonnull @.str) #2
%7 = tail call i32 @_tcscmp(i64 noundef %2, i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %5
%10 = load i64, ptr @calc, align 8, !tbaa !5
%11 = tail call i32 @_T(ptr noundef nonnull @.str.1) #2
%12 = tail call i32 @_tcscmp(i64 noundef %10, i32 noundef %11) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %9, %5
%15 = tail call i32 @rpn_zero(ptr noundef %0) #2
br label %21
16: ; preds = %9
%17 = tail call i32 @rpn_copy(ptr noundef %0, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @calc, i64 0, i32 2)) #2
br label %21
18: ; preds = %1
%19 = tail call i32 @rpn_zero(ptr noundef %0) #2
%20 = tail call i32 @convert_text2number_2(ptr noundef %0) #2
br label %21
21: ; preds = %14, %16, %18
ret void
}
declare i32 @_tcscmp(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @_T(ptr noundef) local_unnamed_addr #1
declare i32 @rpn_zero(ptr noundef) local_unnamed_addr #1
declare i32 @rpn_copy(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @convert_text2number_2(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, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/reactos/base/applications/calc/extr_winmain.c_convert_text2number.c'
source_filename = "AnghaBench/reactos/base/applications/calc/extr_winmain.c_convert_text2number.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64, i64, i32 }
@calc = common global %struct.TYPE_2__ zeroinitializer, align 8
@.str = private unnamed_addr constant [3 x i8] c"0.\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @convert_text2number], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @convert_text2number(ptr noundef %0) #0 {
%2 = load i64, ptr @calc, align 8, !tbaa !6
%3 = load i64, ptr getelementptr inbounds (i8, ptr @calc, i64 8), align 8, !tbaa !12
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %18
5: ; preds = %1
%6 = tail call i32 @_T(ptr noundef nonnull @.str) #2
%7 = tail call i32 @_tcscmp(i64 noundef %2, i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %5
%10 = load i64, ptr @calc, align 8, !tbaa !6
%11 = tail call i32 @_T(ptr noundef nonnull @.str.1) #2
%12 = tail call i32 @_tcscmp(i64 noundef %10, i32 noundef %11) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %9, %5
%15 = tail call i32 @rpn_zero(ptr noundef %0) #2
br label %21
16: ; preds = %9
%17 = tail call i32 @rpn_copy(ptr noundef %0, ptr noundef nonnull getelementptr inbounds (i8, ptr @calc, i64 16)) #2
br label %21
18: ; preds = %1
%19 = tail call i32 @rpn_zero(ptr noundef %0) #2
%20 = tail call i32 @convert_text2number_2(ptr noundef %0) #2
br label %21
21: ; preds = %14, %16, %18
ret void
}
declare i32 @_tcscmp(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @_T(ptr noundef) local_unnamed_addr #1
declare i32 @rpn_zero(ptr noundef) local_unnamed_addr #1
declare i32 @rpn_copy(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @convert_text2number_2(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, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 8}
| reactos_base_applications_calc_extr_winmain.c_convert_text2number |
; ModuleID = 'AnghaBench/linux/drivers/tty/extr_n_tty.c_do_output_char.c'
source_filename = "AnghaBench/linux/drivers/tty/extr_n_tty.c_do_output_char.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.tty_struct = type { ptr, ptr }
%struct.n_tty_data = type { i32, i32 }
@.str = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@XTABS = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c" \00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_output_char], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @do_output_char(i8 noundef zeroext %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.tty_struct, ptr %1, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp eq i32 %2, 0
br i1 %6, label %82, label %7
7: ; preds = %3
switch i8 %0, label %64 [
i8 10, label %8
i8 13, label %25
i8 9, label %41
i8 8, label %59
]
8: ; preds = %7
%9 = tail call i32 @O_ONLRET(ptr noundef nonnull %1) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %8
store i32 0, ptr %5, align 4, !tbaa !10
br label %12
12: ; preds = %11, %8
%13 = tail call i32 @O_ONLCR(ptr noundef nonnull %1) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %22, label %15
15: ; preds = %12
%16 = icmp slt i32 %2, 2
br i1 %16, label %82, label %17
17: ; preds = %15
store i32 0, ptr %5, align 4, !tbaa !10
%18 = getelementptr inbounds %struct.n_tty_data, ptr %5, i64 0, i32 1
store i32 0, ptr %18, align 4, !tbaa !13
%19 = load ptr, ptr %1, align 8, !tbaa !14
%20 = load ptr, ptr %19, align 8, !tbaa !15
%21 = tail call i32 %20(ptr noundef nonnull %1, ptr noundef nonnull @.str, i32 noundef 2) #2
br label %82
22: ; preds = %12
%23 = load i32, ptr %5, align 4, !tbaa !10
%24 = getelementptr inbounds %struct.n_tty_data, ptr %5, i64 0, i32 1
store i32 %23, ptr %24, align 4, !tbaa !13
br label %79
25: ; preds = %7
%26 = tail call i32 @O_ONOCR(ptr noundef nonnull %1) #2
%27 = icmp eq i32 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %25
%29 = load i32, ptr %5, align 4, !tbaa !10
%30 = icmp eq i32 %29, 0
br i1 %30, label %82, label %31
31: ; preds = %28, %25
%32 = tail call i32 @O_OCRNL(ptr noundef nonnull %1) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %39, label %34
34: ; preds = %31
%35 = tail call i32 @O_ONLRET(ptr noundef nonnull %1) #2
%36 = icmp eq i32 %35, 0
br i1 %36, label %79, label %37
37: ; preds = %34
store i32 0, ptr %5, align 4, !tbaa !10
%38 = getelementptr inbounds %struct.n_tty_data, ptr %5, i64 0, i32 1
store i32 0, ptr %38, align 4, !tbaa !13
br label %79
39: ; preds = %31
store i32 0, ptr %5, align 4, !tbaa !10
%40 = getelementptr inbounds %struct.n_tty_data, ptr %5, i64 0, i32 1
store i32 0, ptr %40, align 4, !tbaa !13
br label %79
41: ; preds = %7
%42 = load i32, ptr %5, align 4, !tbaa !10
%43 = and i32 %42, 7
%44 = sub nuw nsw i32 8, %43
%45 = tail call i32 @O_TABDLY(ptr noundef nonnull %1) #2
%46 = load i32, ptr @XTABS, align 4, !tbaa !17
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %56
48: ; preds = %41
%49 = icmp sgt i32 %44, %2
br i1 %49, label %82, label %50
50: ; preds = %48
%51 = load i32, ptr %5, align 4, !tbaa !10
%52 = add nsw i32 %51, %44
store i32 %52, ptr %5, align 4, !tbaa !10
%53 = load ptr, ptr %1, align 8, !tbaa !14
%54 = load ptr, ptr %53, align 8, !tbaa !15
%55 = tail call i32 %54(ptr noundef nonnull %1, ptr noundef nonnull @.str.1, i32 noundef %44) #2
br label %82
56: ; preds = %41
%57 = load i32, ptr %5, align 4, !tbaa !10
%58 = add nsw i32 %57, %44
store i32 %58, ptr %5, align 4, !tbaa !10
br label %79
59: ; preds = %7
%60 = load i32, ptr %5, align 4, !tbaa !10
%61 = icmp sgt i32 %60, 0
br i1 %61, label %62, label %79
62: ; preds = %59
%63 = add nsw i32 %60, -1
store i32 %63, ptr %5, align 4, !tbaa !10
br label %79
64: ; preds = %7
%65 = tail call i32 @iscntrl(i8 noundef zeroext %0) #2
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %79
67: ; preds = %64
%68 = tail call i32 @O_OLCUC(ptr noundef nonnull %1) #2
%69 = icmp eq i32 %68, 0
br i1 %69, label %72, label %70
70: ; preds = %67
%71 = tail call zeroext i8 @toupper(i8 noundef zeroext %0) #2
br label %72
72: ; preds = %70, %67
%73 = phi i8 [ %71, %70 ], [ %0, %67 ]
%74 = tail call i32 @is_continuation(i8 noundef zeroext %73, ptr noundef nonnull %1) #2
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %79
76: ; preds = %72
%77 = load i32, ptr %5, align 4, !tbaa !10
%78 = add nsw i32 %77, 1
store i32 %78, ptr %5, align 4, !tbaa !10
br label %79
79: ; preds = %64, %76, %72, %59, %62, %34, %37, %56, %39, %22
%80 = phi i8 [ %0, %64 ], [ %73, %72 ], [ %73, %76 ], [ 8, %62 ], [ 8, %59 ], [ 9, %56 ], [ 10, %37 ], [ 10, %34 ], [ 13, %39 ], [ 10, %22 ]
%81 = tail call i32 @tty_put_char(ptr noundef nonnull %1, i8 noundef zeroext %80) #2
br label %82
82: ; preds = %48, %28, %15, %3, %79, %50, %17
%83 = phi i32 [ 1, %79 ], [ %44, %50 ], [ 2, %17 ], [ -1, %3 ], [ -1, %15 ], [ 0, %28 ], [ -1, %48 ]
ret i32 %83
}
declare i32 @O_ONLRET(ptr noundef) local_unnamed_addr #1
declare i32 @O_ONLCR(ptr noundef) local_unnamed_addr #1
declare i32 @O_ONOCR(ptr noundef) local_unnamed_addr #1
declare i32 @O_OCRNL(ptr noundef) local_unnamed_addr #1
declare i32 @O_TABDLY(ptr noundef) local_unnamed_addr #1
declare i32 @iscntrl(i8 noundef zeroext) local_unnamed_addr #1
declare i32 @O_OLCUC(ptr noundef) local_unnamed_addr #1
declare zeroext i8 @toupper(i8 noundef zeroext) local_unnamed_addr #1
declare i32 @is_continuation(i8 noundef zeroext, ptr noundef) local_unnamed_addr #1
declare i32 @tty_put_char(ptr noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"tty_struct", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"n_tty_data", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 4}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_2__", !7, i64 0}
!17 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/extr_n_tty.c_do_output_char.c'
source_filename = "AnghaBench/linux/drivers/tty/extr_n_tty.c_do_output_char.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@XTABS = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c" \00", align 1
@llvm.used = appending global [1 x ptr] [ptr @do_output_char], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 9) i32 @do_output_char(i8 noundef zeroext %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp eq i32 %2, 0
br i1 %6, label %79, label %7
7: ; preds = %3
switch i8 %0, label %61 [
i8 10, label %8
i8 13, label %24
i8 9, label %38
i8 8, label %56
]
8: ; preds = %7
%9 = tail call i32 @O_ONLRET(ptr noundef nonnull %1) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %8
store i32 0, ptr %5, align 4, !tbaa !11
br label %12
12: ; preds = %11, %8
%13 = tail call i32 @O_ONLCR(ptr noundef nonnull %1) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %21, label %15
15: ; preds = %12
%16 = icmp slt i32 %2, 2
br i1 %16, label %79, label %17
17: ; preds = %15
store <2 x i32> zeroinitializer, ptr %5, align 4, !tbaa !14
%18 = load ptr, ptr %1, align 8, !tbaa !15
%19 = load ptr, ptr %18, align 8, !tbaa !16
%20 = tail call i32 %19(ptr noundef nonnull %1, ptr noundef nonnull @.str, i32 noundef 2) #2
br label %79
21: ; preds = %12
%22 = load i32, ptr %5, align 4, !tbaa !11
%23 = getelementptr inbounds i8, ptr %5, i64 4
store i32 %22, ptr %23, align 4, !tbaa !18
br label %76
24: ; preds = %7
%25 = tail call i32 @O_ONOCR(ptr noundef nonnull %1) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %24
%28 = load i32, ptr %5, align 4, !tbaa !11
%29 = icmp eq i32 %28, 0
br i1 %29, label %79, label %30
30: ; preds = %27, %24
%31 = tail call i32 @O_OCRNL(ptr noundef nonnull %1) #2
%32 = icmp eq i32 %31, 0
br i1 %32, label %37, label %33
33: ; preds = %30
%34 = tail call i32 @O_ONLRET(ptr noundef nonnull %1) #2
%35 = icmp eq i32 %34, 0
br i1 %35, label %76, label %36
36: ; preds = %33
store <2 x i32> zeroinitializer, ptr %5, align 4, !tbaa !14
br label %76
37: ; preds = %30
store <2 x i32> zeroinitializer, ptr %5, align 4, !tbaa !14
br label %76
38: ; preds = %7
%39 = load i32, ptr %5, align 4, !tbaa !11
%40 = and i32 %39, 7
%41 = sub nuw nsw i32 8, %40
%42 = tail call i32 @O_TABDLY(ptr noundef nonnull %1) #2
%43 = load i32, ptr @XTABS, align 4, !tbaa !14
%44 = icmp eq i32 %42, %43
br i1 %44, label %45, label %53
45: ; preds = %38
%46 = icmp sgt i32 %41, %2
br i1 %46, label %79, label %47
47: ; preds = %45
%48 = load i32, ptr %5, align 4, !tbaa !11
%49 = add nsw i32 %48, %41
store i32 %49, ptr %5, align 4, !tbaa !11
%50 = load ptr, ptr %1, align 8, !tbaa !15
%51 = load ptr, ptr %50, align 8, !tbaa !16
%52 = tail call i32 %51(ptr noundef nonnull %1, ptr noundef nonnull @.str.1, i32 noundef %41) #2
br label %79
53: ; preds = %38
%54 = load i32, ptr %5, align 4, !tbaa !11
%55 = add nsw i32 %54, %41
store i32 %55, ptr %5, align 4, !tbaa !11
br label %76
56: ; preds = %7
%57 = load i32, ptr %5, align 4, !tbaa !11
%58 = icmp sgt i32 %57, 0
br i1 %58, label %59, label %76
59: ; preds = %56
%60 = add nsw i32 %57, -1
store i32 %60, ptr %5, align 4, !tbaa !11
br label %76
61: ; preds = %7
%62 = tail call i32 @iscntrl(i8 noundef zeroext %0) #2
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %76
64: ; preds = %61
%65 = tail call i32 @O_OLCUC(ptr noundef nonnull %1) #2
%66 = icmp eq i32 %65, 0
br i1 %66, label %69, label %67
67: ; preds = %64
%68 = tail call zeroext i8 @toupper(i8 noundef zeroext %0) #2
br label %69
69: ; preds = %67, %64
%70 = phi i8 [ %68, %67 ], [ %0, %64 ]
%71 = tail call i32 @is_continuation(i8 noundef zeroext %70, ptr noundef nonnull %1) #2
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %76
73: ; preds = %69
%74 = load i32, ptr %5, align 4, !tbaa !11
%75 = add nsw i32 %74, 1
store i32 %75, ptr %5, align 4, !tbaa !11
br label %76
76: ; preds = %61, %73, %69, %56, %59, %33, %36, %53, %37, %21
%77 = phi i8 [ %0, %61 ], [ %70, %69 ], [ %70, %73 ], [ 8, %59 ], [ 8, %56 ], [ 9, %53 ], [ 10, %36 ], [ 10, %33 ], [ 13, %37 ], [ 10, %21 ]
%78 = tail call i32 @tty_put_char(ptr noundef nonnull %1, i8 noundef zeroext %77) #2
br label %79
79: ; preds = %45, %27, %15, %3, %76, %47, %17
%80 = phi i32 [ 1, %76 ], [ %41, %47 ], [ 2, %17 ], [ -1, %3 ], [ -1, %15 ], [ 0, %27 ], [ -1, %45 ]
ret i32 %80
}
declare i32 @O_ONLRET(ptr noundef) local_unnamed_addr #1
declare i32 @O_ONLCR(ptr noundef) local_unnamed_addr #1
declare i32 @O_ONOCR(ptr noundef) local_unnamed_addr #1
declare i32 @O_OCRNL(ptr noundef) local_unnamed_addr #1
declare i32 @O_TABDLY(ptr noundef) local_unnamed_addr #1
declare i32 @iscntrl(i8 noundef zeroext) local_unnamed_addr #1
declare i32 @O_OLCUC(ptr noundef) local_unnamed_addr #1
declare zeroext i8 @toupper(i8 noundef zeroext) local_unnamed_addr #1
declare i32 @is_continuation(i8 noundef zeroext, ptr noundef) local_unnamed_addr #1
declare i32 @tty_put_char(ptr noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"tty_struct", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"n_tty_data", !13, i64 0, !13, i64 4}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_2__", !8, i64 0}
!18 = !{!12, !13, i64 4}
| linux_drivers_tty_extr_n_tty.c_do_output_char |
; ModuleID = 'AnghaBench/qmk_firmware/users/drashna/extr_drashna.c_shutdown_keymap.c'
source_filename = "AnghaBench/qmk_firmware/users/drashna/extr_drashna.c_shutdown_keymap.c"
target datalayout = "e-m:e-p270:32:32-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 weak dso_local void @shutdown_keymap() local_unnamed_addr #0 {
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" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/qmk_firmware/users/drashna/extr_drashna.c_shutdown_keymap.c'
source_filename = "AnghaBench/qmk_firmware/users/drashna/extr_drashna.c_shutdown_keymap.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 weak void @shutdown_keymap() local_unnamed_addr #0 {
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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| qmk_firmware_users_drashna_extr_drashna.c_shutdown_keymap |
; ModuleID = 'AnghaBench/linux/sound/pci/ctxfi/extr_ctsrc.c_src_set_state.c'
source_filename = "AnghaBench/linux/sound/pci/ctxfi/extr_ctsrc.c_src_set_state.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @src_set_state], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @src_set_state(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load i32, ptr %0, align 8, !tbaa !14
%7 = tail call i32 %5(i32 noundef %6, i32 noundef %1) #1
ret i32 0
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !11, i64 8}
!6 = !{!"src", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"hw", !11, i64 0}
!14 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/pci/ctxfi/extr_ctsrc.c_src_set_state.c'
source_filename = "AnghaBench/linux/sound/pci/ctxfi/extr_ctsrc.c_src_set_state.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 @src_set_state], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @src_set_state(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 ptr, ptr %4, align 8, !tbaa !13
%6 = load i32, ptr %0, align 8, !tbaa !15
%7 = tail call i32 %5(i32 noundef %6, i32 noundef %1) #1
ret i32 0
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !12, i64 8}
!7 = !{!"src", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"hw", !12, i64 0}
!15 = !{!7, !9, i64 0}
| linux_sound_pci_ctxfi_extr_ctsrc.c_src_set_state |
; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/dpio/extr_qbman-portal.c_qbman_bp_info_num_free_bufs.c'
source_filename = "AnghaBench/linux/drivers/soc/fsl/dpio/extr_qbman-portal.c_qbman_bp_info_num_free_bufs.c"
target datalayout = "e-m:e-p270:32:32-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 @qbman_bp_info_num_free_bufs(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @le32_to_cpu(i32 noundef %2) #2
ret i32 %3
}
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"qbman_bp_query_rslt", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/dpio/extr_qbman-portal.c_qbman_bp_info_num_free_bufs.c'
source_filename = "AnghaBench/linux/drivers/soc/fsl/dpio/extr_qbman-portal.c_qbman_bp_info_num_free_bufs.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 @qbman_bp_info_num_free_bufs(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @le32_to_cpu(i32 noundef %2) #2
ret i32 %3
}
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"qbman_bp_query_rslt", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_soc_fsl_dpio_extr_qbman-portal.c_qbman_bp_info_num_free_bufs |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx88/extr_cx88-core.c_norm_hdelay.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx88/extr_cx88-core.c_norm_hdelay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@V4L2_STD_MN = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_STD_PAL_Nc = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @norm_hdelay], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @norm_hdelay(i32 noundef %0) #0 {
%2 = load i32, ptr @V4L2_STD_MN, align 4, !tbaa !5
%3 = load i32, ptr @V4L2_STD_PAL_Nc, align 4, !tbaa !5
%4 = xor i32 %3, -1
%5 = and i32 %2, %0
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
%8 = select i1 %7, i32 186, i32 135
ret i32 %8
}
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/media/video/cx88/extr_cx88-core.c_norm_hdelay.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx88/extr_cx88-core.c_norm_hdelay.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@V4L2_STD_MN = common local_unnamed_addr global i32 0, align 4
@V4L2_STD_PAL_Nc = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @norm_hdelay], 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 135, 187) i32 @norm_hdelay(i32 noundef %0) #0 {
%2 = load i32, ptr @V4L2_STD_MN, align 4, !tbaa !6
%3 = load i32, ptr @V4L2_STD_PAL_Nc, align 4, !tbaa !6
%4 = xor i32 %3, -1
%5 = and i32 %2, %0
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
%8 = select i1 %7, i32 186, i32 135
ret i32 %8
}
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_media_video_cx88_extr_cx88-core.c_norm_hdelay |
; ModuleID = 'AnghaBench/linux/net/vmw_vsock/extr_af_vsock.c___vsock_bind_stream.c'
source_filename = "AnghaBench/linux/net/vmw_vsock/extr_af_vsock.c___vsock_bind_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.sockaddr_vm = type { i64, i32 }
@__vsock_bind_stream.port = internal unnamed_addr global i64 0, align 8
@LAST_RESERVED_PORT = dso_local local_unnamed_addr global i64 0, align 8
@U32_MAX = dso_local local_unnamed_addr global i64 0, align 8
@VMADDR_PORT_ANY = dso_local local_unnamed_addr global i64 0, align 8
@MAX_PORT_RETRIES = dso_local local_unnamed_addr global i32 0, align 4
@EADDRNOTAVAIL = dso_local local_unnamed_addr global i32 0, align 4
@CAP_NET_BIND_SERVICE = dso_local local_unnamed_addr global i32 0, align 4
@EACCES = dso_local local_unnamed_addr global i32 0, align 4
@EADDRINUSE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__vsock_bind_stream], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__vsock_bind_stream(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca %struct.sockaddr_vm, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = load i64, ptr @__vsock_bind_stream.port, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %13
6: ; preds = %2
%7 = load i64, ptr @LAST_RESERVED_PORT, align 8, !tbaa !5
%8 = add nsw i64 %7, 1
%9 = load i64, ptr @U32_MAX, align 8, !tbaa !5
%10 = sub nsw i64 %9, %7
%11 = tail call i64 @prandom_u32_max(i64 noundef %10) #3
%12 = add nsw i64 %8, %11
store i64 %12, ptr @__vsock_bind_stream.port, align 8, !tbaa !5
br label %13
13: ; preds = %6, %2
%14 = getelementptr inbounds %struct.sockaddr_vm, ptr %1, i64 0, i32 1
%15 = load i32, ptr %14, align 8, !tbaa !9
%16 = load i64, ptr %1, align 8, !tbaa !12
%17 = call i32 @vsock_addr_init(ptr noundef nonnull %3, i32 noundef %15, i64 noundef %16) #3
%18 = load i64, ptr %1, align 8, !tbaa !12
%19 = load i64, ptr @VMADDR_PORT_ANY, align 8, !tbaa !5
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %41
21: ; preds = %13
%22 = load i32, ptr @MAX_PORT_RETRIES, align 4, !tbaa !13
%23 = icmp eq i32 %22, 0
br i1 %23, label %38, label %28
24: ; preds = %28
%25 = add nuw i32 %29, 1
%26 = load i32, ptr @MAX_PORT_RETRIES, align 4, !tbaa !13
%27 = icmp ult i32 %25, %26
br i1 %27, label %28, label %38, !llvm.loop !14
28: ; preds = %21, %24
%29 = phi i32 [ %25, %24 ], [ 0, %21 ]
%30 = load i64, ptr @__vsock_bind_stream.port, align 8, !tbaa !5
%31 = load i64, ptr @LAST_RESERVED_PORT, align 8, !tbaa !5
%32 = icmp sgt i64 %30, %31
%33 = add nsw i64 %31, 1
%34 = select i1 %32, i64 %30, i64 %33
%35 = add nsw i64 %34, 1
store i64 %35, ptr @__vsock_bind_stream.port, align 8, !tbaa !5
store i64 %34, ptr %3, align 8, !tbaa !12
%36 = call i64 @__vsock_find_bound_socket(ptr noundef nonnull %3) #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %57, label %24
38: ; preds = %24, %21
%39 = load i32, ptr @EADDRNOTAVAIL, align 4, !tbaa !13
%40 = sub nsw i32 0, %39
br label %65
41: ; preds = %13
%42 = load i64, ptr @LAST_RESERVED_PORT, align 8, !tbaa !5
%43 = icmp sgt i64 %18, %42
br i1 %43, label %51, label %44
44: ; preds = %41
%45 = load i32, ptr @CAP_NET_BIND_SERVICE, align 4, !tbaa !13
%46 = call i32 @capable(i32 noundef %45) #3
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = load i32, ptr @EACCES, align 4, !tbaa !13
%50 = sub nsw i32 0, %49
br label %65
51: ; preds = %44, %41
%52 = call i64 @__vsock_find_bound_socket(ptr noundef nonnull %3) #3
%53 = icmp eq i64 %52, 0
br i1 %53, label %57, label %54
54: ; preds = %51
%55 = load i32, ptr @EADDRINUSE, align 4, !tbaa !13
%56 = sub nsw i32 0, %55
br label %65
57: ; preds = %28, %51
%58 = getelementptr inbounds %struct.sockaddr_vm, ptr %3, i64 0, i32 1
%59 = load i32, ptr %58, align 8, !tbaa !9
%60 = load i64, ptr %3, align 8, !tbaa !12
%61 = call i32 @vsock_addr_init(ptr noundef %0, i32 noundef %59, i64 noundef %60) #3
%62 = call i32 @__vsock_remove_bound(ptr noundef %0) #3
%63 = call i32 @vsock_bound_sockets(ptr noundef %0) #3
%64 = call i32 @__vsock_insert_bound(i32 noundef %63, ptr noundef %0) #3
br label %65
65: ; preds = %38, %57, %54, %48
%66 = phi i32 [ 0, %57 ], [ %40, %38 ], [ %56, %54 ], [ %50, %48 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @prandom_u32_max(i64 noundef) local_unnamed_addr #2
declare i32 @vsock_addr_init(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i64 @__vsock_find_bound_socket(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @capable(i32 noundef) local_unnamed_addr #2
declare i32 @__vsock_remove_bound(ptr noundef) local_unnamed_addr #2
declare i32 @__vsock_insert_bound(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @vsock_bound_sockets(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"sockaddr_vm", !6, i64 0, !11, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/net/vmw_vsock/extr_af_vsock.c___vsock_bind_stream.c'
source_filename = "AnghaBench/linux/net/vmw_vsock/extr_af_vsock.c___vsock_bind_stream.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sockaddr_vm = type { i64, i32 }
@__vsock_bind_stream.port = internal unnamed_addr global i64 0, align 8
@LAST_RESERVED_PORT = common local_unnamed_addr global i64 0, align 8
@U32_MAX = common local_unnamed_addr global i64 0, align 8
@VMADDR_PORT_ANY = common local_unnamed_addr global i64 0, align 8
@MAX_PORT_RETRIES = common local_unnamed_addr global i32 0, align 4
@EADDRNOTAVAIL = common local_unnamed_addr global i32 0, align 4
@CAP_NET_BIND_SERVICE = common local_unnamed_addr global i32 0, align 4
@EACCES = common local_unnamed_addr global i32 0, align 4
@EADDRINUSE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__vsock_bind_stream], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__vsock_bind_stream(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca %struct.sockaddr_vm, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = load i64, ptr @__vsock_bind_stream.port, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %13
6: ; preds = %2
%7 = load i64, ptr @LAST_RESERVED_PORT, align 8, !tbaa !6
%8 = add nsw i64 %7, 1
%9 = load i64, ptr @U32_MAX, align 8, !tbaa !6
%10 = sub nsw i64 %9, %7
%11 = tail call i64 @prandom_u32_max(i64 noundef %10) #3
%12 = add nsw i64 %8, %11
store i64 %12, ptr @__vsock_bind_stream.port, align 8, !tbaa !6
br label %13
13: ; preds = %6, %2
%14 = getelementptr inbounds i8, ptr %1, i64 8
%15 = load i32, ptr %14, align 8, !tbaa !10
%16 = load i64, ptr %1, align 8, !tbaa !13
%17 = call i32 @vsock_addr_init(ptr noundef nonnull %3, i32 noundef %15, i64 noundef %16) #3
%18 = load i64, ptr %1, align 8, !tbaa !13
%19 = load i64, ptr @VMADDR_PORT_ANY, align 8, !tbaa !6
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %41
21: ; preds = %13
%22 = load i32, ptr @MAX_PORT_RETRIES, align 4, !tbaa !14
%23 = icmp eq i32 %22, 0
br i1 %23, label %38, label %28
24: ; preds = %28
%25 = add nuw i32 %29, 1
%26 = load i32, ptr @MAX_PORT_RETRIES, align 4, !tbaa !14
%27 = icmp ult i32 %25, %26
br i1 %27, label %28, label %38, !llvm.loop !15
28: ; preds = %21, %24
%29 = phi i32 [ %25, %24 ], [ 0, %21 ]
%30 = load i64, ptr @__vsock_bind_stream.port, align 8, !tbaa !6
%31 = load i64, ptr @LAST_RESERVED_PORT, align 8, !tbaa !6
%32 = icmp sgt i64 %30, %31
%33 = add nsw i64 %31, 1
%34 = select i1 %32, i64 %30, i64 %33
%35 = add nsw i64 %34, 1
store i64 %35, ptr @__vsock_bind_stream.port, align 8, !tbaa !6
store i64 %34, ptr %3, align 8, !tbaa !13
%36 = call i64 @__vsock_find_bound_socket(ptr noundef nonnull %3) #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %57, label %24
38: ; preds = %24, %21
%39 = load i32, ptr @EADDRNOTAVAIL, align 4, !tbaa !14
%40 = sub nsw i32 0, %39
br label %65
41: ; preds = %13
%42 = load i64, ptr @LAST_RESERVED_PORT, align 8, !tbaa !6
%43 = icmp sgt i64 %18, %42
br i1 %43, label %51, label %44
44: ; preds = %41
%45 = load i32, ptr @CAP_NET_BIND_SERVICE, align 4, !tbaa !14
%46 = call i32 @capable(i32 noundef %45) #3
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = load i32, ptr @EACCES, align 4, !tbaa !14
%50 = sub nsw i32 0, %49
br label %65
51: ; preds = %44, %41
%52 = call i64 @__vsock_find_bound_socket(ptr noundef nonnull %3) #3
%53 = icmp eq i64 %52, 0
br i1 %53, label %57, label %54
54: ; preds = %51
%55 = load i32, ptr @EADDRINUSE, align 4, !tbaa !14
%56 = sub nsw i32 0, %55
br label %65
57: ; preds = %28, %51
%58 = getelementptr inbounds i8, ptr %3, i64 8
%59 = load i32, ptr %58, align 8, !tbaa !10
%60 = load i64, ptr %3, align 8, !tbaa !13
%61 = call i32 @vsock_addr_init(ptr noundef %0, i32 noundef %59, i64 noundef %60) #3
%62 = call i32 @__vsock_remove_bound(ptr noundef %0) #3
%63 = call i32 @vsock_bound_sockets(ptr noundef %0) #3
%64 = call i32 @__vsock_insert_bound(i32 noundef %63, ptr noundef %0) #3
br label %65
65: ; preds = %38, %57, %54, %48
%66 = phi i32 [ 0, %57 ], [ %40, %38 ], [ %56, %54 ], [ %50, %48 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @prandom_u32_max(i64 noundef) local_unnamed_addr #2
declare i32 @vsock_addr_init(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i64 @__vsock_find_bound_socket(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @capable(i32 noundef) local_unnamed_addr #2
declare i32 @__vsock_remove_bound(ptr noundef) local_unnamed_addr #2
declare i32 @__vsock_insert_bound(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @vsock_bound_sockets(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"sockaddr_vm", !7, i64 0, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !7, i64 0}
!14 = !{!12, !12, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| linux_net_vmw_vsock_extr_af_vsock.c___vsock_bind_stream |
; ModuleID = 'AnghaBench/linux/sound/sparc/extr_amd7930.c_snd_amd7930_put_volume.c'
source_filename = "AnghaBench/linux/sound/sparc/extr_amd7930.c_snd_amd7930_put_volume.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_amd7930 = type { i32, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_amd7930_put_volume], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @snd_amd7930_put_volume(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %4, label %7 [
i32 129, label %9
i32 130, label %5
]
5: ; preds = %2
%6 = getelementptr inbounds %struct.snd_amd7930, ptr %3, i64 0, i32 1
br label %9
7: ; preds = %2
%8 = getelementptr inbounds %struct.snd_amd7930, ptr %3, i64 0, i32 2
br label %9
9: ; preds = %2, %7, %5
%10 = phi ptr [ %8, %7 ], [ %6, %5 ], [ %3, %2 ]
%11 = getelementptr inbounds %struct.snd_amd7930, ptr %3, i64 0, i32 3
%12 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %11, i64 noundef undef) #2
%13 = load i32, ptr %10, align 4, !tbaa !10
%14 = load ptr, ptr %1, align 8, !tbaa !11
%15 = load i32, ptr %14, align 4, !tbaa !10
%16 = icmp eq i32 %13, %15
br i1 %16, label %20, label %17
17: ; preds = %9
%18 = and i32 %15, 255
store i32 %18, ptr %10, align 4, !tbaa !10
%19 = tail call i32 @__amd7930_update_map(ptr noundef %3) #2
br label %20
20: ; preds = %9, %17
%21 = phi i32 [ 1, %17 ], [ 0, %9 ]
%22 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %11, i64 noundef undef) #2
ret i32 %21
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__amd7930_update_map(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_kcontrol", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !15, i64 0}
!12 = !{!"snd_ctl_elem_value", !13, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"TYPE_3__", !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/sparc/extr_amd7930.c_snd_amd7930_put_volume.c'
source_filename = "AnghaBench/linux/sound/sparc/extr_amd7930.c_snd_amd7930_put_volume.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @snd_amd7930_put_volume], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @snd_amd7930_put_volume(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %4, label %7 [
i32 129, label %9
i32 130, label %5
]
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %3, i64 4
br label %9
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %3, i64 8
br label %9
9: ; preds = %2, %7, %5
%10 = phi ptr [ %8, %7 ], [ %6, %5 ], [ %3, %2 ]
%11 = getelementptr inbounds i8, ptr %3, i64 12
%12 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %11, i64 noundef undef) #2
%13 = load i32, ptr %10, align 4, !tbaa !11
%14 = load ptr, ptr %1, align 8, !tbaa !12
%15 = load i32, ptr %14, align 4, !tbaa !11
%16 = icmp eq i32 %13, %15
br i1 %16, label %20, label %17
17: ; preds = %9
%18 = and i32 %15, 255
store i32 %18, ptr %10, align 4, !tbaa !11
%19 = tail call i32 @__amd7930_update_map(ptr noundef %3) #2
br label %20
20: ; preds = %9, %17
%21 = phi i32 [ 1, %17 ], [ 0, %9 ]
%22 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %11, i64 noundef undef) #2
ret i32 %21
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__amd7930_update_map(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_kcontrol", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !16, i64 0}
!13 = !{!"snd_ctl_elem_value", !14, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"TYPE_3__", !16, i64 0}
!16 = !{!"any pointer", !9, i64 0}
| linux_sound_sparc_extr_amd7930.c_snd_amd7930_put_volume |
; ModuleID = 'AnghaBench/fastsocket/kernel/firmware/carl9170fw/tools/carlu/src/extr_main.c_main.c'
source_filename = "AnghaBench/fastsocket/kernel/firmware/carl9170fw/tools/carlu/src/extr_main.c_main.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @init_debug() #2
%4 = icmp eq i32 %0, 2
br i1 %4, label %5, label %14
5: ; preds = %2
%6 = getelementptr inbounds ptr, ptr %1, i64 1
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = tail call i32 @strlen(ptr noundef %7) #2
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %14
10: ; preds = %5
%11 = load ptr, ptr %6, align 8, !tbaa !5
%12 = load i8, ptr %11, align 1, !tbaa !9
%13 = icmp eq i8 %12, 45
br i1 %13, label %16, label %14
14: ; preds = %10, %5, %2
%15 = tail call i32 (...) @show_help() #2
br label %20
16: ; preds = %10
%17 = getelementptr inbounds i8, ptr %11, i64 1
%18 = load i8, ptr %17, align 1, !tbaa !9
%19 = tail call i32 @select_menu_item(i8 noundef signext %18) #2
br label %20
20: ; preds = %16, %14
%21 = phi i32 [ %15, %14 ], [ %19, %16 ]
ret i32 %21
}
declare i32 @init_debug(...) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @show_help(...) local_unnamed_addr #1
declare i32 @select_menu_item(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/firmware/carl9170fw/tools/carlu/src/extr_main.c_main.c'
source_filename = "AnghaBench/fastsocket/kernel/firmware/carl9170fw/tools/carlu/src/extr_main.c_main.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 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = tail call i32 @init_debug() #2
%4 = icmp eq i32 %0, 2
br i1 %4, label %5, label %14
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = tail call i32 @strlen(ptr noundef %7) #2
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %14
10: ; preds = %5
%11 = load ptr, ptr %6, align 8, !tbaa !6
%12 = load i8, ptr %11, align 1, !tbaa !10
%13 = icmp eq i8 %12, 45
br i1 %13, label %16, label %14
14: ; preds = %10, %5, %2
%15 = tail call i32 @show_help() #2
br label %20
16: ; preds = %10
%17 = getelementptr inbounds i8, ptr %11, i64 1
%18 = load i8, ptr %17, align 1, !tbaa !10
%19 = tail call i32 @select_menu_item(i8 noundef signext %18) #2
br label %20
20: ; preds = %16, %14
%21 = phi i32 [ %15, %14 ], [ %19, %16 ]
ret i32 %21
}
declare i32 @init_debug(...) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @show_help(...) local_unnamed_addr #1
declare i32 @select_menu_item(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
| fastsocket_kernel_firmware_carl9170fw_tools_carlu_src_extr_main.c_main |
; ModuleID = 'AnghaBench/kphp-kdb/net/extr_net-buffers.c_free_all_buffers.c'
source_filename = "AnghaBench/kphp-kdb/net/extr_net-buffers.c_free_all_buffers.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, i64, i64, i32, i32, i32, ptr, ptr, i64, i64 }
@NB_MAGIC_HEAD = dso_local local_unnamed_addr global i64 0, align 8
@NB_MAGIC_BUSYHEAD = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @free_all_buffers(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %46, label %3
3: ; preds = %1
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr @NB_MAGIC_HEAD, align 8, !tbaa !12
%6 = icmp eq i64 %4, %5
%7 = load i64, ptr @NB_MAGIC_BUSYHEAD, align 8
%8 = icmp eq i64 %4, %7
%9 = select i1 %6, i1 true, i1 %8
%10 = zext i1 %9 to i32
%11 = tail call i32 @assert(i32 noundef %10) #3
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 6
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = icmp eq ptr %13, %0
%15 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%16 = load i64, ptr %15, align 8, !tbaa !14
br i1 %14, label %29, label %17
17: ; preds = %3, %17
%18 = phi i64 [ %27, %17 ], [ %16, %3 ]
%19 = phi ptr [ %24, %17 ], [ %13, %3 ]
%20 = icmp sgt i64 %18, 0
%21 = zext i1 %20 to i32
%22 = tail call i32 @assert(i32 noundef %21) #3
%23 = getelementptr inbounds %struct.TYPE_4__, ptr %19, i64 0, i32 6
%24 = load ptr, ptr %23, align 8, !tbaa !13
%25 = tail call i32 @free_buffer(ptr noundef %19) #3
%26 = load i64, ptr %15, align 8, !tbaa !14
%27 = add nsw i64 %26, -1
store i64 %27, ptr %15, align 8, !tbaa !14
%28 = icmp eq ptr %24, %0
br i1 %28, label %29, label %17, !llvm.loop !15
29: ; preds = %17, %3
%30 = phi i64 [ %16, %3 ], [ %27, %17 ]
%31 = icmp eq i64 %30, 0
%32 = zext i1 %31 to i32
%33 = tail call i32 @assert(i32 noundef %32) #3
%34 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %34, i8 0, i64 16, i1 false)
store ptr %0, ptr %12, align 8, !tbaa !13
%35 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 7
store ptr %0, ptr %35, align 8, !tbaa !17
%36 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%37 = load i32, ptr %36, align 8, !tbaa !18
%38 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4
store i32 %37, ptr %38, align 4, !tbaa !19
%39 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 5
store i32 %37, ptr %39, align 8, !tbaa !20
%40 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
store i64 0, ptr %40, align 8, !tbaa !21
%41 = load i64, ptr %0, align 8, !tbaa !5
%42 = load i64, ptr @NB_MAGIC_BUSYHEAD, align 8, !tbaa !12
%43 = icmp eq i64 %41, %42
br i1 %43, label %44, label %46
44: ; preds = %29
%45 = tail call i32 @free_buffer(ptr noundef nonnull %0) #3
br label %46
46: ; preds = %29, %44, %1
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @free_buffer(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_4__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !11, i64 48, !7, i64 56, !7, i64 64}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !11, i64 40}
!14 = !{!6, !7, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!6, !11, i64 48}
!18 = !{!6, !10, i64 24}
!19 = !{!6, !10, i64 28}
!20 = !{!6, !10, i64 32}
!21 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/kphp-kdb/net/extr_net-buffers.c_free_all_buffers.c'
source_filename = "AnghaBench/kphp-kdb/net/extr_net-buffers.c_free_all_buffers.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NB_MAGIC_HEAD = common local_unnamed_addr global i64 0, align 8
@NB_MAGIC_BUSYHEAD = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @free_all_buffers(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %46, label %3
3: ; preds = %1
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr @NB_MAGIC_HEAD, align 8, !tbaa !13
%6 = icmp eq i64 %4, %5
%7 = load i64, ptr @NB_MAGIC_BUSYHEAD, align 8
%8 = icmp eq i64 %4, %7
%9 = select i1 %6, i1 true, i1 %8
%10 = zext i1 %9 to i32
%11 = tail call i32 @assert(i32 noundef %10) #3
%12 = getelementptr inbounds i8, ptr %0, i64 40
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = icmp eq ptr %13, %0
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = load i64, ptr %15, align 8, !tbaa !15
br i1 %14, label %29, label %17
17: ; preds = %3, %17
%18 = phi i64 [ %27, %17 ], [ %16, %3 ]
%19 = phi ptr [ %24, %17 ], [ %13, %3 ]
%20 = icmp sgt i64 %18, 0
%21 = zext i1 %20 to i32
%22 = tail call i32 @assert(i32 noundef %21) #3
%23 = getelementptr inbounds i8, ptr %19, i64 40
%24 = load ptr, ptr %23, align 8, !tbaa !14
%25 = tail call i32 @free_buffer(ptr noundef %19) #3
%26 = load i64, ptr %15, align 8, !tbaa !15
%27 = add nsw i64 %26, -1
store i64 %27, ptr %15, align 8, !tbaa !15
%28 = icmp eq ptr %24, %0
br i1 %28, label %29, label %17, !llvm.loop !16
29: ; preds = %17, %3
%30 = phi i64 [ %16, %3 ], [ %27, %17 ]
%31 = icmp eq i64 %30, 0
%32 = zext i1 %31 to i32
%33 = tail call i32 @assert(i32 noundef %32) #3
%34 = getelementptr inbounds i8, ptr %0, i64 56
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %34, i8 0, i64 16, i1 false)
store ptr %0, ptr %12, align 8, !tbaa !14
%35 = getelementptr inbounds i8, ptr %0, i64 48
store ptr %0, ptr %35, align 8, !tbaa !18
%36 = getelementptr inbounds i8, ptr %0, i64 24
%37 = load i32, ptr %36, align 8, !tbaa !19
%38 = getelementptr inbounds i8, ptr %0, i64 28
store i32 %37, ptr %38, align 4, !tbaa !20
%39 = getelementptr inbounds i8, ptr %0, i64 32
store i32 %37, ptr %39, align 8, !tbaa !21
%40 = getelementptr inbounds i8, ptr %0, i64 16
store i64 0, ptr %40, align 8, !tbaa !22
%41 = load i64, ptr %0, align 8, !tbaa !6
%42 = load i64, ptr @NB_MAGIC_BUSYHEAD, align 8, !tbaa !13
%43 = icmp eq i64 %41, %42
br i1 %43, label %44, label %46
44: ; preds = %29
%45 = tail call i32 @free_buffer(ptr noundef nonnull %0) #3
br label %46
46: ; preds = %29, %44, %1
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @free_buffer(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_4__", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !12, i64 40, !12, i64 48, !8, i64 56, !8, i64 64}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !12, i64 40}
!15 = !{!7, !8, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!7, !12, i64 48}
!19 = !{!7, !11, i64 24}
!20 = !{!7, !11, i64 28}
!21 = !{!7, !11, i64 32}
!22 = !{!7, !8, i64 16}
| kphp-kdb_net_extr_net-buffers.c_free_all_buffers |
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_kmemleak.c_kmemleak_boot_config.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_kmemleak.c_kmemleak_boot_config.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"off\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@kmemleak_skip_disable = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @kmemleak_boot_config], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @kmemleak_boot_config(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %3, label %6
3: ; preds = %1
%4 = load i32, ptr @EINVAL, align 4, !tbaa !5
%5 = sub nsw i32 0, %4
br label %18
6: ; preds = %1
%7 = tail call i64 @strcmp(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = tail call i32 (...) @kmemleak_disable() #2
br label %18
11: ; preds = %6
%12 = tail call i64 @strcmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %11
store i32 1, ptr @kmemleak_skip_disable, align 4, !tbaa !5
br label %18
15: ; preds = %11
%16 = load i32, ptr @EINVAL, align 4, !tbaa !5
%17 = sub nsw i32 0, %16
br label %18
18: ; preds = %9, %14, %15, %3
%19 = phi i32 [ %17, %15 ], [ %5, %3 ], [ 0, %14 ], [ 0, %9 ]
ret i32 %19
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kmemleak_disable(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/mm/extr_kmemleak.c_kmemleak_boot_config.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_kmemleak.c_kmemleak_boot_config.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
@.str = private unnamed_addr constant [4 x i8] c"off\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@kmemleak_skip_disable = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @kmemleak_boot_config], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @kmemleak_boot_config(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %3, label %6
3: ; preds = %1
%4 = load i32, ptr @EINVAL, align 4, !tbaa !6
%5 = sub nsw i32 0, %4
br label %18
6: ; preds = %1
%7 = tail call i64 @strcmp(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = tail call i32 @kmemleak_disable() #2
br label %18
11: ; preds = %6
%12 = tail call i64 @strcmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %11
store i32 1, ptr @kmemleak_skip_disable, align 4, !tbaa !6
br label %18
15: ; preds = %11
%16 = load i32, ptr @EINVAL, align 4, !tbaa !6
%17 = sub nsw i32 0, %16
br label %18
18: ; preds = %9, %14, %15, %3
%19 = phi i32 [ %17, %15 ], [ %5, %3 ], [ 0, %14 ], [ 0, %9 ]
ret i32 %19
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kmemleak_disable(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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_mm_extr_kmemleak.c_kmemleak_boot_config |
; ModuleID = 'AnghaBench/git/extr_sequencer.c_strbuf_read_file_or_whine.c'
source_filename = "AnghaBench/git/extr_sequencer.c_strbuf_read_file_or_whine.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"could not open '%s'\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"could not read '%s'.\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @strbuf_read_file_or_whine], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @strbuf_read_file_or_whine(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @O_RDONLY, align 4, !tbaa !5
%4 = tail call i32 @open(ptr noundef %1, i32 noundef %3) #2
%5 = icmp slt i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = tail call i32 @_(ptr noundef nonnull @.str) #2
%8 = tail call i64 @error_errno(i32 noundef %7, ptr noundef %1) #2
br label %16
9: ; preds = %2
%10 = tail call i64 @strbuf_read(ptr noundef %0, i32 noundef %4, i32 noundef 0) #2
%11 = tail call i32 @close(i32 noundef %4) #2
%12 = icmp slt i64 %10, 0
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = tail call i32 @_(ptr noundef nonnull @.str.1) #2
%15 = tail call i64 @error(i32 noundef %14, ptr noundef %1) #2
br label %16
16: ; preds = %9, %13, %6
%17 = phi i64 [ %8, %6 ], [ %15, %13 ], [ %10, %9 ]
ret i64 %17
}
declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @error_errno(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
declare i64 @strbuf_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @close(i32 noundef) local_unnamed_addr #1
declare i64 @error(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/git/extr_sequencer.c_strbuf_read_file_or_whine.c'
source_filename = "AnghaBench/git/extr_sequencer.c_strbuf_read_file_or_whine.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@O_RDONLY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"could not open '%s'\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"could not read '%s'.\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @strbuf_read_file_or_whine], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @strbuf_read_file_or_whine(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @O_RDONLY, align 4, !tbaa !6
%4 = tail call i32 @open(ptr noundef %1, i32 noundef %3) #2
%5 = icmp slt i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = tail call i32 @_(ptr noundef nonnull @.str) #2
%8 = tail call i64 @error_errno(i32 noundef %7, ptr noundef %1) #2
br label %16
9: ; preds = %2
%10 = tail call i64 @strbuf_read(ptr noundef %0, i32 noundef %4, i32 noundef 0) #2
%11 = tail call i32 @close(i32 noundef %4) #2
%12 = icmp slt i64 %10, 0
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = tail call i32 @_(ptr noundef nonnull @.str.1) #2
%15 = tail call i64 @error(i32 noundef %14, ptr noundef %1) #2
br label %16
16: ; preds = %9, %13, %6
%17 = phi i64 [ %8, %6 ], [ %15, %13 ], [ %10, %9 ]
ret i64 %17
}
declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @error_errno(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
declare i64 @strbuf_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @close(i32 noundef) local_unnamed_addr #1
declare i64 @error(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| git_extr_sequencer.c_strbuf_read_file_or_whine |
; ModuleID = 'AnghaBench/linux/drivers/block/extr_pktcdvd.c_pktcdvd_devnode.c'
source_filename = "AnghaBench/linux/drivers/block/extr_pktcdvd.c_pktcdvd_devnode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"pktcdvd/%s\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @pktcdvd_devnode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @pktcdvd_devnode(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !9
%5 = tail call ptr @kasprintf(i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %4) #2
ret ptr %5
}
declare ptr @kasprintf(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 0}
!10 = !{!"gendisk", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/block/extr_pktcdvd.c_pktcdvd_devnode.c'
source_filename = "AnghaBench/linux/drivers/block/extr_pktcdvd.c_pktcdvd_devnode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"pktcdvd/%s\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @pktcdvd_devnode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @pktcdvd_devnode(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = tail call ptr @kasprintf(i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %4) #2
ret ptr %5
}
declare ptr @kasprintf(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 0}
!11 = !{!"gendisk", !7, i64 0}
| linux_drivers_block_extr_pktcdvd.c_pktcdvd_devnode |
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_vdbeSorterSort.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_vdbeSorterSort.c"
target datalayout = "e-m:e-p270:32:32-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_18__ = type { ptr, i32, i32 }
%struct.TYPE_17__ = type { ptr, ptr }
%struct.TYPE_14__ = type { i64, ptr }
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_NOMEM_BKPT = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_NOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vdbeSorterSort], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vdbeSorterSort(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = tail call i32 @vdbeSortAllocUnpacked(ptr noundef %0) #2
%4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %86
6: ; preds = %2
%7 = load ptr, ptr %1, align 8, !tbaa !9
%8 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !12
%10 = tail call i32 @vdbeSorterGetCompare(i32 noundef %9) #2
%11 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 2
store i32 %10, ptr %11, align 4, !tbaa !14
%12 = tail call i64 @sqlite3MallocZero(i32 noundef 512) #2
%13 = inttoptr i64 %12 to ptr
%14 = icmp eq i64 %12, 0
br i1 %14, label %83, label %15
15: ; preds = %6
%16 = icmp eq ptr %7, null
br i1 %16, label %56, label %17
17: ; preds = %15
%18 = getelementptr inbounds %struct.TYPE_17__, ptr %1, i64 0, i32 1
br label %19
19: ; preds = %17, %52
%20 = phi ptr [ %7, %17 ], [ %38, %52 ]
%21 = load ptr, ptr %18, align 8, !tbaa !15
%22 = icmp eq ptr %21, null
br i1 %22, label %34, label %23
23: ; preds = %19
%24 = icmp eq ptr %20, %21
br i1 %24, label %37, label %25
25: ; preds = %23
%26 = load i64, ptr %20, align 8, !tbaa !16
%27 = tail call i64 @sqlite3MallocSize(ptr noundef nonnull %21) #2
%28 = icmp ult i64 %26, %27
%29 = zext i1 %28 to i32
%30 = tail call i32 @assert(i32 noundef %29) #2
%31 = load ptr, ptr %18, align 8, !tbaa !15
%32 = load i64, ptr %20, align 8, !tbaa !16
%33 = getelementptr inbounds i32, ptr %31, i64 %32
br label %37
34: ; preds = %19
%35 = getelementptr inbounds %struct.TYPE_14__, ptr %20, i64 0, i32 1
%36 = load ptr, ptr %35, align 8, !tbaa !20
br label %37
37: ; preds = %23, %25, %34
%38 = phi ptr [ %33, %25 ], [ %36, %34 ], [ null, %23 ]
%39 = getelementptr inbounds %struct.TYPE_14__, ptr %20, i64 0, i32 1
store ptr null, ptr %39, align 8, !tbaa !20
%40 = load ptr, ptr %13, align 8, !tbaa !21
%41 = icmp eq ptr %40, null
br i1 %41, label %52, label %42
42: ; preds = %37, %42
%43 = phi i64 [ %48, %42 ], [ 0, %37 ]
%44 = phi ptr [ %50, %42 ], [ %40, %37 ]
%45 = phi ptr [ %49, %42 ], [ %13, %37 ]
%46 = phi ptr [ %47, %42 ], [ %20, %37 ]
%47 = tail call ptr @vdbeSorterMerge(ptr noundef %0, ptr noundef %46, ptr noundef nonnull %44) #2
store ptr null, ptr %45, align 8, !tbaa !21
%48 = add nuw i64 %43, 1
%49 = getelementptr inbounds ptr, ptr %13, i64 %48
%50 = load ptr, ptr %49, align 8, !tbaa !21
%51 = icmp eq ptr %50, null
br i1 %51, label %52, label %42, !llvm.loop !22
52: ; preds = %42, %37
%53 = phi ptr [ %20, %37 ], [ %47, %42 ]
%54 = phi ptr [ %13, %37 ], [ %49, %42 ]
store ptr %53, ptr %54, align 8, !tbaa !21
%55 = icmp eq ptr %38, null
br i1 %55, label %56, label %19, !llvm.loop !24
56: ; preds = %52, %15
br label %57
57: ; preds = %56, %67
%58 = phi i64 [ %69, %67 ], [ 0, %56 ]
%59 = phi ptr [ %68, %67 ], [ null, %56 ]
%60 = getelementptr inbounds ptr, ptr %13, i64 %58
%61 = load ptr, ptr %60, align 8, !tbaa !21
%62 = icmp eq ptr %61, null
br i1 %62, label %67, label %63
63: ; preds = %57
%64 = icmp eq ptr %59, null
br i1 %64, label %67, label %65
65: ; preds = %63
%66 = tail call ptr @vdbeSorterMerge(ptr noundef %0, ptr noundef nonnull %59, ptr noundef nonnull %61) #2
br label %67
67: ; preds = %65, %63, %57
%68 = phi ptr [ %59, %57 ], [ %66, %65 ], [ %61, %63 ]
%69 = add nuw nsw i64 %58, 1
%70 = icmp eq i64 %69, 64
br i1 %70, label %71, label %57, !llvm.loop !25
71: ; preds = %67
store ptr %68, ptr %1, align 8, !tbaa !9
%72 = tail call i32 @sqlite3_free(ptr noundef nonnull %13) #2
%73 = load ptr, ptr %0, align 8, !tbaa !26
%74 = load i32, ptr %73, align 4, !tbaa !27
%75 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
%76 = icmp eq i32 %74, %75
%77 = load i32, ptr @SQLITE_NOMEM, align 4
%78 = icmp eq i32 %74, %77
%79 = select i1 %76, i1 true, i1 %78
%80 = zext i1 %79 to i32
%81 = tail call i32 @assert(i32 noundef %80) #2
%82 = load ptr, ptr %0, align 8, !tbaa !26
br label %83
83: ; preds = %6, %71
%84 = phi ptr [ %82, %71 ], [ @SQLITE_NOMEM_BKPT, %6 ]
%85 = load i32, ptr %84, align 4, !tbaa !5
br label %86
86: ; preds = %83, %2
%87 = phi i32 [ %3, %2 ], [ %85, %83 ]
ret i32 %87
}
declare i32 @vdbeSortAllocUnpacked(ptr noundef) local_unnamed_addr #1
declare i32 @vdbeSorterGetCompare(i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3MallocZero(i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3MallocSize(ptr noundef) local_unnamed_addr #1
declare ptr @vdbeSorterMerge(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_17__", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 8}
!13 = !{!"TYPE_18__", !11, i64 0, !6, i64 8, !6, i64 12}
!14 = !{!13, !6, i64 12}
!15 = !{!10, !11, i64 8}
!16 = !{!17, !19, i64 0}
!17 = !{!"TYPE_16__", !18, i64 0}
!18 = !{!"TYPE_14__", !19, i64 0, !11, i64 8}
!19 = !{!"long", !7, i64 0}
!20 = !{!17, !11, i64 8}
!21 = !{!11, !11, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !23}
!26 = !{!13, !11, i64 0}
!27 = !{!28, !6, i64 0}
!28 = !{!"TYPE_15__", !6, i64 0}
| ; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_vdbeSorterSort.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_vdbeSorterSort.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_OK = common local_unnamed_addr global i32 0, align 4
@SQLITE_NOMEM_BKPT = common local_unnamed_addr global i32 0, align 4
@SQLITE_NOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vdbeSorterSort], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vdbeSorterSort(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = tail call i32 @vdbeSortAllocUnpacked(ptr noundef %0) #2
%4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %88
6: ; preds = %2
%7 = load ptr, ptr %1, align 8, !tbaa !10
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !13
%10 = tail call i32 @vdbeSorterGetCompare(i32 noundef %9) #2
%11 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %10, ptr %11, align 4, !tbaa !15
%12 = tail call i64 @sqlite3MallocZero(i32 noundef 512) #2
%13 = inttoptr i64 %12 to ptr
%14 = icmp eq i64 %12, 0
br i1 %14, label %85, label %15
15: ; preds = %6
%16 = icmp eq ptr %7, null
br i1 %16, label %58, label %17
17: ; preds = %15
%18 = getelementptr inbounds i8, ptr %1, i64 8
br label %19
19: ; preds = %17, %54
%20 = phi ptr [ %7, %17 ], [ %38, %54 ]
%21 = load ptr, ptr %18, align 8, !tbaa !16
%22 = icmp eq ptr %21, null
br i1 %22, label %34, label %23
23: ; preds = %19
%24 = icmp eq ptr %20, %21
br i1 %24, label %37, label %25
25: ; preds = %23
%26 = load i64, ptr %20, align 8, !tbaa !17
%27 = tail call i64 @sqlite3MallocSize(ptr noundef nonnull %21) #2
%28 = icmp ult i64 %26, %27
%29 = zext i1 %28 to i32
%30 = tail call i32 @assert(i32 noundef %29) #2
%31 = load ptr, ptr %18, align 8, !tbaa !16
%32 = load i64, ptr %20, align 8, !tbaa !17
%33 = getelementptr inbounds i32, ptr %31, i64 %32
br label %37
34: ; preds = %19
%35 = getelementptr inbounds i8, ptr %20, i64 8
%36 = load ptr, ptr %35, align 8, !tbaa !21
br label %37
37: ; preds = %23, %25, %34
%38 = phi ptr [ %33, %25 ], [ %36, %34 ], [ null, %23 ]
%39 = getelementptr inbounds i8, ptr %20, i64 8
store ptr null, ptr %39, align 8, !tbaa !21
%40 = load ptr, ptr %13, align 8, !tbaa !22
%41 = icmp eq ptr %40, null
br i1 %41, label %54, label %42
42: ; preds = %37, %42
%43 = phi i64 [ %48, %42 ], [ 0, %37 ]
%44 = phi ptr [ %50, %42 ], [ %40, %37 ]
%45 = phi ptr [ %47, %42 ], [ %20, %37 ]
%46 = getelementptr inbounds ptr, ptr %13, i64 %43
%47 = tail call ptr @vdbeSorterMerge(ptr noundef %0, ptr noundef %45, ptr noundef nonnull %44) #2
store ptr null, ptr %46, align 8, !tbaa !22
%48 = add nuw nsw i64 %43, 1
%49 = getelementptr inbounds ptr, ptr %13, i64 %48
%50 = load ptr, ptr %49, align 8, !tbaa !22
%51 = icmp eq ptr %50, null
br i1 %51, label %52, label %42, !llvm.loop !23
52: ; preds = %42
%53 = getelementptr inbounds ptr, ptr %13, i64 %48
br label %54
54: ; preds = %52, %37
%55 = phi ptr [ %20, %37 ], [ %47, %52 ]
%56 = phi ptr [ %13, %37 ], [ %53, %52 ]
store ptr %55, ptr %56, align 8, !tbaa !22
%57 = icmp eq ptr %38, null
br i1 %57, label %58, label %19, !llvm.loop !25
58: ; preds = %54, %15
br label %59
59: ; preds = %58, %69
%60 = phi i64 [ %71, %69 ], [ 0, %58 ]
%61 = phi ptr [ %70, %69 ], [ null, %58 ]
%62 = getelementptr inbounds ptr, ptr %13, i64 %60
%63 = load ptr, ptr %62, align 8, !tbaa !22
%64 = icmp eq ptr %63, null
br i1 %64, label %69, label %65
65: ; preds = %59
%66 = icmp eq ptr %61, null
br i1 %66, label %69, label %67
67: ; preds = %65
%68 = tail call ptr @vdbeSorterMerge(ptr noundef %0, ptr noundef nonnull %61, ptr noundef nonnull %63) #2
br label %69
69: ; preds = %67, %65, %59
%70 = phi ptr [ %61, %59 ], [ %68, %67 ], [ %63, %65 ]
%71 = add nuw nsw i64 %60, 1
%72 = icmp eq i64 %71, 64
br i1 %72, label %73, label %59, !llvm.loop !26
73: ; preds = %69
store ptr %70, ptr %1, align 8, !tbaa !10
%74 = tail call i32 @sqlite3_free(ptr noundef nonnull %13) #2
%75 = load ptr, ptr %0, align 8, !tbaa !27
%76 = load i32, ptr %75, align 4, !tbaa !28
%77 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
%78 = icmp eq i32 %76, %77
%79 = load i32, ptr @SQLITE_NOMEM, align 4
%80 = icmp eq i32 %76, %79
%81 = select i1 %78, i1 true, i1 %80
%82 = zext i1 %81 to i32
%83 = tail call i32 @assert(i32 noundef %82) #2
%84 = load ptr, ptr %0, align 8, !tbaa !27
br label %85
85: ; preds = %6, %73
%86 = phi ptr [ %84, %73 ], [ @SQLITE_NOMEM_BKPT, %6 ]
%87 = load i32, ptr %86, align 4, !tbaa !6
br label %88
88: ; preds = %85, %2
%89 = phi i32 [ %3, %2 ], [ %87, %85 ]
ret i32 %89
}
declare i32 @vdbeSortAllocUnpacked(ptr noundef) local_unnamed_addr #1
declare i32 @vdbeSorterGetCompare(i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3MallocZero(i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3MallocSize(ptr noundef) local_unnamed_addr #1
declare ptr @vdbeSorterMerge(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_17__", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 8}
!14 = !{!"TYPE_18__", !12, i64 0, !7, i64 8, !7, i64 12}
!15 = !{!14, !7, i64 12}
!16 = !{!11, !12, i64 8}
!17 = !{!18, !20, i64 0}
!18 = !{!"TYPE_16__", !19, i64 0}
!19 = !{!"TYPE_14__", !20, i64 0, !12, i64 8}
!20 = !{!"long", !8, i64 0}
!21 = !{!18, !12, i64 8}
!22 = !{!12, !12, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = distinct !{!26, !24}
!27 = !{!14, !12, i64 0}
!28 = !{!29, !7, i64 0}
!29 = !{!"TYPE_15__", !7, i64 0}
| mimikatz_modules_extr_sqlite3_omit.c_vdbeSorterSort |
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_read_expect_type.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_read_expect_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_expect_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @read_expect_type(i32 noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @__read_expect_type(i32 noundef %0, ptr noundef %1, i32 noundef 1) #2
ret i32 %3
}
declare i32 @__read_expect_type(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/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_read_expect_type.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_read_expect_type.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 @read_expect_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @read_expect_type(i32 noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @__read_expect_type(i32 noundef %0, ptr noundef %1, i32 noundef 1) #2
ret i32 %3
}
declare i32 @__read_expect_type(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)"}
| fastsocket_kernel_tools_lib_traceevent_extr_event-parse.c_read_expect_type |
; ModuleID = 'AnghaBench/freebsd/sys/arm/mv/extr_mvebu_pinctrl.c_mv_pinctrl_configure_pins.c'
source_filename = "AnghaBench/freebsd/sys/arm/mv/extr_mvebu_pinctrl.c_mv_pinctrl_configure_pins.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, ptr }
%struct.TYPE_3__ = type { ptr, i64 }
@.str = private unnamed_addr constant [17 x i8] c"marvell,function\00", align 1
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"marvell,pins\00", align 1
@MAX_PIN_FUNC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mv_pinctrl_configure_pins], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mv_pinctrl_configure_pins(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call ptr @device_get_softc(i32 noundef %0) #3
%6 = tail call i32 @OF_node_from_xref(i32 noundef %1) #3
%7 = call i32 @OF_getprop_alloc(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !5
br label %92
11: ; preds = %2
%12 = call i32 @ofw_bus_string_list_to_array(i32 noundef %6, ptr noundef nonnull @.str.1, ptr noundef nonnull %4) #3
%13 = icmp eq i32 %12, -1
br i1 %13, label %18, label %14
14: ; preds = %11
%15 = icmp sgt i32 %12, 0
br i1 %15, label %16, label %89
16: ; preds = %14
%17 = zext nneg i32 %12 to i64
br label %20
18: ; preds = %11
%19 = load i32, ptr @ENOMEM, align 4, !tbaa !5
br label %92
20: ; preds = %16, %86
%21 = phi i64 [ 0, %16 ], [ %87, %86 ]
%22 = load ptr, ptr %5, align 8, !tbaa !9
%23 = load i32, ptr %22, align 8, !tbaa !12
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %46
25: ; preds = %20, %39
%26 = phi i64 [ %40, %39 ], [ 0, %20 ]
%27 = phi ptr [ %37, %39 ], [ %22, %20 ]
%28 = load ptr, ptr %4, align 8, !tbaa !14
%29 = getelementptr inbounds ptr, ptr %28, i64 %21
%30 = load ptr, ptr %29, align 8, !tbaa !14
%31 = getelementptr inbounds %struct.TYPE_4__, ptr %27, i64 0, i32 1
%32 = load ptr, ptr %31, align 8, !tbaa !15
%33 = getelementptr inbounds %struct.TYPE_3__, ptr %32, i64 %26, i32 1
%34 = load i64, ptr %33, align 8, !tbaa !16
%35 = call i64 @strcmp(ptr noundef %30, i64 noundef %34) #3
%36 = icmp eq i64 %35, 0
%37 = load ptr, ptr %5, align 8, !tbaa !9
%38 = load i32, ptr %37, align 8, !tbaa !12
br i1 %36, label %43, label %39
39: ; preds = %25
%40 = add nuw nsw i64 %26, 1
%41 = sext i32 %38 to i64
%42 = icmp slt i64 %40, %41
br i1 %42, label %25, label %43, !llvm.loop !19
43: ; preds = %25, %39
%44 = phi i64 [ %40, %39 ], [ %26, %25 ]
%45 = trunc i64 %44 to i32
br label %46
46: ; preds = %43, %20
%47 = phi i32 [ %23, %20 ], [ %38, %43 ]
%48 = phi i32 [ 0, %20 ], [ %45, %43 ]
%49 = icmp eq i32 %48, %47
br i1 %49, label %86, label %50
50: ; preds = %46
%51 = load i32, ptr @MAX_PIN_FUNC, align 4, !tbaa !5
%52 = icmp sgt i32 %51, 0
br i1 %52, label %53, label %80
53: ; preds = %50
%54 = zext nneg i32 %48 to i64
br label %55
55: ; preds = %53, %71
%56 = phi i32 [ %51, %53 ], [ %72, %71 ]
%57 = phi i64 [ 0, %53 ], [ %73, %71 ]
%58 = load ptr, ptr %5, align 8, !tbaa !9
%59 = getelementptr inbounds %struct.TYPE_4__, ptr %58, i64 0, i32 1
%60 = load ptr, ptr %59, align 8, !tbaa !15
%61 = getelementptr inbounds %struct.TYPE_3__, ptr %60, i64 %54
%62 = load ptr, ptr %61, align 8, !tbaa !21
%63 = getelementptr inbounds i64, ptr %62, i64 %57
%64 = load i64, ptr %63, align 8, !tbaa !22
%65 = icmp eq i64 %64, 0
br i1 %65, label %71, label %66
66: ; preds = %55
%67 = load ptr, ptr %3, align 8, !tbaa !14
%68 = call i64 @strcmp(ptr noundef %67, i64 noundef %64) #3
%69 = icmp eq i64 %68, 0
%70 = load i32, ptr @MAX_PIN_FUNC, align 4, !tbaa !5
br i1 %69, label %76, label %71
71: ; preds = %66, %55
%72 = phi i32 [ %56, %55 ], [ %70, %66 ]
%73 = add nuw nsw i64 %57, 1
%74 = sext i32 %72 to i64
%75 = icmp slt i64 %73, %74
br i1 %75, label %55, label %76, !llvm.loop !23
76: ; preds = %66, %71
%77 = phi i32 [ %72, %71 ], [ %70, %66 ]
%78 = phi i64 [ %73, %71 ], [ %57, %66 ]
%79 = trunc i64 %78 to i32
br label %80
80: ; preds = %76, %50
%81 = phi i32 [ %51, %50 ], [ %77, %76 ]
%82 = phi i32 [ 0, %50 ], [ %79, %76 ]
%83 = icmp eq i32 %82, %81
br i1 %83, label %86, label %84
84: ; preds = %80
%85 = call i32 @mv_pinctrl_configure_pin(ptr noundef nonnull %5, i32 noundef %48, i32 noundef %82) #3
br label %86
86: ; preds = %80, %46, %84
%87 = add nuw nsw i64 %21, 1
%88 = icmp eq i64 %87, %17
br i1 %88, label %89, label %20, !llvm.loop !24
89: ; preds = %86, %14
%90 = load ptr, ptr %4, align 8, !tbaa !14
%91 = call i32 @OF_prop_free(ptr noundef %90) #3
br label %92
92: ; preds = %89, %18, %9
%93 = phi i32 [ %10, %9 ], [ %19, %18 ], [ 0, %89 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %93
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2
declare i32 @OF_node_from_xref(i32 noundef) local_unnamed_addr #2
declare i32 @OF_getprop_alloc(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ofw_bus_string_list_to_array(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @strcmp(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @mv_pinctrl_configure_pin(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @OF_prop_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"mv_pinctrl_softc", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"TYPE_4__", !6, i64 0, !11, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!13, !11, i64 8}
!16 = !{!17, !18, i64 8}
!17 = !{!"TYPE_3__", !11, i64 0, !18, i64 8}
!18 = !{!"long", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!17, !11, i64 0}
!22 = !{!18, !18, i64 0}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !20}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/mv/extr_mvebu_pinctrl.c_mv_pinctrl_configure_pins.c'
source_filename = "AnghaBench/freebsd/sys/arm/mv/extr_mvebu_pinctrl.c_mv_pinctrl_configure_pins.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 { ptr, i64 }
@.str = private unnamed_addr constant [17 x i8] c"marvell,function\00", align 1
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"marvell,pins\00", align 1
@MAX_PIN_FUNC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mv_pinctrl_configure_pins], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mv_pinctrl_configure_pins(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call ptr @device_get_softc(i32 noundef %0) #3
%6 = tail call i32 @OF_node_from_xref(i32 noundef %1) #3
%7 = call i32 @OF_getprop_alloc(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !6
br label %92
11: ; preds = %2
%12 = call i32 @ofw_bus_string_list_to_array(i32 noundef %6, ptr noundef nonnull @.str.1, ptr noundef nonnull %4) #3
%13 = icmp eq i32 %12, -1
br i1 %13, label %18, label %14
14: ; preds = %11
%15 = icmp sgt i32 %12, 0
br i1 %15, label %16, label %89
16: ; preds = %14
%17 = zext nneg i32 %12 to i64
br label %20
18: ; preds = %11
%19 = load i32, ptr @ENOMEM, align 4, !tbaa !6
br label %92
20: ; preds = %16, %86
%21 = phi i64 [ 0, %16 ], [ %87, %86 ]
%22 = load ptr, ptr %5, align 8, !tbaa !10
%23 = load i32, ptr %22, align 8, !tbaa !13
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %46
25: ; preds = %20, %39
%26 = phi i64 [ %40, %39 ], [ 0, %20 ]
%27 = phi ptr [ %37, %39 ], [ %22, %20 ]
%28 = load ptr, ptr %4, align 8, !tbaa !15
%29 = getelementptr inbounds ptr, ptr %28, i64 %21
%30 = load ptr, ptr %29, align 8, !tbaa !15
%31 = getelementptr inbounds i8, ptr %27, i64 8
%32 = load ptr, ptr %31, align 8, !tbaa !16
%33 = getelementptr inbounds %struct.TYPE_3__, ptr %32, i64 %26, i32 1
%34 = load i64, ptr %33, align 8, !tbaa !17
%35 = call i64 @strcmp(ptr noundef %30, i64 noundef %34) #3
%36 = icmp eq i64 %35, 0
%37 = load ptr, ptr %5, align 8, !tbaa !10
%38 = load i32, ptr %37, align 8, !tbaa !13
br i1 %36, label %43, label %39
39: ; preds = %25
%40 = add nuw nsw i64 %26, 1
%41 = sext i32 %38 to i64
%42 = icmp slt i64 %40, %41
br i1 %42, label %25, label %43, !llvm.loop !20
43: ; preds = %25, %39
%44 = phi i64 [ %40, %39 ], [ %26, %25 ]
%45 = trunc i64 %44 to i32
br label %46
46: ; preds = %43, %20
%47 = phi i32 [ %23, %20 ], [ %38, %43 ]
%48 = phi i32 [ 0, %20 ], [ %45, %43 ]
%49 = icmp eq i32 %48, %47
br i1 %49, label %86, label %50
50: ; preds = %46
%51 = load i32, ptr @MAX_PIN_FUNC, align 4, !tbaa !6
%52 = icmp sgt i32 %51, 0
br i1 %52, label %53, label %80
53: ; preds = %50
%54 = zext nneg i32 %48 to i64
br label %55
55: ; preds = %53, %71
%56 = phi i32 [ %51, %53 ], [ %72, %71 ]
%57 = phi i64 [ 0, %53 ], [ %73, %71 ]
%58 = load ptr, ptr %5, align 8, !tbaa !10
%59 = getelementptr inbounds i8, ptr %58, i64 8
%60 = load ptr, ptr %59, align 8, !tbaa !16
%61 = getelementptr inbounds %struct.TYPE_3__, ptr %60, i64 %54
%62 = load ptr, ptr %61, align 8, !tbaa !22
%63 = getelementptr inbounds i64, ptr %62, i64 %57
%64 = load i64, ptr %63, align 8, !tbaa !23
%65 = icmp eq i64 %64, 0
br i1 %65, label %71, label %66
66: ; preds = %55
%67 = load ptr, ptr %3, align 8, !tbaa !15
%68 = call i64 @strcmp(ptr noundef %67, i64 noundef %64) #3
%69 = icmp eq i64 %68, 0
%70 = load i32, ptr @MAX_PIN_FUNC, align 4, !tbaa !6
br i1 %69, label %76, label %71
71: ; preds = %66, %55
%72 = phi i32 [ %56, %55 ], [ %70, %66 ]
%73 = add nuw nsw i64 %57, 1
%74 = sext i32 %72 to i64
%75 = icmp slt i64 %73, %74
br i1 %75, label %55, label %76, !llvm.loop !24
76: ; preds = %66, %71
%77 = phi i32 [ %72, %71 ], [ %70, %66 ]
%78 = phi i64 [ %73, %71 ], [ %57, %66 ]
%79 = trunc i64 %78 to i32
br label %80
80: ; preds = %76, %50
%81 = phi i32 [ %51, %50 ], [ %77, %76 ]
%82 = phi i32 [ 0, %50 ], [ %79, %76 ]
%83 = icmp eq i32 %82, %81
br i1 %83, label %86, label %84
84: ; preds = %80
%85 = call i32 @mv_pinctrl_configure_pin(ptr noundef nonnull %5, i32 noundef %48, i32 noundef %82) #3
br label %86
86: ; preds = %80, %46, %84
%87 = add nuw nsw i64 %21, 1
%88 = icmp eq i64 %87, %17
br i1 %88, label %89, label %20, !llvm.loop !25
89: ; preds = %86, %14
%90 = load ptr, ptr %4, align 8, !tbaa !15
%91 = call i32 @OF_prop_free(ptr noundef %90) #3
br label %92
92: ; preds = %89, %18, %9
%93 = phi i32 [ %10, %9 ], [ %19, %18 ], [ 0, %89 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %93
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2
declare i32 @OF_node_from_xref(i32 noundef) local_unnamed_addr #2
declare i32 @OF_getprop_alloc(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ofw_bus_string_list_to_array(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @strcmp(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @mv_pinctrl_configure_pin(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @OF_prop_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"mv_pinctrl_softc", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_4__", !7, i64 0, !12, i64 8}
!15 = !{!12, !12, i64 0}
!16 = !{!14, !12, i64 8}
!17 = !{!18, !19, i64 8}
!18 = !{!"TYPE_3__", !12, i64 0, !19, i64 8}
!19 = !{!"long", !8, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!18, !12, i64 0}
!23 = !{!19, !19, i64 0}
!24 = distinct !{!24, !21}
!25 = distinct !{!25, !21}
| freebsd_sys_arm_mv_extr_mvebu_pinctrl.c_mv_pinctrl_configure_pins |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_qp.c_mlx4_cleanup_qp_zones.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_qp.c_mlx4_cleanup_qp_zones.c"
target datalayout = "e-m:e-p270:32:32-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.mlx4_qp_table = type { ptr, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx4_cleanup_qp_zones], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mlx4_cleanup_qp_zones(ptr noundef %0) #0 {
%2 = tail call ptr @mlx4_priv(ptr noundef %0) #3
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %37, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.mlx4_qp_table, ptr %2, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = tail call ptr @mlx4_zone_get_bitmap(ptr noundef nonnull %3, i32 noundef %8) #3
%10 = load ptr, ptr %2, align 8, !tbaa !5
%11 = load ptr, ptr %6, align 8, !tbaa !10
%12 = load i32, ptr %11, align 4, !tbaa !11
%13 = tail call i32 @mlx4_zone_remove_one(ptr noundef %10, i32 noundef %12) #3
%14 = icmp eq ptr %9, null
br i1 %14, label %17, label %15
15: ; preds = %5
%16 = tail call i32 @mlx4_bitmap_cleanup(ptr noundef nonnull %9) #3
br label %17
17: ; preds = %5, %15
%18 = load ptr, ptr %2, align 8, !tbaa !5
%19 = load ptr, ptr %6, align 8, !tbaa !10
%20 = getelementptr inbounds i32, ptr %19, i64 1
%21 = load i32, ptr %20, align 4, !tbaa !11
%22 = tail call ptr @mlx4_zone_get_bitmap(ptr noundef %18, i32 noundef %21) #3
%23 = load ptr, ptr %2, align 8, !tbaa !5
%24 = load ptr, ptr %6, align 8, !tbaa !10
%25 = getelementptr inbounds i32, ptr %24, i64 1
%26 = load i32, ptr %25, align 4, !tbaa !11
%27 = tail call i32 @mlx4_zone_remove_one(ptr noundef %23, i32 noundef %26) #3
%28 = icmp eq ptr %22, null
br i1 %28, label %31, label %29
29: ; preds = %17
%30 = tail call i32 @mlx4_bitmap_cleanup(ptr noundef nonnull %22) #3
br label %31
31: ; preds = %29, %17
%32 = load ptr, ptr %2, align 8, !tbaa !5
%33 = tail call i32 @mlx4_zone_allocator_destroy(ptr noundef %32) #3
%34 = getelementptr inbounds %struct.mlx4_qp_table, ptr %2, i64 0, i32 1
%35 = load ptr, ptr %34, align 8, !tbaa !13
%36 = tail call i32 @kfree(ptr noundef %35) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
br label %37
37: ; preds = %31, %1
ret void
}
declare ptr @mlx4_priv(ptr noundef) local_unnamed_addr #1
declare ptr @mlx4_zone_get_bitmap(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx4_zone_remove_one(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx4_bitmap_cleanup(ptr noundef) local_unnamed_addr #1
declare i32 @mlx4_zone_allocator_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(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 = !{!"mlx4_qp_table", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 16}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_qp.c_mlx4_cleanup_qp_zones.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_qp.c_mlx4_cleanup_qp_zones.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 @mlx4_cleanup_qp_zones], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mlx4_cleanup_qp_zones(ptr noundef %0) #0 {
%2 = tail call ptr @mlx4_priv(ptr noundef %0) #3
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %37, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %2, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = tail call ptr @mlx4_zone_get_bitmap(ptr noundef nonnull %3, i32 noundef %8) #3
%10 = load ptr, ptr %2, align 8, !tbaa !6
%11 = load ptr, ptr %6, align 8, !tbaa !11
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = tail call i32 @mlx4_zone_remove_one(ptr noundef %10, i32 noundef %12) #3
%14 = icmp eq ptr %9, null
br i1 %14, label %17, label %15
15: ; preds = %5
%16 = tail call i32 @mlx4_bitmap_cleanup(ptr noundef nonnull %9) #3
br label %17
17: ; preds = %5, %15
%18 = load ptr, ptr %2, align 8, !tbaa !6
%19 = load ptr, ptr %6, align 8, !tbaa !11
%20 = getelementptr inbounds i8, ptr %19, i64 4
%21 = load i32, ptr %20, align 4, !tbaa !12
%22 = tail call ptr @mlx4_zone_get_bitmap(ptr noundef %18, i32 noundef %21) #3
%23 = load ptr, ptr %2, align 8, !tbaa !6
%24 = load ptr, ptr %6, align 8, !tbaa !11
%25 = getelementptr inbounds i8, ptr %24, i64 4
%26 = load i32, ptr %25, align 4, !tbaa !12
%27 = tail call i32 @mlx4_zone_remove_one(ptr noundef %23, i32 noundef %26) #3
%28 = icmp eq ptr %22, null
br i1 %28, label %31, label %29
29: ; preds = %17
%30 = tail call i32 @mlx4_bitmap_cleanup(ptr noundef nonnull %22) #3
br label %31
31: ; preds = %29, %17
%32 = load ptr, ptr %2, align 8, !tbaa !6
%33 = tail call i32 @mlx4_zone_allocator_destroy(ptr noundef %32) #3
%34 = getelementptr inbounds i8, ptr %2, i64 8
%35 = load ptr, ptr %34, align 8, !tbaa !14
%36 = tail call i32 @kfree(ptr noundef %35) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
br label %37
37: ; preds = %31, %1
ret void
}
declare ptr @mlx4_priv(ptr noundef) local_unnamed_addr #1
declare ptr @mlx4_zone_get_bitmap(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx4_zone_remove_one(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx4_bitmap_cleanup(ptr noundef) local_unnamed_addr #1
declare i32 @mlx4_zone_allocator_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(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 = !{!"mlx4_qp_table", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 16}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !8, i64 8}
| freebsd_sys_dev_mlx4_mlx4_core_extr_mlx4_qp.c_mlx4_cleanup_qp_zones |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/mm/extr_hugetlbpage.c_hugepd_page.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/mm/extr_hugetlbpage.c_hugepd_page.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HUGEPD_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hugepd_page], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @hugepd_page(i32 %0) #0 {
%2 = load i32, ptr @HUGEPD_OK, align 4, !tbaa !5
%3 = and i32 %2, %0
%4 = icmp eq i32 %3, 0
%5 = zext i1 %4 to i32
%6 = tail call i32 @BUG_ON(i32 noundef %5) #2
%7 = load i32, ptr @HUGEPD_OK, align 4, !tbaa !5
%8 = xor i32 %7, -1
%9 = and i32 %8, %0
%10 = sext i32 %9 to i64
%11 = inttoptr i64 %10 to ptr
ret ptr %11
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/mm/extr_hugetlbpage.c_hugepd_page.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/mm/extr_hugetlbpage.c_hugepd_page.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HUGEPD_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hugepd_page], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @hugepd_page(i64 %0) #0 {
%2 = trunc i64 %0 to i32
%3 = load i32, ptr @HUGEPD_OK, align 4, !tbaa !6
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
%7 = tail call i32 @BUG_ON(i32 noundef %6) #2
%8 = load i32, ptr @HUGEPD_OK, align 4, !tbaa !6
%9 = xor i32 %8, -1
%10 = and i32 %9, %2
%11 = sext i32 %10 to i64
%12 = inttoptr i64 %11 to ptr
ret ptr %12
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_powerpc_mm_extr_hugetlbpage.c_hugepd_page |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_ioc.c_bfa_ioc_sm_getattr_entry.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_ioc.c_bfa_ioc_sm_getattr_entry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@BFA_IOC_TOV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_ioc_sm_getattr_entry], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bfa_ioc_sm_getattr_entry(ptr noundef %0) #0 {
%2 = load i64, ptr @jiffies, align 8, !tbaa !5
%3 = load i32, ptr @BFA_IOC_TOV, align 4, !tbaa !9
%4 = tail call i64 @msecs_to_jiffies(i32 noundef %3) #2
%5 = add nsw i64 %4, %2
%6 = tail call i32 @mod_timer(ptr noundef %0, i64 noundef %5) #2
%7 = tail call i32 @bfa_ioc_send_getattr(ptr noundef %0) #2
ret void
}
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1
declare i32 @bfa_ioc_send_getattr(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_ioc.c_bfa_ioc_sm_getattr_entry.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_ioc.c_bfa_ioc_sm_getattr_entry.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jiffies = common local_unnamed_addr global i64 0, align 8
@BFA_IOC_TOV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bfa_ioc_sm_getattr_entry], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bfa_ioc_sm_getattr_entry(ptr noundef %0) #0 {
%2 = load i64, ptr @jiffies, align 8, !tbaa !6
%3 = load i32, ptr @BFA_IOC_TOV, align 4, !tbaa !10
%4 = tail call i64 @msecs_to_jiffies(i32 noundef %3) #2
%5 = add nsw i64 %4, %2
%6 = tail call i32 @mod_timer(ptr noundef %0, i64 noundef %5) #2
%7 = tail call i32 @bfa_ioc_send_getattr(ptr noundef %0) #2
ret void
}
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1
declare i32 @bfa_ioc_send_getattr(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| linux_drivers_net_ethernet_brocade_bna_extr_bfa_ioc.c_bfa_ioc_sm_getattr_entry |
; ModuleID = 'AnghaBench/curl/tests/libtest/extr_first.c_main.c'
source_filename = "AnghaBench/curl/tests/libtest/extr_first.c_main.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Pass URL as argument please\0A\00", align 1
@test_argc = dso_local local_unnamed_addr global i32 0, align 4
@test_argv = dso_local local_unnamed_addr global ptr null, align 8
@libtest_arg2 = dso_local local_unnamed_addr global ptr null, align 8
@libtest_arg3 = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"URL: %s\0A\00", align 1
@LC_ALL = dso_local local_unnamed_addr global i32 0, align 4
@O_BINARY = dso_local local_unnamed_addr global i32 0, align 4
@stdout = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @memory_tracking_init() #2
%4 = icmp slt i32 %0, 2
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @stderr, align 4, !tbaa !5
%7 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef nonnull @.str) #2
br label %23
8: ; preds = %2
store i32 %0, ptr @test_argc, align 4, !tbaa !5
store ptr %1, ptr @test_argv, align 8, !tbaa !9
%9 = icmp eq i32 %0, 2
br i1 %9, label %17, label %10
10: ; preds = %8
%11 = getelementptr inbounds ptr, ptr %1, i64 2
%12 = load ptr, ptr %11, align 8, !tbaa !9
store ptr %12, ptr @libtest_arg2, align 8, !tbaa !9
%13 = icmp ugt i32 %0, 3
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = getelementptr inbounds ptr, ptr %1, i64 3
%16 = load ptr, ptr %15, align 8, !tbaa !9
store ptr %16, ptr @libtest_arg3, align 8, !tbaa !9
br label %17
17: ; preds = %8, %14, %10
%18 = getelementptr inbounds ptr, ptr %1, i64 1
%19 = load ptr, ptr %18, align 8, !tbaa !9
%20 = load i32, ptr @stderr, align 4, !tbaa !5
%21 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef nonnull @.str.1, ptr noundef %19) #2
%22 = tail call i32 @test(ptr noundef %19) #2
br label %23
23: ; preds = %17, %5
%24 = phi i32 [ 1, %5 ], [ %22, %17 ]
ret i32 %24
}
declare i32 @memory_tracking_init(...) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @test(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/curl/tests/libtest/extr_first.c_main.c'
source_filename = "AnghaBench/curl/tests/libtest/extr_first.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Pass URL as argument please\0A\00", align 1
@test_argc = common local_unnamed_addr global i32 0, align 4
@test_argv = common local_unnamed_addr global ptr null, align 8
@libtest_arg2 = common local_unnamed_addr global ptr null, align 8
@libtest_arg3 = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"URL: %s\0A\00", align 1
@LC_ALL = common local_unnamed_addr global i32 0, align 4
@O_BINARY = common local_unnamed_addr global i32 0, align 4
@stdout = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @memory_tracking_init() #2
%4 = icmp slt i32 %0, 2
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @stderr, align 4, !tbaa !6
%7 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef nonnull @.str) #2
br label %23
8: ; preds = %2
store i32 %0, ptr @test_argc, align 4, !tbaa !6
store ptr %1, ptr @test_argv, align 8, !tbaa !10
%9 = icmp eq i32 %0, 2
br i1 %9, label %17, label %10
10: ; preds = %8
%11 = getelementptr inbounds i8, ptr %1, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !10
store ptr %12, ptr @libtest_arg2, align 8, !tbaa !10
%13 = icmp ugt i32 %0, 3
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = getelementptr inbounds i8, ptr %1, i64 24
%16 = load ptr, ptr %15, align 8, !tbaa !10
store ptr %16, ptr @libtest_arg3, align 8, !tbaa !10
br label %17
17: ; preds = %8, %14, %10
%18 = getelementptr inbounds i8, ptr %1, i64 8
%19 = load ptr, ptr %18, align 8, !tbaa !10
%20 = load i32, ptr @stderr, align 4, !tbaa !6
%21 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef nonnull @.str.1, ptr noundef %19) #2
%22 = tail call i32 @test(ptr noundef %19) #2
br label %23
23: ; preds = %17, %5
%24 = phi i32 [ 1, %5 ], [ %22, %17 ]
ret i32 %24
}
declare i32 @memory_tracking_init(...) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @test(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| curl_tests_libtest_extr_first.c_main |
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_rangetypes.c_range_parse_flags.c'
source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_rangetypes.c_range_parse_flags.c"
target datalayout = "e-m:e-p270:32:32-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_SYNTAX_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"invalid range bound flags\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"Valid values are \22[]\22, \22[)\22, \22(]\22, and \22()\22.\00", align 1
@RANGE_LB_INC = dso_local local_unnamed_addr global i8 0, align 1
@RANGE_UB_INC = dso_local local_unnamed_addr global i8 0, align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @range_parse_flags], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal signext i8 @range_parse_flags(ptr nocapture noundef readonly %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !5
%3 = icmp eq i8 %2, 0
br i1 %3, label %12, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 1
%6 = load i8, ptr %5, align 1, !tbaa !5
%7 = icmp eq i8 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %4
%9 = getelementptr inbounds i8, ptr %0, i64 2
%10 = load i8, ptr %9, align 1, !tbaa !5
%11 = icmp eq i8 %10, 0
br i1 %11, label %20, label %12
12: ; preds = %8, %4, %1
%13 = load i32, ptr @ERROR, align 4, !tbaa !8
%14 = load i32, ptr @ERRCODE_SYNTAX_ERROR, align 4, !tbaa !8
%15 = tail call i32 @errcode(i32 noundef %14) #2
%16 = tail call i32 @errmsg(ptr noundef nonnull @.str) #2
%17 = tail call i32 @errhint(ptr noundef nonnull @.str.1) #2
%18 = tail call i32 @ereport(i32 noundef %13, i32 noundef %17) #2
%19 = load i8, ptr %0, align 1, !tbaa !5
br label %20
20: ; preds = %12, %8
%21 = phi i8 [ %19, %12 ], [ %2, %8 ]
switch i8 %21, label %24 [
i8 91, label %22
i8 40, label %31
]
22: ; preds = %20
%23 = load i8, ptr @RANGE_LB_INC, align 1, !tbaa !5
br label %31
24: ; preds = %20
%25 = load i32, ptr @ERROR, align 4, !tbaa !8
%26 = load i32, ptr @ERRCODE_SYNTAX_ERROR, align 4, !tbaa !8
%27 = tail call i32 @errcode(i32 noundef %26) #2
%28 = tail call i32 @errmsg(ptr noundef nonnull @.str) #2
%29 = tail call i32 @errhint(ptr noundef nonnull @.str.1) #2
%30 = tail call i32 @ereport(i32 noundef %25, i32 noundef %29) #2
br label %31
31: ; preds = %24, %20, %22
%32 = phi i8 [ 0, %24 ], [ 0, %20 ], [ %23, %22 ]
%33 = getelementptr inbounds i8, ptr %0, i64 1
%34 = load i8, ptr %33, align 1, !tbaa !5
switch i8 %34, label %38 [
i8 93, label %35
i8 41, label %45
]
35: ; preds = %31
%36 = load i8, ptr @RANGE_UB_INC, align 1, !tbaa !5
%37 = or i8 %36, %32
br label %45
38: ; preds = %31
%39 = load i32, ptr @ERROR, align 4, !tbaa !8
%40 = load i32, ptr @ERRCODE_SYNTAX_ERROR, align 4, !tbaa !8
%41 = tail call i32 @errcode(i32 noundef %40) #2
%42 = tail call i32 @errmsg(ptr noundef nonnull @.str) #2
%43 = tail call i32 @errhint(ptr noundef nonnull @.str.1) #2
%44 = tail call i32 @ereport(i32 noundef %39, i32 noundef %43) #2
br label %45
45: ; preds = %38, %31, %35
%46 = phi i8 [ %32, %38 ], [ %32, %31 ], [ %37, %35 ]
ret i8 %46
}
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) local_unnamed_addr #1
declare i32 @errhint(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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_rangetypes.c_range_parse_flags.c'
source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_rangetypes.c_range_parse_flags.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_SYNTAX_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"invalid range bound flags\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"Valid values are \22[]\22, \22[)\22, \22(]\22, and \22()\22.\00", align 1
@RANGE_LB_INC = common local_unnamed_addr global i8 0, align 1
@RANGE_UB_INC = common local_unnamed_addr global i8 0, align 1
@llvm.used = appending global [1 x ptr] [ptr @range_parse_flags], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal signext i8 @range_parse_flags(ptr nocapture noundef readonly %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !6
%3 = icmp eq i8 %2, 0
br i1 %3, label %12, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 1
%6 = load i8, ptr %5, align 1, !tbaa !6
%7 = icmp eq i8 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %4
%9 = getelementptr inbounds i8, ptr %0, i64 2
%10 = load i8, ptr %9, align 1, !tbaa !6
%11 = icmp eq i8 %10, 0
br i1 %11, label %20, label %12
12: ; preds = %8, %4, %1
%13 = load i32, ptr @ERROR, align 4, !tbaa !9
%14 = load i32, ptr @ERRCODE_SYNTAX_ERROR, align 4, !tbaa !9
%15 = tail call i32 @errcode(i32 noundef %14) #2
%16 = tail call i32 @errmsg(ptr noundef nonnull @.str) #2
%17 = tail call i32 @errhint(ptr noundef nonnull @.str.1) #2
%18 = tail call i32 @ereport(i32 noundef %13, i32 noundef %17) #2
%19 = load i8, ptr %0, align 1, !tbaa !6
br label %20
20: ; preds = %12, %8
%21 = phi i8 [ %19, %12 ], [ %2, %8 ]
switch i8 %21, label %24 [
i8 91, label %22
i8 40, label %31
]
22: ; preds = %20
%23 = load i8, ptr @RANGE_LB_INC, align 1, !tbaa !6
br label %31
24: ; preds = %20
%25 = load i32, ptr @ERROR, align 4, !tbaa !9
%26 = load i32, ptr @ERRCODE_SYNTAX_ERROR, align 4, !tbaa !9
%27 = tail call i32 @errcode(i32 noundef %26) #2
%28 = tail call i32 @errmsg(ptr noundef nonnull @.str) #2
%29 = tail call i32 @errhint(ptr noundef nonnull @.str.1) #2
%30 = tail call i32 @ereport(i32 noundef %25, i32 noundef %29) #2
br label %31
31: ; preds = %24, %20, %22
%32 = phi i8 [ 0, %24 ], [ 0, %20 ], [ %23, %22 ]
%33 = getelementptr inbounds i8, ptr %0, i64 1
%34 = load i8, ptr %33, align 1, !tbaa !6
switch i8 %34, label %38 [
i8 93, label %35
i8 41, label %45
]
35: ; preds = %31
%36 = load i8, ptr @RANGE_UB_INC, align 1, !tbaa !6
%37 = or i8 %36, %32
br label %45
38: ; preds = %31
%39 = load i32, ptr @ERROR, align 4, !tbaa !9
%40 = load i32, ptr @ERRCODE_SYNTAX_ERROR, align 4, !tbaa !9
%41 = tail call i32 @errcode(i32 noundef %40) #2
%42 = tail call i32 @errmsg(ptr noundef nonnull @.str) #2
%43 = tail call i32 @errhint(ptr noundef nonnull @.str.1) #2
%44 = tail call i32 @ereport(i32 noundef %39, i32 noundef %43) #2
br label %45
45: ; preds = %38, %31, %35
%46 = phi i8 [ %32, %38 ], [ %32, %31 ], [ %37, %35 ]
ret i8 %46
}
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) local_unnamed_addr #1
declare i32 @errhint(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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| postgres_src_backend_utils_adt_extr_rangetypes.c_range_parse_flags |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_cb_pcidas64.c_set_dac_select_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_cb_pcidas64.c_set_dac_select_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.comedi_cmd = type { i32, ptr }
@.str = private unnamed_addr constant [40 x i8] c"bug! last ao channel < first ao channel\00", align 1
@DAC_SELECT_REG = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_dac_select_reg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @set_dac_select_reg(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.comedi_cmd, ptr %1, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call i32 @CR_CHAN(i32 noundef %5) #2
%7 = load ptr, ptr %3, align 8, !tbaa !5
%8 = load i32, ptr %1, align 8, !tbaa !12
%9 = sext i32 %8 to i64
%10 = getelementptr i32, ptr %7, i64 %9
%11 = getelementptr i32, ptr %10, i64 -1
%12 = load i32, ptr %11, align 4, !tbaa !11
%13 = tail call i32 @CR_CHAN(i32 noundef %12) #2
%14 = icmp ult i32 %13, %6
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = tail call i32 @comedi_error(ptr noundef %0, ptr noundef nonnull @.str) #2
br label %17
17: ; preds = %15, %2
%18 = and i32 %6, 7
%19 = shl i32 %13, 3
%20 = and i32 %19, 56
%21 = or disjoint i32 %20, %18
%22 = tail call ptr @priv(ptr noundef %0) #2
%23 = load i64, ptr %22, align 8, !tbaa !13
%24 = load i64, ptr @DAC_SELECT_REG, align 8, !tbaa !16
%25 = add nsw i64 %24, %23
%26 = tail call i32 @writew(i32 noundef %21, i64 noundef %25) #2
ret void
}
declare i32 @CR_CHAN(i32 noundef) local_unnamed_addr #1
declare i32 @comedi_error(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @writew(i32 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @priv(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 = !{!"comedi_cmd", !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, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!15, !15, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_cb_pcidas64.c_set_dac_select_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_cb_pcidas64.c_set_dac_select_reg.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 [40 x i8] c"bug! last ao channel < first ao channel\00", align 1
@DAC_SELECT_REG = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @set_dac_select_reg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @set_dac_select_reg(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = tail call i32 @CR_CHAN(i32 noundef %5) #2
%7 = load ptr, ptr %3, align 8, !tbaa !6
%8 = load i32, ptr %1, align 8, !tbaa !13
%9 = sext i32 %8 to i64
%10 = getelementptr i32, ptr %7, i64 %9
%11 = getelementptr i8, ptr %10, i64 -4
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = tail call i32 @CR_CHAN(i32 noundef %12) #2
%14 = icmp ult i32 %13, %6
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = tail call i32 @comedi_error(ptr noundef %0, ptr noundef nonnull @.str) #2
br label %17
17: ; preds = %15, %2
%18 = and i32 %6, 7
%19 = shl i32 %13, 3
%20 = and i32 %19, 56
%21 = or disjoint i32 %20, %18
%22 = tail call ptr @priv(ptr noundef %0) #2
%23 = load i64, ptr %22, align 8, !tbaa !14
%24 = load i64, ptr @DAC_SELECT_REG, align 8, !tbaa !17
%25 = add nsw i64 %24, %23
%26 = tail call i32 @writew(i32 noundef %21, i64 noundef %25) #2
ret void
}
declare i32 @CR_CHAN(i32 noundef) local_unnamed_addr #1
declare i32 @comedi_error(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @writew(i32 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @priv(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 = !{!"comedi_cmd", !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, !16, i64 0}
!15 = !{!"TYPE_2__", !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!16, !16, i64 0}
| fastsocket_kernel_drivers_staging_comedi_drivers_extr_cb_pcidas64.c_set_dac_select_reg |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_h264chroma_msa.c_avc_chroma_hz_4x8_msa.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_h264chroma_msa.c_avc_chroma_hz_4x8_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"
@chroma_mask_arr = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @avc_chroma_hz_4x8_msa], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @avc_chroma_hz_4x8_msa(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = tail call i32 @__msa_fill_b(i32 noundef %3) #2
%7 = tail call i32 @__msa_fill_b(i32 noundef %4) #2
%8 = tail call i32 @__msa_ilvr_b(i32 noundef %6, i32 noundef %7) #2
%9 = load ptr, ptr @chroma_mask_arr, align 8, !tbaa !5
%10 = tail call i32 @LD_SB(ptr noundef %9) #2
%11 = 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
%12 = tail call i32 @VSHF_B2_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef %10, i32 noundef %10, i32 noundef undef, i32 noundef undef) #2
%13 = tail call i32 @VSHF_B2_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef %10, i32 noundef %10, i32 noundef undef, i32 noundef undef) #2
%14 = tail call i32 @DOTP_UB2_UH(i32 noundef undef, i32 noundef undef, i32 noundef %8, i32 noundef %8, i32 noundef undef, i32 noundef undef) #2
%15 = tail call i32 @DOTP_UB2_UH(i32 noundef undef, i32 noundef undef, i32 noundef %8, i32 noundef %8, i32 noundef undef, i32 noundef undef) #2
%16 = tail call i32 @SLLI_4V(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef 3) #2
%17 = tail call i32 @SRARI_H4_UH(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef 6) #2
%18 = tail call i32 @SAT_UH4_UH(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef 7) #2
%19 = tail call i32 @PCKEV_B2_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%20 = tail call i32 @ST_W8(i32 noundef undef, i32 noundef undef, i32 noundef 0, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 0, i32 noundef 1, i32 noundef 2, i32 noundef 3, ptr noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @__msa_fill_b(i32 noundef) local_unnamed_addr #1
declare i32 @__msa_ilvr_b(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LD_SB(ptr noundef) local_unnamed_addr #1
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 @VSHF_B2_UB(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DOTP_UB2_UH(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SLLI_4V(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SRARI_H4_UH(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SAT_UH4_UH(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PCKEV_B2_UB(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ST_W8(i32 noundef, i32 noundef, 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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_h264chroma_msa.c_avc_chroma_hz_4x8_msa.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_h264chroma_msa.c_avc_chroma_hz_4x8_msa.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@chroma_mask_arr = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @avc_chroma_hz_4x8_msa], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @avc_chroma_hz_4x8_msa(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = tail call i32 @__msa_fill_b(i32 noundef %3) #2
%7 = tail call i32 @__msa_fill_b(i32 noundef %4) #2
%8 = tail call i32 @__msa_ilvr_b(i32 noundef %6, i32 noundef %7) #2
%9 = load ptr, ptr @chroma_mask_arr, align 8, !tbaa !6
%10 = tail call i32 @LD_SB(ptr noundef %9) #2
%11 = 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
%12 = tail call i32 @VSHF_B2_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef %10, i32 noundef %10, i32 noundef undef, i32 noundef undef) #2
%13 = tail call i32 @VSHF_B2_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef %10, i32 noundef %10, i32 noundef undef, i32 noundef undef) #2
%14 = tail call i32 @DOTP_UB2_UH(i32 noundef undef, i32 noundef undef, i32 noundef %8, i32 noundef %8, i32 noundef undef, i32 noundef undef) #2
%15 = tail call i32 @DOTP_UB2_UH(i32 noundef undef, i32 noundef undef, i32 noundef %8, i32 noundef %8, i32 noundef undef, i32 noundef undef) #2
%16 = tail call i32 @SLLI_4V(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef 3) #2
%17 = tail call i32 @SRARI_H4_UH(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef 6) #2
%18 = tail call i32 @SAT_UH4_UH(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef 7) #2
%19 = tail call i32 @PCKEV_B2_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2
%20 = tail call i32 @ST_W8(i32 noundef undef, i32 noundef undef, i32 noundef 0, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 0, i32 noundef 1, i32 noundef 2, i32 noundef 3, ptr noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @__msa_fill_b(i32 noundef) local_unnamed_addr #1
declare i32 @__msa_ilvr_b(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LD_SB(ptr noundef) local_unnamed_addr #1
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 @VSHF_B2_UB(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DOTP_UB2_UH(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SLLI_4V(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SRARI_H4_UH(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SAT_UH4_UH(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PCKEV_B2_UB(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ST_W8(i32 noundef, i32 noundef, 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)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| FFmpeg_libavcodec_mips_extr_h264chroma_msa.c_avc_chroma_hz_4x8_msa |
; ModuleID = 'AnghaBench/macvim/src/extr_ex_getln.c_allbuf_locked.c'
source_filename = "AnghaBench/macvim/src/extr_ex_getln.c_allbuf_locked.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@allbuf_lock = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [51 x i8] c"E811: Not allowed to change buffer information now\00", align 1
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @allbuf_locked() local_unnamed_addr #0 {
%1 = load i64, ptr @allbuf_lock, align 8, !tbaa !5
%2 = icmp sgt i64 %1, 0
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = tail call i32 @_(ptr noundef nonnull @.str) #2
%5 = tail call i32 @EMSG(i32 noundef %4) #2
br label %6
6: ; preds = %0, %3
%7 = phi ptr [ @TRUE, %3 ], [ @FALSE, %0 ]
%8 = load i32, ptr %7, align 4, !tbaa !9
ret i32 %8
}
declare i32 @EMSG(i32 noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/macvim/src/extr_ex_getln.c_allbuf_locked.c'
source_filename = "AnghaBench/macvim/src/extr_ex_getln.c_allbuf_locked.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@allbuf_lock = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [51 x i8] c"E811: Not allowed to change buffer information now\00", align 1
@TRUE = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @allbuf_locked() local_unnamed_addr #0 {
%1 = load i64, ptr @allbuf_lock, align 8, !tbaa !6
%2 = icmp sgt i64 %1, 0
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = tail call i32 @_(ptr noundef nonnull @.str) #2
%5 = tail call i32 @EMSG(i32 noundef %4) #2
br label %6
6: ; preds = %0, %3
%7 = phi ptr [ @TRUE, %3 ], [ @FALSE, %0 ]
%8 = load i32, ptr %7, align 4, !tbaa !10
ret i32 %8
}
declare i32 @EMSG(i32 noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| macvim_src_extr_ex_getln.c_allbuf_locked |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_cciss.c_cciss_free_gendisk.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_cciss.c_cciss_free_gendisk.c"
target datalayout = "e-m:e-p270:32:32-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 @cciss_free_gendisk], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cciss_free_gendisk(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = sext i32 %1 to i64
%5 = getelementptr inbounds ptr, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = tail call i32 @put_disk(ptr noundef %6) #2
%8 = load ptr, ptr %0, align 8, !tbaa !5
%9 = getelementptr inbounds ptr, ptr %8, i64 %4
store ptr null, ptr %9, align 8, !tbaa !10
ret void
}
declare i32 @put_disk(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_cciss.c_cciss_free_gendisk.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_cciss.c_cciss_free_gendisk.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 @cciss_free_gendisk], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cciss_free_gendisk(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = sext i32 %1 to i64
%5 = getelementptr inbounds ptr, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = tail call i32 @put_disk(ptr noundef %6) #2
%8 = load ptr, ptr %0, align 8, !tbaa !6
%9 = getelementptr inbounds ptr, ptr %8, i64 %4
store ptr null, ptr %9, align 8, !tbaa !11
ret void
}
declare i32 @put_disk(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_block_extr_cciss.c_cciss_free_gendisk |
; ModuleID = 'AnghaBench/vlc/modules/demux/mp4/extr_....meta_engineID3Tag.h_ID3TAG_IsTag.c'
source_filename = "AnghaBench/vlc/modules/demux/mp4/extr_....meta_engineID3Tag.h_ID3TAG_IsTag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"3DI\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"ID3\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ID3TAG_IsTag], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ID3TAG_IsTag(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
%4 = select i1 %3, ptr @.str.1, ptr @.str
%5 = tail call i64 @memcmp(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 3) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %21
7: ; preds = %2
%8 = getelementptr inbounds i32, ptr %0, i64 3
%9 = load i32, ptr %8, align 4, !tbaa !5
%10 = icmp slt i32 %9, 255
br i1 %10, label %11, label %21
11: ; preds = %7
%12 = getelementptr inbounds i32, ptr %0, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !5
%14 = icmp slt i32 %13, 255
br i1 %14, label %15, label %21
15: ; preds = %11
%16 = getelementptr inbounds i32, ptr %0, i64 6
%17 = tail call i32 @GetDWBE(ptr noundef nonnull %16) #2
%18 = and i32 %17, -2139062144
%19 = icmp eq i32 %18, 0
%20 = zext i1 %19 to i32
br label %21
21: ; preds = %15, %11, %7, %2
%22 = phi i32 [ 0, %11 ], [ 0, %7 ], [ 0, %2 ], [ %20, %15 ]
ret i32 %22
}
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GetDWBE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/vlc/modules/demux/mp4/extr_....meta_engineID3Tag.h_ID3TAG_IsTag.c'
source_filename = "AnghaBench/vlc/modules/demux/mp4/extr_....meta_engineID3Tag.h_ID3TAG_IsTag.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"3DI\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"ID3\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ID3TAG_IsTag], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @ID3TAG_IsTag(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
%4 = select i1 %3, ptr @.str.1, ptr @.str
%5 = tail call i64 @memcmp(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 3) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %21
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %0, i64 12
%9 = load i32, ptr %8, align 4, !tbaa !6
%10 = icmp slt i32 %9, 255
br i1 %10, label %11, label %21
11: ; preds = %7
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load i32, ptr %12, align 4, !tbaa !6
%14 = icmp slt i32 %13, 255
br i1 %14, label %15, label %21
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %0, i64 24
%17 = tail call i32 @GetDWBE(ptr noundef nonnull %16) #2
%18 = and i32 %17, -2139062144
%19 = icmp eq i32 %18, 0
%20 = zext i1 %19 to i32
br label %21
21: ; preds = %15, %11, %7, %2
%22 = phi i32 [ 0, %11 ], [ 0, %7 ], [ 0, %2 ], [ %20, %15 ]
ret i32 %22
}
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GetDWBE(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"}
| vlc_modules_demux_mp4_extr_....meta_engineID3Tag.h_ID3TAG_IsTag |
; ModuleID = 'AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_fse_compress.c_FSE_compress_usingCTable.c'
source_filename = "AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_fse_compress.c_FSE_compress_usingCTable.c"
target datalayout = "e-m:e-p270:32:32-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 i64 @FSE_compress_usingCTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call i64 @FSE_BLOCKBOUND(i64 noundef %3) #2
%7 = icmp ule i64 %6, %1
%8 = zext i1 %7 to i32
%9 = tail call i64 @FSE_compress_usingCTable_generic(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %8) #2
ret i64 %9
}
declare i64 @FSE_BLOCKBOUND(i64 noundef) local_unnamed_addr #1
declare i64 @FSE_compress_usingCTable_generic(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_fse_compress.c_FSE_compress_usingCTable.c'
source_filename = "AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_fse_compress.c_FSE_compress_usingCTable.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 i64 @FSE_compress_usingCTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call i64 @FSE_BLOCKBOUND(i64 noundef %3) #2
%7 = icmp ule i64 %6, %1
%8 = zext i1 %7 to i32
%9 = tail call i64 @FSE_compress_usingCTable_generic(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %8) #2
ret i64 %9
}
declare i64 @FSE_BLOCKBOUND(i64 noundef) local_unnamed_addr #1
declare i64 @FSE_compress_usingCTable_generic(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| zstd_contrib_linux-kernel_lib_zstd_extr_fse_compress.c_FSE_compress_usingCTable |
; ModuleID = 'AnghaBench/mpv/audio/out/extr_ao_coreaudio.c_ca_get_hardware_latency.c'
source_filename = "AnghaBench/mpv/audio/out/extr_ao_coreaudio.c_ca_get_hardware_latency.c"
target datalayout = "e-m:e-p270:32:32-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.priv = type { i32, i32 }
@kAudioUnitProperty_Latency = dso_local local_unnamed_addr global i32 0, align 4
@kAudioUnitScope_Global = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"cannot get audio unit latency\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"audiounit latency [us]: %lld\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"device latency [us]: %lld\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ca_get_hardware_latency], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal double @ca_get_hardware_latency(ptr noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca i32, align 4
%4 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store double 0.000000e+00, ptr %2, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 8, ptr %3, align 4, !tbaa !12
%5 = getelementptr inbounds %struct.priv, ptr %4, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !14
%7 = load i32, ptr @kAudioUnitProperty_Latency, align 4, !tbaa !12
%8 = load i32, ptr @kAudioUnitScope_Global, align 4, !tbaa !12
%9 = call i32 @AudioUnitGetProperty(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 0, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%10 = call i32 @CHECK_CA_ERROR(ptr noundef nonnull @.str) #3
%11 = load double, ptr %2, align 8, !tbaa !10
%12 = fmul double %11, 1.000000e+06
%13 = load i32, ptr %4, align 4, !tbaa !16
%14 = call double @ca_get_device_latency_us(ptr noundef nonnull %0, i32 noundef %13) #3
%15 = call i32 @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, double noundef %12) #3
%16 = call i32 @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, double noundef %14) #3
%17 = fadd double %12, %14
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret double %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 @AudioUnitGetProperty(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @CHECK_CA_ERROR(ptr noundef) local_unnamed_addr #2
declare double @ca_get_device_latency_us(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @MP_VERBOSE(ptr noundef, ptr noundef, double 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 = !{!"ao", !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 = !{!"double", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 4}
!15 = !{!"priv", !13, i64 0, !13, i64 4}
!16 = !{!15, !13, i64 0}
| ; ModuleID = 'AnghaBench/mpv/audio/out/extr_ao_coreaudio.c_ca_get_hardware_latency.c'
source_filename = "AnghaBench/mpv/audio/out/extr_ao_coreaudio.c_ca_get_hardware_latency.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@kAudioUnitProperty_Latency = common local_unnamed_addr global i32 0, align 4
@kAudioUnitScope_Global = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"cannot get audio unit latency\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"audiounit latency [us]: %lld\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"device latency [us]: %lld\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ca_get_hardware_latency], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal double @ca_get_hardware_latency(ptr noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca i32, align 4
%4 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store double 0.000000e+00, ptr %2, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 8, ptr %3, align 4, !tbaa !13
%5 = getelementptr inbounds i8, ptr %4, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !15
%7 = load i32, ptr @kAudioUnitProperty_Latency, align 4, !tbaa !13
%8 = load i32, ptr @kAudioUnitScope_Global, align 4, !tbaa !13
%9 = call i32 @AudioUnitGetProperty(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 0, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%10 = call i32 @CHECK_CA_ERROR(ptr noundef nonnull @.str) #3
%11 = load double, ptr %2, align 8, !tbaa !11
%12 = fmul double %11, 1.000000e+06
%13 = load i32, ptr %4, align 4, !tbaa !17
%14 = call double @ca_get_device_latency_us(ptr noundef nonnull %0, i32 noundef %13) #3
%15 = call i32 @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, double noundef %12) #3
%16 = call i32 @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, double noundef %14) #3
%17 = fadd double %12, %14
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret double %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 @AudioUnitGetProperty(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @CHECK_CA_ERROR(ptr noundef) local_unnamed_addr #2
declare double @ca_get_device_latency_us(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @MP_VERBOSE(ptr noundef, ptr noundef, double 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 = !{!"ao", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !14, i64 4}
!16 = !{!"priv", !14, i64 0, !14, i64 4}
!17 = !{!16, !14, i64 0}
| mpv_audio_out_extr_ao_coreaudio.c_ca_get_hardware_latency |
; ModuleID = 'AnghaBench/linux/security/smack/extr_smack_lsm.c_smack_inode_getsecctx.c'
source_filename = "AnghaBench/linux/security/smack/extr_smack_lsm.c_smack_inode_getsecctx.c"
target datalayout = "e-m:e-p270:32:32-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 @smack_inode_getsecctx], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @smack_inode_getsecctx(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @smk_of_inode(ptr noundef %0) #2
%5 = load ptr, ptr %4, align 8, !tbaa !5
store ptr %5, ptr %1, align 8, !tbaa !10
%6 = tail call i32 @strlen(ptr noundef %5) #2
store i32 %6, ptr %2, align 4, !tbaa !11
ret i32 0
}
declare ptr @smk_of_inode(ptr noundef) local_unnamed_addr #1
declare i32 @strlen(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 = !{!"smack_known", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/security/smack/extr_smack_lsm.c_smack_inode_getsecctx.c'
source_filename = "AnghaBench/linux/security/smack/extr_smack_lsm.c_smack_inode_getsecctx.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 @smack_inode_getsecctx], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @smack_inode_getsecctx(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @smk_of_inode(ptr noundef %0) #2
%5 = load ptr, ptr %4, align 8, !tbaa !6
store ptr %5, ptr %1, align 8, !tbaa !11
%6 = tail call i32 @strlen(ptr noundef %5) #2
store i32 %6, ptr %2, align 4, !tbaa !12
ret i32 0
}
declare ptr @smk_of_inode(ptr noundef) local_unnamed_addr #1
declare i32 @strlen(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 = !{!"smack_known", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_security_smack_extr_smack_lsm.c_smack_inode_getsecctx |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_cook.c_mono_decode.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_cook.c_mono_decode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_12__ = type { i32, i32 }
%struct.TYPE_13__ = type { i32, i32 }
@AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mono_decode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mono_decode(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca [128 x i32], align 16
%5 = alloca [128 x i32], align 16
%6 = alloca [102 x i32], align 16
call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %4) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(512) %4, i8 0, i64 512, i1 false)
call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %5) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(512) %5, i8 0, i64 512, i1 false)
call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %6) #4
%7 = call i32 @decode_envelope(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6) #4
%8 = icmp slt i32 %7, 0
br i1 %8, label %32, label %9
9: ; preds = %3
%10 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !5
%12 = call i32 @get_bits(ptr noundef %0, i32 noundef %11) #4
%13 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
store i32 %12, ptr %13, align 4, !tbaa !10
%14 = call i32 @categorize(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %5, ptr noundef nonnull %4) #4
%15 = call i32 @expand_category(ptr noundef %0, ptr noundef nonnull %5, ptr noundef nonnull %4) #4
%16 = load i32, ptr %1, align 4, !tbaa !12
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %30
18: ; preds = %9
%19 = zext nneg i32 %16 to i64
br label %23
20: ; preds = %23
%21 = add nuw nsw i64 %24, 1
%22 = icmp eq i64 %21, %19
br i1 %22, label %30, label %23, !llvm.loop !13
23: ; preds = %18, %20
%24 = phi i64 [ 0, %18 ], [ %21, %20 ]
%25 = getelementptr inbounds [128 x i32], ptr %5, i64 0, i64 %24
%26 = load i32, ptr %25, align 4, !tbaa !15
%27 = icmp sgt i32 %26, 7
br i1 %27, label %28, label %20
28: ; preds = %23
%29 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !15
br label %32
30: ; preds = %20, %9
%31 = call i32 @decode_vectors(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef %2) #4
br label %32
32: ; preds = %3, %30, %28
%33 = phi i32 [ %29, %28 ], [ 0, %30 ], [ %7, %3 ]
call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %4) #4
ret i32 %33
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @decode_envelope(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @categorize(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @expand_category(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @decode_vectors(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_12__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"TYPE_13__", !7, i64 0, !7, i64 4}
!12 = !{!6, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_cook.c_mono_decode.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_cook.c_mono_decode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mono_decode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mono_decode(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca [128 x i32], align 4
%5 = alloca [128 x i32], align 4
%6 = alloca [102 x i32], align 4
call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %4) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(512) %4, i8 0, i64 512, i1 false)
call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %5) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(512) %5, i8 0, i64 512, i1 false)
call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %6) #4
%7 = call i32 @decode_envelope(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6) #4
%8 = icmp slt i32 %7, 0
br i1 %8, label %32, label %9
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %1, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !6
%12 = call i32 @get_bits(ptr noundef %0, i32 noundef %11) #4
%13 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %12, ptr %13, align 4, !tbaa !11
%14 = call i32 @categorize(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %5, ptr noundef nonnull %4) #4
%15 = call i32 @expand_category(ptr noundef %0, ptr noundef nonnull %5, ptr noundef nonnull %4) #4
%16 = load i32, ptr %1, align 4, !tbaa !13
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %30
18: ; preds = %9
%19 = zext nneg i32 %16 to i64
br label %23
20: ; preds = %23
%21 = add nuw nsw i64 %24, 1
%22 = icmp eq i64 %21, %19
br i1 %22, label %30, label %23, !llvm.loop !14
23: ; preds = %18, %20
%24 = phi i64 [ 0, %18 ], [ %21, %20 ]
%25 = getelementptr inbounds [128 x i32], ptr %5, i64 0, i64 %24
%26 = load i32, ptr %25, align 4, !tbaa !16
%27 = icmp sgt i32 %26, 7
br i1 %27, label %28, label %20
28: ; preds = %23
%29 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !16
br label %32
30: ; preds = %20, %9
%31 = call i32 @decode_vectors(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef %2) #4
br label %32
32: ; preds = %3, %30, %28
%33 = phi i32 [ %29, %28 ], [ 0, %30 ], [ %7, %3 ]
call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %4) #4
ret i32 %33
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @decode_envelope(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @categorize(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @expand_category(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @decode_vectors(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"TYPE_12__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 4}
!12 = !{!"TYPE_13__", !8, i64 0, !8, i64 4}
!13 = !{!7, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!8, !8, i64 0}
| FFmpeg_libavcodec_extr_cook.c_mono_decode |
; ModuleID = 'AnghaBench/linux/drivers/xen/xenbus/extr_xenbus_xs.c_xs_single.c'
source_filename = "AnghaBench/linux/drivers/xen/xenbus/extr_xenbus_xs.c_xs_single.c"
target datalayout = "e-m:e-p270:32:32-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.kvec = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @xs_single], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @xs_single(i32 %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.kvec, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
%6 = getelementptr inbounds %struct.kvec, ptr %5, i64 0, i32 1
store ptr %2, ptr %6, align 8, !tbaa !5
%7 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2)
%8 = add nsw i64 %7, 1
store i64 %8, ptr %5, align 8, !tbaa !11
%9 = call ptr @xs_talkv(i32 %0, i32 noundef %1, ptr noundef nonnull %5, i32 noundef 1, ptr noundef %3) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
ret ptr %9
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2
declare ptr @xs_talkv(i32, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 8}
!6 = !{!"kvec", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/xen/xenbus/extr_xenbus_xs.c_xs_single.c'
source_filename = "AnghaBench/linux/drivers/xen/xenbus/extr_xenbus_xs.c_xs_single.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.kvec = type { i64, ptr }
@llvm.used = appending global [1 x ptr] [ptr @xs_single], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @xs_single(i64 %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.kvec, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
%6 = getelementptr inbounds i8, ptr %5, i64 8
store ptr %2, ptr %6, align 8, !tbaa !6
%7 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2)
%8 = add nsw i64 %7, 1
store i64 %8, ptr %5, align 8, !tbaa !12
%9 = and i64 %0, 4294967295
%10 = call ptr @xs_talkv(i64 %9, i32 noundef %1, ptr noundef nonnull %5, i32 noundef 1, ptr noundef %3) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
ret ptr %10
}
; 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 nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2
declare ptr @xs_talkv(i64, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #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 8}
!7 = !{!"kvec", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
| linux_drivers_xen_xenbus_extr_xenbus_xs.c_xs_single |
; ModuleID = 'AnghaBench/xLua/WebGLPlugins/extr_loslib.c_os_time.c'
source_filename = "AnghaBench/xLua/WebGLPlugins/extr_loslib.c_os_time.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.tm = type { i32, ptr, ptr, ptr, ptr, ptr, ptr }
@LUA_TTABLE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"sec\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"min\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"hour\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"day\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"month\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"year\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"isdst\00", align 1
@.str.7 = private unnamed_addr constant [55 x i8] c"time result cannot be represented in this installation\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @os_time], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @os_time(ptr noundef %0) #0 {
%2 = alloca %struct.tm, align 8
%3 = tail call i64 @lua_isnoneornil(ptr noundef %0, i32 noundef 1) #4
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i64 @time(ptr noundef null) #4
br label %26
7: ; preds = %1
call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %2) #4
%8 = load i32, ptr @LUA_TTABLE, align 4, !tbaa !5
%9 = tail call i32 @luaL_checktype(ptr noundef %0, i32 noundef 1, i32 noundef %8) #4
%10 = tail call i32 @lua_settop(ptr noundef %0, i32 noundef 1) #4
%11 = tail call ptr @getfield(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 0, i32 noundef 0) #4
%12 = getelementptr inbounds %struct.tm, ptr %2, i64 0, i32 6
store ptr %11, ptr %12, align 8, !tbaa !9
%13 = tail call ptr @getfield(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef 0, i32 noundef 0) #4
%14 = getelementptr inbounds %struct.tm, ptr %2, i64 0, i32 5
store ptr %13, ptr %14, align 8, !tbaa !12
%15 = tail call ptr @getfield(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef 12, i32 noundef 0) #4
%16 = getelementptr inbounds %struct.tm, ptr %2, i64 0, i32 4
store ptr %15, ptr %16, align 8, !tbaa !13
%17 = tail call ptr @getfield(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef -1, i32 noundef 0) #4
%18 = getelementptr inbounds %struct.tm, ptr %2, i64 0, i32 3
store ptr %17, ptr %18, align 8, !tbaa !14
%19 = tail call ptr @getfield(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef -1, i32 noundef 1) #4
%20 = getelementptr inbounds %struct.tm, ptr %2, i64 0, i32 2
store ptr %19, ptr %20, align 8, !tbaa !15
%21 = tail call ptr @getfield(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef -1, i32 noundef 1900) #4
%22 = getelementptr inbounds %struct.tm, ptr %2, i64 0, i32 1
store ptr %21, ptr %22, align 8, !tbaa !16
%23 = tail call i32 @getboolfield(ptr noundef %0, ptr noundef nonnull @.str.6) #4
store i32 %23, ptr %2, align 8, !tbaa !17
%24 = call i64 @mktime(ptr noundef nonnull %2)
%25 = call i32 @setallfields(ptr noundef %0, ptr noundef nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #4
br label %26
26: ; preds = %7, %5
%27 = phi i64 [ %6, %5 ], [ %24, %7 ]
%28 = icmp eq i64 %27, -1
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.7) #4
br label %31
31: ; preds = %26, %29
%32 = call i32 @l_pushtime(ptr noundef %0, i64 noundef %27) #4
ret i32 1
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @lua_isnoneornil(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @time(ptr noundef) local_unnamed_addr #2
declare i32 @luaL_checktype(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @lua_settop(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @getfield(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @getboolfield(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn
declare noundef i64 @mktime(ptr nocapture noundef) local_unnamed_addr #3
declare i32 @setallfields(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @l_pushtime(ptr noundef, i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 48}
!10 = !{!"tm", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 40}
!13 = !{!10, !11, i64 32}
!14 = !{!10, !11, i64 24}
!15 = !{!10, !11, i64 16}
!16 = !{!10, !11, i64 8}
!17 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/xLua/WebGLPlugins/extr_loslib.c_os_time.c'
source_filename = "AnghaBench/xLua/WebGLPlugins/extr_loslib.c_os_time.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.tm = type { i32, ptr, ptr, ptr, ptr, ptr, ptr }
@LUA_TTABLE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"sec\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"min\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"hour\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"day\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"month\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"year\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"isdst\00", align 1
@.str.7 = private unnamed_addr constant [55 x i8] c"time result cannot be represented in this installation\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @os_time], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @os_time(ptr noundef %0) #0 {
%2 = alloca %struct.tm, align 8
%3 = tail call i64 @lua_isnoneornil(ptr noundef %0, i32 noundef 1) #4
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i64 @time(ptr noundef null) #4
br label %26
7: ; preds = %1
call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %2) #4
%8 = load i32, ptr @LUA_TTABLE, align 4, !tbaa !6
%9 = tail call i32 @luaL_checktype(ptr noundef %0, i32 noundef 1, i32 noundef %8) #4
%10 = tail call i32 @lua_settop(ptr noundef %0, i32 noundef 1) #4
%11 = tail call ptr @getfield(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 0, i32 noundef 0) #4
%12 = getelementptr inbounds i8, ptr %2, i64 48
store ptr %11, ptr %12, align 8, !tbaa !10
%13 = tail call ptr @getfield(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef 0, i32 noundef 0) #4
%14 = getelementptr inbounds i8, ptr %2, i64 40
store ptr %13, ptr %14, align 8, !tbaa !13
%15 = tail call ptr @getfield(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef 12, i32 noundef 0) #4
%16 = getelementptr inbounds i8, ptr %2, i64 32
store ptr %15, ptr %16, align 8, !tbaa !14
%17 = tail call ptr @getfield(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef -1, i32 noundef 0) #4
%18 = getelementptr inbounds i8, ptr %2, i64 24
store ptr %17, ptr %18, align 8, !tbaa !15
%19 = tail call ptr @getfield(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef -1, i32 noundef 1) #4
%20 = getelementptr inbounds i8, ptr %2, i64 16
store ptr %19, ptr %20, align 8, !tbaa !16
%21 = tail call ptr @getfield(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef -1, i32 noundef 1900) #4
%22 = getelementptr inbounds i8, ptr %2, i64 8
store ptr %21, ptr %22, align 8, !tbaa !17
%23 = tail call i32 @getboolfield(ptr noundef %0, ptr noundef nonnull @.str.6) #4
store i32 %23, ptr %2, align 8, !tbaa !18
%24 = call i64 @mktime(ptr noundef nonnull %2)
%25 = call i32 @setallfields(ptr noundef %0, ptr noundef nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #4
br label %26
26: ; preds = %7, %5
%27 = phi i64 [ %6, %5 ], [ %24, %7 ]
%28 = icmp eq i64 %27, -1
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.7) #4
br label %31
31: ; preds = %26, %29
%32 = call i32 @l_pushtime(ptr noundef %0, i64 noundef %27) #4
ret i32 1
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @lua_isnoneornil(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @time(ptr noundef) local_unnamed_addr #2
declare i32 @luaL_checktype(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @lua_settop(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @getfield(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @getboolfield(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn
declare noundef i64 @mktime(ptr nocapture noundef) local_unnamed_addr #3
declare i32 @setallfields(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @l_pushtime(ptr noundef, i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 48}
!11 = !{!"tm", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 40}
!14 = !{!11, !12, i64 32}
!15 = !{!11, !12, i64 24}
!16 = !{!11, !12, i64 16}
!17 = !{!11, !12, i64 8}
!18 = !{!11, !7, i64 0}
| xLua_WebGLPlugins_extr_loslib.c_os_time |
; ModuleID = 'AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_flush_cache.c'
source_filename = "AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_flush_cache.c"
target datalayout = "e-m:e-p270:32:32-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
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@SA_FLUSH_CACHE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pqi_flush_cache], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pqi_flush_cache(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i64 @pqi_ctrl_offline(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = load i32, ptr @ENXIO, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
br label %19
8: ; preds = %2
%9 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%10 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%14 = sub nsw i32 0, %13
br label %19
15: ; preds = %8
store i32 %1, ptr %10, align 4, !tbaa !9
%16 = load i32, ptr @SA_FLUSH_CACHE, align 4, !tbaa !5
%17 = tail call i32 @pqi_send_ctrl_raid_request(ptr noundef %0, i32 noundef %16, ptr noundef nonnull %10, i32 noundef 4) #2
%18 = tail call i32 @kfree(ptr noundef nonnull %10) #2
br label %19
19: ; preds = %15, %12, %5
%20 = phi i32 [ %7, %5 ], [ %17, %15 ], [ %14, %12 ]
ret i32 %20
}
declare i64 @pqi_ctrl_offline(ptr noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pqi_send_ctrl_raid_request(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"bmic_flush_cache", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_flush_cache.c'
source_filename = "AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_flush_cache.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
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@SA_FLUSH_CACHE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pqi_flush_cache], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pqi_flush_cache(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i64 @pqi_ctrl_offline(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = load i32, ptr @ENXIO, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
br label %19
8: ; preds = %2
%9 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%10 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%14 = sub nsw i32 0, %13
br label %19
15: ; preds = %8
store i32 %1, ptr %10, align 4, !tbaa !10
%16 = load i32, ptr @SA_FLUSH_CACHE, align 4, !tbaa !6
%17 = tail call i32 @pqi_send_ctrl_raid_request(ptr noundef %0, i32 noundef %16, ptr noundef nonnull %10, i32 noundef 4) #2
%18 = tail call i32 @kfree(ptr noundef nonnull %10) #2
br label %19
19: ; preds = %15, %12, %5
%20 = phi i32 [ %7, %5 ], [ %17, %15 ], [ %14, %12 ]
ret i32 %20
}
declare i64 @pqi_ctrl_offline(ptr noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pqi_send_ctrl_raid_request(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"bmic_flush_cache", !7, i64 0}
| linux_drivers_scsi_smartpqi_extr_smartpqi_init.c_pqi_flush_cache |
; ModuleID = 'AnghaBench/linux/drivers/usb/musb/extr_omap2430.c_omap_musb_set_mailbox.c'
source_filename = "AnghaBench/linux/drivers/usb/musb/extr_omap2430.c_omap_musb_set_mailbox.c"
target datalayout = "e-m:e-p270:32:32-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.musb = type { ptr, i32, i32 }
%struct.TYPE_3__ = type { i32, i32, ptr }
%struct.omap2430_glue = type { i32, i32 }
@.str = private unnamed_addr constant [8 x i8] c"ID GND\0A\00", align 1
@OTG_STATE_A_IDLE = dso_local local_unnamed_addr global i32 0, align 4
@USB_EVENT_ID = dso_local local_unnamed_addr global i32 0, align 4
@USB_MODE_HOST = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"VBUS Connect\0A\00", align 1
@OTG_STATE_B_IDLE = dso_local local_unnamed_addr global i32 0, align 4
@USB_EVENT_VBUS = dso_local local_unnamed_addr global i32 0, align 4
@USB_MODE_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"VBUS Disconnect\0A\00", align 1
@USB_EVENT_NONE = dso_local local_unnamed_addr global i32 0, align 4
@MUSB_INTERFACE_UTMI = dso_local local_unnamed_addr global i32 0, align 4
@USB_MODE_DISCONNECT = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [10 x i8] c"ID float\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @omap_musb_set_mailbox], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @omap_musb_set_mailbox(ptr noundef %0) #0 {
%2 = tail call ptr @glue_to_musb(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.musb, ptr %2, i64 0, i32 1
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = tail call ptr @dev_get_platdata(i32 noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load i32, ptr %3, align 8, !tbaa !5
%8 = tail call i32 @pm_runtime_get_sync(i32 noundef %7) #2
%9 = load i32, ptr %0, align 4, !tbaa !13
switch i32 %9, label %63 [
i32 130, label %10
i32 128, label %27
i32 131, label %39
i32 129, label %39
]
10: ; preds = %1
%11 = load i32, ptr %3, align 8, !tbaa !5
%12 = tail call i32 @dev_dbg(i32 noundef %11, ptr noundef nonnull @.str) #2
%13 = load i32, ptr @OTG_STATE_A_IDLE, align 4, !tbaa !15
%14 = load ptr, ptr %2, align 8, !tbaa !16
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i64 0, i32 2
%16 = load ptr, ptr %15, align 8, !tbaa !17
store i32 %13, ptr %16, align 4, !tbaa !19
%17 = load i32, ptr @USB_EVENT_ID, align 4, !tbaa !15
store i32 %17, ptr %14, align 8, !tbaa !21
%18 = getelementptr inbounds %struct.musb, ptr %2, i64 0, i32 2
%19 = load i32, ptr %18, align 4, !tbaa !22
%20 = icmp eq i32 %19, 0
br i1 %20, label %66, label %21
21: ; preds = %10
%22 = getelementptr inbounds %struct.omap2430_glue, ptr %0, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !23
%24 = load i32, ptr @USB_MODE_HOST, align 4, !tbaa !15
%25 = tail call i32 @omap_control_usb_set_mode(i32 noundef %23, i32 noundef %24) #2
%26 = tail call i32 @omap2430_musb_set_vbus(ptr noundef nonnull %2, i32 noundef 1) #2
br label %66
27: ; preds = %1
%28 = load i32, ptr %3, align 8, !tbaa !5
%29 = tail call i32 @dev_dbg(i32 noundef %28, ptr noundef nonnull @.str.1) #2
%30 = load i32, ptr @OTG_STATE_B_IDLE, align 4, !tbaa !15
%31 = load ptr, ptr %2, align 8, !tbaa !16
%32 = getelementptr inbounds %struct.TYPE_3__, ptr %31, i64 0, i32 2
%33 = load ptr, ptr %32, align 8, !tbaa !17
store i32 %30, ptr %33, align 4, !tbaa !19
%34 = load i32, ptr @USB_EVENT_VBUS, align 4, !tbaa !15
store i32 %34, ptr %31, align 8, !tbaa !21
%35 = getelementptr inbounds %struct.omap2430_glue, ptr %0, i64 0, i32 1
%36 = load i32, ptr %35, align 4, !tbaa !23
%37 = load i32, ptr @USB_MODE_DEVICE, align 4, !tbaa !15
%38 = tail call i32 @omap_control_usb_set_mode(i32 noundef %36, i32 noundef %37) #2
br label %66
39: ; preds = %1, %1
%40 = load i32, ptr %3, align 8, !tbaa !5
%41 = tail call i32 @dev_dbg(i32 noundef %40, ptr noundef nonnull @.str.2) #2
%42 = load i32, ptr @USB_EVENT_NONE, align 4, !tbaa !15
%43 = load ptr, ptr %2, align 8, !tbaa !16
store i32 %42, ptr %43, align 8, !tbaa !21
%44 = getelementptr inbounds %struct.musb, ptr %2, i64 0, i32 2
%45 = load i32, ptr %44, align 4, !tbaa !22
%46 = icmp eq i32 %45, 0
br i1 %46, label %49, label %47
47: ; preds = %39
%48 = tail call i32 @omap2430_musb_set_vbus(ptr noundef nonnull %2, i32 noundef 0) #2
br label %49
49: ; preds = %47, %39
%50 = load i32, ptr %6, align 4, !tbaa !24
%51 = load i32, ptr @MUSB_INTERFACE_UTMI, align 4, !tbaa !15
%52 = icmp eq i32 %50, %51
br i1 %52, label %53, label %58
53: ; preds = %49
%54 = load ptr, ptr %2, align 8, !tbaa !16
%55 = getelementptr inbounds %struct.TYPE_3__, ptr %54, i64 0, i32 2
%56 = load ptr, ptr %55, align 8, !tbaa !17
%57 = tail call i32 @otg_set_vbus(ptr noundef %56, i32 noundef 0) #2
br label %58
58: ; preds = %53, %49
%59 = getelementptr inbounds %struct.omap2430_glue, ptr %0, i64 0, i32 1
%60 = load i32, ptr %59, align 4, !tbaa !23
%61 = load i32, ptr @USB_MODE_DISCONNECT, align 4, !tbaa !15
%62 = tail call i32 @omap_control_usb_set_mode(i32 noundef %60, i32 noundef %61) #2
br label %66
63: ; preds = %1
%64 = load i32, ptr %3, align 8, !tbaa !5
%65 = tail call i32 @dev_dbg(i32 noundef %64, ptr noundef nonnull @.str.3) #2
br label %66
66: ; preds = %10, %21, %63, %58, %27
%67 = load i32, ptr %3, align 8, !tbaa !5
%68 = tail call i32 @pm_runtime_mark_last_busy(i32 noundef %67) #2
%69 = load i32, ptr %3, align 8, !tbaa !5
%70 = tail call i32 @pm_runtime_put_autosuspend(i32 noundef %69) #2
%71 = load ptr, ptr %2, align 8, !tbaa !16
%72 = getelementptr inbounds %struct.TYPE_3__, ptr %71, i64 0, i32 1
%73 = load i32, ptr %71, align 8, !tbaa !21
%74 = tail call i32 @atomic_notifier_call_chain(ptr noundef nonnull %72, i32 noundef %73, ptr noundef null) #2
ret void
}
declare ptr @glue_to_musb(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_platdata(i32 noundef) local_unnamed_addr #1
declare i32 @pm_runtime_get_sync(i32 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @omap_control_usb_set_mode(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @omap2430_musb_set_vbus(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @otg_set_vbus(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pm_runtime_mark_last_busy(i32 noundef) local_unnamed_addr #1
declare i32 @pm_runtime_put_autosuspend(i32 noundef) local_unnamed_addr #1
declare i32 @atomic_notifier_call_chain(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"musb", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"musb_hdrc_platform_data", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"omap2430_glue", !10, i64 0, !10, i64 4}
!15 = !{!10, !10, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!18, !7, i64 8}
!18 = !{!"TYPE_3__", !10, i64 0, !10, i64 4, !7, i64 8}
!19 = !{!20, !10, i64 0}
!20 = !{!"TYPE_4__", !10, i64 0}
!21 = !{!18, !10, i64 0}
!22 = !{!6, !10, i64 12}
!23 = !{!14, !10, i64 4}
!24 = !{!25, !10, i64 0}
!25 = !{!"omap_musb_board_data", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/musb/extr_omap2430.c_omap_musb_set_mailbox.c'
source_filename = "AnghaBench/linux/drivers/usb/musb/extr_omap2430.c_omap_musb_set_mailbox.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [8 x i8] c"ID GND\0A\00", align 1
@OTG_STATE_A_IDLE = common local_unnamed_addr global i32 0, align 4
@USB_EVENT_ID = common local_unnamed_addr global i32 0, align 4
@USB_MODE_HOST = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"VBUS Connect\0A\00", align 1
@OTG_STATE_B_IDLE = common local_unnamed_addr global i32 0, align 4
@USB_EVENT_VBUS = common local_unnamed_addr global i32 0, align 4
@USB_MODE_DEVICE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"VBUS Disconnect\0A\00", align 1
@USB_EVENT_NONE = common local_unnamed_addr global i32 0, align 4
@MUSB_INTERFACE_UTMI = common local_unnamed_addr global i32 0, align 4
@USB_MODE_DISCONNECT = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [10 x i8] c"ID float\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @omap_musb_set_mailbox], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @omap_musb_set_mailbox(ptr noundef %0) #0 {
%2 = tail call ptr @glue_to_musb(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = tail call ptr @dev_get_platdata(i32 noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = load i32, ptr %3, align 8, !tbaa !6
%8 = tail call i32 @pm_runtime_get_sync(i32 noundef %7) #2
%9 = load i32, ptr %0, align 4, !tbaa !14
switch i32 %9, label %63 [
i32 130, label %10
i32 128, label %27
i32 131, label %39
i32 129, label %39
]
10: ; preds = %1
%11 = load i32, ptr %3, align 8, !tbaa !6
%12 = tail call i32 @dev_dbg(i32 noundef %11, ptr noundef nonnull @.str) #2
%13 = load i32, ptr @OTG_STATE_A_IDLE, align 4, !tbaa !16
%14 = load ptr, ptr %2, align 8, !tbaa !17
%15 = getelementptr inbounds i8, ptr %14, i64 8
%16 = load ptr, ptr %15, align 8, !tbaa !18
store i32 %13, ptr %16, align 4, !tbaa !20
%17 = load i32, ptr @USB_EVENT_ID, align 4, !tbaa !16
store i32 %17, ptr %14, align 8, !tbaa !22
%18 = getelementptr inbounds i8, ptr %2, i64 12
%19 = load i32, ptr %18, align 4, !tbaa !23
%20 = icmp eq i32 %19, 0
br i1 %20, label %66, label %21
21: ; preds = %10
%22 = getelementptr inbounds i8, ptr %0, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !24
%24 = load i32, ptr @USB_MODE_HOST, align 4, !tbaa !16
%25 = tail call i32 @omap_control_usb_set_mode(i32 noundef %23, i32 noundef %24) #2
%26 = tail call i32 @omap2430_musb_set_vbus(ptr noundef nonnull %2, i32 noundef 1) #2
br label %66
27: ; preds = %1
%28 = load i32, ptr %3, align 8, !tbaa !6
%29 = tail call i32 @dev_dbg(i32 noundef %28, ptr noundef nonnull @.str.1) #2
%30 = load i32, ptr @OTG_STATE_B_IDLE, align 4, !tbaa !16
%31 = load ptr, ptr %2, align 8, !tbaa !17
%32 = getelementptr inbounds i8, ptr %31, i64 8
%33 = load ptr, ptr %32, align 8, !tbaa !18
store i32 %30, ptr %33, align 4, !tbaa !20
%34 = load i32, ptr @USB_EVENT_VBUS, align 4, !tbaa !16
store i32 %34, ptr %31, align 8, !tbaa !22
%35 = getelementptr inbounds i8, ptr %0, i64 4
%36 = load i32, ptr %35, align 4, !tbaa !24
%37 = load i32, ptr @USB_MODE_DEVICE, align 4, !tbaa !16
%38 = tail call i32 @omap_control_usb_set_mode(i32 noundef %36, i32 noundef %37) #2
br label %66
39: ; preds = %1, %1
%40 = load i32, ptr %3, align 8, !tbaa !6
%41 = tail call i32 @dev_dbg(i32 noundef %40, ptr noundef nonnull @.str.2) #2
%42 = load i32, ptr @USB_EVENT_NONE, align 4, !tbaa !16
%43 = load ptr, ptr %2, align 8, !tbaa !17
store i32 %42, ptr %43, align 8, !tbaa !22
%44 = getelementptr inbounds i8, ptr %2, i64 12
%45 = load i32, ptr %44, align 4, !tbaa !23
%46 = icmp eq i32 %45, 0
br i1 %46, label %49, label %47
47: ; preds = %39
%48 = tail call i32 @omap2430_musb_set_vbus(ptr noundef nonnull %2, i32 noundef 0) #2
br label %49
49: ; preds = %47, %39
%50 = load i32, ptr %6, align 4, !tbaa !25
%51 = load i32, ptr @MUSB_INTERFACE_UTMI, align 4, !tbaa !16
%52 = icmp eq i32 %50, %51
br i1 %52, label %53, label %58
53: ; preds = %49
%54 = load ptr, ptr %2, align 8, !tbaa !17
%55 = getelementptr inbounds i8, ptr %54, i64 8
%56 = load ptr, ptr %55, align 8, !tbaa !18
%57 = tail call i32 @otg_set_vbus(ptr noundef %56, i32 noundef 0) #2
br label %58
58: ; preds = %53, %49
%59 = getelementptr inbounds i8, ptr %0, i64 4
%60 = load i32, ptr %59, align 4, !tbaa !24
%61 = load i32, ptr @USB_MODE_DISCONNECT, align 4, !tbaa !16
%62 = tail call i32 @omap_control_usb_set_mode(i32 noundef %60, i32 noundef %61) #2
br label %66
63: ; preds = %1
%64 = load i32, ptr %3, align 8, !tbaa !6
%65 = tail call i32 @dev_dbg(i32 noundef %64, ptr noundef nonnull @.str.3) #2
br label %66
66: ; preds = %10, %21, %63, %58, %27
%67 = load i32, ptr %3, align 8, !tbaa !6
%68 = tail call i32 @pm_runtime_mark_last_busy(i32 noundef %67) #2
%69 = load i32, ptr %3, align 8, !tbaa !6
%70 = tail call i32 @pm_runtime_put_autosuspend(i32 noundef %69) #2
%71 = load ptr, ptr %2, align 8, !tbaa !17
%72 = getelementptr inbounds i8, ptr %71, i64 4
%73 = load i32, ptr %71, align 8, !tbaa !22
%74 = tail call i32 @atomic_notifier_call_chain(ptr noundef nonnull %72, i32 noundef %73, ptr noundef null) #2
ret void
}
declare ptr @glue_to_musb(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_platdata(i32 noundef) local_unnamed_addr #1
declare i32 @pm_runtime_get_sync(i32 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @omap_control_usb_set_mode(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @omap2430_musb_set_vbus(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @otg_set_vbus(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pm_runtime_mark_last_busy(i32 noundef) local_unnamed_addr #1
declare i32 @pm_runtime_put_autosuspend(i32 noundef) local_unnamed_addr #1
declare i32 @atomic_notifier_call_chain(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"musb", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"musb_hdrc_platform_data", !8, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"omap2430_glue", !11, i64 0, !11, i64 4}
!16 = !{!11, !11, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!19, !8, i64 8}
!19 = !{!"TYPE_3__", !11, i64 0, !11, i64 4, !8, i64 8}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_4__", !11, i64 0}
!22 = !{!19, !11, i64 0}
!23 = !{!7, !11, i64 12}
!24 = !{!15, !11, i64 4}
!25 = !{!26, !11, i64 0}
!26 = !{!"omap_musb_board_data", !11, i64 0}
| linux_drivers_usb_musb_extr_omap2430.c_omap_musb_set_mailbox |
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_read_fcoe_param.c'
source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_read_fcoe_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.lpfc_fip_param_hdr = type { i64, i64, i32 }
%struct.lpfc_hba = type { i32, i32, ptr }
@FIPP_VERSION = dso_local local_unnamed_addr global i64 0, align 8
@FCOE_PARAM_LENGTH = dso_local local_unnamed_addr global i64 0, align 8
@FIPP_VLAN_VALID = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lpfc_read_fcoe_param], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lpfc_read_fcoe_param(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i32, ptr %1, i64 24
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = load i64, ptr @FIPP_VERSION, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %35
7: ; preds = %2
%8 = getelementptr inbounds %struct.lpfc_fip_param_hdr, ptr %1, i64 0, i32 1
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = load i64, ptr @FCOE_PARAM_LENGTH, align 8, !tbaa !11
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %35
12: ; preds = %7
%13 = getelementptr inbounds %struct.lpfc_fip_param_hdr, ptr %1, i64 0, i32 2
%14 = load i32, ptr %13, align 8, !tbaa !13
%15 = load i32, ptr @FIPP_VLAN_VALID, align 4, !tbaa !14
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %24, label %18
18: ; preds = %12
store i32 1, ptr %0, align 8, !tbaa !15
%19 = getelementptr inbounds i32, ptr %1, i64 26
%20 = load i32, ptr %19, align 8, !tbaa !18
%21 = tail call i32 @le16_to_cpu(i32 noundef %20) #2
%22 = and i32 %21, 4095
%23 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 1
store i32 %22, ptr %23, align 4, !tbaa !20
br label %24
24: ; preds = %18, %12
%25 = load ptr, ptr %3, align 8, !tbaa !21
%26 = load i32, ptr %25, align 4, !tbaa !14
%27 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 2
%28 = load ptr, ptr %27, align 8, !tbaa !22
store i32 %26, ptr %28, align 4, !tbaa !14
%29 = getelementptr inbounds i32, ptr %25, i64 1
%30 = load i32, ptr %29, align 4, !tbaa !14
%31 = getelementptr inbounds i32, ptr %28, i64 1
store i32 %30, ptr %31, align 4, !tbaa !14
%32 = getelementptr inbounds i32, ptr %25, i64 2
%33 = load i32, ptr %32, align 4, !tbaa !14
%34 = getelementptr inbounds i32, ptr %28, i64 2
store i32 %33, ptr %34, align 4, !tbaa !14
br label %35
35: ; preds = %2, %7, %24
ret void
}
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"lpfc_fip_param_hdr", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !10, i64 16}
!14 = !{!10, !10, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"lpfc_hba", !10, i64 0, !10, i64 4, !17, i64 8}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!19, !10, i64 8}
!19 = !{!"lpfc_fcoe_params", !17, i64 0, !10, i64 8}
!20 = !{!16, !10, i64 4}
!21 = !{!19, !17, i64 0}
!22 = !{!16, !17, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_read_fcoe_param.c'
source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_read_fcoe_param.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FIPP_VERSION = common local_unnamed_addr global i64 0, align 8
@FCOE_PARAM_LENGTH = common local_unnamed_addr global i64 0, align 8
@FIPP_VLAN_VALID = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lpfc_read_fcoe_param], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lpfc_read_fcoe_param(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 96
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = load i64, ptr @FIPP_VERSION, align 8, !tbaa !12
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %35
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %1, i64 8
%9 = load i64, ptr %8, align 8, !tbaa !13
%10 = load i64, ptr @FCOE_PARAM_LENGTH, align 8, !tbaa !12
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %35
12: ; preds = %7
%13 = getelementptr inbounds i8, ptr %1, i64 16
%14 = load i32, ptr %13, align 8, !tbaa !14
%15 = load i32, ptr @FIPP_VLAN_VALID, align 4, !tbaa !15
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %24, label %18
18: ; preds = %12
store i32 1, ptr %0, align 8, !tbaa !16
%19 = getelementptr inbounds i8, ptr %1, i64 104
%20 = load i32, ptr %19, align 8, !tbaa !19
%21 = tail call i32 @le16_to_cpu(i32 noundef %20) #2
%22 = and i32 %21, 4095
%23 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %22, ptr %23, align 4, !tbaa !21
br label %24
24: ; preds = %18, %12
%25 = load ptr, ptr %3, align 8, !tbaa !22
%26 = load i32, ptr %25, align 4, !tbaa !15
%27 = getelementptr inbounds i8, ptr %0, i64 8
%28 = load ptr, ptr %27, align 8, !tbaa !23
store i32 %26, ptr %28, align 4, !tbaa !15
%29 = getelementptr inbounds i8, ptr %25, i64 4
%30 = load i32, ptr %29, align 4, !tbaa !15
%31 = getelementptr inbounds i8, ptr %28, i64 4
store i32 %30, ptr %31, align 4, !tbaa !15
%32 = getelementptr inbounds i8, ptr %25, i64 8
%33 = load i32, ptr %32, align 4, !tbaa !15
%34 = getelementptr inbounds i8, ptr %28, i64 8
store i32 %33, ptr %34, align 4, !tbaa !15
br label %35
35: ; preds = %2, %7, %24
ret void
}
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"lpfc_fip_param_hdr", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !11, i64 16}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"lpfc_hba", !11, i64 0, !11, i64 4, !18, i64 8}
!18 = !{!"any pointer", !9, i64 0}
!19 = !{!20, !11, i64 8}
!20 = !{!"lpfc_fcoe_params", !18, i64 0, !11, i64 8}
!21 = !{!17, !11, i64 4}
!22 = !{!20, !18, i64 0}
!23 = !{!17, !18, i64 8}
| linux_drivers_scsi_lpfc_extr_lpfc_hbadisc.c_lpfc_read_fcoe_param |
; ModuleID = 'AnghaBench/h2o/deps/mruby/mrbgems/mruby-symbol-ext/src/extr_symbol.c_mrb_mruby_symbol_ext_gem_final.c'
source_filename = "AnghaBench/h2o/deps/mruby/mrbgems/mruby-symbol-ext/src/extr_symbol.c_mrb_mruby_symbol_ext_gem_final.c"
target datalayout = "e-m:e-p270:32:32-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 @mrb_mruby_symbol_ext_gem_final(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/h2o/deps/mruby/mrbgems/mruby-symbol-ext/src/extr_symbol.c_mrb_mruby_symbol_ext_gem_final.c'
source_filename = "AnghaBench/h2o/deps/mruby/mrbgems/mruby-symbol-ext/src/extr_symbol.c_mrb_mruby_symbol_ext_gem_final.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 @mrb_mruby_symbol_ext_gem_final(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)"}
| h2o_deps_mruby_mrbgems_mruby-symbol-ext_src_extr_symbol.c_mrb_mruby_symbol_ext_gem_final |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/core/oss/extr_rate.c_rate_transfer.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/core/oss/extr_rate.c_rate_transfer.c"
target datalayout = "e-m:e-p270:32:32-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 i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @rate_transfer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @rate_transfer(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp eq ptr %0, null
%6 = icmp eq ptr %1, null
%7 = or i1 %5, %6
%8 = icmp eq ptr %2, null
%9 = or i1 %7, %8
%10 = zext i1 %9 to i32
%11 = tail call i64 @snd_BUG_ON(i32 noundef %10) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %4
%14 = load i64, ptr @ENXIO, align 8, !tbaa !5
%15 = sub nsw i64 0, %14
br label %26
16: ; preds = %4
%17 = icmp eq i64 %3, 0
br i1 %17, label %26, label %18
18: ; preds = %16
%19 = tail call i64 @rate_dst_frames(ptr noundef %0, i64 noundef %3) #3
%20 = load i64, ptr %2, align 8, !tbaa !9
%21 = tail call i64 @llvm.smin.i64(i64 %19, i64 %20)
%22 = load i64, ptr %0, align 8, !tbaa !13
%23 = inttoptr i64 %22 to ptr
%24 = load ptr, ptr %23, align 8, !tbaa !16
%25 = tail call i32 %24(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %2, i64 noundef %3, i64 noundef %21) #3
br label %26
26: ; preds = %16, %18, %13
%27 = phi i64 [ %15, %13 ], [ %21, %18 ], [ 0, %16 ]
ret i64 %27
}
declare i64 @snd_BUG_ON(i32 noundef) local_unnamed_addr #1
declare i64 @rate_dst_frames(ptr noundef, i64 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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"snd_pcm_plugin_channel", !6, i64 0, !11, i64 8}
!11 = !{!"TYPE_4__", !12, i64 0, !12, i64 4}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"snd_pcm_plugin", !6, i64 0, !15, i64 8}
!15 = !{!"TYPE_3__", !12, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"rate_priv", !18, i64 0}
!18 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/core/oss/extr_rate.c_rate_transfer.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/core/oss/extr_rate.c_rate_transfer.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 i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @rate_transfer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @rate_transfer(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp eq ptr %0, null
%6 = icmp eq ptr %1, null
%7 = or i1 %5, %6
%8 = icmp eq ptr %2, null
%9 = or i1 %7, %8
%10 = zext i1 %9 to i32
%11 = tail call i64 @snd_BUG_ON(i32 noundef %10) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %4
%14 = load i64, ptr @ENXIO, align 8, !tbaa !6
%15 = sub nsw i64 0, %14
br label %26
16: ; preds = %4
%17 = icmp eq i64 %3, 0
br i1 %17, label %26, label %18
18: ; preds = %16
%19 = tail call i64 @rate_dst_frames(ptr noundef %0, i64 noundef %3) #3
%20 = load i64, ptr %2, align 8, !tbaa !10
%21 = tail call i64 @llvm.smin.i64(i64 %19, i64 %20)
%22 = load i64, ptr %0, align 8, !tbaa !14
%23 = inttoptr i64 %22 to ptr
%24 = load ptr, ptr %23, align 8, !tbaa !17
%25 = tail call i32 %24(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %2, i64 noundef %3, i64 noundef %21) #3
br label %26
26: ; preds = %16, %18, %13
%27 = phi i64 [ %15, %13 ], [ %21, %18 ], [ 0, %16 ]
ret i64 %27
}
declare i64 @snd_BUG_ON(i32 noundef) local_unnamed_addr #1
declare i64 @rate_dst_frames(ptr noundef, i64 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)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"snd_pcm_plugin_channel", !7, i64 0, !12, i64 8}
!12 = !{!"TYPE_4__", !13, i64 0, !13, i64 4}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"snd_pcm_plugin", !7, i64 0, !16, i64 8}
!16 = !{!"TYPE_3__", !13, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"rate_priv", !19, i64 0}
!19 = !{!"any pointer", !8, i64 0}
| fastsocket_kernel_sound_core_oss_extr_rate.c_rate_transfer |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/extr_wlan_sys.c_wlan_snmp_to_regdomain.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/extr_wlan_sys.c_wlan_snmp_to_regdomain.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SKU_FCC = dso_local local_unnamed_addr global i32 0, align 4
@SKU_CA = dso_local local_unnamed_addr global i32 0, align 4
@SKU_ETSI = dso_local local_unnamed_addr global i32 0, align 4
@SKU_ETSI2 = dso_local local_unnamed_addr global i32 0, align 4
@SKU_ETSI3 = dso_local local_unnamed_addr global i32 0, align 4
@SKU_FCC3 = dso_local local_unnamed_addr global i32 0, align 4
@SKU_JAPAN = dso_local local_unnamed_addr global i32 0, align 4
@SKU_KOREA = dso_local local_unnamed_addr global i32 0, align 4
@SKU_APAC = dso_local local_unnamed_addr global i32 0, align 4
@SKU_APAC2 = dso_local local_unnamed_addr global i32 0, align 4
@SKU_APAC3 = dso_local local_unnamed_addr global i32 0, align 4
@SKU_ROW = dso_local local_unnamed_addr global i32 0, align 4
@SKU_NONE = dso_local local_unnamed_addr global i32 0, align 4
@SKU_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@SKU_SR9 = dso_local local_unnamed_addr global i32 0, align 4
@SKU_XR9 = dso_local local_unnamed_addr global i32 0, align 4
@SKU_GZ901 = dso_local local_unnamed_addr global i32 0, align 4
@LOG_ERR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"unknown snmp regdomain (0x%x) \00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @wlan_snmp_to_regdomain], section "llvm.metadata"
@switch.table.wlan_snmp_to_regdomain = private unnamed_addr constant [17 x ptr] [ptr @SKU_XR9, ptr @SKU_SR9, ptr @SKU_ROW, ptr @SKU_NONE, ptr @SKU_KOREA, ptr @SKU_JAPAN, ptr @SKU_GZ901, ptr @SKU_FCC3, ptr @SKU_FCC, ptr @SKU_ETSI3, ptr @SKU_ETSI2, ptr @SKU_ETSI, ptr @SKU_DEBUG, ptr @SKU_CA, ptr @SKU_APAC3, ptr @SKU_APAC2, ptr @SKU_APAC], align 8
; Function Attrs: nounwind uwtable
define internal i32 @wlan_snmp_to_regdomain(i32 noundef %0) #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 17
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @LOG_ERR, align 4, !tbaa !5
%6 = tail call i32 @syslog(i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %0) #2
br label %11
7: ; preds = %1
%8 = zext nneg i32 %2 to i64
%9 = getelementptr inbounds [17 x ptr], ptr @switch.table.wlan_snmp_to_regdomain, i64 0, i64 %8
%10 = load ptr, ptr %9, align 8
br label %11
11: ; preds = %7, %4
%12 = phi ptr [ @SKU_NONE, %4 ], [ %10, %7 ]
%13 = load i32, ptr %12, align 4, !tbaa !5
ret i32 %13
}
declare i32 @syslog(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"}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/extr_wlan_sys.c_wlan_snmp_to_regdomain.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/extr_wlan_sys.c_wlan_snmp_to_regdomain.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SKU_FCC = common local_unnamed_addr global i32 0, align 4
@SKU_CA = common local_unnamed_addr global i32 0, align 4
@SKU_ETSI = common local_unnamed_addr global i32 0, align 4
@SKU_ETSI2 = common local_unnamed_addr global i32 0, align 4
@SKU_ETSI3 = common local_unnamed_addr global i32 0, align 4
@SKU_FCC3 = common local_unnamed_addr global i32 0, align 4
@SKU_JAPAN = common local_unnamed_addr global i32 0, align 4
@SKU_KOREA = common local_unnamed_addr global i32 0, align 4
@SKU_APAC = common local_unnamed_addr global i32 0, align 4
@SKU_APAC2 = common local_unnamed_addr global i32 0, align 4
@SKU_APAC3 = common local_unnamed_addr global i32 0, align 4
@SKU_ROW = common local_unnamed_addr global i32 0, align 4
@SKU_NONE = common local_unnamed_addr global i32 0, align 4
@SKU_DEBUG = common local_unnamed_addr global i32 0, align 4
@SKU_SR9 = common local_unnamed_addr global i32 0, align 4
@SKU_XR9 = common local_unnamed_addr global i32 0, align 4
@SKU_GZ901 = common local_unnamed_addr global i32 0, align 4
@LOG_ERR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"unknown snmp regdomain (0x%x) \00", align 1
@llvm.used = appending global [1 x ptr] [ptr @wlan_snmp_to_regdomain], section "llvm.metadata"
@switch.table.wlan_snmp_to_regdomain = private unnamed_addr constant [17 x ptr] [ptr @SKU_XR9, ptr @SKU_SR9, ptr @SKU_ROW, ptr @SKU_NONE, ptr @SKU_KOREA, ptr @SKU_JAPAN, ptr @SKU_GZ901, ptr @SKU_FCC3, ptr @SKU_FCC, ptr @SKU_ETSI3, ptr @SKU_ETSI2, ptr @SKU_ETSI, ptr @SKU_DEBUG, ptr @SKU_CA, ptr @SKU_APAC3, ptr @SKU_APAC2, ptr @SKU_APAC], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @wlan_snmp_to_regdomain(i32 noundef %0) #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 17
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @LOG_ERR, align 4, !tbaa !6
%6 = tail call i32 @syslog(i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %0) #2
br label %11
7: ; preds = %1
%8 = zext nneg i32 %2 to i64
%9 = getelementptr inbounds [17 x ptr], ptr @switch.table.wlan_snmp_to_regdomain, i64 0, i64 %8
%10 = load ptr, ptr %9, align 8
br label %11
11: ; preds = %7, %4
%12 = phi ptr [ @SKU_NONE, %4 ], [ %10, %7 ]
%13 = load i32, ptr %12, align 4, !tbaa !6
ret i32 %13
}
declare i32 @syslog(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"}
| freebsd_usr.sbin_bsnmpd_modules_snmp_wlan_extr_wlan_sys.c_wlan_snmp_to_regdomain |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/x86emu/extr_x86emu.c_x86emu_intr_raise.c'
source_filename = "AnghaBench/freebsd/sys/contrib/x86emu/extr_x86emu.c_x86emu_intr_raise.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
@INTR_SYNCH = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local void @x86emu_intr_raise(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
store i32 %1, ptr %3, align 4, !tbaa !5
%4 = load i32, ptr @INTR_SYNCH, align 4, !tbaa !11
%5 = load i32, ptr %0, align 4, !tbaa !12
%6 = or i32 %5, %4
store i32 %6, ptr %0, align 4, !tbaa !12
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 4}
!6 = !{!"x86emu", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/x86emu/extr_x86emu.c_x86emu_intr_raise.c'
source_filename = "AnghaBench/freebsd/sys/contrib/x86emu/extr_x86emu.c_x86emu_intr_raise.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INTR_SYNCH = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define void @x86emu_intr_raise(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %1, ptr %3, align 4, !tbaa !6
%4 = load i32, ptr @INTR_SYNCH, align 4, !tbaa !12
%5 = load i32, ptr %0, align 4, !tbaa !13
%6 = or i32 %5, %4
store i32 %6, ptr %0, align 4, !tbaa !13
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 4}
!7 = !{!"x86emu", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
!13 = !{!7, !9, i64 0}
| freebsd_sys_contrib_x86emu_extr_x86emu.c_x86emu_intr_raise |
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-repair.c_is_white.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-repair.c_is_white.c"
target datalayout = "e-m:e-p270:32:32-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 @is_white], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @is_white(i32 noundef %0) #0 {
switch i32 %0, label %2 [
i32 13, label %5
i32 12, label %5
i32 10, label %5
i32 9, label %5
i32 0, label %5
]
2: ; preds = %1
%3 = icmp eq i32 %0, 32
%4 = zext i1 %3 to i32
br label %5
5: ; preds = %1, %1, %1, %1, %1, %2
%6 = phi i32 [ 1, %1 ], [ %4, %2 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ]
ret i32 %6
}
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/sumatrapdf/mupdf/source/pdf/extr_pdf-repair.c_is_white.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-repair.c_is_white.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 @is_white], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 2) i32 @is_white(i32 noundef %0) #0 {
switch i32 %0, label %2 [
i32 13, label %5
i32 12, label %5
i32 10, label %5
i32 9, label %5
i32 0, label %5
]
2: ; preds = %1
%3 = icmp eq i32 %0, 32
%4 = zext i1 %3 to i32
br label %5
5: ; preds = %1, %1, %1, %1, %1, %2
%6 = phi i32 [ 1, %1 ], [ %4, %2 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ]
ret i32 %6
}
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)"}
| sumatrapdf_mupdf_source_pdf_extr_pdf-repair.c_is_white |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/extr_wl3501_cs.c_wl3501_get_from_wla.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/extr_wl3501_cs.c_wl3501_get_from_wla.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@WL3501_BSS_SPAGE1 = dso_local local_unnamed_addr global i32 0, align 4
@WL3501_BSS_SPAGE0 = dso_local local_unnamed_addr global i32 0, align 4
@WL3501_NIC_LMAL = dso_local local_unnamed_addr global i64 0, align 8
@WL3501_NIC_LMAH = dso_local local_unnamed_addr global i64 0, align 8
@WL3501_NIC_IODPA = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @wl3501_get_from_wla], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @wl3501_get_from_wla(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = and i32 %1, 32768
%6 = icmp eq i32 %5, 0
%7 = load i32, ptr @WL3501_BSS_SPAGE1, align 4
%8 = load i32, ptr @WL3501_BSS_SPAGE0, align 4
%9 = select i1 %6, i32 %8, i32 %7
%10 = tail call i32 @wl3501_switch_page(ptr noundef %0, i32 noundef %9) #2
%11 = and i32 %1, 255
%12 = load i64, ptr %0, align 8, !tbaa !5
%13 = load i64, ptr @WL3501_NIC_LMAL, align 8, !tbaa !10
%14 = add nsw i64 %13, %12
%15 = tail call i32 @wl3501_outb(i32 noundef %11, i64 noundef %14) #2
%16 = lshr i32 %1, 8
%17 = and i32 %16, 127
%18 = load i64, ptr %0, align 8, !tbaa !5
%19 = load i64, ptr @WL3501_NIC_LMAH, align 8, !tbaa !10
%20 = add nsw i64 %19, %18
%21 = tail call i32 @wl3501_outb(i32 noundef %17, i64 noundef %20) #2
%22 = load i64, ptr %0, align 8, !tbaa !5
%23 = load i64, ptr @WL3501_NIC_IODPA, align 8, !tbaa !10
%24 = add nsw i64 %23, %22
%25 = tail call i32 @insb(i64 noundef %24, ptr noundef %2, i32 noundef %3) #2
ret void
}
declare i32 @wl3501_switch_page(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wl3501_outb(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @insb(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"wl3501_card", !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/drivers/net/wireless/extr_wl3501_cs.c_wl3501_get_from_wla.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/extr_wl3501_cs.c_wl3501_get_from_wla.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WL3501_BSS_SPAGE1 = common local_unnamed_addr global i32 0, align 4
@WL3501_BSS_SPAGE0 = common local_unnamed_addr global i32 0, align 4
@WL3501_NIC_LMAL = common local_unnamed_addr global i64 0, align 8
@WL3501_NIC_LMAH = common local_unnamed_addr global i64 0, align 8
@WL3501_NIC_IODPA = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @wl3501_get_from_wla], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @wl3501_get_from_wla(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = and i32 %1, 32768
%6 = icmp eq i32 %5, 0
%7 = load i32, ptr @WL3501_BSS_SPAGE1, align 4
%8 = load i32, ptr @WL3501_BSS_SPAGE0, align 4
%9 = select i1 %6, i32 %8, i32 %7
%10 = tail call i32 @wl3501_switch_page(ptr noundef %0, i32 noundef %9) #2
%11 = and i32 %1, 255
%12 = load i64, ptr %0, align 8, !tbaa !6
%13 = load i64, ptr @WL3501_NIC_LMAL, align 8, !tbaa !11
%14 = add nsw i64 %13, %12
%15 = tail call i32 @wl3501_outb(i32 noundef %11, i64 noundef %14) #2
%16 = lshr i32 %1, 8
%17 = and i32 %16, 127
%18 = load i64, ptr %0, align 8, !tbaa !6
%19 = load i64, ptr @WL3501_NIC_LMAH, align 8, !tbaa !11
%20 = add nsw i64 %19, %18
%21 = tail call i32 @wl3501_outb(i32 noundef %17, i64 noundef %20) #2
%22 = load i64, ptr %0, align 8, !tbaa !6
%23 = load i64, ptr @WL3501_NIC_IODPA, align 8, !tbaa !11
%24 = add nsw i64 %23, %22
%25 = tail call i32 @insb(i64 noundef %24, ptr noundef %2, i32 noundef %3) #2
ret void
}
declare i32 @wl3501_switch_page(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wl3501_outb(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @insb(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"wl3501_card", !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_drivers_net_wireless_extr_wl3501_cs.c_wl3501_get_from_wla |
; ModuleID = 'AnghaBench/xLua/build/lua-5.1.5/src/extr_lvm.c_lessequal.c'
source_filename = "AnghaBench/xLua/build/lua-5.1.5/src/extr_lvm.c_lessequal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TM_LE = dso_local local_unnamed_addr global i32 0, align 4
@TM_LT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lessequal], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @lessequal(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i64 @ttype(ptr noundef %1) #2
%5 = tail call i64 @ttype(ptr noundef %2) #2
%6 = icmp eq i64 %4, %5
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 @luaG_ordererror(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
br label %38
9: ; preds = %3
%10 = tail call i64 @ttisnumber(ptr noundef %1) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %16, label %12
12: ; preds = %9
%13 = tail call i32 @nvalue(ptr noundef %1) #2
%14 = tail call i32 @nvalue(ptr noundef %2) #2
%15 = tail call i32 @luai_numle(i32 noundef %13, i32 noundef %14) #2
br label %38
16: ; preds = %9
%17 = tail call i64 @ttisstring(ptr noundef %1) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %25, label %19
19: ; preds = %16
%20 = tail call i32 @rawtsvalue(ptr noundef %1) #2
%21 = tail call i32 @rawtsvalue(ptr noundef %2) #2
%22 = tail call i64 @l_strcmp(i32 noundef %20, i32 noundef %21) #2
%23 = icmp slt i64 %22, 1
%24 = zext i1 %23 to i32
br label %38
25: ; preds = %16
%26 = load i32, ptr @TM_LE, align 4, !tbaa !5
%27 = tail call i32 @call_orderTM(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %26) #2
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %38
29: ; preds = %25
%30 = load i32, ptr @TM_LT, align 4, !tbaa !5
%31 = tail call i32 @call_orderTM(ptr noundef %0, ptr noundef %2, ptr noundef %1, i32 noundef %30) #2
%32 = icmp eq i32 %31, -1
br i1 %32, label %36, label %33
33: ; preds = %29
%34 = icmp eq i32 %31, 0
%35 = zext i1 %34 to i32
br label %38
36: ; preds = %29
%37 = tail call i32 @luaG_ordererror(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
br label %38
38: ; preds = %25, %36, %33, %19, %12, %7
%39 = phi i32 [ %8, %7 ], [ %15, %12 ], [ %24, %19 ], [ %35, %33 ], [ %37, %36 ], [ %27, %25 ]
ret i32 %39
}
declare i64 @ttype(ptr noundef) local_unnamed_addr #1
declare i32 @luaG_ordererror(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ttisnumber(ptr noundef) local_unnamed_addr #1
declare i32 @luai_numle(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nvalue(ptr noundef) local_unnamed_addr #1
declare i64 @ttisstring(ptr noundef) local_unnamed_addr #1
declare i64 @l_strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rawtsvalue(ptr noundef) local_unnamed_addr #1
declare i32 @call_orderTM(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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/xLua/build/lua-5.1.5/src/extr_lvm.c_lessequal.c'
source_filename = "AnghaBench/xLua/build/lua-5.1.5/src/extr_lvm.c_lessequal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TM_LE = common local_unnamed_addr global i32 0, align 4
@TM_LT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lessequal], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @lessequal(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i64 @ttype(ptr noundef %1) #2
%5 = tail call i64 @ttype(ptr noundef %2) #2
%6 = icmp eq i64 %4, %5
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 @luaG_ordererror(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
br label %38
9: ; preds = %3
%10 = tail call i64 @ttisnumber(ptr noundef %1) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %16, label %12
12: ; preds = %9
%13 = tail call i32 @nvalue(ptr noundef %1) #2
%14 = tail call i32 @nvalue(ptr noundef %2) #2
%15 = tail call i32 @luai_numle(i32 noundef %13, i32 noundef %14) #2
br label %38
16: ; preds = %9
%17 = tail call i64 @ttisstring(ptr noundef %1) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %25, label %19
19: ; preds = %16
%20 = tail call i32 @rawtsvalue(ptr noundef %1) #2
%21 = tail call i32 @rawtsvalue(ptr noundef %2) #2
%22 = tail call i64 @l_strcmp(i32 noundef %20, i32 noundef %21) #2
%23 = icmp slt i64 %22, 1
%24 = zext i1 %23 to i32
br label %38
25: ; preds = %16
%26 = load i32, ptr @TM_LE, align 4, !tbaa !6
%27 = tail call i32 @call_orderTM(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %26) #2
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %38
29: ; preds = %25
%30 = load i32, ptr @TM_LT, align 4, !tbaa !6
%31 = tail call i32 @call_orderTM(ptr noundef %0, ptr noundef %2, ptr noundef %1, i32 noundef %30) #2
%32 = icmp eq i32 %31, -1
br i1 %32, label %36, label %33
33: ; preds = %29
%34 = icmp eq i32 %31, 0
%35 = zext i1 %34 to i32
br label %38
36: ; preds = %29
%37 = tail call i32 @luaG_ordererror(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
br label %38
38: ; preds = %25, %36, %33, %19, %12, %7
%39 = phi i32 [ %8, %7 ], [ %15, %12 ], [ %24, %19 ], [ %35, %33 ], [ %37, %36 ], [ %27, %25 ]
ret i32 %39
}
declare i64 @ttype(ptr noundef) local_unnamed_addr #1
declare i32 @luaG_ordererror(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ttisnumber(ptr noundef) local_unnamed_addr #1
declare i32 @luai_numle(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nvalue(ptr noundef) local_unnamed_addr #1
declare i64 @ttisstring(ptr noundef) local_unnamed_addr #1
declare i64 @l_strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rawtsvalue(ptr noundef) local_unnamed_addr #1
declare i32 @call_orderTM(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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| xLua_build_lua-5.1.5_src_extr_lvm.c_lessequal |
; ModuleID = 'AnghaBench/redis/src/extr_module.c_zsetInitScoreRange.c'
source_filename = "AnghaBench/redis/src/extr_module.c_zsetInitScoreRange.c"
target datalayout = "e-m:e-p270:32:32-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_16__ = type { i32, ptr, ptr, %struct.TYPE_15__, i32 }
%struct.TYPE_15__ = type { double, double, i32, i32 }
%struct.TYPE_13__ = type { i64, i64, ptr }
@OBJ_ZSET = dso_local local_unnamed_addr global i64 0, align 8
@REDISMODULE_ERR = dso_local local_unnamed_addr global i32 0, align 4
@REDISMODULE_ZSET_RANGE_SCORE = dso_local local_unnamed_addr global i32 0, align 4
@OBJ_ENCODING_ZIPLIST = dso_local local_unnamed_addr global i64 0, align 8
@OBJ_ENCODING_SKIPLIST = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [26 x i8] c"Unsupported zset encoding\00", align 1
@REDISMODULE_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @zsetInitScoreRange(ptr noundef %0, double noundef %1, double noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 2
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = icmp eq ptr %8, null
br i1 %9, label %61, label %10
10: ; preds = %6
%11 = load i64, ptr %8, align 8, !tbaa !13
%12 = load i64, ptr @OBJ_ZSET, align 8, !tbaa !16
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %61
14: ; preds = %10
%15 = tail call i32 @RM_ZsetRangeStop(ptr noundef nonnull %0) #2
%16 = load i32, ptr @REDISMODULE_ZSET_RANGE_SCORE, align 4, !tbaa !17
%17 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 4
store i32 %16, ptr %17, align 8, !tbaa !18
store i32 0, ptr %0, align 8, !tbaa !19
%18 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 3
store double %1, ptr %18, align 8, !tbaa !20
%19 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 3, i32 1
store double %2, ptr %19, align 8, !tbaa !21
%20 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 3, i32 2
store i32 %3, ptr %20, align 8, !tbaa !22
%21 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 3, i32 3
store i32 %4, ptr %21, align 4, !tbaa !23
%22 = load ptr, ptr %7, align 8, !tbaa !5
%23 = getelementptr inbounds %struct.TYPE_13__, ptr %22, i64 0, i32 1
%24 = load i64, ptr %23, align 8, !tbaa !24
%25 = load i64, ptr @OBJ_ENCODING_ZIPLIST, align 8, !tbaa !16
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %38
27: ; preds = %14
%28 = icmp eq i32 %5, 0
%29 = getelementptr inbounds %struct.TYPE_13__, ptr %22, i64 0, i32 2
%30 = load ptr, ptr %29, align 8, !tbaa !25
br i1 %28, label %33, label %31
31: ; preds = %27
%32 = tail call ptr @zzlFirstInRange(ptr noundef %30, ptr noundef nonnull %18) #2
br label %35
33: ; preds = %27
%34 = tail call ptr @zzlLastInRange(ptr noundef %30, ptr noundef nonnull %18) #2
br label %35
35: ; preds = %33, %31
%36 = phi ptr [ %32, %31 ], [ %34, %33 ]
%37 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1
store ptr %36, ptr %37, align 8, !tbaa !26
br label %57
38: ; preds = %14
%39 = load i64, ptr @OBJ_ENCODING_SKIPLIST, align 8, !tbaa !16
%40 = icmp eq i64 %24, %39
br i1 %40, label %41, label %53
41: ; preds = %38
%42 = getelementptr inbounds %struct.TYPE_13__, ptr %22, i64 0, i32 2
%43 = load ptr, ptr %42, align 8, !tbaa !25
%44 = load ptr, ptr %43, align 8, !tbaa !27
%45 = icmp eq i32 %5, 0
br i1 %45, label %48, label %46
46: ; preds = %41
%47 = tail call ptr @zslFirstInRange(ptr noundef %44, ptr noundef nonnull %18) #2
br label %50
48: ; preds = %41
%49 = tail call ptr @zslLastInRange(ptr noundef %44, ptr noundef nonnull %18) #2
br label %50
50: ; preds = %48, %46
%51 = phi ptr [ %47, %46 ], [ %49, %48 ]
%52 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1
store ptr %51, ptr %52, align 8, !tbaa !26
br label %57
53: ; preds = %38
%54 = tail call i32 @serverPanic(ptr noundef nonnull @.str) #2
%55 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1
%56 = load ptr, ptr %55, align 8, !tbaa !26
br label %57
57: ; preds = %50, %53, %35
%58 = phi ptr [ %51, %50 ], [ %56, %53 ], [ %36, %35 ]
%59 = icmp eq ptr %58, null
br i1 %59, label %60, label %61
60: ; preds = %57
store i32 1, ptr %0, align 8, !tbaa !19
br label %61
61: ; preds = %57, %60, %6, %10
%62 = phi ptr [ @REDISMODULE_ERR, %10 ], [ @REDISMODULE_ERR, %6 ], [ @REDISMODULE_OK, %60 ], [ @REDISMODULE_OK, %57 ]
%63 = load i32, ptr %62, align 4, !tbaa !17
ret i32 %63
}
declare i32 @RM_ZsetRangeStop(ptr noundef) local_unnamed_addr #1
declare ptr @zzlFirstInRange(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @zzlLastInRange(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @zslFirstInRange(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @zslLastInRange(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @serverPanic(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"TYPE_16__", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !7, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"TYPE_15__", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20}
!12 = !{!"double", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_13__", !15, i64 0, !15, i64 8, !10, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!6, !7, i64 48}
!19 = !{!6, !7, i64 0}
!20 = !{!11, !12, i64 0}
!21 = !{!11, !12, i64 8}
!22 = !{!11, !7, i64 16}
!23 = !{!11, !7, i64 20}
!24 = !{!14, !15, i64 8}
!25 = !{!14, !10, i64 16}
!26 = !{!6, !10, i64 8}
!27 = !{!28, !10, i64 0}
!28 = !{!"TYPE_14__", !10, i64 0}
| ; ModuleID = 'AnghaBench/redis/src/extr_module.c_zsetInitScoreRange.c'
source_filename = "AnghaBench/redis/src/extr_module.c_zsetInitScoreRange.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OBJ_ZSET = common local_unnamed_addr global i64 0, align 8
@REDISMODULE_ERR = common local_unnamed_addr global i32 0, align 4
@REDISMODULE_ZSET_RANGE_SCORE = common local_unnamed_addr global i32 0, align 4
@OBJ_ENCODING_ZIPLIST = common local_unnamed_addr global i64 0, align 8
@OBJ_ENCODING_SKIPLIST = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [26 x i8] c"Unsupported zset encoding\00", align 1
@REDISMODULE_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @zsetInitScoreRange(ptr noundef %0, double noundef %1, double noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = getelementptr inbounds i8, ptr %0, i64 16
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = icmp eq ptr %8, null
br i1 %9, label %61, label %10
10: ; preds = %6
%11 = load i64, ptr %8, align 8, !tbaa !14
%12 = load i64, ptr @OBJ_ZSET, align 8, !tbaa !17
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %61
14: ; preds = %10
%15 = tail call i32 @RM_ZsetRangeStop(ptr noundef nonnull %0) #2
%16 = load i32, ptr @REDISMODULE_ZSET_RANGE_SCORE, align 4, !tbaa !18
%17 = getelementptr inbounds i8, ptr %0, i64 48
store i32 %16, ptr %17, align 8, !tbaa !19
store i32 0, ptr %0, align 8, !tbaa !20
%18 = getelementptr inbounds i8, ptr %0, i64 24
store double %1, ptr %18, align 8, !tbaa !21
%19 = getelementptr inbounds i8, ptr %0, i64 32
store double %2, ptr %19, align 8, !tbaa !22
%20 = getelementptr inbounds i8, ptr %0, i64 40
store i32 %3, ptr %20, align 8, !tbaa !23
%21 = getelementptr inbounds i8, ptr %0, i64 44
store i32 %4, ptr %21, align 4, !tbaa !24
%22 = load ptr, ptr %7, align 8, !tbaa !6
%23 = getelementptr inbounds i8, ptr %22, i64 8
%24 = load i64, ptr %23, align 8, !tbaa !25
%25 = load i64, ptr @OBJ_ENCODING_ZIPLIST, align 8, !tbaa !17
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %38
27: ; preds = %14
%28 = icmp eq i32 %5, 0
%29 = getelementptr inbounds i8, ptr %22, i64 16
%30 = load ptr, ptr %29, align 8, !tbaa !26
br i1 %28, label %33, label %31
31: ; preds = %27
%32 = tail call ptr @zzlFirstInRange(ptr noundef %30, ptr noundef nonnull %18) #2
br label %35
33: ; preds = %27
%34 = tail call ptr @zzlLastInRange(ptr noundef %30, ptr noundef nonnull %18) #2
br label %35
35: ; preds = %33, %31
%36 = phi ptr [ %32, %31 ], [ %34, %33 ]
%37 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %36, ptr %37, align 8, !tbaa !27
br label %57
38: ; preds = %14
%39 = load i64, ptr @OBJ_ENCODING_SKIPLIST, align 8, !tbaa !17
%40 = icmp eq i64 %24, %39
br i1 %40, label %41, label %53
41: ; preds = %38
%42 = getelementptr inbounds i8, ptr %22, i64 16
%43 = load ptr, ptr %42, align 8, !tbaa !26
%44 = load ptr, ptr %43, align 8, !tbaa !28
%45 = icmp eq i32 %5, 0
br i1 %45, label %48, label %46
46: ; preds = %41
%47 = tail call ptr @zslFirstInRange(ptr noundef %44, ptr noundef nonnull %18) #2
br label %50
48: ; preds = %41
%49 = tail call ptr @zslLastInRange(ptr noundef %44, ptr noundef nonnull %18) #2
br label %50
50: ; preds = %48, %46
%51 = phi ptr [ %47, %46 ], [ %49, %48 ]
%52 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %51, ptr %52, align 8, !tbaa !27
br label %57
53: ; preds = %38
%54 = tail call i32 @serverPanic(ptr noundef nonnull @.str) #2
%55 = getelementptr inbounds i8, ptr %0, i64 8
%56 = load ptr, ptr %55, align 8, !tbaa !27
br label %57
57: ; preds = %50, %53, %35
%58 = phi ptr [ %51, %50 ], [ %56, %53 ], [ %36, %35 ]
%59 = icmp eq ptr %58, null
br i1 %59, label %60, label %61
60: ; preds = %57
store i32 1, ptr %0, align 8, !tbaa !20
br label %61
61: ; preds = %57, %60, %6, %10
%62 = phi ptr [ @REDISMODULE_ERR, %10 ], [ @REDISMODULE_ERR, %6 ], [ @REDISMODULE_OK, %60 ], [ @REDISMODULE_OK, %57 ]
%63 = load i32, ptr %62, align 4, !tbaa !18
ret i32 %63
}
declare i32 @RM_ZsetRangeStop(ptr noundef) local_unnamed_addr #1
declare ptr @zzlFirstInRange(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @zzlLastInRange(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @zslFirstInRange(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @zslLastInRange(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @serverPanic(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"TYPE_16__", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !8, i64 48}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"TYPE_15__", !13, i64 0, !13, i64 8, !8, i64 16, !8, i64 20}
!13 = !{!"double", !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_13__", !16, i64 0, !16, i64 8, !11, i64 16}
!16 = !{!"long", !9, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!7, !8, i64 48}
!20 = !{!7, !8, i64 0}
!21 = !{!12, !13, i64 0}
!22 = !{!12, !13, i64 8}
!23 = !{!12, !8, i64 16}
!24 = !{!12, !8, i64 20}
!25 = !{!15, !16, i64 8}
!26 = !{!15, !11, i64 16}
!27 = !{!7, !11, i64 8}
!28 = !{!29, !11, i64 0}
!29 = !{!"TYPE_14__", !11, i64 0}
| redis_src_extr_module.c_zsetInitScoreRange |
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_nlmeans.c_ff_nlmeans_init.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_nlmeans.c_ff_nlmeans_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"
@compute_safe_ssd_integral_image_c = dso_local local_unnamed_addr global i32 0, align 4
@ARCH_AARCH64 = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @ff_nlmeans_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @compute_safe_ssd_integral_image_c, align 4, !tbaa !5
store i32 %2, ptr %0, align 4, !tbaa !9
%3 = load i64, ptr @ARCH_AARCH64, align 8, !tbaa !11
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @ff_nlmeans_init_aarch64(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %5, %1
ret void
}
declare i32 @ff_nlmeans_init_aarch64(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_4__", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_nlmeans.c_ff_nlmeans_init.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_nlmeans.c_ff_nlmeans_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@compute_safe_ssd_integral_image_c = common local_unnamed_addr global i32 0, align 4
@ARCH_AARCH64 = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @ff_nlmeans_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @compute_safe_ssd_integral_image_c, align 4, !tbaa !6
store i32 %2, ptr %0, align 4, !tbaa !10
%3 = load i64, ptr @ARCH_AARCH64, align 8, !tbaa !12
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @ff_nlmeans_init_aarch64(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %5, %1
ret void
}
declare i32 @ff_nlmeans_init_aarch64(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_4__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
| FFmpeg_libavfilter_extr_vf_nlmeans.c_ff_nlmeans_init |
; ModuleID = 'AnghaBench/freebsd/sys/amd64/vmm/intel/extr_vtd.c_vtd_create_mapping.c'
source_filename = "AnghaBench/freebsd/sys/amd64/vmm/intel/extr_vtd.c_vtd_create_mapping.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CREATE_MAPPING = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vtd_create_mapping], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vtd_create_mapping(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @CREATE_MAPPING, align 4, !tbaa !5
%6 = tail call i32 @vtd_update_mapping(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %5) #2
ret i32 %6
}
declare i32 @vtd_update_mapping(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/amd64/vmm/intel/extr_vtd.c_vtd_create_mapping.c'
source_filename = "AnghaBench/freebsd/sys/amd64/vmm/intel/extr_vtd.c_vtd_create_mapping.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CREATE_MAPPING = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vtd_create_mapping], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vtd_create_mapping(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @CREATE_MAPPING, align 4, !tbaa !6
%6 = tail call i32 @vtd_update_mapping(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %5) #2
ret i32 %6
}
declare i32 @vtd_update_mapping(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_amd64_vmm_intel_extr_vtd.c_vtd_create_mapping |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_ni_dpm.c_ni_dpm_set_power_state.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_ni_dpm.c_ni_dpm_set_power_state.c"
target datalayout = "e-m:e-p270:32:32-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.evergreen_power_info = type { i64, i64, %struct.radeon_ps, %struct.radeon_ps }
%struct.radeon_ps = type { i32 }
@.str = private unnamed_addr constant [53 x i8] c"ni_restrict_performance_levels_before_switch failed\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"ni_enable_power_containment failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ni_enable_smc_cac failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"rv770_halt_smc failed\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"ni_upload_sw_state failed\0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"ni_upload_mc_reg_table failed\0A\00", align 1
@.str.6 = private unnamed_addr constant [44 x i8] c"ni_program_memory_timing_parameters failed\0A\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c"rv770_resume_smc failed\0A\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"rv770_set_sw_state failed\0A\00", align 1
@.str.9 = private unnamed_addr constant [35 x i8] c"ni_power_control_set_level failed\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @ni_dpm_set_power_state(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @evergreen_get_pi(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.evergreen_power_info, ptr %2, i64 0, i32 3
%4 = getelementptr inbounds %struct.evergreen_power_info, ptr %2, i64 0, i32 2
%5 = tail call i32 @ni_restrict_performance_levels_before_switch(ptr noundef %0) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %51
7: ; preds = %1
%8 = tail call i32 @ni_set_uvd_clock_before_set_eng_clock(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4) #2
%9 = tail call i32 @ni_enable_power_containment(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 0) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %51
11: ; preds = %7
%12 = tail call i32 @ni_enable_smc_cac(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 0) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %51
14: ; preds = %11
%15 = tail call i32 @rv770_halt_smc(ptr noundef %0) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %51
17: ; preds = %14
%18 = getelementptr inbounds %struct.evergreen_power_info, ptr %2, i64 0, i32 1
%19 = load i64, ptr %18, align 8, !tbaa !5
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %17
%22 = tail call i32 @btc_notify_uvd_to_smc(ptr noundef %0, ptr noundef nonnull %3) #2
br label %23
23: ; preds = %21, %17
%24 = tail call i32 @ni_upload_sw_state(ptr noundef %0, ptr noundef nonnull %3) #2
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %51
26: ; preds = %23
%27 = load i64, ptr %2, align 8, !tbaa !12
%28 = icmp eq i64 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %26
%30 = tail call i32 @ni_upload_mc_reg_table(ptr noundef %0, ptr noundef nonnull %3) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %51
32: ; preds = %29, %26
%33 = tail call i32 @ni_program_memory_timing_parameters(ptr noundef %0, ptr noundef nonnull %3) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %51
35: ; preds = %32
%36 = tail call i32 @rv770_resume_smc(ptr noundef %0) #2
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %51
38: ; preds = %35
%39 = tail call i32 @rv770_set_sw_state(ptr noundef %0) #2
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %51
41: ; preds = %38
%42 = tail call i32 @ni_set_uvd_clock_after_set_eng_clock(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4) #2
%43 = tail call i32 @ni_enable_smc_cac(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 1) #2
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %51
45: ; preds = %41
%46 = tail call i32 @ni_enable_power_containment(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 1) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %45
%49 = tail call i32 @ni_power_control_set_level(ptr noundef %0) #2
%50 = icmp eq i32 %49, 0
br i1 %50, label %55, label %51
51: ; preds = %48, %45, %41, %38, %35, %32, %29, %23, %14, %11, %7, %1
%52 = phi ptr [ @.str, %1 ], [ @.str.1, %7 ], [ @.str.2, %11 ], [ @.str.3, %14 ], [ @.str.4, %23 ], [ @.str.5, %29 ], [ @.str.6, %32 ], [ @.str.7, %35 ], [ @.str.8, %38 ], [ @.str.2, %41 ], [ @.str.1, %45 ], [ @.str.9, %48 ]
%53 = phi i32 [ %5, %1 ], [ %9, %7 ], [ %12, %11 ], [ %15, %14 ], [ %24, %23 ], [ %30, %29 ], [ %33, %32 ], [ %36, %35 ], [ %39, %38 ], [ %43, %41 ], [ %46, %45 ], [ %49, %48 ]
%54 = tail call i32 @DRM_ERROR(ptr noundef nonnull %52) #2
br label %55
55: ; preds = %51, %48
%56 = phi i32 [ 0, %48 ], [ %53, %51 ]
ret i32 %56
}
declare ptr @evergreen_get_pi(ptr noundef) local_unnamed_addr #1
declare i32 @ni_restrict_performance_levels_before_switch(ptr noundef) local_unnamed_addr #1
declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @ni_set_uvd_clock_before_set_eng_clock(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ni_enable_power_containment(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ni_enable_smc_cac(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rv770_halt_smc(ptr noundef) local_unnamed_addr #1
declare i32 @btc_notify_uvd_to_smc(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ni_upload_sw_state(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ni_upload_mc_reg_table(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ni_program_memory_timing_parameters(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rv770_resume_smc(ptr noundef) local_unnamed_addr #1
declare i32 @rv770_set_sw_state(ptr noundef) local_unnamed_addr #1
declare i32 @ni_set_uvd_clock_after_set_eng_clock(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ni_power_control_set_level(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"evergreen_power_info", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"radeon_ps", !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_ni_dpm.c_ni_dpm_set_power_state.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_ni_dpm.c_ni_dpm_set_power_state.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 [53 x i8] c"ni_restrict_performance_levels_before_switch failed\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"ni_enable_power_containment failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ni_enable_smc_cac failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"rv770_halt_smc failed\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"ni_upload_sw_state failed\0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"ni_upload_mc_reg_table failed\0A\00", align 1
@.str.6 = private unnamed_addr constant [44 x i8] c"ni_program_memory_timing_parameters failed\0A\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c"rv770_resume_smc failed\0A\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"rv770_set_sw_state failed\0A\00", align 1
@.str.9 = private unnamed_addr constant [35 x i8] c"ni_power_control_set_level failed\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ni_dpm_set_power_state(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @evergreen_get_pi(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 20
%4 = getelementptr inbounds i8, ptr %2, i64 16
%5 = tail call i32 @ni_restrict_performance_levels_before_switch(ptr noundef %0) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %51
7: ; preds = %1
%8 = tail call i32 @ni_set_uvd_clock_before_set_eng_clock(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4) #2
%9 = tail call i32 @ni_enable_power_containment(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 0) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %51
11: ; preds = %7
%12 = tail call i32 @ni_enable_smc_cac(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 0) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %51
14: ; preds = %11
%15 = tail call i32 @rv770_halt_smc(ptr noundef %0) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %51
17: ; preds = %14
%18 = getelementptr inbounds i8, ptr %2, i64 8
%19 = load i64, ptr %18, align 8, !tbaa !6
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %17
%22 = tail call i32 @btc_notify_uvd_to_smc(ptr noundef %0, ptr noundef nonnull %3) #2
br label %23
23: ; preds = %21, %17
%24 = tail call i32 @ni_upload_sw_state(ptr noundef %0, ptr noundef nonnull %3) #2
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %51
26: ; preds = %23
%27 = load i64, ptr %2, align 8, !tbaa !13
%28 = icmp eq i64 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %26
%30 = tail call i32 @ni_upload_mc_reg_table(ptr noundef %0, ptr noundef nonnull %3) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %51
32: ; preds = %29, %26
%33 = tail call i32 @ni_program_memory_timing_parameters(ptr noundef %0, ptr noundef nonnull %3) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %51
35: ; preds = %32
%36 = tail call i32 @rv770_resume_smc(ptr noundef %0) #2
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %51
38: ; preds = %35
%39 = tail call i32 @rv770_set_sw_state(ptr noundef %0) #2
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %51
41: ; preds = %38
%42 = tail call i32 @ni_set_uvd_clock_after_set_eng_clock(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4) #2
%43 = tail call i32 @ni_enable_smc_cac(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 1) #2
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %51
45: ; preds = %41
%46 = tail call i32 @ni_enable_power_containment(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 1) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %45
%49 = tail call i32 @ni_power_control_set_level(ptr noundef %0) #2
%50 = icmp eq i32 %49, 0
br i1 %50, label %55, label %51
51: ; preds = %48, %45, %41, %38, %35, %32, %29, %23, %14, %11, %7, %1
%52 = phi ptr [ @.str, %1 ], [ @.str.1, %7 ], [ @.str.2, %11 ], [ @.str.3, %14 ], [ @.str.4, %23 ], [ @.str.5, %29 ], [ @.str.6, %32 ], [ @.str.7, %35 ], [ @.str.8, %38 ], [ @.str.2, %41 ], [ @.str.1, %45 ], [ @.str.9, %48 ]
%53 = phi i32 [ %5, %1 ], [ %9, %7 ], [ %12, %11 ], [ %15, %14 ], [ %24, %23 ], [ %30, %29 ], [ %33, %32 ], [ %36, %35 ], [ %39, %38 ], [ %43, %41 ], [ %46, %45 ], [ %49, %48 ]
%54 = tail call i32 @DRM_ERROR(ptr noundef nonnull %52) #2
br label %55
55: ; preds = %51, %48
%56 = phi i32 [ 0, %48 ], [ %53, %51 ]
ret i32 %56
}
declare ptr @evergreen_get_pi(ptr noundef) local_unnamed_addr #1
declare i32 @ni_restrict_performance_levels_before_switch(ptr noundef) local_unnamed_addr #1
declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @ni_set_uvd_clock_before_set_eng_clock(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ni_enable_power_containment(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ni_enable_smc_cac(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rv770_halt_smc(ptr noundef) local_unnamed_addr #1
declare i32 @btc_notify_uvd_to_smc(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ni_upload_sw_state(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ni_upload_mc_reg_table(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ni_program_memory_timing_parameters(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rv770_resume_smc(ptr noundef) local_unnamed_addr #1
declare i32 @rv770_set_sw_state(ptr noundef) local_unnamed_addr #1
declare i32 @ni_set_uvd_clock_after_set_eng_clock(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ni_power_control_set_level(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"evergreen_power_info", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"radeon_ps", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !8, i64 0}
| linux_drivers_gpu_drm_radeon_extr_ni_dpm.c_ni_dpm_set_power_state |
; ModuleID = 'AnghaBench/freebsd/sys/dev/smartpqi/extr_smartpqi_discovery.c_pqisrc_identify_ctrl.c'
source_filename = "AnghaBench/freebsd/sys/dev/smartpqi/extr_smartpqi_discovery.c_pqisrc_identify_ctrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PQI_STATUS_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"IN\0A\00", align 1
@BMIC_IDENTIFY_CONTROLLER = dso_local local_unnamed_addr global i32 0, align 4
@RAID_CTLR_LUNID = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"OUT\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @pqisrc_identify_ctrl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pqisrc_identify_ctrl(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 = tail call i32 @DBG_FUNC(ptr noundef nonnull @.str) #3
%5 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 4) #3
%6 = load i32, ptr @BMIC_IDENTIFY_CONTROLLER, align 4, !tbaa !5
%7 = load i64, ptr @RAID_CTLR_LUNID, align 8, !tbaa !9
%8 = inttoptr i64 %7 to ptr
%9 = call i32 @pqisrc_build_send_raid_request(ptr noundef %0, ptr noundef nonnull %3, ptr noundef %1, i32 noundef 4, i32 noundef %6, i32 noundef 0, ptr noundef %8, ptr noundef null) #3
%10 = call i32 @DBG_FUNC(ptr noundef nonnull @.str.1) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %9
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DBG_FUNC(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pqisrc_build_send_raid_request(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/smartpqi/extr_smartpqi_discovery.c_pqisrc_identify_ctrl.c'
source_filename = "AnghaBench/freebsd/sys/dev/smartpqi/extr_smartpqi_discovery.c_pqisrc_identify_ctrl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PQI_STATUS_SUCCESS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"IN\0A\00", align 1
@BMIC_IDENTIFY_CONTROLLER = common local_unnamed_addr global i32 0, align 4
@RAID_CTLR_LUNID = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"OUT\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @pqisrc_identify_ctrl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pqisrc_identify_ctrl(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 = tail call i32 @DBG_FUNC(ptr noundef nonnull @.str) #3
%5 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 4) #3
%6 = load i32, ptr @BMIC_IDENTIFY_CONTROLLER, align 4, !tbaa !6
%7 = load i64, ptr @RAID_CTLR_LUNID, align 8, !tbaa !10
%8 = inttoptr i64 %7 to ptr
%9 = call i32 @pqisrc_build_send_raid_request(ptr noundef %0, ptr noundef nonnull %3, ptr noundef %1, i32 noundef 4, i32 noundef %6, i32 noundef 0, ptr noundef %8, ptr noundef null) #3
%10 = call i32 @DBG_FUNC(ptr noundef nonnull @.str.1) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %9
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DBG_FUNC(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pqisrc_build_send_raid_request(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| freebsd_sys_dev_smartpqi_extr_smartpqi_discovery.c_pqisrc_identify_ctrl |
; ModuleID = 'AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_dcmi.c_DCMI_SetEmbeddedSynchroCodes.c'
source_filename = "AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_dcmi.c_DCMI_SetEmbeddedSynchroCodes.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i64, i64, i64 }
@DCMI = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @DCMI_SetEmbeddedSynchroCodes(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = trunc i64 %4 to i32
%6 = shl i32 %5, 8
%7 = or i32 %6, %2
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = trunc i64 %9 to i32
%11 = shl i32 %10, 16
%12 = or i32 %7, %11
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%14 = load i64, ptr %13, align 8, !tbaa !13
%15 = trunc i64 %14 to i32
%16 = shl i32 %15, 24
%17 = or i32 %12, %16
%18 = load ptr, ptr @DCMI, align 8, !tbaa !14
store i32 %17, ptr %18, align 4, !tbaa !16
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 24}
!12 = !{!6, !10, i64 16}
!13 = !{!6, !10, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_5__", !7, i64 0}
| ; ModuleID = 'AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_dcmi.c_DCMI_SetEmbeddedSynchroCodes.c'
source_filename = "AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_dcmi.c_DCMI_SetEmbeddedSynchroCodes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DCMI = common local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define void @DCMI_SetEmbeddedSynchroCodes(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 24
%4 = load i64, ptr %3, align 8, !tbaa !12
%5 = trunc i64 %4 to i32
%6 = shl i32 %5, 8
%7 = or i32 %6, %2
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load i64, ptr %8, align 8, !tbaa !13
%10 = trunc i64 %9 to i32
%11 = shl i32 %10, 16
%12 = or i32 %7, %11
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = trunc i64 %14 to i32
%16 = shl i32 %15, 24
%17 = or i32 %12, %16
%18 = load ptr, ptr @DCMI, align 8, !tbaa !15
store i32 %17, ptr %18, align 4, !tbaa !17
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, !11, i64 8, !11, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 24}
!13 = !{!7, !11, i64 16}
!14 = !{!7, !11, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_5__", !8, i64 0}
| anypixel_firmware_controller_ThirdParty_SPL_src_extr_stm32f4xx_dcmi.c_DCMI_SetEmbeddedSynchroCodes |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/apic/extr_hw_nmi.c_cpu_nmi_set_wd_enabled.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/apic/extr_hw_nmi.c_cpu_nmi_set_wd_enabled.c"
target datalayout = "e-m:e-p270:32:32-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 @cpu_nmi_set_wd_enabled() 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/fastsocket/kernel/arch/x86/kernel/apic/extr_hw_nmi.c_cpu_nmi_set_wd_enabled.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/apic/extr_hw_nmi.c_cpu_nmi_set_wd_enabled.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 @cpu_nmi_set_wd_enabled() 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)"}
| fastsocket_kernel_arch_x86_kernel_apic_extr_hw_nmi.c_cpu_nmi_set_wd_enabled |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/arm64/extr_fasttrap_isa.c_do_tbz_tbnz.c'
source_filename = "AnghaBench/darwin-xnu/bsd/dev/arm64/extr_fasttrap_isa.c_do_tbz_tbnz.c"
target datalayout = "e-m:e-p270:32:32-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 @do_tbz_tbnz], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @do_tbz_tbnz(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 {
%5 = tail call i32 @extract_address_literal_sign_extended(i32 noundef %1, i32 noundef 5, i32 noundef 14) #2
%6 = lshr i32 %1, 19
%7 = and i32 %6, 31
%8 = ashr i32 %1, 26
%9 = and i32 %8, -32
%10 = or disjoint i32 %9, %7
%11 = icmp slt i32 %10, 64
%12 = zext i1 %11 to i32
%13 = tail call i32 @assert(i32 noundef %12) #2
%14 = and i32 %1, 31
%15 = tail call i32 @assert(i32 noundef 1) #2
%16 = tail call i32 @get_saved_state64_regno(ptr noundef %0, i32 noundef %14, i32 noundef 1) #2
%17 = shl nuw i32 1, %10
%18 = and i32 %16, %17
%19 = icmp ne i32 %18, 0
%20 = icmp ne i32 %2, 0
%21 = xor i1 %20, %19
%22 = load i32, ptr %0, align 4, !tbaa !5
%23 = select i1 %21, i32 %5, i32 4
%24 = add nsw i32 %22, %23
store i32 %24, ptr %3, align 4, !tbaa !10
ret void
}
declare i32 @extract_address_literal_sign_extended(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @get_saved_state64_regno(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/arm64/extr_fasttrap_isa.c_do_tbz_tbnz.c'
source_filename = "AnghaBench/darwin-xnu/bsd/dev/arm64/extr_fasttrap_isa.c_do_tbz_tbnz.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 @do_tbz_tbnz], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @do_tbz_tbnz(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 {
%5 = tail call i32 @extract_address_literal_sign_extended(i32 noundef %1, i32 noundef 5, i32 noundef 14) #2
%6 = lshr i32 %1, 19
%7 = and i32 %6, 31
%8 = ashr i32 %1, 26
%9 = and i32 %8, -32
%10 = or disjoint i32 %9, %7
%11 = icmp slt i32 %10, 64
%12 = zext i1 %11 to i32
%13 = tail call i32 @assert(i32 noundef %12) #2
%14 = and i32 %1, 31
%15 = tail call i32 @assert(i32 noundef 1) #2
%16 = tail call i32 @get_saved_state64_regno(ptr noundef %0, i32 noundef %14, i32 noundef 1) #2
%17 = shl nuw i32 1, %10
%18 = and i32 %16, %17
%19 = icmp ne i32 %18, 0
%20 = icmp ne i32 %2, 0
%21 = xor i1 %20, %19
%22 = load i32, ptr %0, align 4, !tbaa !6
%23 = select i1 %21, i32 %5, i32 4
%24 = add nsw i32 %22, %23
store i32 %24, ptr %3, align 4, !tbaa !11
ret void
}
declare i32 @extract_address_literal_sign_extended(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @get_saved_state64_regno(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| darwin-xnu_bsd_dev_arm64_extr_fasttrap_isa.c_do_tbz_tbnz |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-clps711x/extr_irq.c_int1_ack.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-clps711x/extr_irq.c_int1_ack.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@INTMR1 = dso_local local_unnamed_addr global i32 0, align 4
@COEOI = dso_local local_unnamed_addr global i32 0, align 4
@TC1EOI = dso_local local_unnamed_addr global i32 0, align 4
@TC2EOI = dso_local local_unnamed_addr global i32 0, align 4
@RTCEOI = dso_local local_unnamed_addr global i32 0, align 4
@TEOI = dso_local local_unnamed_addr global i32 0, align 4
@UMSEOI = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @int1_ack], section "llvm.metadata"
@switch.table.int1_ack = private unnamed_addr constant [6 x ptr] [ptr @UMSEOI, ptr @TEOI, ptr @TC2EOI, ptr @TC1EOI, ptr @RTCEOI, ptr @COEOI], align 8
; Function Attrs: nounwind uwtable
define internal void @int1_ack(i32 noundef %0) #0 {
%2 = load i32, ptr @INTMR1, align 4, !tbaa !5
%3 = tail call i32 @clps_readl(i32 noundef %2) #2
%4 = shl nuw i32 1, %0
%5 = xor i32 %4, -1
%6 = and i32 %3, %5
%7 = load i32, ptr @INTMR1, align 4, !tbaa !5
%8 = tail call i32 @clps_writel(i32 noundef %6, i32 noundef %7) #2
%9 = add i32 %0, -128
%10 = icmp ult i32 %9, 6
br i1 %10, label %11, label %17
11: ; preds = %1
%12 = zext nneg i32 %9 to i64
%13 = getelementptr inbounds [6 x ptr], ptr @switch.table.int1_ack, i64 0, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = load i32, ptr %14, align 4, !tbaa !5
%16 = tail call i32 @clps_writel(i32 noundef 0, i32 noundef %15) #2
br label %17
17: ; preds = %1, %11
ret void
}
declare i32 @clps_readl(i32 noundef) local_unnamed_addr #1
declare i32 @clps_writel(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-clps711x/extr_irq.c_int1_ack.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-clps711x/extr_irq.c_int1_ack.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INTMR1 = common local_unnamed_addr global i32 0, align 4
@COEOI = common local_unnamed_addr global i32 0, align 4
@TC1EOI = common local_unnamed_addr global i32 0, align 4
@TC2EOI = common local_unnamed_addr global i32 0, align 4
@RTCEOI = common local_unnamed_addr global i32 0, align 4
@TEOI = common local_unnamed_addr global i32 0, align 4
@UMSEOI = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @int1_ack], section "llvm.metadata"
@switch.table.int1_ack = private unnamed_addr constant [6 x ptr] [ptr @UMSEOI, ptr @TEOI, ptr @TC2EOI, ptr @TC1EOI, ptr @RTCEOI, ptr @COEOI], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @int1_ack(i32 noundef %0) #0 {
%2 = load i32, ptr @INTMR1, align 4, !tbaa !6
%3 = tail call i32 @clps_readl(i32 noundef %2) #2
%4 = shl nuw i32 1, %0
%5 = xor i32 %4, -1
%6 = and i32 %3, %5
%7 = load i32, ptr @INTMR1, align 4, !tbaa !6
%8 = tail call i32 @clps_writel(i32 noundef %6, i32 noundef %7) #2
%9 = add i32 %0, -128
%10 = icmp ult i32 %9, 6
br i1 %10, label %11, label %17
11: ; preds = %1
%12 = zext nneg i32 %9 to i64
%13 = getelementptr inbounds [6 x ptr], ptr @switch.table.int1_ack, i64 0, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = load i32, ptr %14, align 4, !tbaa !6
%16 = tail call i32 @clps_writel(i32 noundef 0, i32 noundef %15) #2
br label %17
17: ; preds = %1, %11
ret void
}
declare i32 @clps_readl(i32 noundef) local_unnamed_addr #1
declare i32 @clps_writel(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"}
| fastsocket_kernel_arch_arm_mach-clps711x_extr_irq.c_int1_ack |
; ModuleID = 'AnghaBench/goaccess/src/extr_websocket.c_new_wsclient.c'
source_filename = "AnghaBench/goaccess/src/extr_websocket.c_new_wsclient.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@WS_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @new_wsclient], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @new_wsclient() #0 {
%1 = tail call ptr @xcalloc(i32 noundef 1, i32 noundef 4) #2
%2 = load i32, ptr @WS_OK, align 4, !tbaa !5
store i32 %2, ptr %1, align 4, !tbaa !9
ret ptr %1
}
declare ptr @xcalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_4__", !6, i64 0}
| ; ModuleID = 'AnghaBench/goaccess/src/extr_websocket.c_new_wsclient.c'
source_filename = "AnghaBench/goaccess/src/extr_websocket.c_new_wsclient.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WS_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @new_wsclient], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @new_wsclient() #0 {
%1 = tail call ptr @xcalloc(i32 noundef 1, i32 noundef 4) #2
%2 = load i32, ptr @WS_OK, align 4, !tbaa !6
store i32 %2, ptr %1, align 4, !tbaa !10
ret ptr %1
}
declare ptr @xcalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_4__", !7, i64 0}
| goaccess_src_extr_websocket.c_new_wsclient |
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm9081.c_wm9081_i2c_probe.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm9081.c_wm9081_i2c_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.wm9081_priv = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i64 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@wm9081_regmap = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"regmap_init() failed: %d\0A\00", align 1
@WM9081_SOFTWARE_RESET = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"Failed to read chip ID: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Device is not a WM9081: ID=0x%x\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [23 x i8] c"Failed to issue reset\0A\00", align 1
@WM9081_IRQ_POL = dso_local local_unnamed_addr global i32 0, align 4
@WM9081_IRQ_OP_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@WM9081_INTERRUPT_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@soc_component_dev_wm9081 = dso_local global i32 0, align 4
@wm9081_dai = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wm9081_i2c_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wm9081_i2c_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%5 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 24, i32 noundef %4) #4
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %70
10: ; preds = %2
%11 = tail call i32 @i2c_set_clientdata(ptr noundef %0, ptr noundef nonnull %5) #4
%12 = tail call i32 @devm_regmap_init_i2c(ptr noundef %0, ptr noundef nonnull @wm9081_regmap) #4
store i32 %12, ptr %5, align 8, !tbaa !9
%13 = tail call i64 @IS_ERR(i32 noundef %12) #4
%14 = icmp eq i64 %13, 0
%15 = load i32, ptr %5, align 8, !tbaa !9
br i1 %14, label %19, label %16
16: ; preds = %10
%17 = tail call i32 @PTR_ERR(i32 noundef %15) #4
%18 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %17) #4
br label %70
19: ; preds = %10
%20 = load i32, ptr @WM9081_SOFTWARE_RESET, align 4, !tbaa !5
%21 = call i32 @regmap_read(i32 noundef %15, i32 noundef %20, ptr noundef nonnull %3) #4
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %19
%24 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %21) #4
br label %70
25: ; preds = %19
%26 = load i32, ptr %3, align 4, !tbaa !5
%27 = icmp eq i32 %26, 36993
br i1 %27, label %32, label %28
28: ; preds = %25
%29 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %26) #4
%30 = load i32, ptr @EINVAL, align 4, !tbaa !5
%31 = sub nsw i32 0, %30
br label %70
32: ; preds = %25
%33 = load i32, ptr %5, align 8, !tbaa !9
%34 = call i32 @wm9081_reset(i32 noundef %33) #4
%35 = icmp slt i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.3) #4
br label %70
38: ; preds = %32
%39 = call i64 @dev_get_platdata(ptr noundef %0) #4
%40 = icmp eq i64 %39, 0
br i1 %40, label %45, label %41
41: ; preds = %38
%42 = getelementptr inbounds %struct.wm9081_priv, ptr %5, i64 0, i32 1
%43 = call i64 @dev_get_platdata(ptr noundef %0) #4
%44 = call i32 @memcpy(ptr noundef nonnull %42, i64 noundef %43, i32 noundef 16) #4
br label %45
45: ; preds = %41, %38
store i32 0, ptr %3, align 4, !tbaa !5
%46 = getelementptr inbounds %struct.wm9081_priv, ptr %5, i64 0, i32 1
%47 = getelementptr inbounds %struct.wm9081_priv, ptr %5, i64 0, i32 1, i32 1
%48 = load i64, ptr %47, align 8, !tbaa !13
%49 = icmp eq i64 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %45
%51 = load i32, ptr @WM9081_IRQ_POL, align 4, !tbaa !5
store i32 %51, ptr %3, align 4, !tbaa !5
br label %52
52: ; preds = %50, %45
%53 = phi i32 [ %51, %50 ], [ 0, %45 ]
%54 = load i32, ptr %46, align 8, !tbaa !14
%55 = icmp eq i32 %54, 0
%56 = load i32, ptr @WM9081_IRQ_OP_CTRL, align 4, !tbaa !5
br i1 %55, label %57, label %59
57: ; preds = %52
%58 = or i32 %53, %56
store i32 %58, ptr %3, align 4, !tbaa !5
br label %59
59: ; preds = %57, %52
%60 = phi i32 [ %58, %57 ], [ %53, %52 ]
%61 = load i32, ptr %5, align 8, !tbaa !9
%62 = load i32, ptr @WM9081_INTERRUPT_CONTROL, align 4, !tbaa !5
%63 = load i32, ptr @WM9081_IRQ_POL, align 4, !tbaa !5
%64 = or i32 %56, %63
%65 = call i32 @regmap_update_bits(i32 noundef %61, i32 noundef %62, i32 noundef %64, i32 noundef %60) #4
%66 = load i32, ptr %5, align 8, !tbaa !9
%67 = call i32 @regcache_cache_only(i32 noundef %66, i32 noundef 1) #4
%68 = call i32 @devm_snd_soc_register_component(ptr noundef %0, ptr noundef nonnull @soc_component_dev_wm9081, ptr noundef nonnull @wm9081_dai, i32 noundef 1) #4
%69 = call i32 @llvm.smin.i32(i32 %68, i32 0)
br label %70
70: ; preds = %59, %36, %28, %23, %16, %7
%71 = phi i32 [ %9, %7 ], [ %17, %16 ], [ %21, %23 ], [ %31, %28 ], [ %34, %36 ], [ %69, %59 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
ret i32 %71
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @devm_regmap_init_i2c(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @wm9081_reset(i32 noundef) local_unnamed_addr #2
declare i64 @dev_get_platdata(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @regcache_cache_only(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @devm_snd_soc_register_component(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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"wm9081_priv", !6, i64 0, !11, i64 8}
!11 = !{!"TYPE_2__", !6, i64 0, !12, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 16}
!14 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm9081.c_wm9081_i2c_probe.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm9081.c_wm9081_i2c_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@wm9081_regmap = common global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"regmap_init() failed: %d\0A\00", align 1
@WM9081_SOFTWARE_RESET = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"Failed to read chip ID: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Device is not a WM9081: ID=0x%x\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [23 x i8] c"Failed to issue reset\0A\00", align 1
@WM9081_IRQ_POL = common local_unnamed_addr global i32 0, align 4
@WM9081_IRQ_OP_CTRL = common local_unnamed_addr global i32 0, align 4
@WM9081_INTERRUPT_CONTROL = common local_unnamed_addr global i32 0, align 4
@soc_component_dev_wm9081 = common global i32 0, align 4
@wm9081_dai = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wm9081_i2c_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @wm9081_i2c_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%5 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 24, i32 noundef %4) #4
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %70
10: ; preds = %2
%11 = tail call i32 @i2c_set_clientdata(ptr noundef %0, ptr noundef nonnull %5) #4
%12 = tail call i32 @devm_regmap_init_i2c(ptr noundef %0, ptr noundef nonnull @wm9081_regmap) #4
store i32 %12, ptr %5, align 8, !tbaa !10
%13 = tail call i64 @IS_ERR(i32 noundef %12) #4
%14 = icmp eq i64 %13, 0
%15 = load i32, ptr %5, align 8, !tbaa !10
br i1 %14, label %19, label %16
16: ; preds = %10
%17 = tail call i32 @PTR_ERR(i32 noundef %15) #4
%18 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %17) #4
br label %70
19: ; preds = %10
%20 = load i32, ptr @WM9081_SOFTWARE_RESET, align 4, !tbaa !6
%21 = call i32 @regmap_read(i32 noundef %15, i32 noundef %20, ptr noundef nonnull %3) #4
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %19
%24 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %21) #4
br label %70
25: ; preds = %19
%26 = load i32, ptr %3, align 4, !tbaa !6
%27 = icmp eq i32 %26, 36993
br i1 %27, label %32, label %28
28: ; preds = %25
%29 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %26) #4
%30 = load i32, ptr @EINVAL, align 4, !tbaa !6
%31 = sub nsw i32 0, %30
br label %70
32: ; preds = %25
%33 = load i32, ptr %5, align 8, !tbaa !10
%34 = call i32 @wm9081_reset(i32 noundef %33) #4
%35 = icmp slt i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.3) #4
br label %70
38: ; preds = %32
%39 = call i64 @dev_get_platdata(ptr noundef %0) #4
%40 = icmp eq i64 %39, 0
br i1 %40, label %45, label %41
41: ; preds = %38
%42 = getelementptr inbounds i8, ptr %5, i64 8
%43 = call i64 @dev_get_platdata(ptr noundef %0) #4
%44 = call i32 @memcpy(ptr noundef nonnull %42, i64 noundef %43, i32 noundef 16) #4
br label %45
45: ; preds = %41, %38
store i32 0, ptr %3, align 4, !tbaa !6
%46 = getelementptr inbounds i8, ptr %5, i64 8
%47 = getelementptr inbounds i8, ptr %5, i64 16
%48 = load i64, ptr %47, align 8, !tbaa !14
%49 = icmp eq i64 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %45
%51 = load i32, ptr @WM9081_IRQ_POL, align 4, !tbaa !6
store i32 %51, ptr %3, align 4, !tbaa !6
br label %52
52: ; preds = %50, %45
%53 = phi i32 [ %51, %50 ], [ 0, %45 ]
%54 = load i32, ptr %46, align 8, !tbaa !15
%55 = icmp eq i32 %54, 0
%56 = load i32, ptr @WM9081_IRQ_OP_CTRL, align 4, !tbaa !6
br i1 %55, label %57, label %59
57: ; preds = %52
%58 = or i32 %53, %56
store i32 %58, ptr %3, align 4, !tbaa !6
br label %59
59: ; preds = %57, %52
%60 = phi i32 [ %58, %57 ], [ %53, %52 ]
%61 = load i32, ptr %5, align 8, !tbaa !10
%62 = load i32, ptr @WM9081_INTERRUPT_CONTROL, align 4, !tbaa !6
%63 = load i32, ptr @WM9081_IRQ_POL, align 4, !tbaa !6
%64 = or i32 %56, %63
%65 = call i32 @regmap_update_bits(i32 noundef %61, i32 noundef %62, i32 noundef %64, i32 noundef %60) #4
%66 = load i32, ptr %5, align 8, !tbaa !10
%67 = call i32 @regcache_cache_only(i32 noundef %66, i32 noundef 1) #4
%68 = call i32 @devm_snd_soc_register_component(ptr noundef %0, ptr noundef nonnull @soc_component_dev_wm9081, ptr noundef nonnull @wm9081_dai, i32 noundef 1) #4
%69 = call i32 @llvm.smin.i32(i32 %68, i32 0)
br label %70
70: ; preds = %59, %36, %28, %23, %16, %7
%71 = phi i32 [ %9, %7 ], [ %17, %16 ], [ %21, %23 ], [ %31, %28 ], [ %34, %36 ], [ %69, %59 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
ret i32 %71
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @devm_regmap_init_i2c(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @wm9081_reset(i32 noundef) local_unnamed_addr #2
declare i64 @dev_get_platdata(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @regcache_cache_only(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @devm_snd_soc_register_component(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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"wm9081_priv", !7, i64 0, !12, i64 8}
!12 = !{!"TYPE_2__", !7, i64 0, !13, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !13, i64 16}
!15 = !{!11, !7, i64 8}
| linux_sound_soc_codecs_extr_wm9081.c_wm9081_i2c_probe |
; ModuleID = 'AnghaBench/h2o/t/00unit/lib/core/extr_........libcoreutil.c_h2o_get_compressible_types.c'
source_filename = "AnghaBench/h2o/t/00unit/lib/core/extr_........libcoreutil.c_h2o_get_compressible_types.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i64, ptr }
%struct.TYPE_8__ = type { %struct.TYPE_6__, ptr }
%struct.TYPE_6__ = type { i32, i32 }
@H2O_TOKEN_ACCEPT_ENCODING = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"gzip\00", align 1
@H2O_COMPRESSIBLE_GZIP = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"br\00", align 1
@H2O_COMPRESSIBLE_BROTLI = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @h2o_get_compressible_types(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %56, label %6
6: ; preds = %1
%7 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
br label %8
8: ; preds = %6, %51
%9 = phi i64 [ 0, %6 ], [ %53, %51 ]
%10 = phi i32 [ 0, %6 ], [ %52, %51 ]
%11 = load ptr, ptr %7, align 8, !tbaa !11
%12 = getelementptr inbounds %struct.TYPE_8__, ptr %11, i64 %9, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !12
%14 = load ptr, ptr @H2O_TOKEN_ACCEPT_ENCODING, align 8, !tbaa !16
%15 = icmp eq ptr %13, %14
%16 = zext i1 %15 to i32
%17 = call i64 @H2O_UNLIKELY(i32 noundef %16) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %51, label %19
19: ; preds = %8
%20 = getelementptr inbounds %struct.TYPE_8__, ptr %11, i64 %9
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%21 = getelementptr inbounds %struct.TYPE_6__, ptr %20, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !17
%23 = load i32, ptr %20, align 8, !tbaa !18
%24 = call i32 @h2o_iovec_init(i32 noundef %22, i32 noundef %23) #3
store i32 %24, ptr %2, align 4, !tbaa !19
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8, !tbaa !20
%25 = call ptr @h2o_next_token(ptr noundef nonnull %2, i8 noundef signext 44, ptr noundef nonnull %3, ptr noundef null) #3
%26 = icmp eq ptr %25, null
br i1 %26, label %49, label %27
27: ; preds = %19, %45
%28 = phi ptr [ %47, %45 ], [ %25, %19 ]
%29 = phi i32 [ %46, %45 ], [ %10, %19 ]
%30 = load i64, ptr %3, align 8, !tbaa !20
%31 = call i32 @H2O_STRLIT(ptr noundef nonnull @.str) #3
%32 = call i64 @h2o_lcstris(ptr noundef nonnull %28, i64 noundef %30, i32 noundef %31) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %27
%35 = load i32, ptr @H2O_COMPRESSIBLE_GZIP, align 4, !tbaa !19
%36 = or i32 %35, %29
br label %45
37: ; preds = %27
%38 = load i64, ptr %3, align 8, !tbaa !20
%39 = call i32 @H2O_STRLIT(ptr noundef nonnull @.str.1) #3
%40 = call i64 @h2o_lcstris(ptr noundef nonnull %28, i64 noundef %38, i32 noundef %39) #3
%41 = icmp eq i64 %40, 0
br i1 %41, label %45, label %42
42: ; preds = %37
%43 = load i32, ptr @H2O_COMPRESSIBLE_BROTLI, align 4, !tbaa !19
%44 = or i32 %43, %29
br label %45
45: ; preds = %37, %42, %34
%46 = phi i32 [ %36, %34 ], [ %44, %42 ], [ %29, %37 ]
%47 = call ptr @h2o_next_token(ptr noundef nonnull %2, i8 noundef signext 44, ptr noundef nonnull %3, ptr noundef null) #3
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %27, !llvm.loop !21
49: ; preds = %45, %19
%50 = phi i32 [ %10, %19 ], [ %46, %45 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %51
51: ; preds = %49, %8
%52 = phi i32 [ %50, %49 ], [ %10, %8 ]
%53 = add i64 %9, 1
%54 = load i64, ptr %0, align 8, !tbaa !5
%55 = icmp eq i64 %53, %54
br i1 %55, label %56, label %8, !llvm.loop !23
56: ; preds = %51, %1
%57 = phi i32 [ 0, %1 ], [ %52, %51 ]
ret i32 %57
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @H2O_UNLIKELY(i32 noundef) local_unnamed_addr #2
declare i32 @h2o_iovec_init(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @h2o_next_token(ptr noundef, i8 noundef signext, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @h2o_lcstris(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @H2O_STRLIT(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 = !{!"TYPE_7__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !10, i64 8}
!13 = !{!"TYPE_8__", !14, i64 0, !10, i64 8}
!14 = !{!"TYPE_6__", !15, i64 0, !15, i64 4}
!15 = !{!"int", !8, i64 0}
!16 = !{!10, !10, i64 0}
!17 = !{!13, !15, i64 4}
!18 = !{!13, !15, i64 0}
!19 = !{!15, !15, i64 0}
!20 = !{!7, !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
| ; ModuleID = 'AnghaBench/h2o/t/00unit/lib/core/extr_........libcoreutil.c_h2o_get_compressible_types.c'
source_filename = "AnghaBench/h2o/t/00unit/lib/core/extr_........libcoreutil.c_h2o_get_compressible_types.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { %struct.TYPE_6__, ptr }
%struct.TYPE_6__ = type { i32, i32 }
@H2O_TOKEN_ACCEPT_ENCODING = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"gzip\00", align 1
@H2O_COMPRESSIBLE_GZIP = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"br\00", align 1
@H2O_COMPRESSIBLE_BROTLI = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @h2o_get_compressible_types(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %56, label %6
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 8
br label %8
8: ; preds = %6, %51
%9 = phi i64 [ 0, %6 ], [ %53, %51 ]
%10 = phi i32 [ 0, %6 ], [ %52, %51 ]
%11 = load ptr, ptr %7, align 8, !tbaa !12
%12 = getelementptr inbounds %struct.TYPE_8__, ptr %11, i64 %9
%13 = getelementptr inbounds i8, ptr %12, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !13
%15 = load ptr, ptr @H2O_TOKEN_ACCEPT_ENCODING, align 8, !tbaa !17
%16 = icmp eq ptr %14, %15
%17 = zext i1 %16 to i32
%18 = call i64 @H2O_UNLIKELY(i32 noundef %17) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %51, label %20
20: ; preds = %8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%21 = getelementptr inbounds i8, ptr %12, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !18
%23 = load i32, ptr %12, align 8, !tbaa !19
%24 = call i32 @h2o_iovec_init(i32 noundef %22, i32 noundef %23) #3
store i32 %24, ptr %2, align 4, !tbaa !20
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8, !tbaa !21
%25 = call ptr @h2o_next_token(ptr noundef nonnull %2, i8 noundef signext 44, ptr noundef nonnull %3, ptr noundef null) #3
%26 = icmp eq ptr %25, null
br i1 %26, label %49, label %27
27: ; preds = %20, %45
%28 = phi ptr [ %47, %45 ], [ %25, %20 ]
%29 = phi i32 [ %46, %45 ], [ %10, %20 ]
%30 = load i64, ptr %3, align 8, !tbaa !21
%31 = call i32 @H2O_STRLIT(ptr noundef nonnull @.str) #3
%32 = call i64 @h2o_lcstris(ptr noundef nonnull %28, i64 noundef %30, i32 noundef %31) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %27
%35 = load i32, ptr @H2O_COMPRESSIBLE_GZIP, align 4, !tbaa !20
%36 = or i32 %35, %29
br label %45
37: ; preds = %27
%38 = load i64, ptr %3, align 8, !tbaa !21
%39 = call i32 @H2O_STRLIT(ptr noundef nonnull @.str.1) #3
%40 = call i64 @h2o_lcstris(ptr noundef nonnull %28, i64 noundef %38, i32 noundef %39) #3
%41 = icmp eq i64 %40, 0
br i1 %41, label %45, label %42
42: ; preds = %37
%43 = load i32, ptr @H2O_COMPRESSIBLE_BROTLI, align 4, !tbaa !20
%44 = or i32 %43, %29
br label %45
45: ; preds = %37, %42, %34
%46 = phi i32 [ %36, %34 ], [ %44, %42 ], [ %29, %37 ]
%47 = call ptr @h2o_next_token(ptr noundef nonnull %2, i8 noundef signext 44, ptr noundef nonnull %3, ptr noundef null) #3
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %27, !llvm.loop !22
49: ; preds = %45, %20
%50 = phi i32 [ %10, %20 ], [ %46, %45 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %51
51: ; preds = %49, %8
%52 = phi i32 [ %50, %49 ], [ %10, %8 ]
%53 = add i64 %9, 1
%54 = load i64, ptr %0, align 8, !tbaa !6
%55 = icmp eq i64 %53, %54
br i1 %55, label %56, label %8, !llvm.loop !24
56: ; preds = %51, %1
%57 = phi i32 [ 0, %1 ], [ %52, %51 ]
ret i32 %57
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @H2O_UNLIKELY(i32 noundef) local_unnamed_addr #2
declare i32 @h2o_iovec_init(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @h2o_next_token(ptr noundef, i8 noundef signext, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @h2o_lcstris(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @H2O_STRLIT(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 = !{!"TYPE_7__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !11, i64 8}
!14 = !{!"TYPE_8__", !15, i64 0, !11, i64 8}
!15 = !{!"TYPE_6__", !16, i64 0, !16, i64 4}
!16 = !{!"int", !9, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!14, !16, i64 4}
!19 = !{!14, !16, i64 0}
!20 = !{!16, !16, i64 0}
!21 = !{!8, !8, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
| h2o_t_00unit_lib_core_extr_........libcoreutil.c_h2o_get_compressible_types |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/onenand/extr_onenand_base.c_onenand_block_isbad_nolock.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/onenand/extr_onenand_base.c_onenand_block_isbad_nolock.c"
target datalayout = "e-m:e-p270:32:32-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 @onenand_block_isbad_nolock], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @onenand_block_isbad_nolock(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = tail call i32 %6(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #1
ret i32 %7
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mtd_info", !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 = !{!"onenand_chip", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"bbm_info", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/onenand/extr_onenand_base.c_onenand_block_isbad_nolock.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/onenand/extr_onenand_base.c_onenand_block_isbad_nolock.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 @onenand_block_isbad_nolock], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @onenand_block_isbad_nolock(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = tail call i32 %6(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #1
ret i32 %7
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mtd_info", !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 = !{!"onenand_chip", !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"bbm_info", !8, i64 0}
| fastsocket_kernel_drivers_mtd_onenand_extr_onenand_base.c_onenand_block_isbad_nolock |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_rtpdec_mpeg4.c_parse_fmtp.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_rtpdec_mpeg4.c_parse_fmtp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_10__ = type { i64, i32, %struct.TYPE_7__, i64 }
%struct.TYPE_7__ = type { i64, i64 }
@.str = private unnamed_addr constant [7 x i8] c"config\00", align 1
@AV_CODEC_ID_AAC = dso_local local_unnamed_addr global i64 0, align 8
@attr_names = dso_local local_unnamed_addr global ptr null, align 8
@ATTR_NAME_TYPE_INT = dso_local local_unnamed_addr global i64 0, align 8
@AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [46 x i8] c"The %s field value is not a valid number: %s\0A\00", align 1
@AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [64 x i8] c"fmtp field %s should be in range [%d,%d] (provided value: %lld)\00", align 1
@ATTR_NAME_TYPE_STR = dso_local local_unnamed_addr global i64 0, align 8
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse_fmtp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @parse_fmtp(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = load ptr, ptr %1, align 8, !tbaa !5
%8 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(7) @.str)
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %5
%11 = tail call i32 @parse_fmtp_config(ptr noundef %7, ptr noundef %4) #5
%12 = icmp slt i32 %11, 0
br i1 %12, label %85, label %13
13: ; preds = %10, %5
%14 = load i64, ptr %7, align 8, !tbaa !10
%15 = load i64, ptr @AV_CODEC_ID_AAC, align 8, !tbaa !13
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %85
17: ; preds = %13
%18 = load ptr, ptr @attr_names, align 8, !tbaa !14
%19 = getelementptr inbounds %struct.TYPE_10__, ptr %18, i64 0, i32 3
%20 = load i64, ptr %19, align 8, !tbaa !15
%21 = icmp eq i64 %20, 0
br i1 %21, label %85, label %22
22: ; preds = %17, %79
%23 = phi i64 [ %81, %79 ], [ 0, %17 ]
%24 = phi i64 [ %83, %79 ], [ %20, %17 ]
%25 = tail call i32 @av_strcasecmp(ptr noundef %3, i64 noundef %24) #5
%26 = icmp eq i32 %25, 0
%27 = load ptr, ptr @attr_names, align 8, !tbaa !14
br i1 %26, label %28, label %79
28: ; preds = %22
%29 = getelementptr inbounds %struct.TYPE_10__, ptr %27, i64 %23
%30 = load i64, ptr %29, align 8, !tbaa !20
%31 = load i64, ptr @ATTR_NAME_TYPE_INT, align 8, !tbaa !13
%32 = icmp eq i64 %30, %31
br i1 %32, label %33, label %63
33: ; preds = %28
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
store ptr null, ptr %6, align 8, !tbaa !14
%34 = call i64 @strtoll(ptr noundef %4, ptr noundef nonnull %6, i32 noundef 10)
%35 = load ptr, ptr %6, align 8, !tbaa !14
%36 = icmp eq ptr %35, %4
br i1 %36, label %40, label %37
37: ; preds = %33
%38 = load i8, ptr %35, align 1, !tbaa !21
%39 = icmp eq i8 %38, 0
br i1 %39, label %43, label %40
40: ; preds = %37, %33
%41 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !22
%42 = tail call i32 (ptr, i32, ptr, ptr, ...) @av_log(ptr noundef %0, i32 noundef %41, ptr noundef nonnull @.str.1, ptr noundef %3, ptr noundef %4) #5
br label %55
43: ; preds = %37
%44 = load ptr, ptr @attr_names, align 8, !tbaa !14
%45 = getelementptr inbounds %struct.TYPE_10__, ptr %44, i64 %23, i32 2
%46 = load i64, ptr %45, align 8, !tbaa !23
%47 = icmp slt i64 %34, %46
%48 = getelementptr inbounds %struct.TYPE_10__, ptr %44, i64 %23, i32 2, i32 1
%49 = load i64, ptr %48, align 8, !tbaa !24
%50 = icmp sgt i64 %34, %49
%51 = select i1 %47, i1 true, i1 %50
br i1 %51, label %52, label %57
52: ; preds = %43
%53 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !22
%54 = tail call i32 (ptr, i32, ptr, ptr, ...) @av_log(ptr noundef %0, i32 noundef %53, ptr noundef nonnull @.str.2, ptr noundef %3, i64 noundef %46, i64 noundef %49, i64 noundef %34) #5
br label %55
55: ; preds = %40, %52
%56 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !22
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
br label %85
57: ; preds = %43
%58 = trunc i64 %34 to i32
%59 = getelementptr inbounds %struct.TYPE_10__, ptr %44, i64 %23, i32 1
%60 = load i32, ptr %59, align 8, !tbaa !25
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %2, i64 %61
store i32 %58, ptr %62, align 4, !tbaa !22
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
br label %79
63: ; preds = %28
%64 = load i64, ptr @ATTR_NAME_TYPE_STR, align 8, !tbaa !13
%65 = icmp eq i64 %30, %64
br i1 %65, label %66, label %79
66: ; preds = %63
%67 = tail call ptr @av_strdup(ptr noundef %4) #5
%68 = icmp eq ptr %67, null
br i1 %68, label %69, label %72
69: ; preds = %66
%70 = load i32, ptr @ENOMEM, align 4, !tbaa !22
%71 = tail call i32 @AVERROR(i32 noundef %70) #5
br label %85
72: ; preds = %66
%73 = load ptr, ptr @attr_names, align 8, !tbaa !14
%74 = getelementptr inbounds %struct.TYPE_10__, ptr %73, i64 %23, i32 1
%75 = load i32, ptr %74, align 8, !tbaa !25
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %2, i64 %76
store ptr %67, ptr %77, align 8, !tbaa !14
%78 = load ptr, ptr @attr_names, align 8, !tbaa !14
br label %79
79: ; preds = %72, %57, %22, %63
%80 = phi ptr [ %78, %72 ], [ %44, %57 ], [ %27, %22 ], [ %27, %63 ]
%81 = add nuw i64 %23, 1
%82 = getelementptr inbounds %struct.TYPE_10__, ptr %80, i64 %81, i32 3
%83 = load i64, ptr %82, align 8, !tbaa !15
%84 = icmp eq i64 %83, 0
br i1 %84, label %85, label %22, !llvm.loop !26
85: ; preds = %79, %17, %69, %55, %13, %10
%86 = phi i32 [ %11, %10 ], [ 0, %13 ], [ %56, %55 ], [ %71, %69 ], [ 0, %17 ], [ 0, %79 ]
ret i32 %86
}
; 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 nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2
declare i32 @parse_fmtp_config(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @av_strcasecmp(ptr noundef, i64 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nofree nounwind willreturn
declare i64 @strtoll(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #4
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @av_strdup(ptr noundef) local_unnamed_addr #3
declare i32 @AVERROR(i32 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 nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { mustprogress nofree nounwind willreturn "no-trapping-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, !7, i64 0}
!6 = !{!"TYPE_8__", !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_9__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !12, i64 32}
!16 = !{!"TYPE_10__", !12, i64 0, !17, i64 8, !18, i64 16, !12, i64 32}
!17 = !{!"int", !8, i64 0}
!18 = !{!"TYPE_7__", !19, i64 0, !19, i64 8}
!19 = !{!"long long", !8, i64 0}
!20 = !{!16, !12, i64 0}
!21 = !{!8, !8, i64 0}
!22 = !{!17, !17, i64 0}
!23 = !{!16, !19, i64 16}
!24 = !{!16, !19, i64 24}
!25 = !{!16, !17, i64 8}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_rtpdec_mpeg4.c_parse_fmtp.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_rtpdec_mpeg4.c_parse_fmtp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_10__ = type { i64, i32, %struct.TYPE_7__, i64 }
%struct.TYPE_7__ = type { i64, i64 }
@.str = private unnamed_addr constant [7 x i8] c"config\00", align 1
@AV_CODEC_ID_AAC = common local_unnamed_addr global i64 0, align 8
@attr_names = common local_unnamed_addr global ptr null, align 8
@ATTR_NAME_TYPE_INT = common local_unnamed_addr global i64 0, align 8
@AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [46 x i8] c"The %s field value is not a valid number: %s\0A\00", align 1
@AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [64 x i8] c"fmtp field %s should be in range [%d,%d] (provided value: %lld)\00", align 1
@ATTR_NAME_TYPE_STR = common local_unnamed_addr global i64 0, align 8
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @parse_fmtp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @parse_fmtp(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = load ptr, ptr %1, align 8, !tbaa !6
%8 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(7) @.str)
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %5
%11 = tail call i32 @parse_fmtp_config(ptr noundef %7, ptr noundef %4) #5
%12 = icmp slt i32 %11, 0
br i1 %12, label %90, label %13
13: ; preds = %10, %5
%14 = load i64, ptr %7, align 8, !tbaa !11
%15 = load i64, ptr @AV_CODEC_ID_AAC, align 8, !tbaa !14
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %90
17: ; preds = %13
%18 = load ptr, ptr @attr_names, align 8, !tbaa !15
%19 = getelementptr inbounds i8, ptr %18, i64 32
%20 = load i64, ptr %19, align 8, !tbaa !16
%21 = icmp eq i64 %20, 0
br i1 %21, label %90, label %22
22: ; preds = %17, %84
%23 = phi i64 [ %86, %84 ], [ 0, %17 ]
%24 = phi i64 [ %88, %84 ], [ %20, %17 ]
%25 = tail call i32 @av_strcasecmp(ptr noundef %3, i64 noundef %24) #5
%26 = icmp eq i32 %25, 0
%27 = load ptr, ptr @attr_names, align 8, !tbaa !15
br i1 %26, label %28, label %84
28: ; preds = %22
%29 = getelementptr inbounds %struct.TYPE_10__, ptr %27, i64 %23
%30 = load i64, ptr %29, align 8, !tbaa !21
%31 = load i64, ptr @ATTR_NAME_TYPE_INT, align 8, !tbaa !14
%32 = icmp eq i64 %30, %31
br i1 %32, label %33, label %68
33: ; preds = %28
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
store ptr null, ptr %6, align 8, !tbaa !15
%34 = call i64 @strtoll(ptr noundef %4, ptr noundef nonnull %6, i32 noundef 10)
%35 = load ptr, ptr %6, align 8, !tbaa !15
%36 = icmp eq ptr %35, %4
br i1 %36, label %40, label %37
37: ; preds = %33
%38 = load i8, ptr %35, align 1, !tbaa !22
%39 = icmp eq i8 %38, 0
br i1 %39, label %43, label %40
40: ; preds = %37, %33
%41 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !23
%42 = tail call i32 (ptr, i32, ptr, ptr, ...) @av_log(ptr noundef %0, i32 noundef %41, ptr noundef nonnull @.str.1, ptr noundef %3, ptr noundef %4) #5
br label %60
43: ; preds = %37
%44 = load ptr, ptr @attr_names, align 8, !tbaa !15
%45 = getelementptr inbounds %struct.TYPE_10__, ptr %44, i64 %23
%46 = getelementptr inbounds i8, ptr %45, i64 16
%47 = load i64, ptr %46, align 8, !tbaa !24
%48 = icmp slt i64 %34, %47
br i1 %48, label %49, label %52
49: ; preds = %43
%50 = getelementptr inbounds %struct.TYPE_10__, ptr %44, i64 %23, i32 2, i32 1
%51 = load i64, ptr %50, align 8, !tbaa !25
br label %56
52: ; preds = %43
%53 = getelementptr inbounds i8, ptr %45, i64 24
%54 = load i64, ptr %53, align 8, !tbaa !25
%55 = icmp sgt i64 %34, %54
br i1 %55, label %56, label %62
56: ; preds = %52, %49
%57 = phi i64 [ %51, %49 ], [ %54, %52 ]
%58 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !23
%59 = tail call i32 (ptr, i32, ptr, ptr, ...) @av_log(ptr noundef %0, i32 noundef %58, ptr noundef nonnull @.str.2, ptr noundef %3, i64 noundef %47, i64 noundef %57, i64 noundef %34) #5
br label %60
60: ; preds = %40, %56
%61 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !23
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
br label %90
62: ; preds = %52
%63 = trunc i64 %34 to i32
%64 = getelementptr inbounds i8, ptr %45, i64 8
%65 = load i32, ptr %64, align 8, !tbaa !26
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %2, i64 %66
store i32 %63, ptr %67, align 4, !tbaa !23
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
br label %84
68: ; preds = %28
%69 = load i64, ptr @ATTR_NAME_TYPE_STR, align 8, !tbaa !14
%70 = icmp eq i64 %30, %69
br i1 %70, label %71, label %84
71: ; preds = %68
%72 = tail call ptr @av_strdup(ptr noundef %4) #5
%73 = icmp eq ptr %72, null
br i1 %73, label %74, label %77
74: ; preds = %71
%75 = load i32, ptr @ENOMEM, align 4, !tbaa !23
%76 = tail call i32 @AVERROR(i32 noundef %75) #5
br label %90
77: ; preds = %71
%78 = load ptr, ptr @attr_names, align 8, !tbaa !15
%79 = getelementptr inbounds %struct.TYPE_10__, ptr %78, i64 %23, i32 1
%80 = load i32, ptr %79, align 8, !tbaa !26
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %2, i64 %81
store ptr %72, ptr %82, align 8, !tbaa !15
%83 = load ptr, ptr @attr_names, align 8, !tbaa !15
br label %84
84: ; preds = %77, %62, %22, %68
%85 = phi ptr [ %83, %77 ], [ %44, %62 ], [ %27, %22 ], [ %27, %68 ]
%86 = add nuw nsw i64 %23, 1
%87 = getelementptr inbounds %struct.TYPE_10__, ptr %85, i64 %86, i32 3
%88 = load i64, ptr %87, align 8, !tbaa !16
%89 = icmp eq i64 %88, 0
br i1 %89, label %90, label %22, !llvm.loop !27
90: ; preds = %84, %17, %74, %60, %13, %10
%91 = phi i32 [ %11, %10 ], [ 0, %13 ], [ %61, %60 ], [ %76, %74 ], [ 0, %17 ], [ 0, %84 ]
ret i32 %91
}
; 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 nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2
declare i32 @parse_fmtp_config(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @av_strcasecmp(ptr noundef, i64 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nofree nounwind willreturn
declare i64 @strtoll(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #4
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @av_strdup(ptr noundef) local_unnamed_addr #3
declare i32 @AVERROR(i32 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 nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #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 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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, !8, i64 0}
!7 = !{!"TYPE_8__", !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_9__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !13, i64 32}
!17 = !{!"TYPE_10__", !13, i64 0, !18, i64 8, !19, i64 16, !13, i64 32}
!18 = !{!"int", !9, i64 0}
!19 = !{!"TYPE_7__", !20, i64 0, !20, i64 8}
!20 = !{!"long long", !9, i64 0}
!21 = !{!17, !13, i64 0}
!22 = !{!9, !9, i64 0}
!23 = !{!18, !18, i64 0}
!24 = !{!17, !20, i64 16}
!25 = !{!17, !20, i64 24}
!26 = !{!17, !18, i64 8}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
| FFmpeg_libavformat_extr_rtpdec_mpeg4.c_parse_fmtp |
; ModuleID = 'AnghaBench/linux/drivers/staging/exfat/extr_exfat_core.c_fat_get_entry_attr.c'
source_filename = "AnghaBench/linux/drivers/staging/exfat/extr_exfat_core.c_fat_get_entry_attr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @fat_get_entry_attr(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"dos_dentry_t", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/exfat/extr_exfat_core.c_fat_get_entry_attr.c'
source_filename = "AnghaBench/linux/drivers/staging/exfat/extr_exfat_core.c_fat_get_entry_attr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @fat_get_entry_attr(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"dos_dentry_t", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_staging_exfat_extr_exfat_core.c_fat_get_entry_attr |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_headnv04.c_nv04_head_vblank_put.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_headnv04.c_nv04_head_vblank_put.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.nvkm_head = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @nv04_head_vblank_put], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nv04_head_vblank_put(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.nvkm_head, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load i32, ptr %0, align 8, !tbaa !15
%6 = shl nsw i32 %5, 13
%7 = add nsw i32 %6, 6291776
%8 = tail call i32 @nvkm_wr32(ptr noundef %4, i32 noundef %7, i32 noundef 0) #2
ret void
}
declare i32 @nvkm_wr32(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, !10, i64 8}
!6 = !{!"nvkm_head", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"TYPE_5__", !14, i64 0}
!14 = !{!"TYPE_4__", !10, i64 0}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_headnv04.c_nv04_head_vblank_put.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_headnv04.c_nv04_head_vblank_put.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 @nv04_head_vblank_put], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nv04_head_vblank_put(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load i32, ptr %0, align 8, !tbaa !16
%6 = shl nsw i32 %5, 13
%7 = add nsw i32 %6, 6291776
%8 = tail call i32 @nvkm_wr32(ptr noundef %4, i32 noundef %7, i32 noundef 0) #2
ret void
}
declare i32 @nvkm_wr32(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, !11, i64 8}
!7 = !{!"nvkm_head", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_6__", !14, i64 0}
!14 = !{!"TYPE_5__", !15, i64 0}
!15 = !{!"TYPE_4__", !11, i64 0}
!16 = !{!7, !8, i64 0}
| linux_drivers_gpu_drm_nouveau_nvkm_engine_disp_extr_headnv04.c_nv04_head_vblank_put |
; ModuleID = 'AnghaBench/freebsd/sys/dev/iicbus/extr_iicsmb.c_iicsmb_detach.c'
source_filename = "AnghaBench/freebsd/sys/dev/iicbus/extr_iicsmb.c_iicsmb_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @iicsmb_detach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @iicsmb_detach(i32 noundef %0) #0 {
%2 = tail call i64 @device_get_softc(i32 noundef %0) #2
%3 = inttoptr i64 %2 to ptr
%4 = tail call i32 @bus_generic_detach(i32 noundef %0) #2
%5 = tail call i32 @device_delete_children(i32 noundef %0) #2
%6 = tail call i32 @mtx_destroy(ptr noundef %3) #2
ret i32 0
}
declare i64 @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @bus_generic_detach(i32 noundef) local_unnamed_addr #1
declare i32 @device_delete_children(i32 noundef) local_unnamed_addr #1
declare i32 @mtx_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/iicbus/extr_iicsmb.c_iicsmb_detach.c'
source_filename = "AnghaBench/freebsd/sys/dev/iicbus/extr_iicsmb.c_iicsmb_detach.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 @iicsmb_detach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @iicsmb_detach(i32 noundef %0) #0 {
%2 = tail call i64 @device_get_softc(i32 noundef %0) #2
%3 = inttoptr i64 %2 to ptr
%4 = tail call i32 @bus_generic_detach(i32 noundef %0) #2
%5 = tail call i32 @device_delete_children(i32 noundef %0) #2
%6 = tail call i32 @mtx_destroy(ptr noundef %3) #2
ret i32 0
}
declare i64 @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @bus_generic_detach(i32 noundef) local_unnamed_addr #1
declare i32 @device_delete_children(i32 noundef) local_unnamed_addr #1
declare i32 @mtx_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_dev_iicbus_extr_iicsmb.c_iicsmb_detach |
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_asus-wmi.c_read_brightness_max.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_asus-wmi.c_read_brightness_max.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ASUS_WMI_DEVID_BRIGHTNESS = dso_local local_unnamed_addr global i32 0, align 4
@ASUS_WMI_DSTS_MAX_BRIGTH_MASK = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_brightness_max], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @read_brightness_max(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @ASUS_WMI_DEVID_BRIGHTNESS, align 4, !tbaa !5
%4 = call i32 @asus_wmi_get_devstate(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3
%5 = icmp slt i32 %4, 0
br i1 %5, label %15, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4, !tbaa !5
%8 = load i32, ptr @ASUS_WMI_DSTS_MAX_BRIGTH_MASK, align 4, !tbaa !5
%9 = and i32 %8, %7
%10 = ashr i32 %9, 8
%11 = icmp ult i32 %9, 256
br i1 %11, label %12, label %15
12: ; preds = %6
%13 = load i32, ptr @ENODEV, align 4, !tbaa !5
%14 = sub nsw i32 0, %13
br label %15
15: ; preds = %6, %1, %12
%16 = phi i32 [ %14, %12 ], [ %4, %1 ], [ %10, %6 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %16
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @asus_wmi_get_devstate(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_asus-wmi.c_read_brightness_max.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_asus-wmi.c_read_brightness_max.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ASUS_WMI_DEVID_BRIGHTNESS = common local_unnamed_addr global i32 0, align 4
@ASUS_WMI_DSTS_MAX_BRIGTH_MASK = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @read_brightness_max], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @read_brightness_max(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @ASUS_WMI_DEVID_BRIGHTNESS, align 4, !tbaa !6
%4 = call i32 @asus_wmi_get_devstate(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3
%5 = icmp slt i32 %4, 0
br i1 %5, label %15, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4, !tbaa !6
%8 = load i32, ptr @ASUS_WMI_DSTS_MAX_BRIGTH_MASK, align 4, !tbaa !6
%9 = and i32 %8, %7
%10 = ashr i32 %9, 8
%11 = icmp ult i32 %9, 256
br i1 %11, label %12, label %15
12: ; preds = %6
%13 = load i32, ptr @ENODEV, align 4, !tbaa !6
%14 = sub nsw i32 0, %13
br label %15
15: ; preds = %6, %1, %12
%16 = phi i32 [ %14, %12 ], [ %4, %1 ], [ %10, %6 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %16
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @asus_wmi_get_devstate(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_platform_x86_extr_asus-wmi.c_read_brightness_max |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlxfw/extr_mlxfw_mfa2.c_mlxfw_mfa2_file_dev_validate.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlxfw/extr_mlxfw_mfa2.c_mlxfw_mfa2_file_dev_validate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Device %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"Device %d is not a valid TLV error\0A\00", align 1
@MLXFW_MFA2_TLV_PSID = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [30 x i8] c"Device %d does not have PSID\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"Device %d PSID TLV is not valid\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c" -- Device PSID \00", align 1
@DUMP_PREFIX_NONE = dso_local local_unnamed_addr global i32 0, align 4
@MLXFW_MFA2_TLV_COMPONENT_PTR = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [29 x i8] c"Device %d has no components\0A\00", align 1
@.str.6 = private unnamed_addr constant [42 x i8] c"Device %d COMPONENT_PTR TLV is not valid\0A\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c" -- Component index %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlxfw_mfa2_file_dev_validate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @mlxfw_mfa2_file_dev_validate(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i64 noundef %2) #3
%6 = tail call ptr @mlxfw_mfa2_tlv_multi_get(ptr noundef %0, ptr noundef %1) #3
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = tail call i32 @pr_err(ptr noundef nonnull @.str.1, i64 noundef %2) #3
br label %57
10: ; preds = %3
%11 = tail call i32 @mlxfw_mfa2_tlv_multi_validate(ptr noundef %0, ptr noundef nonnull %6) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %57, label %13
13: ; preds = %10
%14 = load i32, ptr @MLXFW_MFA2_TLV_PSID, align 4, !tbaa !5
%15 = tail call ptr @mlxfw_mfa2_tlv_multi_child_find(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %14, i64 noundef 0) #3
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = tail call i32 @pr_err(ptr noundef nonnull @.str.2, i64 noundef %2) #3
br label %57
19: ; preds = %13
%20 = tail call ptr @mlxfw_mfa2_tlv_psid_get(ptr noundef %0, ptr noundef nonnull %15) #3
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = tail call i32 @pr_err(ptr noundef nonnull @.str.3, i64 noundef %2) #3
br label %57
24: ; preds = %19
%25 = load i32, ptr @DUMP_PREFIX_NONE, align 4, !tbaa !5
%26 = load i32, ptr %20, align 4, !tbaa !9
%27 = load i32, ptr %15, align 4, !tbaa !11
%28 = tail call i64 @be16_to_cpu(i32 noundef %27) #3
%29 = tail call i32 @print_hex_dump_debug(ptr noundef nonnull @.str.4, i32 noundef %25, i32 noundef 16, i32 noundef 16, i32 noundef %26, i64 noundef %28, i32 noundef 1) #3
%30 = load i32, ptr @MLXFW_MFA2_TLV_COMPONENT_PTR, align 4, !tbaa !5
%31 = call i32 @mlxfw_mfa2_tlv_multi_child_count(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %30, ptr noundef nonnull %4) #3
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %57
33: ; preds = %24
%34 = load i64, ptr %4, align 8, !tbaa !13
%35 = icmp eq i64 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %33
%37 = icmp sgt i64 %34, 0
br i1 %37, label %40, label %57
38: ; preds = %33
%39 = call i32 @pr_err(ptr noundef nonnull @.str.5, i64 noundef %2) #3
br label %57
40: ; preds = %36, %50
%41 = phi i64 [ %54, %50 ], [ 0, %36 ]
%42 = load i32, ptr @MLXFW_MFA2_TLV_COMPONENT_PTR, align 4, !tbaa !5
%43 = call ptr @mlxfw_mfa2_tlv_multi_child_find(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %42, i64 noundef %41) #3
%44 = icmp eq ptr %43, null
br i1 %44, label %57, label %45
45: ; preds = %40
%46 = call ptr @mlxfw_mfa2_tlv_component_ptr_get(ptr noundef %0, ptr noundef nonnull %43) #3
%47 = icmp eq ptr %46, null
br i1 %47, label %48, label %50
48: ; preds = %45
%49 = call i32 @pr_err(ptr noundef nonnull @.str.6, i64 noundef %2) #3
br label %57
50: ; preds = %45
%51 = load i32, ptr %46, align 4, !tbaa !15
%52 = call i64 @be16_to_cpu(i32 noundef %51) #3
%53 = call i32 @pr_debug(ptr noundef nonnull @.str.7, i64 noundef %52) #3
%54 = add nuw nsw i64 %41, 1
%55 = load i64, ptr %4, align 8, !tbaa !13
%56 = icmp slt i64 %54, %55
br i1 %56, label %40, label %57, !llvm.loop !17
57: ; preds = %40, %50, %36, %24, %10, %48, %38, %22, %17, %8
%58 = phi i32 [ 0, %38 ], [ 0, %48 ], [ 0, %22 ], [ 0, %17 ], [ 0, %8 ], [ 0, %10 ], [ 0, %24 ], [ 1, %36 ], [ 0, %40 ], [ 1, %50 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %58
}
; 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, i64 noundef) local_unnamed_addr #2
declare ptr @mlxfw_mfa2_tlv_multi_get(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pr_err(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @mlxfw_mfa2_tlv_multi_validate(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @mlxfw_mfa2_tlv_multi_child_find(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare ptr @mlxfw_mfa2_tlv_psid_get(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @print_hex_dump_debug(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @be16_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @mlxfw_mfa2_tlv_multi_child_count(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @mlxfw_mfa2_tlv_component_ptr_get(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 0}
!10 = !{!"mlxfw_mfa2_tlv_psid", !6, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"mlxfw_mfa2_tlv", !6, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"mlxfw_mfa2_tlv_component_ptr", !6, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mlxfw/extr_mlxfw_mfa2.c_mlxfw_mfa2_file_dev_validate.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlxfw/extr_mlxfw_mfa2.c_mlxfw_mfa2_file_dev_validate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [11 x i8] c"Device %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"Device %d is not a valid TLV error\0A\00", align 1
@MLXFW_MFA2_TLV_PSID = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [30 x i8] c"Device %d does not have PSID\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"Device %d PSID TLV is not valid\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c" -- Device PSID \00", align 1
@DUMP_PREFIX_NONE = common local_unnamed_addr global i32 0, align 4
@MLXFW_MFA2_TLV_COMPONENT_PTR = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [29 x i8] c"Device %d has no components\0A\00", align 1
@.str.6 = private unnamed_addr constant [42 x i8] c"Device %d COMPONENT_PTR TLV is not valid\0A\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c" -- Component index %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mlxfw_mfa2_file_dev_validate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @mlxfw_mfa2_file_dev_validate(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i64 noundef %2) #3
%6 = tail call ptr @mlxfw_mfa2_tlv_multi_get(ptr noundef %0, ptr noundef %1) #3
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = tail call i32 @pr_err(ptr noundef nonnull @.str.1, i64 noundef %2) #3
br label %57
10: ; preds = %3
%11 = tail call i32 @mlxfw_mfa2_tlv_multi_validate(ptr noundef %0, ptr noundef nonnull %6) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %57, label %13
13: ; preds = %10
%14 = load i32, ptr @MLXFW_MFA2_TLV_PSID, align 4, !tbaa !6
%15 = tail call ptr @mlxfw_mfa2_tlv_multi_child_find(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %14, i64 noundef 0) #3
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = tail call i32 @pr_err(ptr noundef nonnull @.str.2, i64 noundef %2) #3
br label %57
19: ; preds = %13
%20 = tail call ptr @mlxfw_mfa2_tlv_psid_get(ptr noundef %0, ptr noundef nonnull %15) #3
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = tail call i32 @pr_err(ptr noundef nonnull @.str.3, i64 noundef %2) #3
br label %57
24: ; preds = %19
%25 = load i32, ptr @DUMP_PREFIX_NONE, align 4, !tbaa !6
%26 = load i32, ptr %20, align 4, !tbaa !10
%27 = load i32, ptr %15, align 4, !tbaa !12
%28 = tail call i64 @be16_to_cpu(i32 noundef %27) #3
%29 = tail call i32 @print_hex_dump_debug(ptr noundef nonnull @.str.4, i32 noundef %25, i32 noundef 16, i32 noundef 16, i32 noundef %26, i64 noundef %28, i32 noundef 1) #3
%30 = load i32, ptr @MLXFW_MFA2_TLV_COMPONENT_PTR, align 4, !tbaa !6
%31 = call i32 @mlxfw_mfa2_tlv_multi_child_count(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %30, ptr noundef nonnull %4) #3
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %57
33: ; preds = %24
%34 = load i64, ptr %4, align 8, !tbaa !14
%35 = icmp eq i64 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %33
%37 = icmp sgt i64 %34, 0
br i1 %37, label %40, label %57
38: ; preds = %33
%39 = call i32 @pr_err(ptr noundef nonnull @.str.5, i64 noundef %2) #3
br label %57
40: ; preds = %36, %50
%41 = phi i64 [ %54, %50 ], [ 0, %36 ]
%42 = load i32, ptr @MLXFW_MFA2_TLV_COMPONENT_PTR, align 4, !tbaa !6
%43 = call ptr @mlxfw_mfa2_tlv_multi_child_find(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %42, i64 noundef %41) #3
%44 = icmp eq ptr %43, null
br i1 %44, label %57, label %45
45: ; preds = %40
%46 = call ptr @mlxfw_mfa2_tlv_component_ptr_get(ptr noundef %0, ptr noundef nonnull %43) #3
%47 = icmp eq ptr %46, null
br i1 %47, label %48, label %50
48: ; preds = %45
%49 = call i32 @pr_err(ptr noundef nonnull @.str.6, i64 noundef %2) #3
br label %57
50: ; preds = %45
%51 = load i32, ptr %46, align 4, !tbaa !16
%52 = call i64 @be16_to_cpu(i32 noundef %51) #3
%53 = call i32 @pr_debug(ptr noundef nonnull @.str.7, i64 noundef %52) #3
%54 = add nuw nsw i64 %41, 1
%55 = load i64, ptr %4, align 8, !tbaa !14
%56 = icmp slt i64 %54, %55
br i1 %56, label %40, label %57, !llvm.loop !18
57: ; preds = %40, %50, %36, %24, %10, %48, %38, %22, %17, %8
%58 = phi i32 [ 0, %38 ], [ 0, %48 ], [ 0, %22 ], [ 0, %17 ], [ 0, %8 ], [ 0, %10 ], [ 0, %24 ], [ 1, %36 ], [ 0, %40 ], [ 1, %50 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %58
}
; 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, i64 noundef) local_unnamed_addr #2
declare ptr @mlxfw_mfa2_tlv_multi_get(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pr_err(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @mlxfw_mfa2_tlv_multi_validate(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @mlxfw_mfa2_tlv_multi_child_find(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare ptr @mlxfw_mfa2_tlv_psid_get(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @print_hex_dump_debug(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @be16_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @mlxfw_mfa2_tlv_multi_child_count(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @mlxfw_mfa2_tlv_component_ptr_get(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 0}
!11 = !{!"mlxfw_mfa2_tlv_psid", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"mlxfw_mfa2_tlv", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"mlxfw_mfa2_tlv_component_ptr", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_dev_mlxfw_extr_mlxfw_mfa2.c_mlxfw_mfa2_file_dev_validate |
; ModuleID = 'AnghaBench/libuv/test/extr_test-tcp-open.c_read1_cb.c'
source_filename = "AnghaBench/libuv/test/extr_test-tcp-open.c_read1_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"
@UV_EOF = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"GOT EOF\0A\00", align 1
@close_cb = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @read1_cb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @read1_cb(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = icmp ne ptr %0, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @ASSERT(i32 noundef %5) #2
%7 = icmp sgt i32 %1, -1
br i1 %7, label %8, label %22
8: ; preds = %3
%9 = icmp eq i32 %1, 0
br i1 %9, label %30, label %10
10: ; preds = %8
%11 = zext nneg i32 %1 to i64
br label %12
12: ; preds = %10, %12
%13 = phi i64 [ 0, %10 ], [ %20, %12 ]
%14 = load ptr, ptr %2, align 8, !tbaa !5
%15 = getelementptr inbounds i8, ptr %14, i64 %13
%16 = load i8, ptr %15, align 1, !tbaa !10
%17 = icmp eq i8 %16, 80
%18 = zext i1 %17 to i32
%19 = tail call i32 @ASSERT(i32 noundef %18) #2
%20 = add nuw nsw i64 %13, 1
%21 = icmp eq i64 %20, %11
br i1 %21, label %30, label %12, !llvm.loop !11
22: ; preds = %3
%23 = load i32, ptr @UV_EOF, align 4, !tbaa !13
%24 = icmp eq i32 %23, %1
%25 = zext i1 %24 to i32
%26 = tail call i32 @ASSERT(i32 noundef %25) #2
%27 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%28 = load i32, ptr @close_cb, align 4, !tbaa !13
%29 = tail call i32 @uv_close(ptr noundef %0, i32 noundef %28) #2
br label %30
30: ; preds = %12, %8, %22
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef) local_unnamed_addr #1
declare i32 @uv_close(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/libuv/test/extr_test-tcp-open.c_read1_cb.c'
source_filename = "AnghaBench/libuv/test/extr_test-tcp-open.c_read1_cb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UV_EOF = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"GOT EOF\0A\00", align 1
@close_cb = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @read1_cb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @read1_cb(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = icmp ne ptr %0, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @ASSERT(i32 noundef %5) #2
%7 = icmp sgt i32 %1, -1
br i1 %7, label %8, label %22
8: ; preds = %3
%9 = icmp eq i32 %1, 0
br i1 %9, label %30, label %10
10: ; preds = %8
%11 = zext nneg i32 %1 to i64
br label %12
12: ; preds = %10, %12
%13 = phi i64 [ 0, %10 ], [ %20, %12 ]
%14 = load ptr, ptr %2, align 8, !tbaa !6
%15 = getelementptr inbounds i8, ptr %14, i64 %13
%16 = load i8, ptr %15, align 1, !tbaa !11
%17 = icmp eq i8 %16, 80
%18 = zext i1 %17 to i32
%19 = tail call i32 @ASSERT(i32 noundef %18) #2
%20 = add nuw nsw i64 %13, 1
%21 = icmp eq i64 %20, %11
br i1 %21, label %30, label %12, !llvm.loop !12
22: ; preds = %3
%23 = load i32, ptr @UV_EOF, align 4, !tbaa !14
%24 = icmp eq i32 %23, %1
%25 = zext i1 %24 to i32
%26 = tail call i32 @ASSERT(i32 noundef %25) #2
%27 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%28 = load i32, ptr @close_cb, align 4, !tbaa !14
%29 = tail call i32 @uv_close(ptr noundef %0, i32 noundef %28) #2
br label %30
30: ; preds = %12, %8, %22
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef) local_unnamed_addr #1
declare i32 @uv_close(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 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!9, !9, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
| libuv_test_extr_test-tcp-open.c_read1_cb |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_cs3308.c_cs3308_read.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_cs3308.c_cs3308_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @cs3308_read], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @cs3308_read(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2
%4 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef %3, i32 noundef %1) #2
ret i32 %4
}
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_read_byte_data(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_cs3308.c_cs3308_read.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_cs3308.c_cs3308_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @cs3308_read], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @cs3308_read(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2
%4 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef %3, i32 noundef %1) #2
ret i32 %4
}
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_read_byte_data(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_media_i2c_extr_cs3308.c_cs3308_read |
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/src/aead/extr_eax.c_br_eax_check_tag.c'
source_filename = "AnghaBench/freebsd/contrib/bearssl/src/aead/extr_eax.c_br_eax_check_tag.c"
target datalayout = "e-m:e-p270:32:32-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 @br_eax_check_tag(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @br_eax_check_tag_trunc(ptr noundef %0, ptr noundef %1, i32 noundef 16) #2
ret i32 %3
}
declare i32 @br_eax_check_tag_trunc(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/src/aead/extr_eax.c_br_eax_check_tag.c'
source_filename = "AnghaBench/freebsd/contrib/bearssl/src/aead/extr_eax.c_br_eax_check_tag.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 @br_eax_check_tag(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @br_eax_check_tag_trunc(ptr noundef %0, ptr noundef %1, i32 noundef 16) #2
ret i32 %3
}
declare i32 @br_eax_check_tag_trunc(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)"}
| freebsd_contrib_bearssl_src_aead_extr_eax.c_br_eax_check_tag |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/frv/kernel/extr_process.c_machine_restart.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/frv/kernel/extr_process.c_machine_restart.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PSR_IMPLE_FR551 = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: noreturn nounwind uwtable
define dso_local void @machine_restart(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = tail call i32 (...) @__get_PSR() #2
%3 = tail call i64 @PSR_IMPLE(i32 noundef %2) #2
%4 = load i64, ptr @PSR_IMPLE_FR551, align 8, !tbaa !5
%5 = icmp eq i64 %3, %4
%6 = select i1 %5, i64 4278187264, i64 4278125824
tail call void asm sideeffect " dcef @(gr0,gr0),1 ! membar ! sti $1,@($0,0) ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! ", "r,r,~{dirflag},~{fpsr},~{flags}"(i64 %6, i32 1) #2, !srcloc !9
br label %7
7: ; preds = %7, %1
br label %7
}
declare i64 @PSR_IMPLE(i32 noundef) local_unnamed_addr #1
declare i32 @__get_PSR(...) local_unnamed_addr #1
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{i64 828}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/frv/kernel/extr_process.c_machine_restart.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/frv/kernel/extr_process.c_machine_restart.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PSR_IMPLE_FR551 = common local_unnamed_addr global i64 0, align 8
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define void @machine_restart(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = tail call i32 @__get_PSR() #2
%3 = tail call i64 @PSR_IMPLE(i32 noundef %2) #2
%4 = load i64, ptr @PSR_IMPLE_FR551, align 8, !tbaa !6
%5 = icmp eq i64 %3, %4
%6 = select i1 %5, i64 4278187264, i64 4278125824
tail call void asm sideeffect " dcef @(gr0,gr0),1 ! membar ! sti $1,@($0,0) ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! nop ! ", "r,r"(i64 %6, i32 1) #2, !srcloc !10
br label %7
7: ; preds = %7, %1
br label %7
}
declare i64 @PSR_IMPLE(i32 noundef) local_unnamed_addr #1
declare i32 @__get_PSR(...) local_unnamed_addr #1
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{i64 828}
| fastsocket_kernel_arch_frv_kernel_extr_process.c_machine_restart |
; ModuleID = 'AnghaBench/jemalloc/test/unit/extr_pack.c_arenas_create_mallctl.c'
source_filename = "AnghaBench/jemalloc/test/unit/extr_pack.c_arenas_create_mallctl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"arenas.create\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Error in arenas.create\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @arenas_create_mallctl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @arenas_create_mallctl() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 4, ptr %2, align 8, !tbaa !5
%3 = call i32 @mallctl(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef null, i32 noundef 0) #3
%4 = call i32 @assert_d_eq(i32 noundef %3, i32 noundef 0, ptr noundef nonnull @.str.1) #3
%5 = load i32, ptr %1, align 4, !tbaa !9
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert_d_eq(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mallctl(ptr 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, !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/jemalloc/test/unit/extr_pack.c_arenas_create_mallctl.c'
source_filename = "AnghaBench/jemalloc/test/unit/extr_pack.c_arenas_create_mallctl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [14 x i8] c"arenas.create\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Error in arenas.create\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @arenas_create_mallctl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @arenas_create_mallctl() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 4, ptr %2, align 8, !tbaa !6
%3 = call i32 @mallctl(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef null, i32 noundef 0) #3
%4 = call i32 @assert_d_eq(i32 noundef %3, i32 noundef 0, ptr noundef nonnull @.str.1) #3
%5 = load i32, ptr %1, align 4, !tbaa !10
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert_d_eq(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mallctl(ptr 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, !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}
| jemalloc_test_unit_extr_pack.c_arenas_create_mallctl |
; ModuleID = 'AnghaBench/linux/arch/ia64/pci/extr_pci.c_pcibios_fixup_bridge_resources.c'
source_filename = "AnghaBench/linux/arch/ia64/pci/extr_pci.c_pcibios_fixup_bridge_resources.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.pci_dev = type { ptr, i32 }
%struct.resource = type { i32, i64, i32 }
@PCI_BRIDGE_RESOURCES = dso_local local_unnamed_addr global i32 0, align 4
@PCI_NUM_RESOURCES = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pcibios_fixup_bridge_resources], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pcibios_fixup_bridge_resources(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.pci_dev, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %35, label %5
5: ; preds = %1
%6 = load i32, ptr @PCI_BRIDGE_RESOURCES, align 4, !tbaa !11
%7 = load i32, ptr @PCI_NUM_RESOURCES, align 4, !tbaa !11
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %35
9: ; preds = %5
%10 = sext i32 %6 to i64
br label %11
11: ; preds = %9, %30
%12 = phi i32 [ %7, %9 ], [ %31, %30 ]
%13 = phi i64 [ %10, %9 ], [ %32, %30 ]
%14 = load ptr, ptr %0, align 8, !tbaa !12
%15 = getelementptr inbounds %struct.resource, ptr %14, i64 %13
%16 = getelementptr inbounds %struct.resource, ptr %14, i64 %13, i32 2
%17 = load i32, ptr %16, align 8, !tbaa !13
%18 = icmp eq i32 %17, 0
br i1 %18, label %30, label %19
19: ; preds = %11
%20 = getelementptr inbounds %struct.resource, ptr %14, i64 %13, i32 1
%21 = load i64, ptr %20, align 8, !tbaa !16
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %30
23: ; preds = %19
%24 = load i32, ptr %15, align 8, !tbaa !17
%25 = icmp eq i32 %24, 0
br i1 %25, label %30, label %26
26: ; preds = %23
%27 = trunc i64 %13 to i32
%28 = tail call i32 @pci_claim_bridge_resource(ptr noundef nonnull %0, i32 noundef %27) #2
%29 = load i32, ptr @PCI_NUM_RESOURCES, align 4, !tbaa !11
br label %30
30: ; preds = %11, %19, %23, %26
%31 = phi i32 [ %12, %11 ], [ %12, %19 ], [ %12, %23 ], [ %29, %26 ]
%32 = add nsw i64 %13, 1
%33 = sext i32 %31 to i64
%34 = icmp slt i64 %32, %33
br i1 %34, label %11, label %35, !llvm.loop !18
35: ; preds = %30, %5, %1
ret void
}
declare i32 @pci_claim_bridge_resource(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 = !{!"pci_dev", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !10, i64 16}
!14 = !{!"resource", !10, i64 0, !15, i64 8, !10, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!14, !10, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/arch/ia64/pci/extr_pci.c_pcibios_fixup_bridge_resources.c'
source_filename = "AnghaBench/linux/arch/ia64/pci/extr_pci.c_pcibios_fixup_bridge_resources.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.resource = type { i32, i64, i32 }
@PCI_BRIDGE_RESOURCES = common local_unnamed_addr global i32 0, align 4
@PCI_NUM_RESOURCES = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pcibios_fixup_bridge_resources], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pcibios_fixup_bridge_resources(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %35, label %5
5: ; preds = %1
%6 = load i32, ptr @PCI_BRIDGE_RESOURCES, align 4, !tbaa !12
%7 = load i32, ptr @PCI_NUM_RESOURCES, align 4, !tbaa !12
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %35
9: ; preds = %5
%10 = sext i32 %6 to i64
br label %11
11: ; preds = %9, %30
%12 = phi i32 [ %7, %9 ], [ %31, %30 ]
%13 = phi i64 [ %10, %9 ], [ %32, %30 ]
%14 = load ptr, ptr %0, align 8, !tbaa !13
%15 = getelementptr inbounds %struct.resource, ptr %14, i64 %13
%16 = getelementptr inbounds i8, ptr %15, i64 16
%17 = load i32, ptr %16, align 8, !tbaa !14
%18 = icmp eq i32 %17, 0
br i1 %18, label %30, label %19
19: ; preds = %11
%20 = getelementptr inbounds i8, ptr %15, i64 8
%21 = load i64, ptr %20, align 8, !tbaa !17
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %30
23: ; preds = %19
%24 = load i32, ptr %15, align 8, !tbaa !18
%25 = icmp eq i32 %24, 0
br i1 %25, label %30, label %26
26: ; preds = %23
%27 = trunc nsw i64 %13 to i32
%28 = tail call i32 @pci_claim_bridge_resource(ptr noundef nonnull %0, i32 noundef %27) #2
%29 = load i32, ptr @PCI_NUM_RESOURCES, align 4, !tbaa !12
br label %30
30: ; preds = %11, %19, %23, %26
%31 = phi i32 [ %12, %11 ], [ %12, %19 ], [ %12, %23 ], [ %29, %26 ]
%32 = add nsw i64 %13, 1
%33 = sext i32 %31 to i64
%34 = icmp slt i64 %32, %33
br i1 %34, label %11, label %35, !llvm.loop !19
35: ; preds = %30, %5, %1
ret void
}
declare i32 @pci_claim_bridge_resource(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 = !{!"pci_dev", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !11, i64 16}
!15 = !{!"resource", !11, i64 0, !16, i64 8, !11, i64 16}
!16 = !{!"long", !9, i64 0}
!17 = !{!15, !16, i64 8}
!18 = !{!15, !11, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| linux_arch_ia64_pci_extr_pci.c_pcibios_fixup_bridge_resources |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_x86.c_get_pointer.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_x86.c_get_pointer.c"
target datalayout = "e-m:e-p270:32:32-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(read, inaccessiblemem: none) uwtable
define dso_local i64 @get_pointer(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 6
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr %3, align 8, !tbaa !9
%5 = ptrtoint ptr %3 to i64
%6 = add i64 %5, 4
%7 = add i64 %6, %4
ret i64 %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_x86.c_get_pointer.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_x86.c_get_pointer.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(read, inaccessiblemem: none) uwtable(sync)
define range(i64 -9223372036854775804, -9223372036854775808) i64 @get_pointer(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 6
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = ptrtoint ptr %3 to i64
%6 = add i64 %5, 4
%7 = add i64 %6, %4
ret i64 %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| Provenance_Cores_Yabause_yabause_src_sh2_dynarec_extr_assem_x86.c_get_pointer |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/ti/extr_netcp_ethss.c_keystone_get_stat_strings.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/ti/extr_netcp_ethss.c_keystone_get_stat_strings.c"
target datalayout = "e-m:e-p270:32:32-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.gbe_priv = type { i32, ptr }
%struct.TYPE_2__ = type { i32 }
@ETH_GSTRING_LEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @keystone_get_stat_strings], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @keystone_get_stat_strings(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @netdev_priv(ptr noundef %0) #2
%5 = tail call ptr @keystone_get_intf_data(ptr noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %31, label %7
7: ; preds = %3
%8 = load ptr, ptr %5, align 8, !tbaa !5
%9 = icmp eq i32 %1, 129
br i1 %9, label %10, label %31
10: ; preds = %7
%11 = load i32, ptr %8, align 8, !tbaa !10
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %31
13: ; preds = %10
%14 = getelementptr inbounds %struct.gbe_priv, ptr %8, i64 0, i32 1
%15 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !13
br label %16
16: ; preds = %13, %16
%17 = phi i32 [ %15, %13 ], [ %24, %16 ]
%18 = phi i64 [ 0, %13 ], [ %27, %16 ]
%19 = phi ptr [ %2, %13 ], [ %26, %16 ]
%20 = load ptr, ptr %14, align 8, !tbaa !14
%21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %18
%22 = load i32, ptr %21, align 4, !tbaa !15
%23 = tail call i32 @memcpy(ptr noundef %19, i32 noundef %22, i32 noundef %17) #2
%24 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !13
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %19, i64 %25
%27 = add nuw nsw i64 %18, 1
%28 = load i32, ptr %8, align 8, !tbaa !10
%29 = sext i32 %28 to i64
%30 = icmp slt i64 %27, %29
br i1 %30, label %16, label %31, !llvm.loop !17
31: ; preds = %16, %10, %7, %3
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare ptr @keystone_get_intf_data(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"gbe_intf", !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 = !{!"gbe_priv", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !7, i64 8}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_2__", !12, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/ti/extr_netcp_ethss.c_keystone_get_stat_strings.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/ti/extr_netcp_ethss.c_keystone_get_stat_strings.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 }
@ETH_GSTRING_LEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @keystone_get_stat_strings], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @keystone_get_stat_strings(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @netdev_priv(ptr noundef %0) #2
%5 = tail call ptr @keystone_get_intf_data(ptr noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %31, label %7
7: ; preds = %3
%8 = load ptr, ptr %5, align 8, !tbaa !6
%9 = icmp eq i32 %1, 129
br i1 %9, label %10, label %31
10: ; preds = %7
%11 = load i32, ptr %8, align 8, !tbaa !11
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %31
13: ; preds = %10
%14 = getelementptr inbounds i8, ptr %8, i64 8
%15 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !14
br label %16
16: ; preds = %13, %16
%17 = phi i32 [ %15, %13 ], [ %24, %16 ]
%18 = phi i64 [ 0, %13 ], [ %27, %16 ]
%19 = phi ptr [ %2, %13 ], [ %26, %16 ]
%20 = load ptr, ptr %14, align 8, !tbaa !15
%21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %18
%22 = load i32, ptr %21, align 4, !tbaa !16
%23 = tail call i32 @memcpy(ptr noundef %19, i32 noundef %22, i32 noundef %17) #2
%24 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !14
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %19, i64 %25
%27 = add nuw nsw i64 %18, 1
%28 = load i32, ptr %8, align 8, !tbaa !11
%29 = sext i32 %28 to i64
%30 = icmp slt i64 %27, %29
br i1 %30, label %16, label %31, !llvm.loop !18
31: ; preds = %16, %10, %7, %3
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare ptr @keystone_get_intf_data(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"gbe_intf", !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 = !{!"gbe_priv", !13, i64 0, !8, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !8, i64 8}
!16 = !{!17, !13, i64 0}
!17 = !{!"TYPE_2__", !13, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_ethernet_ti_extr_netcp_ethss.c_keystone_get_stat_strings |
; ModuleID = 'AnghaBench/lwan/src/lib/extr_patterns.c_lmemfind.c'
source_filename = "AnghaBench/lwan/src/lib/extr_patterns.c_lmemfind.c"
target datalayout = "e-m:e-p270:32:32-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 @lmemfind], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @lmemfind(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp eq i64 %3, 0
br i1 %5, label %31, label %6
6: ; preds = %4
%7 = icmp ugt i64 %3, %1
br i1 %7, label %31, label %8
8: ; preds = %6
%9 = add i64 %3, -1
%10 = sub i64 %1, %9
%11 = icmp eq i64 %10, 0
br i1 %11, label %31, label %12
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %2, i64 1
br label %14
14: ; preds = %12, %25
%15 = phi i64 [ %10, %12 ], [ %29, %25 ]
%16 = phi ptr [ %0, %12 ], [ %22, %25 ]
%17 = load i8, ptr %2, align 1, !tbaa !5
%18 = tail call i64 @memchr(ptr noundef %16, i8 noundef signext %17, i64 noundef %15) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %31, label %20
20: ; preds = %14
%21 = inttoptr i64 %18 to ptr
%22 = getelementptr inbounds i8, ptr %21, i64 1
%23 = tail call i64 @memcmp(ptr noundef nonnull %22, ptr noundef nonnull %13, i64 noundef %9) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %31, label %25
25: ; preds = %20
%26 = ptrtoint ptr %22 to i64
%27 = ptrtoint ptr %16 to i64
%28 = add i64 %15, %27
%29 = sub i64 %28, %26
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %14, !llvm.loop !8
31: ; preds = %20, %25, %14, %8, %6, %4
%32 = phi ptr [ %0, %4 ], [ null, %6 ], [ null, %8 ], [ %21, %20 ], [ null, %25 ], [ null, %14 ]
ret ptr %32
}
declare i64 @memchr(ptr noundef, i8 noundef signext, i64 noundef) local_unnamed_addr #1
declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/lwan/src/lib/extr_patterns.c_lmemfind.c'
source_filename = "AnghaBench/lwan/src/lib/extr_patterns.c_lmemfind.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 @lmemfind], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @lmemfind(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp eq i64 %3, 0
br i1 %5, label %31, label %6
6: ; preds = %4
%7 = icmp ugt i64 %3, %1
br i1 %7, label %31, label %8
8: ; preds = %6
%9 = add i64 %3, -1
%10 = sub i64 %1, %9
%11 = icmp eq i64 %10, 0
br i1 %11, label %31, label %12
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %2, i64 1
br label %14
14: ; preds = %12, %25
%15 = phi i64 [ %10, %12 ], [ %29, %25 ]
%16 = phi ptr [ %0, %12 ], [ %22, %25 ]
%17 = load i8, ptr %2, align 1, !tbaa !6
%18 = tail call i64 @memchr(ptr noundef %16, i8 noundef signext %17, i64 noundef %15) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %31, label %20
20: ; preds = %14
%21 = inttoptr i64 %18 to ptr
%22 = getelementptr inbounds i8, ptr %21, i64 1
%23 = tail call i64 @memcmp(ptr noundef nonnull %22, ptr noundef nonnull %13, i64 noundef %9) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %31, label %25
25: ; preds = %20
%26 = ptrtoint ptr %22 to i64
%27 = ptrtoint ptr %16 to i64
%28 = add i64 %15, %27
%29 = sub i64 %28, %26
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %14, !llvm.loop !9
31: ; preds = %20, %25, %14, %8, %6, %4
%32 = phi ptr [ %0, %4 ], [ null, %6 ], [ null, %8 ], [ %21, %20 ], [ null, %25 ], [ null, %14 ]
ret ptr %32
}
declare i64 @memchr(ptr noundef, i8 noundef signext, i64 noundef) local_unnamed_addr #1
declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| lwan_src_lib_extr_patterns.c_lmemfind |
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_max8997-regulator.c_max8997_set_current_limit.c'
source_filename = "AnghaBench/linux/drivers/regulator/extr_max8997-regulator.c_max8997_set_current_limit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MAX8997_CHARGER = dso_local local_unnamed_addr global i32 0, align 4
@MAX8997_CHARGER_TOPOFF = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @max8997_set_current_limit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @max8997_set_current_limit(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = tail call i32 @rdev_get_id(ptr noundef %0) #3
%6 = load i32, ptr @MAX8997_CHARGER, align 4, !tbaa !5
%7 = icmp eq i32 %5, %6
%8 = load i32, ptr @MAX8997_CHARGER_TOPOFF, align 4
%9 = icmp eq i32 %5, %8
%10 = select i1 %7, i1 true, i1 %9
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load i32, ptr @EINVAL, align 4, !tbaa !5
%13 = sub nsw i32 0, %12
br label %16
14: ; preds = %3
%15 = call i32 @max8997_set_voltage_ldobuck(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef nonnull %4) #3
br label %16
16: ; preds = %14, %11
%17 = phi i32 [ %13, %11 ], [ %15, %14 ]
call void @llvm.lifetime.end.p0(i64 4, 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 @rdev_get_id(ptr noundef) local_unnamed_addr #2
declare i32 @max8997_set_voltage_ldobuck(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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/drivers/regulator/extr_max8997-regulator.c_max8997_set_current_limit.c'
source_filename = "AnghaBench/linux/drivers/regulator/extr_max8997-regulator.c_max8997_set_current_limit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAX8997_CHARGER = common local_unnamed_addr global i32 0, align 4
@MAX8997_CHARGER_TOPOFF = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @max8997_set_current_limit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @max8997_set_current_limit(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = tail call i32 @rdev_get_id(ptr noundef %0) #3
%6 = load i32, ptr @MAX8997_CHARGER, align 4, !tbaa !6
%7 = icmp eq i32 %5, %6
%8 = load i32, ptr @MAX8997_CHARGER_TOPOFF, align 4
%9 = icmp eq i32 %5, %8
%10 = select i1 %7, i1 true, i1 %9
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load i32, ptr @EINVAL, align 4, !tbaa !6
%13 = sub nsw i32 0, %12
br label %16
14: ; preds = %3
%15 = call i32 @max8997_set_voltage_ldobuck(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef nonnull %4) #3
br label %16
16: ; preds = %14, %11
%17 = phi i32 [ %13, %11 ], [ %15, %14 ]
call void @llvm.lifetime.end.p0(i64 4, 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 @rdev_get_id(ptr noundef) local_unnamed_addr #2
declare i32 @max8997_set_voltage_ldobuck(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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_drivers_regulator_extr_max8997-regulator.c_max8997_set_current_limit |
; ModuleID = 'AnghaBench/Provenance/Cores/FCEU/FCEU/~attic/pc/extr_sdl-netplay.c_FCEUD_SendDataToServer.c'
source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/~attic/pc/extr_sdl-netplay.c_FCEUD_SendDataToServer.c"
target datalayout = "e-m:e-p270:32:32-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, i64, i64, i32, i64 }
@data = dso_local local_unnamed_addr global i32 0, align 4
@UDPHEADSIZE = dso_local local_unnamed_addr global i64 0, align 8
@UDPSocket = dso_local local_unnamed_addr global i32 0, align 4
@outcounter = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @FCEUD_SendDataToServer(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 4
store i64 0, ptr %4, align 8, !tbaa !5
%5 = load i32, ptr @data, align 4, !tbaa !11
%6 = tail call i32 @MakeUDP(i32 noundef %5, i32 noundef 1) #3
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 3
store i32 %6, ptr %7, align 8, !tbaa !12
%8 = load i64, ptr @UDPHEADSIZE, align 8, !tbaa !13
%9 = add nsw i64 %8, 1
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1
store i64 %9, ptr %10, align 8, !tbaa !14
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 2
store i64 %9, ptr %11, align 8, !tbaa !15
store i64 0, ptr %3, align 8, !tbaa !16
%12 = load i32, ptr @UDPSocket, align 4, !tbaa !11
%13 = call i32 @SDLNet_UDP_Send(i32 noundef %12, i32 noundef 0, ptr noundef nonnull %3) #3
%14 = load i32, ptr @outcounter, align 4, !tbaa !11
%15 = add nsw i32 %14, 1
store i32 %15, ptr @outcounter, align 4, !tbaa !11
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #3
ret i32 1
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @MakeUDP(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @SDLNet_UDP_Send(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, !7, i64 32}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !7, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !10, i64 24}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !7, i64 16}
!16 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/Provenance/Cores/FCEU/FCEU/~attic/pc/extr_sdl-netplay.c_FCEUD_SendDataToServer.c'
source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/~attic/pc/extr_sdl-netplay.c_FCEUD_SendDataToServer.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 { i64, i64, i64, i32, i64 }
@data = common local_unnamed_addr global i32 0, align 4
@UDPHEADSIZE = common local_unnamed_addr global i64 0, align 8
@UDPSocket = common local_unnamed_addr global i32 0, align 4
@outcounter = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @FCEUD_SendDataToServer(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %3, i64 32
store i64 0, ptr %4, align 8, !tbaa !6
%5 = load i32, ptr @data, align 4, !tbaa !12
%6 = tail call i32 @MakeUDP(i32 noundef %5, i32 noundef 1) #3
%7 = getelementptr inbounds i8, ptr %3, i64 24
store i32 %6, ptr %7, align 8, !tbaa !13
%8 = load i64, ptr @UDPHEADSIZE, align 8, !tbaa !14
%9 = add nsw i64 %8, 1
%10 = getelementptr inbounds i8, ptr %3, i64 8
store i64 %9, ptr %10, align 8, !tbaa !15
%11 = getelementptr inbounds i8, ptr %3, i64 16
store i64 %9, ptr %11, align 8, !tbaa !16
store i64 0, ptr %3, align 8, !tbaa !17
%12 = load i32, ptr @UDPSocket, align 4, !tbaa !12
%13 = call i32 @SDLNet_UDP_Send(i32 noundef %12, i32 noundef 0, ptr noundef nonnull %3) #3
%14 = load i32, ptr @outcounter, align 4, !tbaa !12
%15 = add nsw i32 %14, 1
store i32 %15, ptr @outcounter, align 4, !tbaa !12
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #3
ret i32 1
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @MakeUDP(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @SDLNet_UDP_Send(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, !8, i64 32}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !8, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !11, i64 24}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 8}
!16 = !{!7, !8, i64 16}
!17 = !{!7, !8, i64 0}
| Provenance_Cores_FCEU_FCEU_~attic_pc_extr_sdl-netplay.c_FCEUD_SendDataToServer |
; ModuleID = 'AnghaBench/RetroArch/libretro-common/streams/extr_interface_stream.c_intfstream_tell.c'
source_filename = "AnghaBench/RetroArch/libretro-common/streams/extr_interface_stream.c_intfstream_tell.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i32, %struct.TYPE_8__, %struct.TYPE_7__, %struct.TYPE_6__ }
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_7__ = type { i32 }
%struct.TYPE_6__ = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @intfstream_tell(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %13, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %4, label %13 [
i32 129, label %5
i32 128, label %9
]
5: ; preds = %3
%6 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = tail call i32 @filestream_tell(i32 noundef %7) #2
br label %13
9: ; preds = %3
%10 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = tail call i32 @memstream_pos(i32 noundef %11) #2
br label %13
13: ; preds = %3, %1, %9, %5
%14 = phi i32 [ %12, %9 ], [ %8, %5 ], [ -1, %1 ], [ -1, %3 ]
ret i32 %14
}
declare i32 @filestream_tell(i32 noundef) local_unnamed_addr #1
declare i32 @memstream_pos(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_9__", !7, i64 0, !10, i64 4, !11, i64 8, !12, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_8__", !7, i64 0}
!11 = !{!"TYPE_7__", !7, i64 0}
!12 = !{!"TYPE_6__", !7, i64 0}
!13 = !{!6, !7, i64 12}
!14 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/RetroArch/libretro-common/streams/extr_interface_stream.c_intfstream_tell.c'
source_filename = "AnghaBench/RetroArch/libretro-common/streams/extr_interface_stream.c_intfstream_tell.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 @intfstream_tell(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %13, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %4, label %13 [
i32 129, label %5
i32 128, label %9
]
5: ; preds = %3
%6 = getelementptr inbounds i8, ptr %0, i64 12
%7 = load i32, ptr %6, align 4, !tbaa !14
%8 = tail call i32 @filestream_tell(i32 noundef %7) #2
br label %13
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = tail call i32 @memstream_pos(i32 noundef %11) #2
br label %13
13: ; preds = %3, %1, %9, %5
%14 = phi i32 [ %12, %9 ], [ %8, %5 ], [ -1, %1 ], [ -1, %3 ]
ret i32 %14
}
declare i32 @filestream_tell(i32 noundef) local_unnamed_addr #1
declare i32 @memstream_pos(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_9__", !8, i64 0, !11, i64 4, !12, i64 8, !13, i64 12}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_8__", !8, i64 0}
!12 = !{!"TYPE_7__", !8, i64 0}
!13 = !{!"TYPE_6__", !8, i64 0}
!14 = !{!7, !8, i64 12}
!15 = !{!7, !8, i64 8}
| RetroArch_libretro-common_streams_extr_interface_stream.c_intfstream_tell |
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/net/extr_so_txtime.c_setup_rx.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/net/extr_so_txtime.c_setup_rx.c"
target datalayout = "e-m:e-p270:32:32-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.timeval = type { i32 }
@SOCK_DGRAM = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"socket r\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@SOL_SOCKET = dso_local local_unnamed_addr global i32 0, align 4
@SO_RCVTIMEO = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [23 x i8] c"setsockopt rcv timeout\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @setup_rx], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @setup_rx(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.timeval, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 100000, ptr %3, align 4
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = load i32, ptr @SOCK_DGRAM, align 4, !tbaa !10
%6 = tail call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef 0) #3
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @errno, align 4, !tbaa !10
%10 = tail call i32 @error(i32 noundef 1, i32 noundef %9, ptr noundef nonnull @.str) #3
br label %11
11: ; preds = %8, %2
%12 = tail call i64 @bind(i32 noundef %6, ptr noundef nonnull %0, i32 noundef %1) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = load i32, ptr @errno, align 4, !tbaa !10
%16 = tail call i32 @error(i32 noundef 1, i32 noundef %15, ptr noundef nonnull @.str.1) #3
br label %17
17: ; preds = %14, %11
%18 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !10
%19 = load i32, ptr @SO_RCVTIMEO, align 4, !tbaa !10
%20 = call i64 @setsockopt(i32 noundef %6, i32 noundef %18, i32 noundef %19, ptr noundef nonnull %3, i32 noundef 4) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %17
%23 = load i32, ptr @errno, align 4, !tbaa !10
%24 = call i32 @error(i32 noundef 1, i32 noundef %23, ptr noundef nonnull @.str.2) #3
br label %25
25: ; preds = %22, %17
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @error(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"sockaddr", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/tools/testing/selftests/net/extr_so_txtime.c_setup_rx.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/net/extr_so_txtime.c_setup_rx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.timeval = type { i32 }
@SOCK_DGRAM = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"socket r\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@SOL_SOCKET = common local_unnamed_addr global i32 0, align 4
@SO_RCVTIMEO = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [23 x i8] c"setsockopt rcv timeout\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @setup_rx], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @setup_rx(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.timeval, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 100000, ptr %3, align 4
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = load i32, ptr @SOCK_DGRAM, align 4, !tbaa !11
%6 = tail call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef 0) #3
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @errno, align 4, !tbaa !11
%10 = tail call i32 @error(i32 noundef 1, i32 noundef %9, ptr noundef nonnull @.str) #3
br label %11
11: ; preds = %8, %2
%12 = tail call i64 @bind(i32 noundef %6, ptr noundef nonnull %0, i32 noundef %1) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = load i32, ptr @errno, align 4, !tbaa !11
%16 = tail call i32 @error(i32 noundef 1, i32 noundef %15, ptr noundef nonnull @.str.1) #3
br label %17
17: ; preds = %14, %11
%18 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !11
%19 = load i32, ptr @SO_RCVTIMEO, align 4, !tbaa !11
%20 = call i64 @setsockopt(i32 noundef %6, i32 noundef %18, i32 noundef %19, ptr noundef nonnull %3, i32 noundef 4) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %17
%23 = load i32, ptr @errno, align 4, !tbaa !11
%24 = call i32 @error(i32 noundef 1, i32 noundef %23, ptr noundef nonnull @.str.2) #3
br label %25
25: ; preds = %22, %17
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @error(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"sockaddr", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_tools_testing_selftests_net_extr_so_txtime.c_setup_rx |
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_nat_masquerade.c_masq_device_event.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nf_nat_masquerade.c_masq_device_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"
@NETDEV_DOWN = dso_local local_unnamed_addr global i64 0, align 8
@device_cmp = dso_local local_unnamed_addr global i32 0, align 4
@NOTIFY_DONE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @masq_device_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @masq_device_event(ptr nocapture readnone %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @netdev_notifier_info_to_dev(ptr noundef %2) #2
%5 = tail call ptr @dev_net(ptr noundef %4) #2
%6 = load i64, ptr @NETDEV_DOWN, align 8, !tbaa !5
%7 = icmp eq i64 %6, %1
br i1 %7, label %8, label %13
8: ; preds = %3
%9 = load i32, ptr @device_cmp, align 4, !tbaa !9
%10 = load i64, ptr %4, align 8, !tbaa !11
%11 = inttoptr i64 %10 to ptr
%12 = tail call i32 @nf_ct_iterate_cleanup_net(ptr noundef %5, i32 noundef %9, ptr noundef %11, i32 noundef 0, i32 noundef 0) #2
br label %13
13: ; preds = %8, %3
%14 = load i32, ptr @NOTIFY_DONE, align 4, !tbaa !9
ret i32 %14
}
declare ptr @netdev_notifier_info_to_dev(ptr noundef) local_unnamed_addr #1
declare ptr @dev_net(ptr noundef) local_unnamed_addr #1
declare i32 @nf_ct_iterate_cleanup_net(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"net_device", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_nat_masquerade.c_masq_device_event.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nf_nat_masquerade.c_masq_device_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NETDEV_DOWN = common local_unnamed_addr global i64 0, align 8
@device_cmp = common local_unnamed_addr global i32 0, align 4
@NOTIFY_DONE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @masq_device_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @masq_device_event(ptr nocapture readnone %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @netdev_notifier_info_to_dev(ptr noundef %2) #2
%5 = tail call ptr @dev_net(ptr noundef %4) #2
%6 = load i64, ptr @NETDEV_DOWN, align 8, !tbaa !6
%7 = icmp eq i64 %6, %1
br i1 %7, label %8, label %13
8: ; preds = %3
%9 = load i32, ptr @device_cmp, align 4, !tbaa !10
%10 = load i64, ptr %4, align 8, !tbaa !12
%11 = inttoptr i64 %10 to ptr
%12 = tail call i32 @nf_ct_iterate_cleanup_net(ptr noundef %5, i32 noundef %9, ptr noundef %11, i32 noundef 0, i32 noundef 0) #2
br label %13
13: ; preds = %8, %3
%14 = load i32, ptr @NOTIFY_DONE, align 4, !tbaa !10
ret i32 %14
}
declare ptr @netdev_notifier_info_to_dev(ptr noundef) local_unnamed_addr #1
declare ptr @dev_net(ptr noundef) local_unnamed_addr #1
declare i32 @nf_ct_iterate_cleanup_net(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"net_device", !7, i64 0}
| linux_net_netfilter_extr_nf_nat_masquerade.c_masq_device_event |
; ModuleID = 'AnghaBench/libui/unix/extr_stddialogs.c_uiMsgBox.c'
source_filename = "AnghaBench/libui/unix/extr_stddialogs.c_uiMsgBox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GTK_MESSAGE_OTHER = dso_local local_unnamed_addr global i32 0, align 4
@GTK_BUTTONS_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @uiMsgBox(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @windowWindow(ptr noundef %0) #2
%5 = load i32, ptr @GTK_MESSAGE_OTHER, align 4, !tbaa !5
%6 = load i32, ptr @GTK_BUTTONS_OK, align 4, !tbaa !5
%7 = tail call i32 @msgbox(i32 noundef %4, ptr noundef %1, ptr noundef %2, i32 noundef %5, i32 noundef %6) #2
ret void
}
declare i32 @msgbox(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @windowWindow(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/libui/unix/extr_stddialogs.c_uiMsgBox.c'
source_filename = "AnghaBench/libui/unix/extr_stddialogs.c_uiMsgBox.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GTK_MESSAGE_OTHER = common local_unnamed_addr global i32 0, align 4
@GTK_BUTTONS_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @uiMsgBox(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @windowWindow(ptr noundef %0) #2
%5 = load i32, ptr @GTK_MESSAGE_OTHER, align 4, !tbaa !6
%6 = load i32, ptr @GTK_BUTTONS_OK, align 4, !tbaa !6
%7 = tail call i32 @msgbox(i32 noundef %4, ptr noundef %1, ptr noundef %2, i32 noundef %5, i32 noundef %6) #2
ret void
}
declare i32 @msgbox(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @windowWindow(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"}
| libui_unix_extr_stddialogs.c_uiMsgBox |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/tests/extr_paramgrill.c_cParamsToPVals.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/tests/extr_paramgrill.c_cParamsToPVals.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, i32, i32, i32, i32, i32 }
@wlog_ind = dso_local local_unnamed_addr global i64 0, align 8
@clog_ind = dso_local local_unnamed_addr global i64 0, align 8
@hlog_ind = dso_local local_unnamed_addr global i64 0, align 8
@slog_ind = dso_local local_unnamed_addr global i64 0, align 8
@mml_ind = dso_local local_unnamed_addr global i64 0, align 8
@tlen_ind = dso_local local_unnamed_addr global i64 0, align 8
@strt_ind = dso_local local_unnamed_addr global i64 0, align 8
@NUM_PARAMS = dso_local local_unnamed_addr global i64 0, align 8
@mintable = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @cParamsToPVals], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse noreturn nosync nounwind willreturn memory(none) uwtable
define internal noalias noundef nonnull ptr @cParamsToPVals(ptr nocapture noundef readnone byval(%struct.TYPE_6__) align 8 %0) #0 {
unreachable
}
attributes #0 = { mustprogress nofree norecurse noreturn nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/tests/extr_paramgrill.c_cParamsToPVals.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/tests/extr_paramgrill.c_cParamsToPVals.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@wlog_ind = common local_unnamed_addr global i64 0, align 8
@clog_ind = common local_unnamed_addr global i64 0, align 8
@hlog_ind = common local_unnamed_addr global i64 0, align 8
@slog_ind = common local_unnamed_addr global i64 0, align 8
@mml_ind = common local_unnamed_addr global i64 0, align 8
@tlen_ind = common local_unnamed_addr global i64 0, align 8
@strt_ind = common local_unnamed_addr global i64 0, align 8
@NUM_PARAMS = common local_unnamed_addr global i64 0, align 8
@mintable = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @cParamsToPVals], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse noreturn nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i64 @cParamsToPVals(ptr nocapture readnone %0) #0 {
unreachable
}
attributes #0 = { mustprogress nofree norecurse noreturn nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_contrib_zstd_tests_extr_paramgrill.c_cParamsToPVals |
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_tables_api.c_nf_tables_rule_destroy.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nf_tables_api.c_nf_tables_rule_destroy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @nf_tables_rule_destroy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nf_tables_rule_destroy(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @nft_expr_first(ptr noundef %1) #2
%4 = tail call ptr @nft_expr_last(ptr noundef %1) #2
%5 = icmp eq ptr %3, %4
br i1 %5, label %15, label %6
6: ; preds = %2, %10
%7 = phi ptr [ %11, %10 ], [ %3, %2 ]
%8 = load i64, ptr %7, align 8, !tbaa !5
%9 = icmp eq i64 %8, 0
br i1 %9, label %15, label %10
10: ; preds = %6
%11 = tail call ptr @nft_expr_next(ptr noundef nonnull %7) #2
%12 = tail call i32 @nf_tables_expr_destroy(ptr noundef %0, ptr noundef nonnull %7) #2
%13 = tail call ptr @nft_expr_last(ptr noundef %1) #2
%14 = icmp eq ptr %11, %13
br i1 %14, label %15, label %6, !llvm.loop !10
15: ; preds = %6, %10, %2
%16 = tail call i32 @kfree(ptr noundef %1) #2
ret void
}
declare ptr @nft_expr_first(ptr noundef) local_unnamed_addr #1
declare ptr @nft_expr_last(ptr noundef) local_unnamed_addr #1
declare ptr @nft_expr_next(ptr noundef) local_unnamed_addr #1
declare i32 @nf_tables_expr_destroy(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"nft_expr", !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"}
| ; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_tables_api.c_nf_tables_rule_destroy.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nf_tables_api.c_nf_tables_rule_destroy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @nf_tables_rule_destroy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nf_tables_rule_destroy(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @nft_expr_first(ptr noundef %1) #2
%4 = tail call ptr @nft_expr_last(ptr noundef %1) #2
%5 = icmp eq ptr %3, %4
br i1 %5, label %15, label %6
6: ; preds = %2, %10
%7 = phi ptr [ %11, %10 ], [ %3, %2 ]
%8 = load i64, ptr %7, align 8, !tbaa !6
%9 = icmp eq i64 %8, 0
br i1 %9, label %15, label %10
10: ; preds = %6
%11 = tail call ptr @nft_expr_next(ptr noundef nonnull %7) #2
%12 = tail call i32 @nf_tables_expr_destroy(ptr noundef %0, ptr noundef nonnull %7) #2
%13 = tail call ptr @nft_expr_last(ptr noundef %1) #2
%14 = icmp eq ptr %11, %13
br i1 %14, label %15, label %6, !llvm.loop !11
15: ; preds = %6, %10, %2
%16 = tail call i32 @kfree(ptr noundef %1) #2
ret void
}
declare ptr @nft_expr_first(ptr noundef) local_unnamed_addr #1
declare ptr @nft_expr_last(ptr noundef) local_unnamed_addr #1
declare ptr @nft_expr_next(ptr noundef) local_unnamed_addr #1
declare i32 @nf_tables_expr_destroy(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"nft_expr", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| linux_net_netfilter_extr_nf_tables_api.c_nf_tables_rule_destroy |
; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/udc/extr_renesas_usb3.c_usb3_check_vbus.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/udc/extr_renesas_usb3.c_usb3_check_vbus.c"
target datalayout = "e-m:e-p270:32:32-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.renesas_usb3 = type { i32, i32, i64 }
@USB3_USB_STA = dso_local local_unnamed_addr global i32 0, align 4
@USB_STA_VBUS_STA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @usb3_check_vbus], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @usb3_check_vbus(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.renesas_usb3, ptr %0, i64 0, i32 2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @usb3_connect(ptr noundef nonnull %0) #2
br label %21
7: ; preds = %1
%8 = load i32, ptr @USB3_USB_STA, align 4, !tbaa !11
%9 = tail call i32 @usb3_read(ptr noundef nonnull %0, i32 noundef %8) #2
%10 = load i32, ptr @USB_STA_VBUS_STA, align 4, !tbaa !11
%11 = and i32 %10, %9
%12 = icmp ne i32 %11, 0
%13 = zext i1 %12 to i32
store i32 %13, ptr %0, align 8, !tbaa !12
br i1 %12, label %14, label %16
14: ; preds = %7
%15 = tail call i32 @usb3_connect(ptr noundef nonnull %0) #2
br label %18
16: ; preds = %7
%17 = tail call i32 @usb3_disconnect(ptr noundef nonnull %0) #2
br label %18
18: ; preds = %16, %14
%19 = getelementptr inbounds %struct.renesas_usb3, ptr %0, i64 0, i32 1
%20 = tail call i32 @schedule_work(ptr noundef nonnull %19) #2
br label %21
21: ; preds = %18, %5
ret void
}
declare i32 @usb3_connect(ptr noundef) local_unnamed_addr #1
declare i32 @usb3_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb3_disconnect(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_work(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 = !{!"renesas_usb3", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/udc/extr_renesas_usb3.c_usb3_check_vbus.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/udc/extr_renesas_usb3.c_usb3_check_vbus.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@USB3_USB_STA = common local_unnamed_addr global i32 0, align 4
@USB_STA_VBUS_STA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @usb3_check_vbus], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @usb3_check_vbus(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @usb3_connect(ptr noundef nonnull %0) #2
br label %21
7: ; preds = %1
%8 = load i32, ptr @USB3_USB_STA, align 4, !tbaa !12
%9 = tail call i32 @usb3_read(ptr noundef nonnull %0, i32 noundef %8) #2
%10 = load i32, ptr @USB_STA_VBUS_STA, align 4, !tbaa !12
%11 = and i32 %10, %9
%12 = icmp ne i32 %11, 0
%13 = zext i1 %12 to i32
store i32 %13, ptr %0, align 8, !tbaa !13
br i1 %12, label %14, label %16
14: ; preds = %7
%15 = tail call i32 @usb3_connect(ptr noundef nonnull %0) #2
br label %18
16: ; preds = %7
%17 = tail call i32 @usb3_disconnect(ptr noundef nonnull %0) #2
br label %18
18: ; preds = %16, %14
%19 = getelementptr inbounds i8, ptr %0, i64 4
%20 = tail call i32 @schedule_work(ptr noundef nonnull %19) #2
br label %21
21: ; preds = %18, %5
ret void
}
declare i32 @usb3_connect(ptr noundef) local_unnamed_addr #1
declare i32 @usb3_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb3_disconnect(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_work(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 = !{!"renesas_usb3", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
| linux_drivers_usb_gadget_udc_extr_renesas_usb3.c_usb3_check_vbus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.