IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_pafvideo.c_read4x4block.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_pafvideo.c_read4x4block.c"
target datalayout = "e-m:e-p270:32:32-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 @read4x4block], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @read4x4block(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = sext i32 %2 to i64
%5 = tail call i32 @bytestream2_get_buffer(ptr noundef %0, ptr noundef %1, i32 noundef 4) #2
%6 = getelementptr inbounds i32, ptr %1, i64 %4
%7 = tail call i32 @bytestream2_get_buffer(ptr noundef %0, ptr noundef %6, i32 noundef 4) #2
%8 = getelementptr inbounds i32, ptr %6, i64 %4
%9 = tail call i32 @bytestream2_get_buffer(ptr noundef %0, ptr noundef %8, i32 noundef 4) #2
%10 = getelementptr inbounds i32, ptr %8, i64 %4
%11 = tail call i32 @bytestream2_get_buffer(ptr noundef %0, ptr noundef %10, i32 noundef 4) #2
ret void
}
declare i32 @bytestream2_get_buffer(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/FFmpeg/libavcodec/extr_pafvideo.c_read4x4block.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_pafvideo.c_read4x4block.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 @read4x4block], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @read4x4block(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = sext i32 %2 to i64
%5 = tail call i32 @bytestream2_get_buffer(ptr noundef %0, ptr noundef %1, i32 noundef 4) #2
%6 = getelementptr inbounds i32, ptr %1, i64 %4
%7 = tail call i32 @bytestream2_get_buffer(ptr noundef %0, ptr noundef %6, i32 noundef 4) #2
%8 = getelementptr inbounds i32, ptr %6, i64 %4
%9 = tail call i32 @bytestream2_get_buffer(ptr noundef %0, ptr noundef %8, i32 noundef 4) #2
%10 = getelementptr inbounds i32, ptr %8, i64 %4
%11 = tail call i32 @bytestream2_get_buffer(ptr noundef %0, ptr noundef %10, i32 noundef 4) #2
ret void
}
declare i32 @bytestream2_get_buffer(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)"}
| FFmpeg_libavcodec_extr_pafvideo.c_read4x4block |
; ModuleID = 'AnghaBench/linux/drivers/net/can/m_can/extr_tcan4x5x.c_tcan4x5x_write_tcan_reg.c'
source_filename = "AnghaBench/linux/drivers/net/can/m_can/extr_tcan4x5x.c_tcan4x5x_write_tcan_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @tcan4x5x_write_tcan_reg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tcan4x5x_write_tcan_reg(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = tail call i32 @regmap_write(i32 noundef %5, i32 noundef %1, i32 noundef %2) #2
ret i32 %6
}
declare i32 @regmap_write(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 = !{!"m_can_classdev", !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 = !{!"tcan4x5x_priv", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/can/m_can/extr_tcan4x5x.c_tcan4x5x_write_tcan_reg.c'
source_filename = "AnghaBench/linux/drivers/net/can/m_can/extr_tcan4x5x.c_tcan4x5x_write_tcan_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @tcan4x5x_write_tcan_reg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @tcan4x5x_write_tcan_reg(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call i32 @regmap_write(i32 noundef %5, i32 noundef %1, i32 noundef %2) #2
ret i32 %6
}
declare i32 @regmap_write(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 = !{!"m_can_classdev", !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 = !{!"tcan4x5x_priv", !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_drivers_net_can_m_can_extr_tcan4x5x.c_tcan4x5x_write_tcan_reg |
; ModuleID = 'AnghaBench/linux/drivers/memory/extr_ti-emif-pm.c_ti_emif_probe.c'
source_filename = "AnghaBench/linux/drivers/memory/extr_ti-emif-pm.c_ti_emif_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.TYPE_2__ = type { i64, i32, i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@ti_emif_of_match = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@IORESOURCE_MEM = dso_local local_unnamed_addr global i32 0, align 4
@emif_instance = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ti_emif_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ti_emif_probe(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%3 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 16, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
br label %38
8: ; preds = %1
%9 = load i32, ptr @ti_emif_of_match, align 4, !tbaa !5
%10 = tail call ptr @of_match_device(i32 noundef %9, ptr noundef %0) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr @ENODEV, align 4, !tbaa !5
%14 = sub nsw i32 0, %13
br label %38
15: ; preds = %8
%16 = load i64, ptr %10, align 8, !tbaa !9
store i64 %16, ptr %3, align 8, !tbaa !12
%17 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !5
%18 = tail call ptr @platform_get_resource(ptr noundef %0, i32 noundef %17, i32 noundef 0) #2
%19 = tail call i32 @devm_ioremap_resource(ptr noundef %0, ptr noundef %18) #2
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 2
store i32 %19, ptr %20, align 4, !tbaa !15
%21 = tail call i64 @IS_ERR(i32 noundef %19) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %15
%24 = load i32, ptr %20, align 4, !tbaa !15
%25 = tail call i32 @PTR_ERR(i32 noundef %24) #2
br label %38
26: ; preds = %15
%27 = load i32, ptr %18, align 4, !tbaa !16
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1
store i32 %27, ptr %28, align 8, !tbaa !18
%29 = tail call i32 @ti_emif_configure_sr_delay(ptr noundef nonnull %3) #2
%30 = tail call i32 @ti_emif_alloc_sram(ptr noundef %0, ptr noundef nonnull %3) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %38
32: ; preds = %26
%33 = tail call i32 @ti_emif_push_sram(ptr noundef %0, ptr noundef nonnull %3) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32
store ptr %3, ptr @emif_instance, align 8, !tbaa !19
br label %38
36: ; preds = %32
%37 = tail call i32 @ti_emif_free_sram(ptr noundef nonnull %3) #2
br label %38
38: ; preds = %26, %36, %35, %23, %12, %5
%39 = phi i32 [ %25, %23 ], [ %33, %36 ], [ 0, %35 ], [ %14, %12 ], [ %7, %5 ], [ %30, %26 ]
ret i32 %39
}
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @of_match_device(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @platform_get_resource(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @devm_ioremap_resource(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @ti_emif_configure_sr_delay(ptr noundef) local_unnamed_addr #1
declare i32 @ti_emif_alloc_sram(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ti_emif_push_sram(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ti_emif_free_sram(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 = !{!"of_device_id", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"ti_emif_data", !14, i64 0}
!14 = !{!"TYPE_2__", !11, i64 0, !6, i64 8, !6, i64 12}
!15 = !{!13, !6, i64 12}
!16 = !{!17, !6, i64 0}
!17 = !{!"resource", !6, i64 0}
!18 = !{!13, !6, i64 8}
!19 = !{!20, !20, i64 0}
!20 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/memory/extr_ti-emif-pm.c_ti_emif_probe.c'
source_filename = "AnghaBench/linux/drivers/memory/extr_ti-emif-pm.c_ti_emif_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
@ti_emif_of_match = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@IORESOURCE_MEM = common local_unnamed_addr global i32 0, align 4
@emif_instance = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @ti_emif_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ti_emif_probe(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%3 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 16, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
br label %38
8: ; preds = %1
%9 = load i32, ptr @ti_emif_of_match, align 4, !tbaa !6
%10 = tail call ptr @of_match_device(i32 noundef %9, ptr noundef %0) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr @ENODEV, align 4, !tbaa !6
%14 = sub nsw i32 0, %13
br label %38
15: ; preds = %8
%16 = load i64, ptr %10, align 8, !tbaa !10
store i64 %16, ptr %3, align 8, !tbaa !13
%17 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !6
%18 = tail call ptr @platform_get_resource(ptr noundef %0, i32 noundef %17, i32 noundef 0) #2
%19 = tail call i32 @devm_ioremap_resource(ptr noundef %0, ptr noundef %18) #2
%20 = getelementptr inbounds i8, ptr %3, i64 12
store i32 %19, ptr %20, align 4, !tbaa !16
%21 = tail call i64 @IS_ERR(i32 noundef %19) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %15
%24 = load i32, ptr %20, align 4, !tbaa !16
%25 = tail call i32 @PTR_ERR(i32 noundef %24) #2
br label %38
26: ; preds = %15
%27 = load i32, ptr %18, align 4, !tbaa !17
%28 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %27, ptr %28, align 8, !tbaa !19
%29 = tail call i32 @ti_emif_configure_sr_delay(ptr noundef nonnull %3) #2
%30 = tail call i32 @ti_emif_alloc_sram(ptr noundef %0, ptr noundef nonnull %3) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %38
32: ; preds = %26
%33 = tail call i32 @ti_emif_push_sram(ptr noundef %0, ptr noundef nonnull %3) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32
store ptr %3, ptr @emif_instance, align 8, !tbaa !20
br label %38
36: ; preds = %32
%37 = tail call i32 @ti_emif_free_sram(ptr noundef nonnull %3) #2
br label %38
38: ; preds = %26, %36, %35, %23, %12, %5
%39 = phi i32 [ %25, %23 ], [ %33, %36 ], [ 0, %35 ], [ %14, %12 ], [ %7, %5 ], [ %30, %26 ]
ret i32 %39
}
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @of_match_device(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @platform_get_resource(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @devm_ioremap_resource(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @ti_emif_configure_sr_delay(ptr noundef) local_unnamed_addr #1
declare i32 @ti_emif_alloc_sram(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ti_emif_push_sram(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ti_emif_free_sram(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 = !{!"of_device_id", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"ti_emif_data", !15, i64 0}
!15 = !{!"TYPE_2__", !12, i64 0, !7, i64 8, !7, i64 12}
!16 = !{!14, !7, i64 12}
!17 = !{!18, !7, i64 0}
!18 = !{!"resource", !7, i64 0}
!19 = !{!14, !7, i64 8}
!20 = !{!21, !21, i64 0}
!21 = !{!"any pointer", !8, i64 0}
| linux_drivers_memory_extr_ti-emif-pm.c_ti_emif_probe |
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_isCandidateForInOpt.c'
source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_isCandidateForInOpt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_15__ = type { i32, i64, i64, ptr, ptr, i64, i64, i64 }
%struct.TYPE_14__ = type { i32, ptr }
%struct.TYPE_10__ = type { ptr, i64 }
%struct.TYPE_16__ = type { i32, ptr }
@SF_Distinct = dso_local local_unnamed_addr global i32 0, align 4
@SF_Aggregate = dso_local local_unnamed_addr global i32 0, align 4
@TK_COLUMN = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @isCandidateForInOpt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @isCandidateForInOpt(ptr noundef readonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %84, label %3
3: ; preds = %1
%4 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 7
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %84
7: ; preds = %3
%8 = load i32, ptr %0, align 8, !tbaa !12
%9 = load i32, ptr @SF_Distinct, align 4, !tbaa !13
%10 = load i32, ptr @SF_Aggregate, align 4, !tbaa !13
%11 = or i32 %10, %9
%12 = and i32 %11, %8
%13 = icmp eq i32 %12, 0
br i1 %13, label %26, label %14
14: ; preds = %7
%15 = icmp eq i32 %12, %9
%16 = zext i1 %15 to i32
%17 = tail call i32 @testcase(i32 noundef %16) #2
%18 = load i32, ptr %0, align 8, !tbaa !12
%19 = load i32, ptr @SF_Distinct, align 4, !tbaa !13
%20 = load i32, ptr @SF_Aggregate, align 4, !tbaa !13
%21 = or i32 %20, %19
%22 = and i32 %21, %18
%23 = icmp eq i32 %22, %20
%24 = zext i1 %23 to i32
%25 = tail call i32 @testcase(i32 noundef %24) #2
br label %84
26: ; preds = %7
%27 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 1
%28 = load i64, ptr %27, align 8, !tbaa !14
%29 = icmp eq i64 %28, 0
%30 = zext i1 %29 to i32
%31 = tail call i32 @assert(i32 noundef %30) #2
%32 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 6
%33 = load i64, ptr %32, align 8, !tbaa !15
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %84
35: ; preds = %26
%36 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 2
%37 = load i64, ptr %36, align 8, !tbaa !16
%38 = icmp eq i64 %37, 0
%39 = zext i1 %38 to i32
%40 = tail call i32 @assert(i32 noundef %39) #2
%41 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 5
%42 = load i64, ptr %41, align 8, !tbaa !17
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %84
44: ; preds = %35
%45 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 4
%46 = load ptr, ptr %45, align 8, !tbaa !18
%47 = icmp ne ptr %46, null
%48 = zext i1 %47 to i32
%49 = tail call i32 @assert(i32 noundef %48) #2
%50 = load i32, ptr %46, align 8, !tbaa !19
%51 = icmp eq i32 %50, 1
br i1 %51, label %52, label %84
52: ; preds = %44
%53 = getelementptr inbounds %struct.TYPE_14__, ptr %46, i64 0, i32 1
%54 = load ptr, ptr %53, align 8, !tbaa !21
%55 = getelementptr inbounds %struct.TYPE_10__, ptr %54, i64 0, i32 1
%56 = load i64, ptr %55, align 8, !tbaa !22
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %84
58: ; preds = %52
%59 = load ptr, ptr %54, align 8, !tbaa !24
%60 = icmp eq ptr %59, null
%61 = zext i1 %60 to i32
%62 = tail call i64 @NEVER(i32 noundef %61) #2
%63 = icmp eq i64 %62, 0
br i1 %63, label %64, label %84
64: ; preds = %58
%65 = load i64, ptr %59, align 8, !tbaa !25
%66 = icmp eq i64 %65, 0
%67 = zext i1 %66 to i32
%68 = tail call i32 @assert(i32 noundef %67) #2
%69 = tail call i64 @IsVirtual(ptr noundef nonnull %59) #2
%70 = icmp eq i64 %69, 0
br i1 %70, label %71, label %84
71: ; preds = %64
%72 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 3
%73 = load ptr, ptr %72, align 8, !tbaa !27
%74 = load i32, ptr %73, align 8, !tbaa !28
%75 = icmp eq i32 %74, 1
br i1 %75, label %76, label %84
76: ; preds = %71
%77 = getelementptr inbounds %struct.TYPE_16__, ptr %73, i64 0, i32 1
%78 = load ptr, ptr %77, align 8, !tbaa !30
%79 = load ptr, ptr %78, align 8, !tbaa !31
%80 = load i64, ptr %79, align 8, !tbaa !33
%81 = load i64, ptr @TK_COLUMN, align 8, !tbaa !35
%82 = icmp eq i64 %80, %81
%83 = zext i1 %82 to i32
br label %84
84: ; preds = %76, %71, %64, %58, %52, %44, %35, %26, %3, %1, %14
%85 = phi i32 [ 0, %14 ], [ 0, %1 ], [ 0, %3 ], [ 0, %26 ], [ 0, %35 ], [ 0, %44 ], [ 0, %52 ], [ 0, %58 ], [ 0, %64 ], [ 0, %71 ], [ %83, %76 ]
ret i32 %85
}
declare i32 @testcase(i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i64 @NEVER(i32 noundef) local_unnamed_addr #1
declare i64 @IsVirtual(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 56}
!6 = !{!"TYPE_15__", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !11, i64 32, !10, i64 40, !10, i64 48, !10, i64 56}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!6, !10, i64 48}
!16 = !{!6, !10, i64 16}
!17 = !{!6, !10, i64 40}
!18 = !{!6, !11, i64 32}
!19 = !{!20, !7, i64 0}
!20 = !{!"TYPE_14__", !7, i64 0, !11, i64 8}
!21 = !{!20, !11, i64 8}
!22 = !{!23, !10, i64 8}
!23 = !{!"TYPE_10__", !11, i64 0, !10, i64 8}
!24 = !{!23, !11, i64 0}
!25 = !{!26, !10, i64 0}
!26 = !{!"TYPE_13__", !10, i64 0}
!27 = !{!6, !11, i64 24}
!28 = !{!29, !7, i64 0}
!29 = !{!"TYPE_16__", !7, i64 0, !11, i64 8}
!30 = !{!29, !11, i64 8}
!31 = !{!32, !11, i64 0}
!32 = !{!"TYPE_12__", !11, i64 0}
!33 = !{!34, !10, i64 0}
!34 = !{!"TYPE_11__", !10, i64 0}
!35 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_isCandidateForInOpt.c'
source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_isCandidateForInOpt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SF_Distinct = common local_unnamed_addr global i32 0, align 4
@SF_Aggregate = common local_unnamed_addr global i32 0, align 4
@TK_COLUMN = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @isCandidateForInOpt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @isCandidateForInOpt(ptr noundef readonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %84, label %3
3: ; preds = %1
%4 = getelementptr inbounds i8, ptr %0, i64 56
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %84
7: ; preds = %3
%8 = load i32, ptr %0, align 8, !tbaa !13
%9 = load i32, ptr @SF_Distinct, align 4, !tbaa !14
%10 = load i32, ptr @SF_Aggregate, align 4, !tbaa !14
%11 = or i32 %10, %9
%12 = and i32 %11, %8
%13 = icmp eq i32 %12, 0
br i1 %13, label %26, label %14
14: ; preds = %7
%15 = icmp eq i32 %12, %9
%16 = zext i1 %15 to i32
%17 = tail call i32 @testcase(i32 noundef %16) #2
%18 = load i32, ptr %0, align 8, !tbaa !13
%19 = load i32, ptr @SF_Distinct, align 4, !tbaa !14
%20 = load i32, ptr @SF_Aggregate, align 4, !tbaa !14
%21 = or i32 %20, %19
%22 = and i32 %21, %18
%23 = icmp eq i32 %22, %20
%24 = zext i1 %23 to i32
%25 = tail call i32 @testcase(i32 noundef %24) #2
br label %84
26: ; preds = %7
%27 = getelementptr inbounds i8, ptr %0, i64 8
%28 = load i64, ptr %27, align 8, !tbaa !15
%29 = icmp eq i64 %28, 0
%30 = zext i1 %29 to i32
%31 = tail call i32 @assert(i32 noundef %30) #2
%32 = getelementptr inbounds i8, ptr %0, i64 48
%33 = load i64, ptr %32, align 8, !tbaa !16
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %84
35: ; preds = %26
%36 = getelementptr inbounds i8, ptr %0, i64 16
%37 = load i64, ptr %36, align 8, !tbaa !17
%38 = icmp eq i64 %37, 0
%39 = zext i1 %38 to i32
%40 = tail call i32 @assert(i32 noundef %39) #2
%41 = getelementptr inbounds i8, ptr %0, i64 40
%42 = load i64, ptr %41, align 8, !tbaa !18
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %84
44: ; preds = %35
%45 = getelementptr inbounds i8, ptr %0, i64 32
%46 = load ptr, ptr %45, align 8, !tbaa !19
%47 = icmp ne ptr %46, null
%48 = zext i1 %47 to i32
%49 = tail call i32 @assert(i32 noundef %48) #2
%50 = load i32, ptr %46, align 8, !tbaa !20
%51 = icmp eq i32 %50, 1
br i1 %51, label %52, label %84
52: ; preds = %44
%53 = getelementptr inbounds i8, ptr %46, i64 8
%54 = load ptr, ptr %53, align 8, !tbaa !22
%55 = getelementptr inbounds i8, ptr %54, i64 8
%56 = load i64, ptr %55, align 8, !tbaa !23
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %84
58: ; preds = %52
%59 = load ptr, ptr %54, align 8, !tbaa !25
%60 = icmp eq ptr %59, null
%61 = zext i1 %60 to i32
%62 = tail call i64 @NEVER(i32 noundef %61) #2
%63 = icmp eq i64 %62, 0
br i1 %63, label %64, label %84
64: ; preds = %58
%65 = load i64, ptr %59, align 8, !tbaa !26
%66 = icmp eq i64 %65, 0
%67 = zext i1 %66 to i32
%68 = tail call i32 @assert(i32 noundef %67) #2
%69 = tail call i64 @IsVirtual(ptr noundef nonnull %59) #2
%70 = icmp eq i64 %69, 0
br i1 %70, label %71, label %84
71: ; preds = %64
%72 = getelementptr inbounds i8, ptr %0, i64 24
%73 = load ptr, ptr %72, align 8, !tbaa !28
%74 = load i32, ptr %73, align 8, !tbaa !29
%75 = icmp eq i32 %74, 1
br i1 %75, label %76, label %84
76: ; preds = %71
%77 = getelementptr inbounds i8, ptr %73, i64 8
%78 = load ptr, ptr %77, align 8, !tbaa !31
%79 = load ptr, ptr %78, align 8, !tbaa !32
%80 = load i64, ptr %79, align 8, !tbaa !34
%81 = load i64, ptr @TK_COLUMN, align 8, !tbaa !36
%82 = icmp eq i64 %80, %81
%83 = zext i1 %82 to i32
br label %84
84: ; preds = %76, %71, %64, %58, %52, %44, %35, %26, %3, %1, %14
%85 = phi i32 [ 0, %14 ], [ 0, %1 ], [ 0, %3 ], [ 0, %26 ], [ 0, %35 ], [ 0, %44 ], [ 0, %52 ], [ 0, %58 ], [ 0, %64 ], [ 0, %71 ], [ %83, %76 ]
ret i32 %85
}
declare i32 @testcase(i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i64 @NEVER(i32 noundef) local_unnamed_addr #1
declare i64 @IsVirtual(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 56}
!7 = !{!"TYPE_15__", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !12, i64 32, !11, i64 40, !11, i64 48, !11, i64 56}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!7, !11, i64 48}
!17 = !{!7, !11, i64 16}
!18 = !{!7, !11, i64 40}
!19 = !{!7, !12, i64 32}
!20 = !{!21, !8, i64 0}
!21 = !{!"TYPE_14__", !8, i64 0, !12, i64 8}
!22 = !{!21, !12, i64 8}
!23 = !{!24, !11, i64 8}
!24 = !{!"TYPE_10__", !12, i64 0, !11, i64 8}
!25 = !{!24, !12, i64 0}
!26 = !{!27, !11, i64 0}
!27 = !{!"TYPE_13__", !11, i64 0}
!28 = !{!7, !12, i64 24}
!29 = !{!30, !8, i64 0}
!30 = !{!"TYPE_16__", !8, i64 0, !12, i64 8}
!31 = !{!30, !12, i64 8}
!32 = !{!33, !12, i64 0}
!33 = !{!"TYPE_12__", !12, i64 0}
!34 = !{!35, !11, i64 0}
!35 = !{!"TYPE_11__", !11, i64 0}
!36 = !{!11, !11, i64 0}
| mongoose_examples_api_server_extr_sqlite3.c_isCandidateForInOpt |
; ModuleID = 'AnghaBench/linux/drivers/base/power/extr_qos.c_dev_pm_qos_add_notifier.c'
source_filename = "AnghaBench/linux/drivers/base/power/extr_qos.c_dev_pm_qos_add_notifier.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@dev_pm_qos_mtx = dso_local global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dev_pm_qos_add_notifier(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @mutex_lock(ptr noundef nonnull @dev_pm_qos_mtx) #2
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = tail call i64 @IS_ERR(ptr noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %3
%9 = load i32, ptr @ENODEV, align 4, !tbaa !11
%10 = sub nsw i32 0, %9
br label %16
11: ; preds = %3
%12 = load ptr, ptr %0, align 8, !tbaa !5
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %19
14: ; preds = %11
%15 = tail call i32 @dev_pm_qos_constraints_allocate(ptr noundef nonnull %0) #2
br label %16
16: ; preds = %14, %8
%17 = phi i32 [ %10, %8 ], [ %15, %14 ]
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %29
19: ; preds = %11, %16
%20 = icmp eq i32 %2, 128
br i1 %20, label %21, label %25
21: ; preds = %19
%22 = load ptr, ptr %0, align 8, !tbaa !5
%23 = load i32, ptr %22, align 4, !tbaa !13
%24 = tail call i32 @blocking_notifier_chain_register(i32 noundef %23, ptr noundef %1) #2
br label %29
25: ; preds = %19
%26 = tail call i32 @WARN_ON(i32 noundef 1) #2
%27 = load i32, ptr @EINVAL, align 4, !tbaa !11
%28 = sub nsw i32 0, %27
br label %29
29: ; preds = %21, %25, %16
%30 = phi i32 [ %17, %16 ], [ %24, %21 ], [ %28, %25 ]
%31 = tail call i32 @mutex_unlock(ptr noundef nonnull @dev_pm_qos_mtx) #2
ret i32 %30
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @dev_pm_qos_constraints_allocate(ptr noundef) local_unnamed_addr #1
declare i32 @blocking_notifier_chain_register(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"device", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_6__", !15, i64 0}
!15 = !{!"TYPE_5__", !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/base/power/extr_qos.c_dev_pm_qos_add_notifier.c'
source_filename = "AnghaBench/linux/drivers/base/power/extr_qos.c_dev_pm_qos_add_notifier.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@dev_pm_qos_mtx = common global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dev_pm_qos_add_notifier(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @mutex_lock(ptr noundef nonnull @dev_pm_qos_mtx) #2
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = tail call i64 @IS_ERR(ptr noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %3
%9 = load i32, ptr @ENODEV, align 4, !tbaa !12
%10 = sub nsw i32 0, %9
br label %16
11: ; preds = %3
%12 = load ptr, ptr %0, align 8, !tbaa !6
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %19
14: ; preds = %11
%15 = tail call i32 @dev_pm_qos_constraints_allocate(ptr noundef nonnull %0) #2
br label %16
16: ; preds = %14, %8
%17 = phi i32 [ %10, %8 ], [ %15, %14 ]
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %29
19: ; preds = %11, %16
%20 = icmp eq i32 %2, 128
br i1 %20, label %21, label %25
21: ; preds = %19
%22 = load ptr, ptr %0, align 8, !tbaa !6
%23 = load i32, ptr %22, align 4, !tbaa !14
%24 = tail call i32 @blocking_notifier_chain_register(i32 noundef %23, ptr noundef %1) #2
br label %29
25: ; preds = %19
%26 = tail call i32 @WARN_ON(i32 noundef 1) #2
%27 = load i32, ptr @EINVAL, align 4, !tbaa !12
%28 = sub nsw i32 0, %27
br label %29
29: ; preds = %21, %25, %16
%30 = phi i32 [ %17, %16 ], [ %24, %21 ], [ %28, %25 ]
%31 = tail call i32 @mutex_unlock(ptr noundef nonnull @dev_pm_qos_mtx) #2
ret i32 %30
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @dev_pm_qos_constraints_allocate(ptr noundef) local_unnamed_addr #1
declare i32 @blocking_notifier_chain_register(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"device", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_6__", !16, i64 0}
!16 = !{!"TYPE_5__", !13, i64 0}
| linux_drivers_base_power_extr_qos.c_dev_pm_qos_add_notifier |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_q_shared.c_COM_GetCurrentParseLine.c'
source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_q_shared.c_COM_GetCurrentParseLine.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@com_lines = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @COM_GetCurrentParseLine() local_unnamed_addr #0 {
%1 = load i32, ptr @com_lines, align 4, !tbaa !5
ret i32 %1
}
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/Quake-III-Arena/code/game/extr_q_shared.c_COM_GetCurrentParseLine.c'
source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_q_shared.c_COM_GetCurrentParseLine.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@com_lines = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i32 @COM_GetCurrentParseLine() local_unnamed_addr #0 {
%1 = load i32, ptr @com_lines, align 4, !tbaa !6
ret i32 %1
}
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"}
| Quake-III-Arena_code_game_extr_q_shared.c_COM_GetCurrentParseLine |
; ModuleID = 'AnghaBench/freebsd/sys/crypto/via/extr_padlock_hash.c_padlock_do_sha1.c'
source_filename = "AnghaBench/freebsd/sys/crypto/via/extr_padlock_hash.c_padlock_do_sha1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SHA1_HASH_LEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @padlock_do_sha1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @padlock_do_sha1(ptr nocapture readnone %0, ptr noundef %1, i32 %2) #0 {
%4 = alloca [144 x i32], align 16
call void @llvm.lifetime.start.p0(i64 576, ptr nonnull %4) #3
%5 = call ptr @PADLOCK_ALIGN(ptr noundef nonnull %4) #3
store <4 x i32> <i32 1732584193, i32 -271733879, i32 -1732584194, i32 271733878>, ptr %5, align 4, !tbaa !5
%6 = getelementptr inbounds i32, ptr %5, i64 4
store i32 -1009589776, ptr %6, align 4, !tbaa !5
%7 = load i32, ptr @SHA1_HASH_LEN, align 4, !tbaa !5
%8 = ashr i32 %7, 2
%9 = call i32 @padlock_output_block(ptr noundef nonnull %5, ptr noundef %1, i32 noundef %8) #3
call void @llvm.lifetime.end.p0(i64 576, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @PADLOCK_ALIGN(ptr noundef) local_unnamed_addr #2
declare i32 @padlock_output_block(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"}
| ; ModuleID = 'AnghaBench/freebsd/sys/crypto/via/extr_padlock_hash.c_padlock_do_sha1.c'
source_filename = "AnghaBench/freebsd/sys/crypto/via/extr_padlock_hash.c_padlock_do_sha1.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SHA1_HASH_LEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @padlock_do_sha1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @padlock_do_sha1(ptr nocapture readnone %0, ptr noundef %1, i32 %2) #0 {
%4 = alloca [144 x i32], align 4
call void @llvm.lifetime.start.p0(i64 576, ptr nonnull %4) #3
%5 = call ptr @PADLOCK_ALIGN(ptr noundef nonnull %4) #3
store <4 x i32> <i32 1732584193, i32 -271733879, i32 -1732584194, i32 271733878>, ptr %5, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %5, i64 16
store i32 -1009589776, ptr %6, align 4, !tbaa !6
%7 = load i32, ptr @SHA1_HASH_LEN, align 4, !tbaa !6
%8 = ashr i32 %7, 2
%9 = call i32 @padlock_output_block(ptr noundef nonnull %5, ptr noundef %1, i32 noundef %8) #3
call void @llvm.lifetime.end.p0(i64 576, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @PADLOCK_ALIGN(ptr noundef) local_unnamed_addr #2
declare i32 @padlock_output_block(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"}
| freebsd_sys_crypto_via_extr_padlock_hash.c_padlock_do_sha1 |
; ModuleID = 'AnghaBench/freebsd/sys/dev/isp/extr_isp_library.c_isp_find_pdb_empty.c'
source_filename = "AnghaBench/freebsd/sys/dev/isp/extr_isp_library.c_isp_find_pdb_empty.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i64 }
@MAX_FC_TARG = dso_local local_unnamed_addr global i32 0, align 4
@FC_PORTDB_STATE_NIL = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @isp_find_pdb_empty(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = tail call ptr @FCPARAM(ptr noundef %0, i32 noundef %1) #2
%5 = load i32, ptr @MAX_FC_TARG, align 4, !tbaa !5
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %21
7: ; preds = %3
%8 = load ptr, ptr %4, align 8, !tbaa !9
%9 = load i64, ptr @FC_PORTDB_STATE_NIL, align 8, !tbaa !12
%10 = zext nneg i32 %5 to i64
br label %14
11: ; preds = %14
%12 = add nuw nsw i64 %15, 1
%13 = icmp eq i64 %12, %10
br i1 %13, label %21, label %14, !llvm.loop !14
14: ; preds = %7, %11
%15 = phi i64 [ 0, %7 ], [ %12, %11 ]
%16 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 %15
%17 = load i64, ptr %16, align 8, !tbaa !16
%18 = icmp eq i64 %17, %9
br i1 %18, label %19, label %11
19: ; preds = %14
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 %15
store ptr %20, ptr %2, align 8, !tbaa !18
br label %21
21: ; preds = %11, %3, %19
%22 = phi i32 [ 1, %19 ], [ 0, %3 ], [ 0, %11 ]
ret i32 %22
}
declare ptr @FCPARAM(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_6__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !13, i64 0}
!17 = !{!"TYPE_5__", !13, i64 0}
!18 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/isp/extr_isp_library.c_isp_find_pdb_empty.c'
source_filename = "AnghaBench/freebsd/sys/dev/isp/extr_isp_library.c_isp_find_pdb_empty.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i64 }
@MAX_FC_TARG = common local_unnamed_addr global i32 0, align 4
@FC_PORTDB_STATE_NIL = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @isp_find_pdb_empty(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = tail call ptr @FCPARAM(ptr noundef %0, i32 noundef %1) #2
%5 = load i32, ptr @MAX_FC_TARG, align 4, !tbaa !6
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %21
7: ; preds = %3
%8 = load ptr, ptr %4, align 8, !tbaa !10
%9 = load i64, ptr @FC_PORTDB_STATE_NIL, align 8, !tbaa !13
%10 = zext nneg i32 %5 to i64
br label %14
11: ; preds = %14
%12 = add nuw nsw i64 %15, 1
%13 = icmp eq i64 %12, %10
br i1 %13, label %21, label %14, !llvm.loop !15
14: ; preds = %7, %11
%15 = phi i64 [ 0, %7 ], [ %12, %11 ]
%16 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 %15
%17 = load i64, ptr %16, align 8, !tbaa !17
%18 = icmp eq i64 %17, %9
br i1 %18, label %19, label %11
19: ; preds = %14
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 %15
store ptr %20, ptr %2, align 8, !tbaa !19
br label %21
21: ; preds = %11, %3, %19
%22 = phi i32 [ 1, %19 ], [ 0, %3 ], [ 0, %11 ]
ret i32 %22
}
declare ptr @FCPARAM(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !14, i64 0}
!18 = !{!"TYPE_5__", !14, i64 0}
!19 = !{!12, !12, i64 0}
| freebsd_sys_dev_isp_extr_isp_library.c_isp_find_pdb_empty |
; ModuleID = 'AnghaBench/linux/lib/extr_locking-selftest.c_ww_test_context_lock_after_done.c'
source_filename = "AnghaBench/linux/lib/extr_locking-selftest.c_ww_test_context_lock_after_done.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@t = dso_local global i32 0, align 4
@o = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ww_test_context_lock_after_done], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ww_test_context_lock_after_done() #0 {
%1 = tail call i32 @WWAI(ptr noundef nonnull @t) #2
%2 = tail call i32 @WWAD(ptr noundef nonnull @t) #2
%3 = tail call i32 @WWL(ptr noundef nonnull @o, ptr noundef nonnull @t) #2
ret void
}
declare i32 @WWAI(ptr noundef) local_unnamed_addr #1
declare i32 @WWAD(ptr noundef) local_unnamed_addr #1
declare i32 @WWL(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/lib/extr_locking-selftest.c_ww_test_context_lock_after_done.c'
source_filename = "AnghaBench/linux/lib/extr_locking-selftest.c_ww_test_context_lock_after_done.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@t = common global i32 0, align 4
@o = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ww_test_context_lock_after_done], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ww_test_context_lock_after_done() #0 {
%1 = tail call i32 @WWAI(ptr noundef nonnull @t) #2
%2 = tail call i32 @WWAD(ptr noundef nonnull @t) #2
%3 = tail call i32 @WWL(ptr noundef nonnull @o, ptr noundef nonnull @t) #2
ret void
}
declare i32 @WWAI(ptr noundef) local_unnamed_addr #1
declare i32 @WWAD(ptr noundef) local_unnamed_addr #1
declare i32 @WWL(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_lib_extr_locking-selftest.c_ww_test_context_lock_after_done |
; ModuleID = 'AnghaBench/linux/net/rds/extr_tcp.c_rds_tcp_listen_sock_def_readable.c'
source_filename = "AnghaBench/linux/net/rds/extr_tcp.c_rds_tcp_listen_sock_def_readable.c"
target datalayout = "e-m:e-p270:32:32-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_tcp_netid = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @rds_tcp_listen_sock_def_readable(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @rds_tcp_netid, align 4, !tbaa !5
%3 = tail call ptr @net_generic(ptr noundef %0, i32 noundef %2) #2
%4 = load ptr, ptr %3, align 8, !tbaa !9
%5 = icmp eq ptr %4, null
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load ptr, ptr %4, align 8, !tbaa !12
%8 = load ptr, ptr %7, align 8, !tbaa !14
br label %9
9: ; preds = %1, %6
%10 = phi ptr [ %8, %6 ], [ null, %1 ]
ret ptr %10
}
declare ptr @net_generic(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"rds_tcp_net", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"socket", !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_2__", !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/rds/extr_tcp.c_rds_tcp_listen_sock_def_readable.c'
source_filename = "AnghaBench/linux/net/rds/extr_tcp.c_rds_tcp_listen_sock_def_readable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rds_tcp_netid = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @rds_tcp_listen_sock_def_readable(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @rds_tcp_netid, align 4, !tbaa !6
%3 = tail call ptr @net_generic(ptr noundef %0, i32 noundef %2) #2
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = icmp eq ptr %4, null
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load ptr, ptr %4, align 8, !tbaa !13
%8 = load ptr, ptr %7, align 8, !tbaa !15
br label %9
9: ; preds = %1, %6
%10 = phi ptr [ %8, %6 ], [ null, %1 ]
ret ptr %10
}
declare ptr @net_generic(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"rds_tcp_net", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"socket", !12, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_2__", !12, i64 0}
| linux_net_rds_extr_tcp.c_rds_tcp_listen_sock_def_readable |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/core/extr_dev.c_dev_add_offload.c'
source_filename = "AnghaBench/fastsocket/kernel/net/core/extr_dev.c_dev_add_offload.c"
target datalayout = "e-m:e-p270:32:32-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.list_head = type { i32 }
@offload_base = dso_local global %struct.list_head zeroinitializer, align 4
@offload_lock = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @dev_add_offload(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @spin_lock(ptr noundef nonnull @offload_lock) #2
%3 = tail call i32 @list_add_rcu(ptr noundef %0, ptr noundef nonnull @offload_base) #2
%4 = tail call i32 @spin_unlock(ptr noundef nonnull @offload_lock) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_rcu(ptr noundef, 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/fastsocket/kernel/net/core/extr_dev.c_dev_add_offload.c'
source_filename = "AnghaBench/fastsocket/kernel/net/core/extr_dev.c_dev_add_offload.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.list_head = type { i32 }
@offload_base = common global %struct.list_head zeroinitializer, align 4
@offload_lock = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @dev_add_offload(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @spin_lock(ptr noundef nonnull @offload_lock) #2
%3 = tail call i32 @list_add_rcu(ptr noundef %0, ptr noundef nonnull @offload_base) #2
%4 = tail call i32 @spin_unlock(ptr noundef nonnull @offload_lock) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_rcu(ptr noundef, 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)"}
| fastsocket_kernel_net_core_extr_dev.c_dev_add_offload |
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/kvm/s390x/extr_sync_regs_test.c_compare_sregs.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/kvm/s390x/extr_sync_regs_test.c_compare_sregs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@acrs = dso_local local_unnamed_addr global ptr null, align 8
@crs = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @compare_sregs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @compare_sregs(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
%3 = load ptr, ptr @acrs, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !9
%5 = tail call i32 @REG_COMPARE(i32 noundef %4) #2
%6 = load ptr, ptr @acrs, align 8, !tbaa !5
%7 = getelementptr inbounds i32, ptr %6, i64 1
%8 = load i32, ptr %7, align 4, !tbaa !9
%9 = tail call i32 @REG_COMPARE(i32 noundef %8) #2
%10 = load ptr, ptr @acrs, align 8, !tbaa !5
%11 = getelementptr inbounds i32, ptr %10, i64 2
%12 = load i32, ptr %11, align 4, !tbaa !9
%13 = tail call i32 @REG_COMPARE(i32 noundef %12) #2
%14 = load ptr, ptr @acrs, align 8, !tbaa !5
%15 = getelementptr inbounds i32, ptr %14, i64 3
%16 = load i32, ptr %15, align 4, !tbaa !9
%17 = tail call i32 @REG_COMPARE(i32 noundef %16) #2
%18 = load ptr, ptr @acrs, align 8, !tbaa !5
%19 = getelementptr inbounds i32, ptr %18, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !9
%21 = tail call i32 @REG_COMPARE(i32 noundef %20) #2
%22 = load ptr, ptr @acrs, align 8, !tbaa !5
%23 = getelementptr inbounds i32, ptr %22, i64 5
%24 = load i32, ptr %23, align 4, !tbaa !9
%25 = tail call i32 @REG_COMPARE(i32 noundef %24) #2
%26 = load ptr, ptr @acrs, align 8, !tbaa !5
%27 = getelementptr inbounds i32, ptr %26, i64 6
%28 = load i32, ptr %27, align 4, !tbaa !9
%29 = tail call i32 @REG_COMPARE(i32 noundef %28) #2
%30 = load ptr, ptr @acrs, align 8, !tbaa !5
%31 = getelementptr inbounds i32, ptr %30, i64 7
%32 = load i32, ptr %31, align 4, !tbaa !9
%33 = tail call i32 @REG_COMPARE(i32 noundef %32) #2
%34 = load ptr, ptr @acrs, align 8, !tbaa !5
%35 = getelementptr inbounds i32, ptr %34, i64 8
%36 = load i32, ptr %35, align 4, !tbaa !9
%37 = tail call i32 @REG_COMPARE(i32 noundef %36) #2
%38 = load ptr, ptr @acrs, align 8, !tbaa !5
%39 = getelementptr inbounds i32, ptr %38, i64 9
%40 = load i32, ptr %39, align 4, !tbaa !9
%41 = tail call i32 @REG_COMPARE(i32 noundef %40) #2
%42 = load ptr, ptr @acrs, align 8, !tbaa !5
%43 = getelementptr inbounds i32, ptr %42, i64 10
%44 = load i32, ptr %43, align 4, !tbaa !9
%45 = tail call i32 @REG_COMPARE(i32 noundef %44) #2
%46 = load ptr, ptr @acrs, align 8, !tbaa !5
%47 = getelementptr inbounds i32, ptr %46, i64 11
%48 = load i32, ptr %47, align 4, !tbaa !9
%49 = tail call i32 @REG_COMPARE(i32 noundef %48) #2
%50 = load ptr, ptr @acrs, align 8, !tbaa !5
%51 = getelementptr inbounds i32, ptr %50, i64 12
%52 = load i32, ptr %51, align 4, !tbaa !9
%53 = tail call i32 @REG_COMPARE(i32 noundef %52) #2
%54 = load ptr, ptr @acrs, align 8, !tbaa !5
%55 = getelementptr inbounds i32, ptr %54, i64 13
%56 = load i32, ptr %55, align 4, !tbaa !9
%57 = tail call i32 @REG_COMPARE(i32 noundef %56) #2
%58 = load ptr, ptr @acrs, align 8, !tbaa !5
%59 = getelementptr inbounds i32, ptr %58, i64 14
%60 = load i32, ptr %59, align 4, !tbaa !9
%61 = tail call i32 @REG_COMPARE(i32 noundef %60) #2
%62 = load ptr, ptr @acrs, align 8, !tbaa !5
%63 = getelementptr inbounds i32, ptr %62, i64 15
%64 = load i32, ptr %63, align 4, !tbaa !9
%65 = tail call i32 @REG_COMPARE(i32 noundef %64) #2
%66 = load ptr, ptr @crs, align 8, !tbaa !5
%67 = load i32, ptr %66, align 4, !tbaa !9
%68 = tail call i32 @REG_COMPARE(i32 noundef %67) #2
%69 = load ptr, ptr @crs, align 8, !tbaa !5
%70 = getelementptr inbounds i32, ptr %69, i64 1
%71 = load i32, ptr %70, align 4, !tbaa !9
%72 = tail call i32 @REG_COMPARE(i32 noundef %71) #2
%73 = load ptr, ptr @crs, align 8, !tbaa !5
%74 = getelementptr inbounds i32, ptr %73, i64 2
%75 = load i32, ptr %74, align 4, !tbaa !9
%76 = tail call i32 @REG_COMPARE(i32 noundef %75) #2
%77 = load ptr, ptr @crs, align 8, !tbaa !5
%78 = getelementptr inbounds i32, ptr %77, i64 3
%79 = load i32, ptr %78, align 4, !tbaa !9
%80 = tail call i32 @REG_COMPARE(i32 noundef %79) #2
%81 = load ptr, ptr @crs, align 8, !tbaa !5
%82 = getelementptr inbounds i32, ptr %81, i64 4
%83 = load i32, ptr %82, align 4, !tbaa !9
%84 = tail call i32 @REG_COMPARE(i32 noundef %83) #2
%85 = load ptr, ptr @crs, align 8, !tbaa !5
%86 = getelementptr inbounds i32, ptr %85, i64 5
%87 = load i32, ptr %86, align 4, !tbaa !9
%88 = tail call i32 @REG_COMPARE(i32 noundef %87) #2
%89 = load ptr, ptr @crs, align 8, !tbaa !5
%90 = getelementptr inbounds i32, ptr %89, i64 6
%91 = load i32, ptr %90, align 4, !tbaa !9
%92 = tail call i32 @REG_COMPARE(i32 noundef %91) #2
%93 = load ptr, ptr @crs, align 8, !tbaa !5
%94 = getelementptr inbounds i32, ptr %93, i64 7
%95 = load i32, ptr %94, align 4, !tbaa !9
%96 = tail call i32 @REG_COMPARE(i32 noundef %95) #2
%97 = load ptr, ptr @crs, align 8, !tbaa !5
%98 = getelementptr inbounds i32, ptr %97, i64 8
%99 = load i32, ptr %98, align 4, !tbaa !9
%100 = tail call i32 @REG_COMPARE(i32 noundef %99) #2
%101 = load ptr, ptr @crs, align 8, !tbaa !5
%102 = getelementptr inbounds i32, ptr %101, i64 9
%103 = load i32, ptr %102, align 4, !tbaa !9
%104 = tail call i32 @REG_COMPARE(i32 noundef %103) #2
%105 = load ptr, ptr @crs, align 8, !tbaa !5
%106 = getelementptr inbounds i32, ptr %105, i64 10
%107 = load i32, ptr %106, align 4, !tbaa !9
%108 = tail call i32 @REG_COMPARE(i32 noundef %107) #2
%109 = load ptr, ptr @crs, align 8, !tbaa !5
%110 = getelementptr inbounds i32, ptr %109, i64 11
%111 = load i32, ptr %110, align 4, !tbaa !9
%112 = tail call i32 @REG_COMPARE(i32 noundef %111) #2
%113 = load ptr, ptr @crs, align 8, !tbaa !5
%114 = getelementptr inbounds i32, ptr %113, i64 12
%115 = load i32, ptr %114, align 4, !tbaa !9
%116 = tail call i32 @REG_COMPARE(i32 noundef %115) #2
%117 = load ptr, ptr @crs, align 8, !tbaa !5
%118 = getelementptr inbounds i32, ptr %117, i64 13
%119 = load i32, ptr %118, align 4, !tbaa !9
%120 = tail call i32 @REG_COMPARE(i32 noundef %119) #2
%121 = load ptr, ptr @crs, align 8, !tbaa !5
%122 = getelementptr inbounds i32, ptr %121, i64 14
%123 = load i32, ptr %122, align 4, !tbaa !9
%124 = tail call i32 @REG_COMPARE(i32 noundef %123) #2
%125 = load ptr, ptr @crs, align 8, !tbaa !5
%126 = getelementptr inbounds i32, ptr %125, i64 15
%127 = load i32, ptr %126, align 4, !tbaa !9
%128 = tail call i32 @REG_COMPARE(i32 noundef %127) #2
ret void
}
declare i32 @REG_COMPARE(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/tools/testing/selftests/kvm/s390x/extr_sync_regs_test.c_compare_sregs.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/kvm/s390x/extr_sync_regs_test.c_compare_sregs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@acrs = common local_unnamed_addr global ptr null, align 8
@crs = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @compare_sregs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @compare_sregs(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
%3 = load ptr, ptr @acrs, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = tail call i32 @REG_COMPARE(i32 noundef %4) #2
%6 = load ptr, ptr @acrs, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %6, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = tail call i32 @REG_COMPARE(i32 noundef %8) #2
%10 = load ptr, ptr @acrs, align 8, !tbaa !6
%11 = getelementptr inbounds i8, ptr %10, i64 8
%12 = load i32, ptr %11, align 4, !tbaa !10
%13 = tail call i32 @REG_COMPARE(i32 noundef %12) #2
%14 = load ptr, ptr @acrs, align 8, !tbaa !6
%15 = getelementptr inbounds i8, ptr %14, i64 12
%16 = load i32, ptr %15, align 4, !tbaa !10
%17 = tail call i32 @REG_COMPARE(i32 noundef %16) #2
%18 = load ptr, ptr @acrs, align 8, !tbaa !6
%19 = getelementptr inbounds i8, ptr %18, i64 16
%20 = load i32, ptr %19, align 4, !tbaa !10
%21 = tail call i32 @REG_COMPARE(i32 noundef %20) #2
%22 = load ptr, ptr @acrs, align 8, !tbaa !6
%23 = getelementptr inbounds i8, ptr %22, i64 20
%24 = load i32, ptr %23, align 4, !tbaa !10
%25 = tail call i32 @REG_COMPARE(i32 noundef %24) #2
%26 = load ptr, ptr @acrs, align 8, !tbaa !6
%27 = getelementptr inbounds i8, ptr %26, i64 24
%28 = load i32, ptr %27, align 4, !tbaa !10
%29 = tail call i32 @REG_COMPARE(i32 noundef %28) #2
%30 = load ptr, ptr @acrs, align 8, !tbaa !6
%31 = getelementptr inbounds i8, ptr %30, i64 28
%32 = load i32, ptr %31, align 4, !tbaa !10
%33 = tail call i32 @REG_COMPARE(i32 noundef %32) #2
%34 = load ptr, ptr @acrs, align 8, !tbaa !6
%35 = getelementptr inbounds i8, ptr %34, i64 32
%36 = load i32, ptr %35, align 4, !tbaa !10
%37 = tail call i32 @REG_COMPARE(i32 noundef %36) #2
%38 = load ptr, ptr @acrs, align 8, !tbaa !6
%39 = getelementptr inbounds i8, ptr %38, i64 36
%40 = load i32, ptr %39, align 4, !tbaa !10
%41 = tail call i32 @REG_COMPARE(i32 noundef %40) #2
%42 = load ptr, ptr @acrs, align 8, !tbaa !6
%43 = getelementptr inbounds i8, ptr %42, i64 40
%44 = load i32, ptr %43, align 4, !tbaa !10
%45 = tail call i32 @REG_COMPARE(i32 noundef %44) #2
%46 = load ptr, ptr @acrs, align 8, !tbaa !6
%47 = getelementptr inbounds i8, ptr %46, i64 44
%48 = load i32, ptr %47, align 4, !tbaa !10
%49 = tail call i32 @REG_COMPARE(i32 noundef %48) #2
%50 = load ptr, ptr @acrs, align 8, !tbaa !6
%51 = getelementptr inbounds i8, ptr %50, i64 48
%52 = load i32, ptr %51, align 4, !tbaa !10
%53 = tail call i32 @REG_COMPARE(i32 noundef %52) #2
%54 = load ptr, ptr @acrs, align 8, !tbaa !6
%55 = getelementptr inbounds i8, ptr %54, i64 52
%56 = load i32, ptr %55, align 4, !tbaa !10
%57 = tail call i32 @REG_COMPARE(i32 noundef %56) #2
%58 = load ptr, ptr @acrs, align 8, !tbaa !6
%59 = getelementptr inbounds i8, ptr %58, i64 56
%60 = load i32, ptr %59, align 4, !tbaa !10
%61 = tail call i32 @REG_COMPARE(i32 noundef %60) #2
%62 = load ptr, ptr @acrs, align 8, !tbaa !6
%63 = getelementptr inbounds i8, ptr %62, i64 60
%64 = load i32, ptr %63, align 4, !tbaa !10
%65 = tail call i32 @REG_COMPARE(i32 noundef %64) #2
%66 = load ptr, ptr @crs, align 8, !tbaa !6
%67 = load i32, ptr %66, align 4, !tbaa !10
%68 = tail call i32 @REG_COMPARE(i32 noundef %67) #2
%69 = load ptr, ptr @crs, align 8, !tbaa !6
%70 = getelementptr inbounds i8, ptr %69, i64 4
%71 = load i32, ptr %70, align 4, !tbaa !10
%72 = tail call i32 @REG_COMPARE(i32 noundef %71) #2
%73 = load ptr, ptr @crs, align 8, !tbaa !6
%74 = getelementptr inbounds i8, ptr %73, i64 8
%75 = load i32, ptr %74, align 4, !tbaa !10
%76 = tail call i32 @REG_COMPARE(i32 noundef %75) #2
%77 = load ptr, ptr @crs, align 8, !tbaa !6
%78 = getelementptr inbounds i8, ptr %77, i64 12
%79 = load i32, ptr %78, align 4, !tbaa !10
%80 = tail call i32 @REG_COMPARE(i32 noundef %79) #2
%81 = load ptr, ptr @crs, align 8, !tbaa !6
%82 = getelementptr inbounds i8, ptr %81, i64 16
%83 = load i32, ptr %82, align 4, !tbaa !10
%84 = tail call i32 @REG_COMPARE(i32 noundef %83) #2
%85 = load ptr, ptr @crs, align 8, !tbaa !6
%86 = getelementptr inbounds i8, ptr %85, i64 20
%87 = load i32, ptr %86, align 4, !tbaa !10
%88 = tail call i32 @REG_COMPARE(i32 noundef %87) #2
%89 = load ptr, ptr @crs, align 8, !tbaa !6
%90 = getelementptr inbounds i8, ptr %89, i64 24
%91 = load i32, ptr %90, align 4, !tbaa !10
%92 = tail call i32 @REG_COMPARE(i32 noundef %91) #2
%93 = load ptr, ptr @crs, align 8, !tbaa !6
%94 = getelementptr inbounds i8, ptr %93, i64 28
%95 = load i32, ptr %94, align 4, !tbaa !10
%96 = tail call i32 @REG_COMPARE(i32 noundef %95) #2
%97 = load ptr, ptr @crs, align 8, !tbaa !6
%98 = getelementptr inbounds i8, ptr %97, i64 32
%99 = load i32, ptr %98, align 4, !tbaa !10
%100 = tail call i32 @REG_COMPARE(i32 noundef %99) #2
%101 = load ptr, ptr @crs, align 8, !tbaa !6
%102 = getelementptr inbounds i8, ptr %101, i64 36
%103 = load i32, ptr %102, align 4, !tbaa !10
%104 = tail call i32 @REG_COMPARE(i32 noundef %103) #2
%105 = load ptr, ptr @crs, align 8, !tbaa !6
%106 = getelementptr inbounds i8, ptr %105, i64 40
%107 = load i32, ptr %106, align 4, !tbaa !10
%108 = tail call i32 @REG_COMPARE(i32 noundef %107) #2
%109 = load ptr, ptr @crs, align 8, !tbaa !6
%110 = getelementptr inbounds i8, ptr %109, i64 44
%111 = load i32, ptr %110, align 4, !tbaa !10
%112 = tail call i32 @REG_COMPARE(i32 noundef %111) #2
%113 = load ptr, ptr @crs, align 8, !tbaa !6
%114 = getelementptr inbounds i8, ptr %113, i64 48
%115 = load i32, ptr %114, align 4, !tbaa !10
%116 = tail call i32 @REG_COMPARE(i32 noundef %115) #2
%117 = load ptr, ptr @crs, align 8, !tbaa !6
%118 = getelementptr inbounds i8, ptr %117, i64 52
%119 = load i32, ptr %118, align 4, !tbaa !10
%120 = tail call i32 @REG_COMPARE(i32 noundef %119) #2
%121 = load ptr, ptr @crs, align 8, !tbaa !6
%122 = getelementptr inbounds i8, ptr %121, i64 56
%123 = load i32, ptr %122, align 4, !tbaa !10
%124 = tail call i32 @REG_COMPARE(i32 noundef %123) #2
%125 = load ptr, ptr @crs, align 8, !tbaa !6
%126 = getelementptr inbounds i8, ptr %125, i64 60
%127 = load i32, ptr %126, align 4, !tbaa !10
%128 = tail call i32 @REG_COMPARE(i32 noundef %127) #2
ret void
}
declare i32 @REG_COMPARE(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| linux_tools_testing_selftests_kvm_s390x_extr_sync_regs_test.c_compare_sregs |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_ai_team.c_BotValidTeamLeader.c'
source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_ai_team.c_BotValidTeamLeader.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@qfalse = dso_local local_unnamed_addr global i32 0, align 4
@qtrue = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @BotValidTeamLeader(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @strlen(i32 noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = tail call i32 @ClientFromName(i32 noundef %6) #2
%8 = icmp eq i32 %7, -1
%9 = select i1 %8, ptr @qfalse, ptr @qtrue
br label %10
10: ; preds = %5, %1
%11 = phi ptr [ @qfalse, %1 ], [ %9, %5 ]
%12 = load i32, ptr %11, align 4, !tbaa !10
ret i32 %12
}
declare i32 @strlen(i32 noundef) local_unnamed_addr #1
declare i32 @ClientFromName(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_ai_team.c_BotValidTeamLeader.c'
source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_ai_team.c_BotValidTeamLeader.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@qfalse = common local_unnamed_addr global i32 0, align 4
@qtrue = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @BotValidTeamLeader(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @strlen(i32 noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = tail call i32 @ClientFromName(i32 noundef %6) #2
%8 = icmp eq i32 %7, -1
%9 = select i1 %8, ptr @qfalse, ptr @qtrue
br label %10
10: ; preds = %5, %1
%11 = phi ptr [ @qfalse, %1 ], [ %9, %5 ]
%12 = load i32, ptr %11, align 4, !tbaa !11
ret i32 %12
}
declare i32 @strlen(i32 noundef) local_unnamed_addr #1
declare i32 @ClientFromName(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| Quake-III-Arena_code_game_extr_ai_team.c_BotValidTeamLeader |
; ModuleID = 'AnghaBench/linux/kernel/time/extr_timekeeping.c_timekeeping_update.c'
source_filename = "AnghaBench/linux/kernel/time/extr_timekeeping.c_timekeeping_update.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32 }
%struct.timekeeper = type { i32, %struct.TYPE_3__, %struct.TYPE_3__, i64, i64 }
%struct.TYPE_3__ = type { i64, i64 }
@TK_CLEAR_NTP = dso_local local_unnamed_addr global i32 0, align 4
@TK_CLOCK_WAS_SET = dso_local local_unnamed_addr global i32 0, align 4
@tk_fast_mono = dso_local global i32 0, align 4
@tk_fast_raw = dso_local global i32 0, align 4
@TK_MIRROR = dso_local local_unnamed_addr global i32 0, align 4
@shadow_timekeeper = dso_local global i32 0, align 4
@tk_core = dso_local global %struct.TYPE_4__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @timekeeping_update], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @timekeeping_update(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @TK_CLEAR_NTP, align 4, !tbaa !5
%4 = and i32 %3, %1
%5 = icmp eq i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.timekeeper, ptr %0, i64 0, i32 4
store i64 0, ptr %7, align 8, !tbaa !9
%8 = tail call i32 (...) @ntp_clear() #2
br label %9
9: ; preds = %6, %2
%10 = tail call i32 @tk_update_leap_state(ptr noundef %0) #2
%11 = tail call i32 @tk_update_ktime_data(ptr noundef %0) #2
%12 = tail call i32 @update_vsyscall(ptr noundef %0) #2
%13 = load i32, ptr @TK_CLOCK_WAS_SET, align 4, !tbaa !5
%14 = and i32 %13, %1
%15 = tail call i32 @update_pvclock_gtod(ptr noundef %0, i32 noundef %14) #2
%16 = getelementptr inbounds %struct.timekeeper, ptr %0, i64 0, i32 2
%17 = load i64, ptr %16, align 8, !tbaa !13
%18 = getelementptr inbounds %struct.timekeeper, ptr %0, i64 0, i32 3
%19 = load i64, ptr %18, align 8, !tbaa !14
%20 = add nsw i64 %19, %17
%21 = getelementptr inbounds %struct.timekeeper, ptr %0, i64 0, i32 2, i32 1
store i64 %20, ptr %21, align 8, !tbaa !15
%22 = tail call i32 @update_fast_timekeeper(ptr noundef nonnull %16, ptr noundef nonnull @tk_fast_mono) #2
%23 = getelementptr inbounds %struct.timekeeper, ptr %0, i64 0, i32 1
%24 = tail call i32 @update_fast_timekeeper(ptr noundef nonnull %23, ptr noundef nonnull @tk_fast_raw) #2
%25 = load i32, ptr @TK_CLOCK_WAS_SET, align 4, !tbaa !5
%26 = and i32 %25, %1
%27 = icmp eq i32 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %9
%29 = load i32, ptr %0, align 8, !tbaa !16
%30 = add nsw i32 %29, 1
store i32 %30, ptr %0, align 8, !tbaa !16
br label %31
31: ; preds = %28, %9
%32 = load i32, ptr @TK_MIRROR, align 4, !tbaa !5
%33 = and i32 %32, %1
%34 = icmp eq i32 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %31
%36 = tail call i32 @memcpy(ptr noundef nonnull @shadow_timekeeper, ptr noundef nonnull @tk_core, i32 noundef 4) #2
br label %37
37: ; preds = %35, %31
ret void
}
declare i32 @ntp_clear(...) local_unnamed_addr #1
declare i32 @tk_update_leap_state(ptr noundef) local_unnamed_addr #1
declare i32 @tk_update_ktime_data(ptr noundef) local_unnamed_addr #1
declare i32 @update_vsyscall(ptr noundef) local_unnamed_addr #1
declare i32 @update_pvclock_gtod(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @update_fast_timekeeper(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 48}
!10 = !{!"timekeeper", !6, i64 0, !11, i64 8, !11, i64 24, !12, i64 40, !12, i64 48}
!11 = !{!"TYPE_3__", !12, i64 0, !12, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 24}
!14 = !{!10, !12, i64 40}
!15 = !{!10, !12, i64 32}
!16 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/kernel/time/extr_timekeeping.c_timekeeping_update.c'
source_filename = "AnghaBench/linux/kernel/time/extr_timekeeping.c_timekeeping_update.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32 }
@TK_CLEAR_NTP = common local_unnamed_addr global i32 0, align 4
@TK_CLOCK_WAS_SET = common local_unnamed_addr global i32 0, align 4
@tk_fast_mono = common global i32 0, align 4
@tk_fast_raw = common global i32 0, align 4
@TK_MIRROR = common local_unnamed_addr global i32 0, align 4
@shadow_timekeeper = common global i32 0, align 4
@tk_core = common global %struct.TYPE_4__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @timekeeping_update], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @timekeeping_update(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @TK_CLEAR_NTP, align 4, !tbaa !6
%4 = and i32 %3, %1
%5 = icmp eq i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %0, i64 48
store i64 0, ptr %7, align 8, !tbaa !10
%8 = tail call i32 @ntp_clear() #2
br label %9
9: ; preds = %6, %2
%10 = tail call i32 @tk_update_leap_state(ptr noundef %0) #2
%11 = tail call i32 @tk_update_ktime_data(ptr noundef %0) #2
%12 = tail call i32 @update_vsyscall(ptr noundef %0) #2
%13 = load i32, ptr @TK_CLOCK_WAS_SET, align 4, !tbaa !6
%14 = and i32 %13, %1
%15 = tail call i32 @update_pvclock_gtod(ptr noundef %0, i32 noundef %14) #2
%16 = getelementptr inbounds i8, ptr %0, i64 24
%17 = load i64, ptr %16, align 8, !tbaa !14
%18 = getelementptr inbounds i8, ptr %0, i64 40
%19 = load i64, ptr %18, align 8, !tbaa !15
%20 = add nsw i64 %19, %17
%21 = getelementptr inbounds i8, ptr %0, i64 32
store i64 %20, ptr %21, align 8, !tbaa !16
%22 = tail call i32 @update_fast_timekeeper(ptr noundef nonnull %16, ptr noundef nonnull @tk_fast_mono) #2
%23 = getelementptr inbounds i8, ptr %0, i64 8
%24 = tail call i32 @update_fast_timekeeper(ptr noundef nonnull %23, ptr noundef nonnull @tk_fast_raw) #2
%25 = load i32, ptr @TK_CLOCK_WAS_SET, align 4, !tbaa !6
%26 = and i32 %25, %1
%27 = icmp eq i32 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %9
%29 = load i32, ptr %0, align 8, !tbaa !17
%30 = add nsw i32 %29, 1
store i32 %30, ptr %0, align 8, !tbaa !17
br label %31
31: ; preds = %28, %9
%32 = load i32, ptr @TK_MIRROR, align 4, !tbaa !6
%33 = and i32 %32, %1
%34 = icmp eq i32 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %31
%36 = tail call i32 @memcpy(ptr noundef nonnull @shadow_timekeeper, ptr noundef nonnull @tk_core, i32 noundef 4) #2
br label %37
37: ; preds = %35, %31
ret void
}
declare i32 @ntp_clear(...) local_unnamed_addr #1
declare i32 @tk_update_leap_state(ptr noundef) local_unnamed_addr #1
declare i32 @tk_update_ktime_data(ptr noundef) local_unnamed_addr #1
declare i32 @update_vsyscall(ptr noundef) local_unnamed_addr #1
declare i32 @update_pvclock_gtod(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @update_fast_timekeeper(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 48}
!11 = !{!"timekeeper", !7, i64 0, !12, i64 8, !12, i64 24, !13, i64 40, !13, i64 48}
!12 = !{!"TYPE_3__", !13, i64 0, !13, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !13, i64 24}
!15 = !{!11, !13, i64 40}
!16 = !{!11, !13, i64 32}
!17 = !{!11, !7, i64 0}
| linux_kernel_time_extr_timekeeping.c_timekeeping_update |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/omfs/extr_omfs.h_clus_to_blk.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/omfs/extr_omfs.h_clus_to_blk.c"
target datalayout = "e-m:e-p270:32:32-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 @clus_to_blk], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @clus_to_blk(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = shl i32 %1, %3
ret i32 %4
}
attributes #0 = { inlinehint 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 = !{!"omfs_sb_info", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/omfs/extr_omfs.h_clus_to_blk.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/omfs/extr_omfs.h_clus_to_blk.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 @clus_to_blk], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i32 @clus_to_blk(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = shl i32 %1, %3
ret i32 %4
}
attributes #0 = { inlinehint 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 = !{!"omfs_sb_info", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_fs_omfs_extr_omfs.h_clus_to_blk |
; ModuleID = 'AnghaBench/linux/drivers/staging/pi433/extr_rf69.c_rf69_set_bit_rate.c'
source_filename = "AnghaBench/linux/drivers/staging/pi433/extr_rf69.c_rf69_set_bit_rate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@F_OSC = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"setBitRate: illegal input param\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@REG_BITRATE_MSB = dso_local local_unnamed_addr global i32 0, align 4
@REG_BITRATE_LSB = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @rf69_set_bit_rate(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @F_OSC, align 4, !tbaa !5
%4 = sdiv i32 %3, 8388608
%5 = icmp sgt i32 %4, %1
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = tail call i32 @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str) #2
%8 = load i32, ptr @EINVAL, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %21
10: ; preds = %2
%11 = sdiv i32 %3, %1
%12 = lshr i32 %11, 8
%13 = and i32 %12, 255
%14 = load i32, ptr @REG_BITRATE_MSB, align 4, !tbaa !5
%15 = tail call i32 @rf69_write_reg(ptr noundef %0, i32 noundef %14, i32 noundef %13) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %10
%18 = and i32 %11, 255
%19 = load i32, ptr @REG_BITRATE_LSB, align 4, !tbaa !5
%20 = tail call i32 @rf69_write_reg(ptr noundef %0, i32 noundef %19, i32 noundef %18) #2
br label %21
21: ; preds = %17, %10, %6
%22 = phi i32 [ %9, %6 ], [ %15, %10 ], [ %20, %17 ]
ret i32 %22
}
declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rf69_write_reg(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/linux/drivers/staging/pi433/extr_rf69.c_rf69_set_bit_rate.c'
source_filename = "AnghaBench/linux/drivers/staging/pi433/extr_rf69.c_rf69_set_bit_rate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@F_OSC = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"setBitRate: illegal input param\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@REG_BITRATE_MSB = common local_unnamed_addr global i32 0, align 4
@REG_BITRATE_LSB = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @rf69_set_bit_rate(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @F_OSC, align 4, !tbaa !6
%4 = sdiv i32 %3, 8388608
%5 = icmp sgt i32 %4, %1
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = tail call i32 @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str) #2
%8 = load i32, ptr @EINVAL, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %21
10: ; preds = %2
%11 = sdiv i32 %3, %1
%12 = lshr i32 %11, 8
%13 = and i32 %12, 255
%14 = load i32, ptr @REG_BITRATE_MSB, align 4, !tbaa !6
%15 = tail call i32 @rf69_write_reg(ptr noundef %0, i32 noundef %14, i32 noundef %13) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %10
%18 = and i32 %11, 255
%19 = load i32, ptr @REG_BITRATE_LSB, align 4, !tbaa !6
%20 = tail call i32 @rf69_write_reg(ptr noundef %0, i32 noundef %19, i32 noundef %18) #2
br label %21
21: ; preds = %17, %10, %6
%22 = phi i32 [ %9, %6 ], [ %15, %10 ], [ %20, %17 ]
ret i32 %22
}
declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rf69_write_reg(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"}
| linux_drivers_staging_pi433_extr_rf69.c_rf69_set_bit_rate |
; ModuleID = 'AnghaBench/linux/arch/arm64/kvm/extr_sys_regs.c_write_to_read_only.c'
source_filename = "AnghaBench/linux/arch/arm64/kvm/extr_sys_regs.c_write_to_read_only.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"Unexpected sys_reg write to read-only register\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @write_to_read_only], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @write_to_read_only(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = tail call i32 @WARN_ONCE(i32 noundef 1, ptr noundef nonnull @.str) #2
%5 = tail call i32 @print_sys_reg_instr(ptr noundef %1) #2
%6 = tail call i32 @kvm_inject_undefined(ptr noundef %0) #2
ret i32 0
}
declare i32 @WARN_ONCE(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @print_sys_reg_instr(ptr noundef) local_unnamed_addr #1
declare i32 @kvm_inject_undefined(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/arch/arm64/kvm/extr_sys_regs.c_write_to_read_only.c'
source_filename = "AnghaBench/linux/arch/arm64/kvm/extr_sys_regs.c_write_to_read_only.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [48 x i8] c"Unexpected sys_reg write to read-only register\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @write_to_read_only], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @write_to_read_only(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = tail call i32 @WARN_ONCE(i32 noundef 1, ptr noundef nonnull @.str) #2
%5 = tail call i32 @print_sys_reg_instr(ptr noundef %1) #2
%6 = tail call i32 @kvm_inject_undefined(ptr noundef %0) #2
ret i32 0
}
declare i32 @WARN_ONCE(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @print_sys_reg_instr(ptr noundef) local_unnamed_addr #1
declare i32 @kvm_inject_undefined(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_arch_arm64_kvm_extr_sys_regs.c_write_to_read_only |
; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_stacktrace.c___save_stack_trace.c'
source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_stacktrace.c___save_stack_trace.c"
target datalayout = "e-m:e-p270:32:32-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.stack_trace = type { i64, i64, i64, ptr }
%struct.sparc_stackf = type { i64, i64 }
@STACK_BIAS = dso_local local_unnamed_addr global i64 0, align 8
@TSTATE_PRIV = dso_local local_unnamed_addr global i32 0, align 4
@UREG_I6 = dso_local local_unnamed_addr global i64 0, align 8
@return_to_handler = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__save_stack_trace], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__save_stack_trace(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr (...) @current_thread_info() #2
%5 = icmp eq ptr %4, %0
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = tail call i32 (...) @stack_trace_flush() #2
%8 = tail call i64 asm sideeffect "mov %fp, $0", "=r,~{dirflag},~{fpsr},~{flags}"() #2, !srcloc !5
br label %11
9: ; preds = %3
%10 = load i64, ptr %0, align 8, !tbaa !6
br label %11
11: ; preds = %9, %6
%12 = phi i64 [ %8, %6 ], [ %10, %9 ]
%13 = load i64, ptr @STACK_BIAS, align 8, !tbaa !12
%14 = add i64 %13, %12
%15 = getelementptr inbounds %struct.stack_trace, ptr %1, i64 0, i32 2
%16 = icmp eq i32 %2, 0
%17 = getelementptr inbounds %struct.stack_trace, ptr %1, i64 0, i32 3
%18 = getelementptr inbounds %struct.stack_trace, ptr %1, i64 0, i32 1
br label %19
19: ; preds = %61, %11
%20 = phi i64 [ %14, %11 ], [ %46, %61 ]
%21 = tail call i32 @kstack_valid(ptr noundef %0, i64 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %65, label %23
23: ; preds = %19
%24 = inttoptr i64 %20 to ptr
%25 = getelementptr inbounds %struct.sparc_stackf, ptr %24, i64 1
%26 = tail call i64 @kstack_is_trap_frame(ptr noundef %0, ptr noundef nonnull %25) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %39, label %28
28: ; preds = %23
%29 = load i32, ptr %25, align 8, !tbaa !13
%30 = load i32, ptr @TSTATE_PRIV, align 4, !tbaa !16
%31 = and i32 %30, %29
%32 = icmp eq i32 %31, 0
br i1 %32, label %65, label %33
33: ; preds = %28
%34 = getelementptr inbounds %struct.sparc_stackf, ptr %24, i64 1, i32 1
%35 = getelementptr inbounds %struct.sparc_stackf, ptr %24, i64 2
%36 = load ptr, ptr %35, align 8, !tbaa !17
%37 = load i64, ptr @UREG_I6, align 8, !tbaa !12
%38 = getelementptr inbounds i64, ptr %36, i64 %37
br label %41
39: ; preds = %23
%40 = getelementptr inbounds %struct.sparc_stackf, ptr %24, i64 0, i32 1
br label %41
41: ; preds = %39, %33
%42 = phi ptr [ %40, %39 ], [ %38, %33 ]
%43 = phi ptr [ %24, %39 ], [ %34, %33 ]
%44 = load i64, ptr %42, align 8, !tbaa !12
%45 = load i64, ptr @STACK_BIAS, align 8, !tbaa !12
%46 = add i64 %45, %44
%47 = load i64, ptr %43, align 8, !tbaa !12
%48 = load i64, ptr %15, align 8, !tbaa !18
%49 = icmp sgt i64 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %41
%51 = add nsw i64 %48, -1
store i64 %51, ptr %15, align 8, !tbaa !18
br label %61
52: ; preds = %41
br i1 %16, label %56, label %53
53: ; preds = %52
%54 = tail call i32 @in_sched_functions(i64 noundef %47) #2
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %61
56: ; preds = %53, %52
%57 = load ptr, ptr %17, align 8, !tbaa !20
%58 = load i64, ptr %1, align 8, !tbaa !21
%59 = add nsw i64 %58, 1
store i64 %59, ptr %1, align 8, !tbaa !21
%60 = getelementptr inbounds i64, ptr %57, i64 %58
store i64 %47, ptr %60, align 8, !tbaa !12
br label %61
61: ; preds = %53, %56, %50
%62 = load i64, ptr %1, align 8, !tbaa !21
%63 = load i64, ptr %18, align 8, !tbaa !22
%64 = icmp slt i64 %62, %63
br i1 %64, label %19, label %65, !llvm.loop !23
65: ; preds = %19, %28, %61
ret void
}
declare ptr @current_thread_info(...) local_unnamed_addr #1
declare i32 @stack_trace_flush(...) local_unnamed_addr #1
declare i32 @kstack_valid(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @kstack_is_trap_frame(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @in_sched_functions(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 = !{i64 1620}
!6 = !{!7, !8, i64 0}
!7 = !{!"thread_info", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"pt_regs", !15, i64 0, !8, i64 8, !11, i64 16}
!15 = !{!"int", !9, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!14, !11, i64 16}
!18 = !{!19, !8, i64 16}
!19 = !{!"stack_trace", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24}
!20 = !{!19, !11, i64 24}
!21 = !{!19, !8, i64 0}
!22 = !{!19, !8, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_stacktrace.c___save_stack_trace.c'
source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_stacktrace.c___save_stack_trace.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@STACK_BIAS = common local_unnamed_addr global i64 0, align 8
@TSTATE_PRIV = common local_unnamed_addr global i32 0, align 4
@UREG_I6 = common local_unnamed_addr global i64 0, align 8
@return_to_handler = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__save_stack_trace], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__save_stack_trace(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @current_thread_info() #2
%5 = icmp eq ptr %4, %0
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = tail call i32 @stack_trace_flush() #2
%8 = tail call i64 asm sideeffect "mov %fp, $0", "=r"() #2, !srcloc !6
br label %11
9: ; preds = %3
%10 = load i64, ptr %0, align 8, !tbaa !7
br label %11
11: ; preds = %9, %6
%12 = phi i64 [ %8, %6 ], [ %10, %9 ]
%13 = load i64, ptr @STACK_BIAS, align 8, !tbaa !13
%14 = add i64 %13, %12
%15 = getelementptr inbounds i8, ptr %1, i64 16
%16 = icmp eq i32 %2, 0
%17 = getelementptr inbounds i8, ptr %1, i64 24
%18 = getelementptr inbounds i8, ptr %1, i64 8
br label %19
19: ; preds = %61, %11
%20 = phi i64 [ %14, %11 ], [ %46, %61 ]
%21 = tail call i32 @kstack_valid(ptr noundef %0, i64 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %65, label %23
23: ; preds = %19
%24 = inttoptr i64 %20 to ptr
%25 = getelementptr inbounds i8, ptr %24, i64 16
%26 = tail call i64 @kstack_is_trap_frame(ptr noundef %0, ptr noundef nonnull %25) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %39, label %28
28: ; preds = %23
%29 = load i32, ptr %25, align 8, !tbaa !14
%30 = load i32, ptr @TSTATE_PRIV, align 4, !tbaa !17
%31 = and i32 %30, %29
%32 = icmp eq i32 %31, 0
br i1 %32, label %65, label %33
33: ; preds = %28
%34 = getelementptr inbounds i8, ptr %24, i64 24
%35 = getelementptr inbounds i8, ptr %24, i64 32
%36 = load ptr, ptr %35, align 8, !tbaa !18
%37 = load i64, ptr @UREG_I6, align 8, !tbaa !13
%38 = getelementptr inbounds i64, ptr %36, i64 %37
br label %41
39: ; preds = %23
%40 = getelementptr inbounds i8, ptr %24, i64 8
br label %41
41: ; preds = %39, %33
%42 = phi ptr [ %40, %39 ], [ %38, %33 ]
%43 = phi ptr [ %24, %39 ], [ %34, %33 ]
%44 = load i64, ptr %42, align 8, !tbaa !13
%45 = load i64, ptr @STACK_BIAS, align 8, !tbaa !13
%46 = add i64 %45, %44
%47 = load i64, ptr %43, align 8, !tbaa !13
%48 = load i64, ptr %15, align 8, !tbaa !19
%49 = icmp sgt i64 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %41
%51 = add nsw i64 %48, -1
store i64 %51, ptr %15, align 8, !tbaa !19
br label %61
52: ; preds = %41
br i1 %16, label %56, label %53
53: ; preds = %52
%54 = tail call i32 @in_sched_functions(i64 noundef %47) #2
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %61
56: ; preds = %53, %52
%57 = load ptr, ptr %17, align 8, !tbaa !21
%58 = load i64, ptr %1, align 8, !tbaa !22
%59 = add nsw i64 %58, 1
store i64 %59, ptr %1, align 8, !tbaa !22
%60 = getelementptr inbounds i64, ptr %57, i64 %58
store i64 %47, ptr %60, align 8, !tbaa !13
br label %61
61: ; preds = %53, %56, %50
%62 = load i64, ptr %1, align 8, !tbaa !22
%63 = load i64, ptr %18, align 8, !tbaa !23
%64 = icmp slt i64 %62, %63
br i1 %64, label %19, label %65, !llvm.loop !24
65: ; preds = %19, %28, %61
ret void
}
declare ptr @current_thread_info(...) local_unnamed_addr #1
declare i32 @stack_trace_flush(...) local_unnamed_addr #1
declare i32 @kstack_valid(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @kstack_is_trap_frame(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @in_sched_functions(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 = !{i64 1620}
!7 = !{!8, !9, i64 0}
!8 = !{!"thread_info", !9, i64 0, !12, i64 8}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!9, !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"pt_regs", !16, i64 0, !9, i64 8, !12, i64 16}
!16 = !{!"int", !10, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!15, !12, i64 16}
!19 = !{!20, !9, i64 16}
!20 = !{!"stack_trace", !9, i64 0, !9, i64 8, !9, i64 16, !12, i64 24}
!21 = !{!20, !12, i64 24}
!22 = !{!20, !9, i64 0}
!23 = !{!20, !9, i64 8}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
| linux_arch_sparc_kernel_extr_stacktrace.c___save_stack_trace |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..gemi915_gem_object.h_i915_gem_object_needs_async_cancel.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..gemi915_gem_object.h_i915_gem_object_needs_async_cancel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@I915_GEM_OBJECT_ASYNC_CANCEL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @i915_gem_object_needs_async_cancel], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @i915_gem_object_needs_async_cancel(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = load i32, ptr @I915_GEM_OBJECT_ASYNC_CANCEL, align 4, !tbaa !13
%5 = and i32 %4, %3
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"drm_i915_gem_object", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..gemi915_gem_object.h_i915_gem_object_needs_async_cancel.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..gemi915_gem_object.h_i915_gem_object_needs_async_cancel.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@I915_GEM_OBJECT_ASYNC_CANCEL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @i915_gem_object_needs_async_cancel], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @i915_gem_object_needs_async_cancel(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !11
%4 = load i32, ptr @I915_GEM_OBJECT_ASYNC_CANCEL, align 4, !tbaa !14
%5 = and i32 %4, %3
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"drm_i915_gem_object", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
| linux_drivers_gpu_drm_i915_selftests_extr_..gemi915_gem_object.h_i915_gem_object_needs_async_cancel |
; ModuleID = 'AnghaBench/freebsd/tests/sys/netinet/extr_ip_reass_test.c_free_lopacket.c'
source_filename = "AnghaBench/freebsd/tests/sys/netinet/extr_ip_reass_test.c_free_lopacket.c"
target datalayout = "e-m:e-p270:32:32-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 @free_lopacket], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @free_lopacket(ptr noundef %0) #0 {
%2 = tail call i32 @free(ptr noundef %0) #2
ret void
}
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)"}
| ; ModuleID = 'AnghaBench/freebsd/tests/sys/netinet/extr_ip_reass_test.c_free_lopacket.c'
source_filename = "AnghaBench/freebsd/tests/sys/netinet/extr_ip_reass_test.c_free_lopacket.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @free_lopacket], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @free_lopacket(ptr noundef %0) #0 {
%2 = tail call i32 @free(ptr noundef %0) #2
ret void
}
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)"}
| freebsd_tests_sys_netinet_extr_ip_reass_test.c_free_lopacket |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/serial/extr_uvscom.c_uvscom_start_write.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/serial/extr_uvscom.c_uvscom_start_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UVSCOM_BULK_DT_WR = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @uvscom_start_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @uvscom_start_write(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = load i64, ptr @UVSCOM_BULK_DT_WR, align 8, !tbaa !12
%5 = getelementptr inbounds i32, ptr %3, i64 %4
%6 = load i32, ptr %5, align 4, !tbaa !14
%7 = tail call i32 @usbd_transfer_start(i32 noundef %6) #2
ret void
}
declare i32 @usbd_transfer_start(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 = !{!"ucom_softc", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"uvscom_softc", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/serial/extr_uvscom.c_uvscom_start_write.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/serial/extr_uvscom.c_uvscom_start_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UVSCOM_BULK_DT_WR = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @uvscom_start_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @uvscom_start_write(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = load i64, ptr @UVSCOM_BULK_DT_WR, align 8, !tbaa !13
%5 = getelementptr inbounds i32, ptr %3, i64 %4
%6 = load i32, ptr %5, align 4, !tbaa !15
%7 = tail call i32 @usbd_transfer_start(i32 noundef %6) #2
ret void
}
declare i32 @usbd_transfer_start(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 = !{!"ucom_softc", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"uvscom_softc", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
| freebsd_sys_dev_usb_serial_extr_uvscom.c_uvscom_start_write |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/ttusb-budget/extr_dvb-ttusb-budget.c_ttusb_set_channel.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/ttusb-budget/extr_dvb-ttusb-budget.c_ttusb_set_channel.c"
target datalayout = "e-m:e-p270:32:32-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 @ttusb_set_channel], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ttusb_set_channel(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca [8 x i32], align 16
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3
store i32 170, ptr %5, align 16, !tbaa !5
%6 = getelementptr inbounds i32, ptr %5, i64 1
%7 = load i32, ptr %0, align 4, !tbaa !9
%8 = add nsw i32 %7, 1
store i32 %8, ptr %0, align 4, !tbaa !9
store i32 %8, ptr %6, align 4, !tbaa !5
%9 = getelementptr inbounds i32, ptr %5, i64 2
store i32 34, ptr %9, align 8, !tbaa !5
%10 = getelementptr inbounds i32, ptr %5, i64 3
store i32 4, ptr %10, align 4, !tbaa !5
%11 = getelementptr inbounds i32, ptr %5, i64 4
store i32 %1, ptr %11, align 16, !tbaa !5
%12 = getelementptr inbounds i32, ptr %5, i64 5
store i32 %2, ptr %12, align 4, !tbaa !5
%13 = getelementptr inbounds i32, ptr %5, i64 6
%14 = lshr i32 %3, 8
%15 = and i32 %14, 255
store i32 %15, ptr %13, align 8, !tbaa !5
%16 = getelementptr inbounds i32, ptr %5, i64 7
%17 = and i32 %3, 255
store i32 %17, ptr %16, align 4, !tbaa !5
%18 = call i32 @ttusb_cmd(ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef 32, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3
ret i32 %18
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ttusb_cmd(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"ttusb", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/ttusb-budget/extr_dvb-ttusb-budget.c_ttusb_set_channel.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/ttusb-budget/extr_dvb-ttusb-budget.c_ttusb_set_channel.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 @ttusb_set_channel], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ttusb_set_channel(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca [8 x i32], align 4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3
store i32 170, ptr %5, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %5, i64 4
%7 = load i32, ptr %0, align 4, !tbaa !10
%8 = add nsw i32 %7, 1
store i32 %8, ptr %0, align 4, !tbaa !10
store i32 %8, ptr %6, align 4, !tbaa !6
%9 = getelementptr inbounds i8, ptr %5, i64 8
store <2 x i32> <i32 34, i32 4>, ptr %9, align 4, !tbaa !6
%10 = getelementptr inbounds i8, ptr %5, i64 16
store i32 %1, ptr %10, align 4, !tbaa !6
%11 = getelementptr inbounds i8, ptr %5, i64 20
store i32 %2, ptr %11, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %5, i64 24
%13 = lshr i32 %3, 8
%14 = and i32 %13, 255
store i32 %14, ptr %12, align 4, !tbaa !6
%15 = getelementptr inbounds i8, ptr %5, i64 28
%16 = and i32 %3, 255
store i32 %16, ptr %15, align 4, !tbaa !6
%17 = call i32 @ttusb_cmd(ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef 32, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #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 @ttusb_cmd(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"ttusb", !7, i64 0}
| fastsocket_kernel_drivers_media_dvb_ttusb-budget_extr_dvb-ttusb-budget.c_ttusb_set_channel |
; ModuleID = 'AnghaBench/linux/drivers/clk/st/extr_clkgen-pll.c_clk_pll4600c28_get_rate.c'
source_filename = "AnghaBench/linux/drivers/clk/st/extr_clkgen-pll.c_clk_pll4600c28_get_rate.c"
target datalayout = "e-m:e-p270:32:32-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.stm_pll = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @clk_pll4600c28_get_rate], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal noundef i32 @clk_pll4600c28_get_rate(i64 noundef %0, ptr nocapture noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load i32, ptr %1, align 8, !tbaa !5
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %3
store i32 1, ptr %1, align 8, !tbaa !5
br label %7
7: ; preds = %6, %3
%8 = phi i32 [ 1, %6 ], [ %4, %3 ]
%9 = sext i32 %8 to i64
%10 = udiv i64 %0, %9
%11 = shl i64 %10, 1
%12 = getelementptr inbounds %struct.stm_pll, ptr %1, i64 0, i32 1
%13 = load i64, ptr %12, align 8, !tbaa !11
%14 = mul i64 %11, %13
store i64 %14, ptr %2, align 8, !tbaa !12
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"stm_pll", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/clk/st/extr_clkgen-pll.c_clk_pll4600c28_get_rate.c'
source_filename = "AnghaBench/linux/drivers/clk/st/extr_clkgen-pll.c_clk_pll4600c28_get_rate.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 @clk_pll4600c28_get_rate], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal noundef i32 @clk_pll4600c28_get_rate(i64 noundef %0, ptr nocapture noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load i32, ptr %1, align 8, !tbaa !6
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %3
store i32 1, ptr %1, align 8, !tbaa !6
br label %7
7: ; preds = %6, %3
%8 = phi i32 [ 1, %6 ], [ %4, %3 ]
%9 = sext i32 %8 to i64
%10 = udiv i64 %0, %9
%11 = shl i64 %10, 1
%12 = getelementptr inbounds i8, ptr %1, i64 8
%13 = load i64, ptr %12, align 8, !tbaa !12
%14 = mul i64 %11, %13
store i64 %14, ptr %2, align 8, !tbaa !13
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"stm_pll", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
| linux_drivers_clk_st_extr_clkgen-pll.c_clk_pll4600c28_get_rate |
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_marvell_nand.c_marvell_nfc_send_cmd.c'
source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_marvell_nand.c_marvell_nfc_send_cmd.c"
target datalayout = "e-m:e-p270:32:32-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.marvell_nfc = type { i64, ptr, i32 }
@.str = private unnamed_addr constant [72 x i8] c"\0ANDCR: 0x%08x\0ANDCB0: 0x%08x\0ANDCB1: 0x%08x\0ANDCB2: 0x%08x\0ANDCB3: 0x%08x\0A\00", align 1
@NDCR = dso_local local_unnamed_addr global i64 0, align 8
@NDCB0 = dso_local local_unnamed_addr global i64 0, align 8
@NDCB0_LEN_OVRD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @marvell_nfc_send_cmd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @marvell_nfc_send_cmd(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @to_marvell_nand(ptr noundef %0) #2
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call ptr @to_marvell_nfc(i32 noundef %4) #2
%6 = getelementptr inbounds %struct.marvell_nfc, ptr %5, i64 0, i32 2
%7 = load i32, ptr %6, align 8, !tbaa !10
%8 = load i64, ptr %5, align 8, !tbaa !14
%9 = load i64, ptr @NDCR, align 8, !tbaa !15
%10 = add nsw i64 %9, %8
%11 = tail call i64 @readl_relaxed(i64 noundef %10) #2
%12 = trunc i64 %11 to i32
%13 = load ptr, ptr %1, align 8, !tbaa !16
%14 = load i32, ptr %13, align 4, !tbaa !18
%15 = getelementptr inbounds i32, ptr %13, i64 1
%16 = load i32, ptr %15, align 4, !tbaa !18
%17 = getelementptr inbounds i32, ptr %13, i64 2
%18 = load i32, ptr %17, align 4, !tbaa !18
%19 = getelementptr inbounds i32, ptr %13, i64 3
%20 = load i32, ptr %19, align 4, !tbaa !18
%21 = tail call i32 @dev_dbg(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %14, i32 noundef %16, i32 noundef %18, i32 noundef %20) #2
%22 = tail call ptr @to_nand_sel(ptr noundef %3) #2
%23 = load i32, ptr %22, align 4, !tbaa !19
%24 = load ptr, ptr %1, align 8, !tbaa !16
%25 = load i32, ptr %24, align 4, !tbaa !18
%26 = or i32 %25, %23
%27 = load i64, ptr %5, align 8, !tbaa !14
%28 = load i64, ptr @NDCB0, align 8, !tbaa !15
%29 = add nsw i64 %28, %27
%30 = tail call i32 @writel_relaxed(i32 noundef %26, i64 noundef %29) #2
%31 = load ptr, ptr %1, align 8, !tbaa !16
%32 = getelementptr inbounds i32, ptr %31, i64 1
%33 = load i32, ptr %32, align 4, !tbaa !18
%34 = load i64, ptr %5, align 8, !tbaa !14
%35 = load i64, ptr @NDCB0, align 8, !tbaa !15
%36 = add nsw i64 %35, %34
%37 = tail call i32 @writel_relaxed(i32 noundef %33, i64 noundef %36) #2
%38 = load ptr, ptr %1, align 8, !tbaa !16
%39 = getelementptr inbounds i32, ptr %38, i64 2
%40 = load i32, ptr %39, align 4, !tbaa !18
%41 = load i64, ptr %5, align 8, !tbaa !14
%42 = load i64, ptr @NDCB0, align 8, !tbaa !15
%43 = add nsw i64 %42, %41
%44 = tail call i32 @writel(i32 noundef %40, i64 noundef %43) #2
%45 = load ptr, ptr %1, align 8, !tbaa !16
%46 = load i32, ptr %45, align 4, !tbaa !18
%47 = load i32, ptr @NDCB0_LEN_OVRD, align 4, !tbaa !18
%48 = and i32 %47, %46
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %2
%51 = tail call i32 @NDCB0_ADDR_GET_NUM_CYC(i32 noundef %46) #2
%52 = icmp sgt i32 %51, 5
br i1 %52, label %53, label %69
53: ; preds = %50, %2
%54 = getelementptr inbounds %struct.marvell_nfc, ptr %5, i64 0, i32 1
%55 = load ptr, ptr %54, align 8, !tbaa !21
%56 = load i32, ptr %55, align 4, !tbaa !22
%57 = icmp eq i32 %56, 0
%58 = zext i1 %57 to i32
%59 = tail call i32 @WARN_ON_ONCE(i32 noundef %58) #2
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %69
61: ; preds = %53
%62 = load ptr, ptr %1, align 8, !tbaa !16
%63 = getelementptr inbounds i32, ptr %62, i64 3
%64 = load i32, ptr %63, align 4, !tbaa !18
%65 = load i64, ptr %5, align 8, !tbaa !14
%66 = load i64, ptr @NDCB0, align 8, !tbaa !15
%67 = add nsw i64 %66, %65
%68 = tail call i32 @writel(i32 noundef %64, i64 noundef %67) #2
br label %69
69: ; preds = %53, %61, %50
ret void
}
declare ptr @to_marvell_nand(ptr noundef) local_unnamed_addr #1
declare ptr @to_marvell_nfc(i32 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @readl_relaxed(i64 noundef) local_unnamed_addr #1
declare i32 @writel_relaxed(i32 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @to_nand_sel(ptr noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @NDCB0_ADDR_GET_NUM_CYC(i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON_ONCE(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 = !{!"nand_chip", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"marvell_nfc", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !12, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !13, i64 0}
!17 = !{!"marvell_nfc_op", !13, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !7, i64 0}
!20 = !{!"TYPE_4__", !7, i64 0}
!21 = !{!11, !13, i64 8}
!22 = !{!23, !7, i64 0}
!23 = !{!"TYPE_3__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_marvell_nand.c_marvell_nfc_send_cmd.c'
source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_marvell_nand.c_marvell_nfc_send_cmd.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 [72 x i8] c"\0ANDCR: 0x%08x\0ANDCB0: 0x%08x\0ANDCB1: 0x%08x\0ANDCB2: 0x%08x\0ANDCB3: 0x%08x\0A\00", align 1
@NDCR = common local_unnamed_addr global i64 0, align 8
@NDCB0 = common local_unnamed_addr global i64 0, align 8
@NDCB0_LEN_OVRD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @marvell_nfc_send_cmd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @marvell_nfc_send_cmd(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @to_marvell_nand(ptr noundef %0) #2
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call ptr @to_marvell_nfc(i32 noundef %4) #2
%6 = getelementptr inbounds i8, ptr %5, i64 16
%7 = load i32, ptr %6, align 8, !tbaa !11
%8 = load i64, ptr %5, align 8, !tbaa !15
%9 = load i64, ptr @NDCR, align 8, !tbaa !16
%10 = add nsw i64 %9, %8
%11 = tail call i64 @readl_relaxed(i64 noundef %10) #2
%12 = trunc i64 %11 to i32
%13 = load ptr, ptr %1, align 8, !tbaa !17
%14 = load i32, ptr %13, align 4, !tbaa !19
%15 = getelementptr inbounds i8, ptr %13, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !19
%17 = getelementptr inbounds i8, ptr %13, i64 8
%18 = load i32, ptr %17, align 4, !tbaa !19
%19 = getelementptr inbounds i8, ptr %13, i64 12
%20 = load i32, ptr %19, align 4, !tbaa !19
%21 = tail call i32 @dev_dbg(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %14, i32 noundef %16, i32 noundef %18, i32 noundef %20) #2
%22 = tail call ptr @to_nand_sel(ptr noundef %3) #2
%23 = load i32, ptr %22, align 4, !tbaa !20
%24 = load ptr, ptr %1, align 8, !tbaa !17
%25 = load i32, ptr %24, align 4, !tbaa !19
%26 = or i32 %25, %23
%27 = load i64, ptr %5, align 8, !tbaa !15
%28 = load i64, ptr @NDCB0, align 8, !tbaa !16
%29 = add nsw i64 %28, %27
%30 = tail call i32 @writel_relaxed(i32 noundef %26, i64 noundef %29) #2
%31 = load ptr, ptr %1, align 8, !tbaa !17
%32 = getelementptr inbounds i8, ptr %31, i64 4
%33 = load i32, ptr %32, align 4, !tbaa !19
%34 = load i64, ptr %5, align 8, !tbaa !15
%35 = load i64, ptr @NDCB0, align 8, !tbaa !16
%36 = add nsw i64 %35, %34
%37 = tail call i32 @writel_relaxed(i32 noundef %33, i64 noundef %36) #2
%38 = load ptr, ptr %1, align 8, !tbaa !17
%39 = getelementptr inbounds i8, ptr %38, i64 8
%40 = load i32, ptr %39, align 4, !tbaa !19
%41 = load i64, ptr %5, align 8, !tbaa !15
%42 = load i64, ptr @NDCB0, align 8, !tbaa !16
%43 = add nsw i64 %42, %41
%44 = tail call i32 @writel(i32 noundef %40, i64 noundef %43) #2
%45 = load ptr, ptr %1, align 8, !tbaa !17
%46 = load i32, ptr %45, align 4, !tbaa !19
%47 = load i32, ptr @NDCB0_LEN_OVRD, align 4, !tbaa !19
%48 = and i32 %47, %46
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %2
%51 = tail call i32 @NDCB0_ADDR_GET_NUM_CYC(i32 noundef %46) #2
%52 = icmp sgt i32 %51, 5
br i1 %52, label %53, label %69
53: ; preds = %50, %2
%54 = getelementptr inbounds i8, ptr %5, i64 8
%55 = load ptr, ptr %54, align 8, !tbaa !22
%56 = load i32, ptr %55, align 4, !tbaa !23
%57 = icmp eq i32 %56, 0
%58 = zext i1 %57 to i32
%59 = tail call i32 @WARN_ON_ONCE(i32 noundef %58) #2
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %69
61: ; preds = %53
%62 = load ptr, ptr %1, align 8, !tbaa !17
%63 = getelementptr inbounds i8, ptr %62, i64 12
%64 = load i32, ptr %63, align 4, !tbaa !19
%65 = load i64, ptr %5, align 8, !tbaa !15
%66 = load i64, ptr @NDCB0, align 8, !tbaa !16
%67 = add nsw i64 %66, %65
%68 = tail call i32 @writel(i32 noundef %64, i64 noundef %67) #2
br label %69
69: ; preds = %53, %61, %50
ret void
}
declare ptr @to_marvell_nand(ptr noundef) local_unnamed_addr #1
declare ptr @to_marvell_nfc(i32 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @readl_relaxed(i64 noundef) local_unnamed_addr #1
declare i32 @writel_relaxed(i32 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @to_nand_sel(ptr noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @NDCB0_ADDR_GET_NUM_CYC(i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON_ONCE(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 = !{!"nand_chip", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 16}
!12 = !{!"marvell_nfc", !13, i64 0, !14, i64 8, !8, i64 16}
!13 = !{!"long", !9, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!12, !13, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !14, i64 0}
!18 = !{!"marvell_nfc_op", !14, i64 0}
!19 = !{!8, !8, i64 0}
!20 = !{!21, !8, i64 0}
!21 = !{!"TYPE_4__", !8, i64 0}
!22 = !{!12, !14, i64 8}
!23 = !{!24, !8, i64 0}
!24 = !{!"TYPE_3__", !8, i64 0}
| linux_drivers_mtd_nand_raw_extr_marvell_nand.c_marvell_nfc_send_cmd |
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_mtouch.c_mtouch_disconnect.c'
source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_mtouch.c_mtouch_disconnect.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @mtouch_disconnect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mtouch_disconnect(ptr noundef %0) #0 {
%2 = tail call ptr @serio_get_drvdata(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @input_get_device(i32 noundef %3) #2
%5 = load i32, ptr %2, align 4, !tbaa !5
%6 = tail call i32 @input_unregister_device(i32 noundef %5) #2
%7 = tail call i32 @serio_close(ptr noundef %0) #2
%8 = tail call i32 @serio_set_drvdata(ptr noundef %0, ptr noundef null) #2
%9 = load i32, ptr %2, align 4, !tbaa !5
%10 = tail call i32 @input_put_device(i32 noundef %9) #2
%11 = tail call i32 @kfree(ptr noundef nonnull %2) #2
ret void
}
declare ptr @serio_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @input_get_device(i32 noundef) local_unnamed_addr #1
declare i32 @input_unregister_device(i32 noundef) local_unnamed_addr #1
declare i32 @serio_close(ptr noundef) local_unnamed_addr #1
declare i32 @serio_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @input_put_device(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, !7, i64 0}
!6 = !{!"mtouch", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_mtouch.c_mtouch_disconnect.c'
source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_mtouch.c_mtouch_disconnect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @mtouch_disconnect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mtouch_disconnect(ptr noundef %0) #0 {
%2 = tail call ptr @serio_get_drvdata(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @input_get_device(i32 noundef %3) #2
%5 = load i32, ptr %2, align 4, !tbaa !6
%6 = tail call i32 @input_unregister_device(i32 noundef %5) #2
%7 = tail call i32 @serio_close(ptr noundef %0) #2
%8 = tail call i32 @serio_set_drvdata(ptr noundef %0, ptr noundef null) #2
%9 = load i32, ptr %2, align 4, !tbaa !6
%10 = tail call i32 @input_put_device(i32 noundef %9) #2
%11 = tail call i32 @kfree(ptr noundef nonnull %2) #2
ret void
}
declare ptr @serio_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @input_get_device(i32 noundef) local_unnamed_addr #1
declare i32 @input_unregister_device(i32 noundef) local_unnamed_addr #1
declare i32 @serio_close(ptr noundef) local_unnamed_addr #1
declare i32 @serio_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @input_put_device(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, !8, i64 0}
!7 = !{!"mtouch", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_input_touchscreen_extr_mtouch.c_mtouch_disconnect |
; ModuleID = 'AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_UTF_8_spanish.c_r_verb_suffix.c'
source_filename = "AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_UTF_8_spanish.c_r_verb_suffix.c"
target datalayout = "e-m:e-p270:32:32-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.SN_env = type { i64, ptr, i32, i64, i64, i32, ptr }
@a_8 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @r_verb_suffix], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @r_verb_suffix(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.SN_env, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = icmp slt i64 %2, %5
br i1 %6, label %47, label %7
7: ; preds = %1
%8 = getelementptr inbounds %struct.SN_env, ptr %0, i64 0, i32 2
%9 = load i32, ptr %8, align 8, !tbaa !14
%10 = trunc i64 %5 to i32
store i32 %10, ptr %8, align 8, !tbaa !14
%11 = getelementptr inbounds %struct.SN_env, ptr %0, i64 0, i32 3
store i64 %2, ptr %11, align 8, !tbaa !15
%12 = load i32, ptr @a_8, align 4, !tbaa !16
%13 = tail call i32 @find_among_b(ptr noundef nonnull %0, i32 noundef %12, i32 noundef 96) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %7
store i32 %9, ptr %8, align 8, !tbaa !14
br label %47
16: ; preds = %7
%17 = load i64, ptr %0, align 8, !tbaa !5
%18 = getelementptr inbounds %struct.SN_env, ptr %0, i64 0, i32 4
store i64 %17, ptr %18, align 8, !tbaa !17
store i32 %9, ptr %8, align 8, !tbaa !14
switch i32 %13, label %46 [
i32 1, label %19
i32 2, label %43
]
19: ; preds = %16
%20 = sext i32 %9 to i64
%21 = icmp sgt i64 %17, %20
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = getelementptr inbounds %struct.SN_env, ptr %0, i64 0, i32 6
%24 = load ptr, ptr %23, align 8, !tbaa !18
%25 = getelementptr i8, ptr %24, i64 %17
%26 = getelementptr i8, ptr %25, i64 -1
%27 = load i8, ptr %26, align 1, !tbaa !19
%28 = icmp eq i8 %27, 117
br i1 %28, label %29, label %37
29: ; preds = %22
%30 = add nsw i64 %17, -1
store i64 %30, ptr %0, align 8, !tbaa !5
%31 = icmp sgt i64 %30, %20
br i1 %31, label %32, label %37
32: ; preds = %29
%33 = getelementptr i8, ptr %25, i64 -2
%34 = load i8, ptr %33, align 1, !tbaa !19
%35 = icmp eq i8 %34, 103
%36 = select i1 %35, i64 %30, i64 %17
br label %37
37: ; preds = %32, %29, %19, %22
%38 = phi i64 [ %17, %22 ], [ %17, %19 ], [ %17, %29 ], [ %36, %32 ]
%39 = shl i64 %38, 32
%40 = ashr exact i64 %39, 32
store i64 %40, ptr %0, align 8, !tbaa !5
store i64 %40, ptr %18, align 8, !tbaa !17
%41 = tail call i32 @slice_del(ptr noundef nonnull %0) #2
%42 = icmp sgt i32 %41, -1
br i1 %42, label %46, label %47
43: ; preds = %16
%44 = tail call i32 @slice_del(ptr noundef nonnull %0) #2
%45 = icmp sgt i32 %44, -1
br i1 %45, label %46, label %47
46: ; preds = %43, %37, %16
br label %47
47: ; preds = %1, %15, %37, %43, %46
%48 = phi i32 [ 1, %46 ], [ %44, %43 ], [ %41, %37 ], [ 0, %15 ], [ 0, %1 ]
ret i32 %48
}
declare i32 @find_among_b(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @slice_del(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 = !{!"SN_env", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24, !7, i64 32, !11, i64 40, !10, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !11, i64 16}
!15 = !{!6, !7, i64 24}
!16 = !{!11, !11, i64 0}
!17 = !{!6, !7, i64 32}
!18 = !{!6, !10, i64 48}
!19 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_UTF_8_spanish.c_r_verb_suffix.c'
source_filename = "AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_UTF_8_spanish.c_r_verb_suffix.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@a_8 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @r_verb_suffix], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 2) i32 @r_verb_suffix(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !13
%5 = load i64, ptr %4, align 8, !tbaa !14
%6 = icmp slt i64 %2, %5
br i1 %6, label %47, label %7
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load i32, ptr %8, align 8, !tbaa !15
%10 = trunc i64 %5 to i32
store i32 %10, ptr %8, align 8, !tbaa !15
%11 = getelementptr inbounds i8, ptr %0, i64 24
store i64 %2, ptr %11, align 8, !tbaa !16
%12 = load i32, ptr @a_8, align 4, !tbaa !17
%13 = tail call i32 @find_among_b(ptr noundef nonnull %0, i32 noundef %12, i32 noundef 96) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %7
store i32 %9, ptr %8, align 8, !tbaa !15
br label %47
16: ; preds = %7
%17 = load i64, ptr %0, align 8, !tbaa !6
%18 = getelementptr inbounds i8, ptr %0, i64 32
store i64 %17, ptr %18, align 8, !tbaa !18
store i32 %9, ptr %8, align 8, !tbaa !15
switch i32 %13, label %46 [
i32 1, label %19
i32 2, label %43
]
19: ; preds = %16
%20 = sext i32 %9 to i64
%21 = icmp sgt i64 %17, %20
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = getelementptr inbounds i8, ptr %0, i64 48
%24 = load ptr, ptr %23, align 8, !tbaa !19
%25 = getelementptr i8, ptr %24, i64 %17
%26 = getelementptr i8, ptr %25, i64 -1
%27 = load i8, ptr %26, align 1, !tbaa !20
%28 = icmp eq i8 %27, 117
br i1 %28, label %29, label %37
29: ; preds = %22
%30 = add nsw i64 %17, -1
store i64 %30, ptr %0, align 8, !tbaa !6
%31 = icmp sgt i64 %30, %20
br i1 %31, label %32, label %37
32: ; preds = %29
%33 = getelementptr i8, ptr %25, i64 -2
%34 = load i8, ptr %33, align 1, !tbaa !20
%35 = icmp eq i8 %34, 103
%36 = select i1 %35, i64 %30, i64 %17
br label %37
37: ; preds = %32, %29, %19, %22
%38 = phi i64 [ %17, %22 ], [ %17, %19 ], [ %17, %29 ], [ %36, %32 ]
%39 = shl i64 %38, 32
%40 = ashr exact i64 %39, 32
store i64 %40, ptr %0, align 8, !tbaa !6
store i64 %40, ptr %18, align 8, !tbaa !18
%41 = tail call i32 @slice_del(ptr noundef nonnull %0) #2
%42 = icmp sgt i32 %41, -1
br i1 %42, label %46, label %47
43: ; preds = %16
%44 = tail call i32 @slice_del(ptr noundef nonnull %0) #2
%45 = icmp sgt i32 %44, -1
br i1 %45, label %46, label %47
46: ; preds = %43, %37, %16
br label %47
47: ; preds = %1, %15, %37, %43, %46
%48 = phi i32 [ 1, %46 ], [ %44, %43 ], [ %41, %37 ], [ 0, %15 ], [ 0, %1 ]
ret i32 %48
}
declare i32 @find_among_b(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @slice_del(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 = !{!"SN_env", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24, !8, i64 32, !12, i64 40, !11, i64 48}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !12, i64 16}
!16 = !{!7, !8, i64 24}
!17 = !{!12, !12, i64 0}
!18 = !{!7, !8, i64 32}
!19 = !{!7, !11, i64 48}
!20 = !{!9, !9, i64 0}
| postgres_src_backend_snowball_libstemmer_extr_stem_UTF_8_spanish.c_r_verb_suffix |
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_sata_sil24.c_sil24_error_handler.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_sata_sil24.c_sil24_error_handler.c"
target datalayout = "e-m:e-p270:32:32-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 @sil24_error_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sil24_error_handler(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i64 @sil24_init_port(ptr noundef nonnull %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @ata_eh_freeze_port(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %5, %1
%8 = tail call i32 @sata_pmp_error_handler(ptr noundef nonnull %0) #2
store i64 0, ptr %2, align 8, !tbaa !10
ret void
}
declare i64 @sil24_init_port(ptr noundef) local_unnamed_addr #1
declare i32 @ata_eh_freeze_port(ptr noundef) local_unnamed_addr #1
declare i32 @sata_pmp_error_handler(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 = !{!"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 = !{!"sil24_port_priv", !12, i64 0}
!12 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/ata/extr_sata_sil24.c_sil24_error_handler.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_sata_sil24.c_sil24_error_handler.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 @sil24_error_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sil24_error_handler(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i64 @sil24_init_port(ptr noundef nonnull %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @ata_eh_freeze_port(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %5, %1
%8 = tail call i32 @sata_pmp_error_handler(ptr noundef nonnull %0) #2
store i64 0, ptr %2, align 8, !tbaa !11
ret void
}
declare i64 @sil24_init_port(ptr noundef) local_unnamed_addr #1
declare i32 @ata_eh_freeze_port(ptr noundef) local_unnamed_addr #1
declare i32 @sata_pmp_error_handler(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 = !{!"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 = !{!"sil24_port_priv", !13, i64 0}
!13 = !{!"long", !9, i64 0}
| linux_drivers_ata_extr_sata_sil24.c_sil24_error_handler |
; ModuleID = 'AnghaBench/linux/net/wireless/extr_mlme.c_cfg80211_mlme_deauth.c'
source_filename = "AnghaBench/linux/net/wireless/extr_mlme.c_cfg80211_mlme_deauth.c"
target datalayout = "e-m:e-p270:32:32-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.cfg80211_deauth_request = type { i32, i32, ptr, i32, ptr }
%struct.wireless_dev = type { i64, ptr, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @cfg80211_mlme_deauth(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = alloca %struct.cfg80211_deauth_request, align 8
%9 = load ptr, ptr %1, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #3
store i32 %4, ptr %8, align 8, !tbaa !10
%10 = getelementptr inbounds %struct.cfg80211_deauth_request, ptr %8, i64 0, i32 1
store i32 %6, ptr %10, align 4, !tbaa !13
%11 = getelementptr inbounds %struct.cfg80211_deauth_request, ptr %8, i64 0, i32 2
store ptr %3, ptr %11, align 8, !tbaa !14
%12 = getelementptr inbounds %struct.cfg80211_deauth_request, ptr %8, i64 0, i32 3
store i32 %5, ptr %12, align 8, !tbaa !15
%13 = getelementptr inbounds %struct.cfg80211_deauth_request, ptr %8, i64 0, i32 4
store ptr %2, ptr %13, align 8, !tbaa !16
%14 = tail call i32 @ASSERT_WDEV_LOCK(ptr noundef %9) #3
%15 = icmp eq i32 %6, 0
br i1 %15, label %24, label %16
16: ; preds = %7
%17 = getelementptr inbounds %struct.wireless_dev, ptr %9, i64 0, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !17
%19 = icmp eq ptr %18, null
br i1 %19, label %40, label %20
20: ; preds = %16
%21 = load i32, ptr %18, align 4, !tbaa !20
%22 = tail call i64 @ether_addr_equal(i32 noundef %21, ptr noundef %2) #3
%23 = icmp eq i64 %22, 0
br i1 %23, label %40, label %24
24: ; preds = %20, %7
%25 = getelementptr inbounds %struct.wireless_dev, ptr %9, i64 0, i32 2
%26 = load i32, ptr %25, align 8, !tbaa !23
%27 = tail call i64 @ether_addr_equal(i32 noundef %26, ptr noundef %2) #3
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %37
29: ; preds = %24
%30 = getelementptr inbounds %struct.wireless_dev, ptr %9, i64 0, i32 1
%31 = load ptr, ptr %30, align 8, !tbaa !17
%32 = icmp eq ptr %31, null
br i1 %32, label %38, label %33
33: ; preds = %29
%34 = load i32, ptr %31, align 4, !tbaa !20
%35 = tail call i64 @ether_addr_equal(i32 noundef %34, ptr noundef %2) #3
%36 = icmp eq i64 %35, 0
br i1 %36, label %38, label %37
37: ; preds = %33, %24
store i64 0, ptr %9, align 8, !tbaa !24
br label %38
38: ; preds = %37, %33, %29
%39 = call i32 @rdev_deauth(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %8) #3
br label %40
40: ; preds = %16, %20, %38
%41 = phi i32 [ %39, %38 ], [ 0, %20 ], [ 0, %16 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #3
ret i32 %41
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ASSERT_WDEV_LOCK(ptr noundef) local_unnamed_addr #2
declare i64 @ether_addr_equal(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rdev_deauth(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"net_device", !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 = !{!"cfg80211_deauth_request", !12, i64 0, !12, i64 4, !7, i64 8, !12, i64 16, !7, i64 24}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 4}
!14 = !{!11, !7, i64 8}
!15 = !{!11, !12, i64 16}
!16 = !{!11, !7, i64 24}
!17 = !{!18, !7, i64 8}
!18 = !{!"wireless_dev", !19, i64 0, !7, i64 8, !12, i64 16}
!19 = !{!"long", !8, i64 0}
!20 = !{!21, !12, i64 0}
!21 = !{!"TYPE_4__", !22, i64 0}
!22 = !{!"TYPE_3__", !12, i64 0}
!23 = !{!18, !12, i64 16}
!24 = !{!18, !19, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/wireless/extr_mlme.c_cfg80211_mlme_deauth.c'
source_filename = "AnghaBench/linux/net/wireless/extr_mlme.c_cfg80211_mlme_deauth.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.cfg80211_deauth_request = type { i32, i32, ptr, i32, ptr }
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @cfg80211_mlme_deauth(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = alloca %struct.cfg80211_deauth_request, align 8
%9 = load ptr, ptr %1, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #3
store i32 %4, ptr %8, align 8, !tbaa !11
%10 = getelementptr inbounds i8, ptr %8, i64 4
store i32 %6, ptr %10, align 4, !tbaa !14
%11 = getelementptr inbounds i8, ptr %8, i64 8
store ptr %3, ptr %11, align 8, !tbaa !15
%12 = getelementptr inbounds i8, ptr %8, i64 16
store i32 %5, ptr %12, align 8, !tbaa !16
%13 = getelementptr inbounds i8, ptr %8, i64 24
store ptr %2, ptr %13, align 8, !tbaa !17
%14 = tail call i32 @ASSERT_WDEV_LOCK(ptr noundef %9) #3
%15 = icmp eq i32 %6, 0
br i1 %15, label %24, label %16
16: ; preds = %7
%17 = getelementptr inbounds i8, ptr %9, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !18
%19 = icmp eq ptr %18, null
br i1 %19, label %40, label %20
20: ; preds = %16
%21 = load i32, ptr %18, align 4, !tbaa !21
%22 = tail call i64 @ether_addr_equal(i32 noundef %21, ptr noundef %2) #3
%23 = icmp eq i64 %22, 0
br i1 %23, label %40, label %24
24: ; preds = %20, %7
%25 = getelementptr inbounds i8, ptr %9, i64 16
%26 = load i32, ptr %25, align 8, !tbaa !24
%27 = tail call i64 @ether_addr_equal(i32 noundef %26, ptr noundef %2) #3
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %37
29: ; preds = %24
%30 = getelementptr inbounds i8, ptr %9, i64 8
%31 = load ptr, ptr %30, align 8, !tbaa !18
%32 = icmp eq ptr %31, null
br i1 %32, label %38, label %33
33: ; preds = %29
%34 = load i32, ptr %31, align 4, !tbaa !21
%35 = tail call i64 @ether_addr_equal(i32 noundef %34, ptr noundef %2) #3
%36 = icmp eq i64 %35, 0
br i1 %36, label %38, label %37
37: ; preds = %33, %24
store i64 0, ptr %9, align 8, !tbaa !25
br label %38
38: ; preds = %37, %33, %29
%39 = call i32 @rdev_deauth(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %8) #3
br label %40
40: ; preds = %16, %20, %38
%41 = phi i32 [ %39, %38 ], [ 0, %20 ], [ 0, %16 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #3
ret i32 %41
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ASSERT_WDEV_LOCK(ptr noundef) local_unnamed_addr #2
declare i64 @ether_addr_equal(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rdev_deauth(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"net_device", !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 = !{!"cfg80211_deauth_request", !13, i64 0, !13, i64 4, !8, i64 8, !13, i64 16, !8, i64 24}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!12, !8, i64 8}
!16 = !{!12, !13, i64 16}
!17 = !{!12, !8, i64 24}
!18 = !{!19, !8, i64 8}
!19 = !{!"wireless_dev", !20, i64 0, !8, i64 8, !13, i64 16}
!20 = !{!"long", !9, i64 0}
!21 = !{!22, !13, i64 0}
!22 = !{!"TYPE_4__", !23, i64 0}
!23 = !{!"TYPE_3__", !13, i64 0}
!24 = !{!19, !13, i64 16}
!25 = !{!19, !20, i64 0}
| linux_net_wireless_extr_mlme.c_cfg80211_mlme_deauth |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/mi/extr_mi-getopt.c_mi_valid_noargs.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/mi/extr_mi-getopt.c_mi_valid_noargs.c"
target datalayout = "e-m:e-p270:32:32-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.mi_opt = type { i32 }
@mi_valid_noargs.opts = internal global [1 x %struct.mi_opt] zeroinitializer, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mi_valid_noargs(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = call i32 @mi_getopt(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef nonnull @mi_valid_noargs.opts, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%7 = icmp eq i32 %6, -1
%8 = zext i1 %7 to i32
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %8
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mi_getopt(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/mi/extr_mi-getopt.c_mi_valid_noargs.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/mi/extr_mi-getopt.c_mi_valid_noargs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mi_opt = type { i32 }
@mi_valid_noargs.opts = internal global [1 x %struct.mi_opt] zeroinitializer, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @mi_valid_noargs(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = call i32 @mi_getopt(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef nonnull @mi_valid_noargs.opts, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%7 = icmp eq i32 %6, -1
%8 = zext i1 %7 to i32
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %8
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mi_getopt(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gdb_gdb_mi_extr_mi-getopt.c_mi_valid_noargs |
; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_vfs.c_mac_vnode_check_deleteacl.c'
source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_vfs.c_mac_vnode_check_deleteacl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"mac_vnode_check_deleteacl\00", align 1
@vnode_check_deleteacl = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mac_vnode_check_deleteacl(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @ASSERT_VOP_LOCKED(ptr noundef %1, ptr noundef nonnull @.str) #2
%5 = load i32, ptr @vnode_check_deleteacl, align 4, !tbaa !5
%6 = load i32, ptr %1, align 4, !tbaa !9
%7 = tail call i32 @MAC_POLICY_CHECK(i32 noundef %5, ptr noundef %0, ptr noundef nonnull %1, i32 noundef %6, i32 noundef %2) #2
%8 = load i32, ptr @vnode_check_deleteacl, align 4, !tbaa !5
%9 = tail call i32 @MAC_CHECK_PROBE3(i32 noundef %8, i32 noundef undef, ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2) #2
ret i32 undef
}
declare i32 @ASSERT_VOP_LOCKED(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @MAC_POLICY_CHECK(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MAC_CHECK_PROBE3(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 = !{!"vnode", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_vfs.c_mac_vnode_check_deleteacl.c'
source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_vfs.c_mac_vnode_check_deleteacl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [26 x i8] c"mac_vnode_check_deleteacl\00", align 1
@vnode_check_deleteacl = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @mac_vnode_check_deleteacl(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @ASSERT_VOP_LOCKED(ptr noundef %1, ptr noundef nonnull @.str) #2
%5 = load i32, ptr @vnode_check_deleteacl, align 4, !tbaa !6
%6 = load i32, ptr %1, align 4, !tbaa !10
%7 = tail call i32 @MAC_POLICY_CHECK(i32 noundef %5, ptr noundef %0, ptr noundef nonnull %1, i32 noundef %6, i32 noundef %2) #2
%8 = load i32, ptr @vnode_check_deleteacl, align 4, !tbaa !6
%9 = tail call i32 @MAC_CHECK_PROBE3(i32 noundef %8, i32 noundef undef, ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2) #2
ret i32 undef
}
declare i32 @ASSERT_VOP_LOCKED(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @MAC_POLICY_CHECK(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MAC_CHECK_PROBE3(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!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 = !{!"vnode", !7, i64 0}
| freebsd_sys_security_mac_extr_mac_vfs.c_mac_vnode_check_deleteacl |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/emu10k1/extr_emu10k1_main.c_snd_emu10k1_voice_init.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/emu10k1/extr_emu10k1_main.c_snd_emu10k1_voice_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"
@DCYSUSV = dso_local local_unnamed_addr global i32 0, align 4
@IP = dso_local local_unnamed_addr global i32 0, align 4
@VTFT = dso_local local_unnamed_addr global i32 0, align 4
@CVCF = dso_local local_unnamed_addr global i32 0, align 4
@PTRX = dso_local local_unnamed_addr global i32 0, align 4
@CPF = dso_local local_unnamed_addr global i32 0, align 4
@CCR = dso_local local_unnamed_addr global i32 0, align 4
@PSST = dso_local local_unnamed_addr global i32 0, align 4
@DSL = dso_local local_unnamed_addr global i32 0, align 4
@CCCA = dso_local local_unnamed_addr global i32 0, align 4
@Z1 = dso_local local_unnamed_addr global i32 0, align 4
@Z2 = dso_local local_unnamed_addr global i32 0, align 4
@FXRT = dso_local local_unnamed_addr global i32 0, align 4
@ATKHLDM = dso_local local_unnamed_addr global i32 0, align 4
@DCYSUSM = dso_local local_unnamed_addr global i32 0, align 4
@IFATN = dso_local local_unnamed_addr global i32 0, align 4
@PEFE = dso_local local_unnamed_addr global i32 0, align 4
@FMMOD = dso_local local_unnamed_addr global i32 0, align 4
@TREMFRQ = dso_local local_unnamed_addr global i32 0, align 4
@FM2FRQ2 = dso_local local_unnamed_addr global i32 0, align 4
@TEMPENV = dso_local local_unnamed_addr global i32 0, align 4
@LFOVAL2 = dso_local local_unnamed_addr global i32 0, align 4
@LFOVAL1 = dso_local local_unnamed_addr global i32 0, align 4
@ATKHLDV = dso_local local_unnamed_addr global i32 0, align 4
@ENVVOL = dso_local local_unnamed_addr global i32 0, align 4
@ENVVAL = dso_local local_unnamed_addr global i32 0, align 4
@A_FXRT1 = dso_local local_unnamed_addr global i32 0, align 4
@A_FXRT2 = dso_local local_unnamed_addr global i32 0, align 4
@A_SENDAMOUNTS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @snd_emu10k1_voice_init(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @DCYSUSV, align 4, !tbaa !5
%4 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %3, i32 noundef %1, i32 noundef 0) #2
%5 = load i32, ptr @IP, align 4, !tbaa !5
%6 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %5, i32 noundef %1, i32 noundef 0) #2
%7 = load i32, ptr @VTFT, align 4, !tbaa !5
%8 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %7, i32 noundef %1, i32 noundef 65535) #2
%9 = load i32, ptr @CVCF, align 4, !tbaa !5
%10 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %9, i32 noundef %1, i32 noundef 65535) #2
%11 = load i32, ptr @PTRX, align 4, !tbaa !5
%12 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %11, i32 noundef %1, i32 noundef 0) #2
%13 = load i32, ptr @CPF, align 4, !tbaa !5
%14 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %13, i32 noundef %1, i32 noundef 0) #2
%15 = load i32, ptr @CCR, align 4, !tbaa !5
%16 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %15, i32 noundef %1, i32 noundef 0) #2
%17 = load i32, ptr @PSST, align 4, !tbaa !5
%18 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %17, i32 noundef %1, i32 noundef 0) #2
%19 = load i32, ptr @DSL, align 4, !tbaa !5
%20 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %19, i32 noundef %1, i32 noundef 16) #2
%21 = load i32, ptr @CCCA, align 4, !tbaa !5
%22 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %21, i32 noundef %1, i32 noundef 0) #2
%23 = load i32, ptr @Z1, align 4, !tbaa !5
%24 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %23, i32 noundef %1, i32 noundef 0) #2
%25 = load i32, ptr @Z2, align 4, !tbaa !5
%26 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %25, i32 noundef %1, i32 noundef 0) #2
%27 = load i32, ptr @FXRT, align 4, !tbaa !5
%28 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %27, i32 noundef %1, i32 noundef 839909376) #2
%29 = load i32, ptr @ATKHLDM, align 4, !tbaa !5
%30 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %29, i32 noundef %1, i32 noundef 0) #2
%31 = load i32, ptr @DCYSUSM, align 4, !tbaa !5
%32 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %31, i32 noundef %1, i32 noundef 0) #2
%33 = load i32, ptr @IFATN, align 4, !tbaa !5
%34 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %33, i32 noundef %1, i32 noundef 65535) #2
%35 = load i32, ptr @PEFE, align 4, !tbaa !5
%36 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %35, i32 noundef %1, i32 noundef 0) #2
%37 = load i32, ptr @FMMOD, align 4, !tbaa !5
%38 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %37, i32 noundef %1, i32 noundef 0) #2
%39 = load i32, ptr @TREMFRQ, align 4, !tbaa !5
%40 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %39, i32 noundef %1, i32 noundef 24) #2
%41 = load i32, ptr @FM2FRQ2, align 4, !tbaa !5
%42 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %41, i32 noundef %1, i32 noundef 24) #2
%43 = load i32, ptr @TEMPENV, align 4, !tbaa !5
%44 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %43, i32 noundef %1, i32 noundef 0) #2
%45 = load i32, ptr @LFOVAL2, align 4, !tbaa !5
%46 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %45, i32 noundef %1, i32 noundef 0) #2
%47 = load i32, ptr @LFOVAL1, align 4, !tbaa !5
%48 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %47, i32 noundef %1, i32 noundef 0) #2
%49 = load i32, ptr @ATKHLDV, align 4, !tbaa !5
%50 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %49, i32 noundef %1, i32 noundef 0) #2
%51 = load i32, ptr @ENVVOL, align 4, !tbaa !5
%52 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %51, i32 noundef %1, i32 noundef 0) #2
%53 = load i32, ptr @ENVVAL, align 4, !tbaa !5
%54 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %53, i32 noundef %1, i32 noundef 0) #2
%55 = load i64, ptr %0, align 8, !tbaa !9
%56 = icmp eq i64 %55, 0
br i1 %56, label %68, label %57
57: ; preds = %2
%58 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef 76, i32 noundef %1, i32 noundef 0) #2
%59 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef 77, i32 noundef %1, i32 noundef 0) #2
%60 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef 78, i32 noundef %1, i32 noundef 0) #2
%61 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef 79, i32 noundef %1, i32 noundef 0) #2
%62 = load i32, ptr @A_FXRT1, align 4, !tbaa !5
%63 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef %62, i32 noundef %1, i32 noundef 50462976) #2
%64 = load i32, ptr @A_FXRT2, align 4, !tbaa !5
%65 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef %64, i32 noundef %1, i32 noundef 1061109567) #2
%66 = load i32, ptr @A_SENDAMOUNTS, align 4, !tbaa !5
%67 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef %66, i32 noundef %1, i32 noundef 0) #2
br label %68
68: ; preds = %57, %2
ret void
}
declare i32 @snd_emu10k1_ptr_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"snd_emu10k1", !11, i64 0}
!11 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/emu10k1/extr_emu10k1_main.c_snd_emu10k1_voice_init.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/emu10k1/extr_emu10k1_main.c_snd_emu10k1_voice_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DCYSUSV = common local_unnamed_addr global i32 0, align 4
@IP = common local_unnamed_addr global i32 0, align 4
@VTFT = common local_unnamed_addr global i32 0, align 4
@CVCF = common local_unnamed_addr global i32 0, align 4
@PTRX = common local_unnamed_addr global i32 0, align 4
@CPF = common local_unnamed_addr global i32 0, align 4
@CCR = common local_unnamed_addr global i32 0, align 4
@PSST = common local_unnamed_addr global i32 0, align 4
@DSL = common local_unnamed_addr global i32 0, align 4
@CCCA = common local_unnamed_addr global i32 0, align 4
@Z1 = common local_unnamed_addr global i32 0, align 4
@Z2 = common local_unnamed_addr global i32 0, align 4
@FXRT = common local_unnamed_addr global i32 0, align 4
@ATKHLDM = common local_unnamed_addr global i32 0, align 4
@DCYSUSM = common local_unnamed_addr global i32 0, align 4
@IFATN = common local_unnamed_addr global i32 0, align 4
@PEFE = common local_unnamed_addr global i32 0, align 4
@FMMOD = common local_unnamed_addr global i32 0, align 4
@TREMFRQ = common local_unnamed_addr global i32 0, align 4
@FM2FRQ2 = common local_unnamed_addr global i32 0, align 4
@TEMPENV = common local_unnamed_addr global i32 0, align 4
@LFOVAL2 = common local_unnamed_addr global i32 0, align 4
@LFOVAL1 = common local_unnamed_addr global i32 0, align 4
@ATKHLDV = common local_unnamed_addr global i32 0, align 4
@ENVVOL = common local_unnamed_addr global i32 0, align 4
@ENVVAL = common local_unnamed_addr global i32 0, align 4
@A_FXRT1 = common local_unnamed_addr global i32 0, align 4
@A_FXRT2 = common local_unnamed_addr global i32 0, align 4
@A_SENDAMOUNTS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @snd_emu10k1_voice_init(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @DCYSUSV, align 4, !tbaa !6
%4 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %3, i32 noundef %1, i32 noundef 0) #2
%5 = load i32, ptr @IP, align 4, !tbaa !6
%6 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %5, i32 noundef %1, i32 noundef 0) #2
%7 = load i32, ptr @VTFT, align 4, !tbaa !6
%8 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %7, i32 noundef %1, i32 noundef 65535) #2
%9 = load i32, ptr @CVCF, align 4, !tbaa !6
%10 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %9, i32 noundef %1, i32 noundef 65535) #2
%11 = load i32, ptr @PTRX, align 4, !tbaa !6
%12 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %11, i32 noundef %1, i32 noundef 0) #2
%13 = load i32, ptr @CPF, align 4, !tbaa !6
%14 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %13, i32 noundef %1, i32 noundef 0) #2
%15 = load i32, ptr @CCR, align 4, !tbaa !6
%16 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %15, i32 noundef %1, i32 noundef 0) #2
%17 = load i32, ptr @PSST, align 4, !tbaa !6
%18 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %17, i32 noundef %1, i32 noundef 0) #2
%19 = load i32, ptr @DSL, align 4, !tbaa !6
%20 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %19, i32 noundef %1, i32 noundef 16) #2
%21 = load i32, ptr @CCCA, align 4, !tbaa !6
%22 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %21, i32 noundef %1, i32 noundef 0) #2
%23 = load i32, ptr @Z1, align 4, !tbaa !6
%24 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %23, i32 noundef %1, i32 noundef 0) #2
%25 = load i32, ptr @Z2, align 4, !tbaa !6
%26 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %25, i32 noundef %1, i32 noundef 0) #2
%27 = load i32, ptr @FXRT, align 4, !tbaa !6
%28 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %27, i32 noundef %1, i32 noundef 839909376) #2
%29 = load i32, ptr @ATKHLDM, align 4, !tbaa !6
%30 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %29, i32 noundef %1, i32 noundef 0) #2
%31 = load i32, ptr @DCYSUSM, align 4, !tbaa !6
%32 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %31, i32 noundef %1, i32 noundef 0) #2
%33 = load i32, ptr @IFATN, align 4, !tbaa !6
%34 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %33, i32 noundef %1, i32 noundef 65535) #2
%35 = load i32, ptr @PEFE, align 4, !tbaa !6
%36 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %35, i32 noundef %1, i32 noundef 0) #2
%37 = load i32, ptr @FMMOD, align 4, !tbaa !6
%38 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %37, i32 noundef %1, i32 noundef 0) #2
%39 = load i32, ptr @TREMFRQ, align 4, !tbaa !6
%40 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %39, i32 noundef %1, i32 noundef 24) #2
%41 = load i32, ptr @FM2FRQ2, align 4, !tbaa !6
%42 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %41, i32 noundef %1, i32 noundef 24) #2
%43 = load i32, ptr @TEMPENV, align 4, !tbaa !6
%44 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %43, i32 noundef %1, i32 noundef 0) #2
%45 = load i32, ptr @LFOVAL2, align 4, !tbaa !6
%46 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %45, i32 noundef %1, i32 noundef 0) #2
%47 = load i32, ptr @LFOVAL1, align 4, !tbaa !6
%48 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %47, i32 noundef %1, i32 noundef 0) #2
%49 = load i32, ptr @ATKHLDV, align 4, !tbaa !6
%50 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %49, i32 noundef %1, i32 noundef 0) #2
%51 = load i32, ptr @ENVVOL, align 4, !tbaa !6
%52 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %51, i32 noundef %1, i32 noundef 0) #2
%53 = load i32, ptr @ENVVAL, align 4, !tbaa !6
%54 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef %0, i32 noundef %53, i32 noundef %1, i32 noundef 0) #2
%55 = load i64, ptr %0, align 8, !tbaa !10
%56 = icmp eq i64 %55, 0
br i1 %56, label %68, label %57
57: ; preds = %2
%58 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef 76, i32 noundef %1, i32 noundef 0) #2
%59 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef 77, i32 noundef %1, i32 noundef 0) #2
%60 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef 78, i32 noundef %1, i32 noundef 0) #2
%61 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef 79, i32 noundef %1, i32 noundef 0) #2
%62 = load i32, ptr @A_FXRT1, align 4, !tbaa !6
%63 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef %62, i32 noundef %1, i32 noundef 50462976) #2
%64 = load i32, ptr @A_FXRT2, align 4, !tbaa !6
%65 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef %64, i32 noundef %1, i32 noundef 1061109567) #2
%66 = load i32, ptr @A_SENDAMOUNTS, align 4, !tbaa !6
%67 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i32 noundef %66, i32 noundef %1, i32 noundef 0) #2
br label %68
68: ; preds = %57, %2
ret void
}
declare i32 @snd_emu10k1_ptr_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"snd_emu10k1", !12, i64 0}
!12 = !{!"long", !8, i64 0}
| fastsocket_kernel_sound_pci_emu10k1_extr_emu10k1_main.c_snd_emu10k1_voice_init |
; ModuleID = 'AnghaBench/linux/sound/soc/samsung/extr_s3c24xx-i2s.c_s3c24xx_i2s_hw_params.c'
source_filename = "AnghaBench/linux/sound/soc/samsung/extr_s3c24xx-i2s.c_s3c24xx_i2s_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"
%struct.TYPE_2__ = type { i64 }
@s3c24xx_i2s = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@S3C2410_IISMOD = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [25 x i8] c"hw_params r: IISMOD: %x\0A\00", align 1
@S3C2410_IISMOD_16BIT = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"hw_params w: IISMOD: %x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @s3c24xx_i2s_hw_params], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @s3c24xx_i2s_hw_params(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @snd_soc_dai_get_dma_data(ptr noundef %2, ptr noundef %0) #2
%5 = load i64, ptr @s3c24xx_i2s, align 8, !tbaa !5
%6 = load i64, ptr @S3C2410_IISMOD, align 8, !tbaa !10
%7 = add nsw i64 %6, %5
%8 = tail call i32 @readl(i64 noundef %7) #2
%9 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %8) #2
%10 = tail call i32 @params_width(ptr noundef %1) #2
switch i32 %10, label %18 [
i32 8, label %11
i32 16, label %15
]
11: ; preds = %3
%12 = load i32, ptr @S3C2410_IISMOD_16BIT, align 4, !tbaa !11
%13 = xor i32 %12, -1
%14 = and i32 %8, %13
br label %21
15: ; preds = %3
%16 = load i32, ptr @S3C2410_IISMOD_16BIT, align 4, !tbaa !11
%17 = or i32 %16, %8
br label %21
18: ; preds = %3
%19 = load i32, ptr @EINVAL, align 4, !tbaa !11
%20 = sub nsw i32 0, %19
br label %29
21: ; preds = %15, %11
%22 = phi i32 [ 2, %15 ], [ 1, %11 ]
%23 = phi i32 [ %17, %15 ], [ %14, %11 ]
store i32 %22, ptr %4, align 4, !tbaa !13
%24 = load i64, ptr @s3c24xx_i2s, align 8, !tbaa !5
%25 = load i64, ptr @S3C2410_IISMOD, align 8, !tbaa !10
%26 = add nsw i64 %25, %24
%27 = tail call i32 @writel(i32 noundef %23, i64 noundef %26) #2
%28 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, i32 noundef %23) #2
br label %29
29: ; preds = %21, %18
%30 = phi i32 [ %20, %18 ], [ 0, %21 ]
ret i32 %30
}
declare ptr @snd_soc_dai_get_dma_data(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @readl(i64 noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @params_width(ptr noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"snd_dmaengine_dai_dma_data", !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/soc/samsung/extr_s3c24xx-i2s.c_s3c24xx_i2s_hw_params.c'
source_filename = "AnghaBench/linux/sound/soc/samsung/extr_s3c24xx-i2s.c_s3c24xx_i2s_hw_params.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 }
@s3c24xx_i2s = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@S3C2410_IISMOD = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [25 x i8] c"hw_params r: IISMOD: %x\0A\00", align 1
@S3C2410_IISMOD_16BIT = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"hw_params w: IISMOD: %x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @s3c24xx_i2s_hw_params], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @s3c24xx_i2s_hw_params(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @snd_soc_dai_get_dma_data(ptr noundef %2, ptr noundef %0) #2
%5 = load i64, ptr @s3c24xx_i2s, align 8, !tbaa !6
%6 = load i64, ptr @S3C2410_IISMOD, align 8, !tbaa !11
%7 = add nsw i64 %6, %5
%8 = tail call i32 @readl(i64 noundef %7) #2
%9 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %8) #2
%10 = tail call i32 @params_width(ptr noundef %1) #2
switch i32 %10, label %18 [
i32 8, label %11
i32 16, label %15
]
11: ; preds = %3
%12 = load i32, ptr @S3C2410_IISMOD_16BIT, align 4, !tbaa !12
%13 = xor i32 %12, -1
%14 = and i32 %8, %13
br label %21
15: ; preds = %3
%16 = load i32, ptr @S3C2410_IISMOD_16BIT, align 4, !tbaa !12
%17 = or i32 %16, %8
br label %21
18: ; preds = %3
%19 = load i32, ptr @EINVAL, align 4, !tbaa !12
%20 = sub nsw i32 0, %19
br label %29
21: ; preds = %15, %11
%22 = phi i32 [ 2, %15 ], [ 1, %11 ]
%23 = phi i32 [ %17, %15 ], [ %14, %11 ]
store i32 %22, ptr %4, align 4, !tbaa !14
%24 = load i64, ptr @s3c24xx_i2s, align 8, !tbaa !6
%25 = load i64, ptr @S3C2410_IISMOD, align 8, !tbaa !11
%26 = add nsw i64 %25, %24
%27 = tail call i32 @writel(i32 noundef %23, i64 noundef %26) #2
%28 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, i32 noundef %23) #2
br label %29
29: ; preds = %21, %18
%30 = phi i32 [ %20, %18 ], [ 0, %21 ]
ret i32 %30
}
declare ptr @snd_soc_dai_get_dma_data(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @readl(i64 noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @params_width(ptr noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"snd_dmaengine_dai_dma_data", !13, i64 0}
| linux_sound_soc_samsung_extr_s3c24xx-i2s.c_s3c24xx_i2s_hw_params |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_fs-loader.c_svn_fs_root_fs.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_fs-loader.c_svn_fs_root_fs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local ptr @svn_fs_root_fs(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_fs-loader.c_svn_fs_root_fs.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_fs-loader.c_svn_fs_root_fs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define ptr @svn_fs_root_fs(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_subversion_subversion_libsvn_fs_extr_fs-loader.c_svn_fs_root_fs |
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/ir/extr_..kselftest.h_ksft_exit_xpass.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/ir/extr_..kselftest.h_ksft_exit_xpass.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@KSFT_XPASS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ksft_exit_xpass], section "llvm.metadata"
; Function Attrs: inlinehint noreturn nounwind uwtable
define internal noundef i32 @ksft_exit_xpass() #0 {
%1 = tail call i32 (...) @ksft_print_cnts() #3
%2 = load i32, ptr @KSFT_XPASS, align 4, !tbaa !5
%3 = tail call i32 @exit(i32 noundef %2) #4
unreachable
}
declare i32 @ksft_print_cnts(...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { inlinehint 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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/tools/testing/selftests/ir/extr_..kselftest.h_ksft_exit_xpass.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/ir/extr_..kselftest.h_ksft_exit_xpass.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KSFT_XPASS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ksft_exit_xpass], section "llvm.metadata"
; Function Attrs: inlinehint noreturn nounwind ssp uwtable(sync)
define internal noundef i32 @ksft_exit_xpass() #0 {
%1 = tail call i32 @ksft_print_cnts() #3
%2 = load i32, ptr @KSFT_XPASS, align 4, !tbaa !6
%3 = tail call i32 @exit(i32 noundef %2) #4
unreachable
}
declare i32 @ksft_print_cnts(...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { inlinehint 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 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_tools_testing_selftests_ir_extr_..kselftest.h_ksft_exit_xpass |
; ModuleID = 'AnghaBench/linux/arch/s390/kernel/extr_ipl.c_do_panic.c'
source_filename = "AnghaBench/linux/arch/s390/kernel/extr_ipl.c_do_panic.c"
target datalayout = "e-m:e-p270:32:32-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 { ptr }
@on_panic_trigger = dso_local global %struct.TYPE_6__ zeroinitializer, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_panic], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @do_panic() #0 {
%1 = tail call i32 (...) @lgr_info_log() #2
%2 = load ptr, ptr @on_panic_trigger, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = tail call i32 %3(ptr noundef nonnull @on_panic_trigger) #2
%5 = tail call i32 @stop_run(ptr noundef nonnull @on_panic_trigger) #2
ret void
}
declare i32 @lgr_info_log(...) local_unnamed_addr #1
declare i32 @stop_run(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/s390/kernel/extr_ipl.c_do_panic.c'
source_filename = "AnghaBench/linux/arch/s390/kernel/extr_ipl.c_do_panic.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { ptr }
@on_panic_trigger = common global %struct.TYPE_6__ zeroinitializer, align 8
@llvm.used = appending global [1 x ptr] [ptr @do_panic], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @do_panic() #0 {
%1 = tail call i32 @lgr_info_log() #2
%2 = load ptr, ptr @on_panic_trigger, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = tail call i32 %3(ptr noundef nonnull @on_panic_trigger) #2
%5 = tail call i32 @stop_run(ptr noundef nonnull @on_panic_trigger) #2
ret void
}
declare i32 @lgr_info_log(...) local_unnamed_addr #1
declare i32 @stop_run(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_5__", !8, i64 0}
| linux_arch_s390_kernel_extr_ipl.c_do_panic |
; ModuleID = 'AnghaBench/systemd/src/resolve/extr_resolved-dns-transaction.c_dns_transaction_emit_udp.c'
source_filename = "AnghaBench/systemd/src/resolve/extr_resolved-dns-transaction.c_dns_transaction_emit_udp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_14__ = type { i64, i64, i32, ptr, i32, i32, ptr }
%struct.TYPE_15__ = type { i64, ptr }
@DNS_PROTOCOL_DNS = dso_local local_unnamed_addr global i64 0, align 8
@DNS_SERVER_FEATURE_LEVEL_UDP = dso_local local_unnamed_addr global i64 0, align 8
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@EPOLLIN = dso_local local_unnamed_addr global i32 0, align 4
@on_dns_packet = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"dns-transaction-udp\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dns_transaction_emit_udp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dns_transaction_emit_udp(ptr noundef %0) #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = load i64, ptr @DNS_PROTOCOL_DNS, align 8, !tbaa !14
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %71
8: ; preds = %1
%9 = tail call i32 @dns_transaction_pick_server(ptr noundef nonnull %0) #2
%10 = icmp slt i32 %9, 0
br i1 %10, label %84, label %11
11: ; preds = %8
%12 = load i64, ptr %0, align 8, !tbaa !15
%13 = load i64, ptr @DNS_SERVER_FEATURE_LEVEL_UDP, align 8, !tbaa !14
%14 = icmp slt i64 %12, %13
br i1 %14, label %18, label %15
15: ; preds = %11
%16 = tail call i64 @DNS_SERVER_FEATURE_LEVEL_IS_TLS(i64 noundef %12) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %15, %11
%19 = load i32, ptr @EAGAIN, align 4, !tbaa !16
%20 = sub nsw i32 0, %19
br label %84
21: ; preds = %15
%22 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 4
%23 = load i32, ptr %22, align 8, !tbaa !17
%24 = tail call i32 @dns_server_dnssec_supported(i32 noundef %23) #2
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %35
26: ; preds = %21
%27 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 6
%28 = load ptr, ptr %27, align 8, !tbaa !18
%29 = load i32, ptr %28, align 4, !tbaa !19
%30 = tail call i64 @dns_type_is_dnssec(i32 noundef %29) #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %35, label %32
32: ; preds = %26
%33 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !16
%34 = sub nsw i32 0, %33
br label %84
35: ; preds = %26, %21
%36 = icmp eq i32 %9, 0
br i1 %36, label %37, label %41
37: ; preds = %35
%38 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1
%39 = load i64, ptr %38, align 8, !tbaa !21
%40 = icmp slt i64 %39, 0
br i1 %40, label %41, label %64
41: ; preds = %37, %35
%42 = tail call i32 @dns_transaction_close_connection(ptr noundef nonnull %0) #2
%43 = load ptr, ptr %3, align 8, !tbaa !5
%44 = load i32, ptr %22, align 8, !tbaa !17
%45 = tail call i32 @dns_scope_socket_udp(ptr noundef %43, i32 noundef %44, i32 noundef 53) #2
%46 = icmp slt i32 %45, 0
br i1 %46, label %84, label %47
47: ; preds = %41
%48 = load ptr, ptr %3, align 8, !tbaa !5
%49 = getelementptr inbounds %struct.TYPE_15__, ptr %48, i64 0, i32 1
%50 = load ptr, ptr %49, align 8, !tbaa !22
%51 = load i32, ptr %50, align 4, !tbaa !23
%52 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 5
%53 = load i32, ptr @EPOLLIN, align 4, !tbaa !16
%54 = load i32, ptr @on_dns_packet, align 4, !tbaa !16
%55 = tail call i32 @sd_event_add_io(i32 noundef %51, ptr noundef nonnull %52, i32 noundef %45, i32 noundef %53, i32 noundef %54, ptr noundef nonnull %0) #2
%56 = icmp slt i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %47
%58 = tail call i32 @safe_close(i32 noundef %45) #2
br label %84
59: ; preds = %47
%60 = load i32, ptr %52, align 4, !tbaa !25
%61 = tail call i32 @sd_event_source_set_description(i32 noundef %60, ptr noundef nonnull @.str) #2
%62 = zext nneg i32 %45 to i64
%63 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1
store i64 %62, ptr %63, align 8, !tbaa !21
br label %64
64: ; preds = %59, %37
%65 = load i32, ptr %22, align 8, !tbaa !17
%66 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 2
%67 = load i32, ptr %66, align 8, !tbaa !26
%68 = load i64, ptr %0, align 8, !tbaa !15
%69 = tail call i32 @dns_server_adjust_opt(i32 noundef %65, i32 noundef %67, i64 noundef %68) #2
%70 = icmp slt i32 %69, 0
br i1 %70, label %84, label %73
71: ; preds = %1
%72 = tail call i32 @dns_transaction_close_connection(ptr noundef nonnull %0) #2
br label %73
73: ; preds = %64, %71
%74 = load ptr, ptr %3, align 8, !tbaa !5
%75 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1
%76 = load i64, ptr %75, align 8, !tbaa !21
%77 = trunc i64 %76 to i32
%78 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 2
%79 = load i32, ptr %78, align 8, !tbaa !26
%80 = tail call i32 @dns_scope_emit_udp(ptr noundef %74, i32 noundef %77, i32 noundef %79) #2
%81 = icmp slt i32 %80, 0
br i1 %81, label %84, label %82
82: ; preds = %73
%83 = tail call i32 @dns_transaction_reset_answer(ptr noundef nonnull %0) #2
br label %84
84: ; preds = %41, %57, %73, %64, %8, %82, %32, %18
%85 = phi i32 [ %20, %18 ], [ 0, %82 ], [ %34, %32 ], [ %9, %8 ], [ %69, %64 ], [ %80, %73 ], [ %45, %41 ], [ %55, %57 ]
ret i32 %85
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @dns_transaction_pick_server(ptr noundef) local_unnamed_addr #1
declare i64 @DNS_SERVER_FEATURE_LEVEL_IS_TLS(i64 noundef) local_unnamed_addr #1
declare i32 @dns_server_dnssec_supported(i32 noundef) local_unnamed_addr #1
declare i64 @dns_type_is_dnssec(i32 noundef) local_unnamed_addr #1
declare i32 @dns_transaction_close_connection(ptr noundef) local_unnamed_addr #1
declare i32 @dns_scope_socket_udp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sd_event_add_io(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @safe_close(i32 noundef) local_unnamed_addr #1
declare i32 @sd_event_source_set_description(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dns_server_adjust_opt(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dns_scope_emit_udp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dns_transaction_reset_answer(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 24}
!6 = !{!"TYPE_14__", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !10, i64 32, !10, i64 36, !11, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_15__", !7, i64 0, !11, i64 8}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!10, !10, i64 0}
!17 = !{!6, !10, i64 32}
!18 = !{!6, !11, i64 40}
!19 = !{!20, !10, i64 0}
!20 = !{!"TYPE_12__", !10, i64 0}
!21 = !{!6, !7, i64 8}
!22 = !{!13, !11, i64 8}
!23 = !{!24, !10, i64 0}
!24 = !{!"TYPE_13__", !10, i64 0}
!25 = !{!6, !10, i64 36}
!26 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/systemd/src/resolve/extr_resolved-dns-transaction.c_dns_transaction_emit_udp.c'
source_filename = "AnghaBench/systemd/src/resolve/extr_resolved-dns-transaction.c_dns_transaction_emit_udp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DNS_PROTOCOL_DNS = common local_unnamed_addr global i64 0, align 8
@DNS_SERVER_FEATURE_LEVEL_UDP = common local_unnamed_addr global i64 0, align 8
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@EPOLLIN = common local_unnamed_addr global i32 0, align 4
@on_dns_packet = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"dns-transaction-udp\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dns_transaction_emit_udp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dns_transaction_emit_udp(ptr noundef %0) #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %0, i64 24
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = load i64, ptr @DNS_PROTOCOL_DNS, align 8, !tbaa !15
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %71
8: ; preds = %1
%9 = tail call i32 @dns_transaction_pick_server(ptr noundef nonnull %0) #2
%10 = icmp slt i32 %9, 0
br i1 %10, label %84, label %11
11: ; preds = %8
%12 = load i64, ptr %0, align 8, !tbaa !16
%13 = load i64, ptr @DNS_SERVER_FEATURE_LEVEL_UDP, align 8, !tbaa !15
%14 = icmp slt i64 %12, %13
br i1 %14, label %18, label %15
15: ; preds = %11
%16 = tail call i64 @DNS_SERVER_FEATURE_LEVEL_IS_TLS(i64 noundef %12) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %15, %11
%19 = load i32, ptr @EAGAIN, align 4, !tbaa !17
%20 = sub nsw i32 0, %19
br label %84
21: ; preds = %15
%22 = getelementptr inbounds i8, ptr %0, i64 32
%23 = load i32, ptr %22, align 8, !tbaa !18
%24 = tail call i32 @dns_server_dnssec_supported(i32 noundef %23) #2
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %35
26: ; preds = %21
%27 = getelementptr inbounds i8, ptr %0, i64 40
%28 = load ptr, ptr %27, align 8, !tbaa !19
%29 = load i32, ptr %28, align 4, !tbaa !20
%30 = tail call i64 @dns_type_is_dnssec(i32 noundef %29) #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %35, label %32
32: ; preds = %26
%33 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !17
%34 = sub nsw i32 0, %33
br label %84
35: ; preds = %26, %21
%36 = icmp eq i32 %9, 0
br i1 %36, label %37, label %41
37: ; preds = %35
%38 = getelementptr inbounds i8, ptr %0, i64 8
%39 = load i64, ptr %38, align 8, !tbaa !22
%40 = icmp slt i64 %39, 0
br i1 %40, label %41, label %64
41: ; preds = %37, %35
%42 = tail call i32 @dns_transaction_close_connection(ptr noundef nonnull %0) #2
%43 = load ptr, ptr %3, align 8, !tbaa !6
%44 = load i32, ptr %22, align 8, !tbaa !18
%45 = tail call i32 @dns_scope_socket_udp(ptr noundef %43, i32 noundef %44, i32 noundef 53) #2
%46 = icmp slt i32 %45, 0
br i1 %46, label %84, label %47
47: ; preds = %41
%48 = load ptr, ptr %3, align 8, !tbaa !6
%49 = getelementptr inbounds i8, ptr %48, i64 8
%50 = load ptr, ptr %49, align 8, !tbaa !23
%51 = load i32, ptr %50, align 4, !tbaa !24
%52 = getelementptr inbounds i8, ptr %0, i64 36
%53 = load i32, ptr @EPOLLIN, align 4, !tbaa !17
%54 = load i32, ptr @on_dns_packet, align 4, !tbaa !17
%55 = tail call i32 @sd_event_add_io(i32 noundef %51, ptr noundef nonnull %52, i32 noundef %45, i32 noundef %53, i32 noundef %54, ptr noundef nonnull %0) #2
%56 = icmp slt i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %47
%58 = tail call i32 @safe_close(i32 noundef %45) #2
br label %84
59: ; preds = %47
%60 = load i32, ptr %52, align 4, !tbaa !26
%61 = tail call i32 @sd_event_source_set_description(i32 noundef %60, ptr noundef nonnull @.str) #2
%62 = zext nneg i32 %45 to i64
%63 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %62, ptr %63, align 8, !tbaa !22
br label %64
64: ; preds = %59, %37
%65 = load i32, ptr %22, align 8, !tbaa !18
%66 = getelementptr inbounds i8, ptr %0, i64 16
%67 = load i32, ptr %66, align 8, !tbaa !27
%68 = load i64, ptr %0, align 8, !tbaa !16
%69 = tail call i32 @dns_server_adjust_opt(i32 noundef %65, i32 noundef %67, i64 noundef %68) #2
%70 = icmp slt i32 %69, 0
br i1 %70, label %84, label %73
71: ; preds = %1
%72 = tail call i32 @dns_transaction_close_connection(ptr noundef nonnull %0) #2
br label %73
73: ; preds = %64, %71
%74 = load ptr, ptr %3, align 8, !tbaa !6
%75 = getelementptr inbounds i8, ptr %0, i64 8
%76 = load i64, ptr %75, align 8, !tbaa !22
%77 = trunc i64 %76 to i32
%78 = getelementptr inbounds i8, ptr %0, i64 16
%79 = load i32, ptr %78, align 8, !tbaa !27
%80 = tail call i32 @dns_scope_emit_udp(ptr noundef %74, i32 noundef %77, i32 noundef %79) #2
%81 = icmp slt i32 %80, 0
br i1 %81, label %84, label %82
82: ; preds = %73
%83 = tail call i32 @dns_transaction_reset_answer(ptr noundef nonnull %0) #2
br label %84
84: ; preds = %41, %57, %73, %64, %8, %82, %32, %18
%85 = phi i32 [ %20, %18 ], [ 0, %82 ], [ %34, %32 ], [ %9, %8 ], [ %69, %64 ], [ %80, %73 ], [ %45, %41 ], [ %55, %57 ]
ret i32 %85
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @dns_transaction_pick_server(ptr noundef) local_unnamed_addr #1
declare i64 @DNS_SERVER_FEATURE_LEVEL_IS_TLS(i64 noundef) local_unnamed_addr #1
declare i32 @dns_server_dnssec_supported(i32 noundef) local_unnamed_addr #1
declare i64 @dns_type_is_dnssec(i32 noundef) local_unnamed_addr #1
declare i32 @dns_transaction_close_connection(ptr noundef) local_unnamed_addr #1
declare i32 @dns_scope_socket_udp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sd_event_add_io(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @safe_close(i32 noundef) local_unnamed_addr #1
declare i32 @sd_event_source_set_description(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dns_server_adjust_opt(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dns_scope_emit_udp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dns_transaction_reset_answer(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 24}
!7 = !{!"TYPE_14__", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 24, !11, i64 32, !11, i64 36, !12, i64 40}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_15__", !8, i64 0, !12, i64 8}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!7, !11, i64 32}
!19 = !{!7, !12, i64 40}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_12__", !11, i64 0}
!22 = !{!7, !8, i64 8}
!23 = !{!14, !12, i64 8}
!24 = !{!25, !11, i64 0}
!25 = !{!"TYPE_13__", !11, i64 0}
!26 = !{!7, !11, i64 36}
!27 = !{!7, !11, i64 16}
| systemd_src_resolve_extr_resolved-dns-transaction.c_dns_transaction_emit_udp |
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-block_decoder.c_set_image_null.c'
source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-block_decoder.c_set_image_null.c"
target datalayout = "e-m:e-p270:32:32-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.pt_image = type { i32 }
@pte_invalid = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_image_null], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @set_image_null() #0 {
%1 = alloca %struct.pt_image, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%2 = call i32 @pt_blk_set_image(ptr noundef null, ptr noundef nonnull %1) #3
%3 = load i32, ptr @pte_invalid, align 4, !tbaa !5
%4 = sub nsw i32 0, %3
%5 = call i32 @ptu_int_eq(i32 noundef %2, i32 noundef %4) #3
%6 = call i32 @pt_blk_set_image(ptr noundef null, ptr noundef null) #3
%7 = load i32, ptr @pte_invalid, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
%9 = call i32 @ptu_int_eq(i32 noundef %6, i32 noundef %8) #3
%10 = call i32 (...) @ptu_passed() #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret i32 %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pt_blk_set_image(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ptu_int_eq(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ptu_passed(...) 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/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-block_decoder.c_set_image_null.c'
source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-block_decoder.c_set_image_null.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pt_image = type { i32 }
@pte_invalid = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @set_image_null], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @set_image_null() #0 {
%1 = alloca %struct.pt_image, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%2 = call i32 @pt_blk_set_image(ptr noundef null, ptr noundef nonnull %1) #3
%3 = load i32, ptr @pte_invalid, align 4, !tbaa !6
%4 = sub nsw i32 0, %3
%5 = call i32 @ptu_int_eq(i32 noundef %2, i32 noundef %4) #3
%6 = call i32 @pt_blk_set_image(ptr noundef null, ptr noundef null) #3
%7 = load i32, ptr @pte_invalid, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
%9 = call i32 @ptu_int_eq(i32 noundef %6, i32 noundef %8) #3
%10 = call i32 @ptu_passed() #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret i32 %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pt_blk_set_image(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ptu_int_eq(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ptu_passed(...) 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"}
| freebsd_contrib_processor-trace_libipt_test_src_extr_ptunit-block_decoder.c_set_image_null |
; ModuleID = 'AnghaBench/linux/sound/soc/extr_soc-component.c_snd_soc_component_set_jack.c'
source_filename = "AnghaBench/linux/sound/soc/extr_soc-component.c_snd_soc_component_set_jack.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @snd_soc_component_set_jack(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 %5(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #1
br label %12
9: ; preds = %3
%10 = load i32, ptr @ENOTSUPP, align 4, !tbaa !12
%11 = sub nsw i32 0, %10
br label %12
12: ; preds = %9, %7
%13 = phi i32 [ %8, %7 ], [ %11, %9 ]
ret i32 %13
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"snd_soc_component", !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}
| ; ModuleID = 'AnghaBench/linux/sound/soc/extr_soc-component.c_snd_soc_component_set_jack.c'
source_filename = "AnghaBench/linux/sound/soc/extr_soc-component.c_snd_soc_component_set_jack.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOTSUPP = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @snd_soc_component_set_jack(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 %5(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #1
br label %12
9: ; preds = %3
%10 = load i32, ptr @ENOTSUPP, align 4, !tbaa !13
%11 = sub nsw i32 0, %10
br label %12
12: ; preds = %9, %7
%13 = phi i32 [ %8, %7 ], [ %11, %9 ]
ret i32 %13
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"snd_soc_component", !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}
| linux_sound_soc_extr_soc-component.c_snd_soc_component_set_jack |
; ModuleID = 'AnghaBench/masscan/src/extr_out-certs.c_cert_out_close.c'
source_filename = "AnghaBench/masscan/src/extr_out-certs.c_cert_out_close.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"{finished: 1}\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cert_out_close], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cert_out_close(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @UNUSEDPARM(ptr noundef %0) #2
%4 = tail call i32 @fprintf(ptr noundef %1, ptr noundef nonnull @.str) #2
ret void
}
declare i32 @UNUSEDPARM(ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/masscan/src/extr_out-certs.c_cert_out_close.c'
source_filename = "AnghaBench/masscan/src/extr_out-certs.c_cert_out_close.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 [15 x i8] c"{finished: 1}\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cert_out_close], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cert_out_close(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @UNUSEDPARM(ptr noundef %0) #2
%4 = tail call i32 @fprintf(ptr noundef %1, ptr noundef nonnull @.str) #2
ret void
}
declare i32 @UNUSEDPARM(ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(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)"}
| masscan_src_extr_out-certs.c_cert_out_close |
; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_singlestep.c'
source_filename = "AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_singlestep.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, %struct.TYPE_5__, i32, i32 }
%struct.TYPE_5__ = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @singlestep], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @singlestep(ptr noundef %0) #0 {
%2 = tail call ptr @G(ptr noundef %0) #2
%3 = load i32, ptr %2, align 8, !tbaa !5
switch i32 %3, label %65 [
i32 0, label %4
i32 1, label %6
i32 2, label %14
i32 3, label %36
i32 4, label %52
]
4: ; preds = %1
%5 = tail call i32 @markroot(ptr noundef %0) #2
br label %65
6: ; preds = %1
%7 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 8
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %6
%11 = tail call i32 @propagatemark(ptr noundef nonnull %2) #2
br label %65
12: ; preds = %6
%13 = tail call i32 @atomic(ptr noundef %0) #2
br label %65
14: ; preds = %1
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 6
%18 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 6, i32 1
%19 = load ptr, ptr %18, align 8, !tbaa !14
%20 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 7
%21 = load i32, ptr %20, align 8, !tbaa !15
%22 = add nsw i32 %21, 1
store i32 %22, ptr %20, align 8, !tbaa !15
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds i32, ptr %19, i64 %23
%25 = tail call i32 @sweepwholelist(ptr noundef %0, ptr noundef %24) #2
%26 = load i32, ptr %20, align 8, !tbaa !15
%27 = load i32, ptr %17, align 8, !tbaa !16
%28 = icmp slt i32 %26, %27
br i1 %28, label %30, label %29
29: ; preds = %14
store i32 3, ptr %2, align 8, !tbaa !5
br label %30
30: ; preds = %29, %14
%31 = load i32, ptr %15, align 4, !tbaa !13
%32 = sub i32 %31, %16
%33 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 2
%34 = load i32, ptr %33, align 8, !tbaa !17
%35 = add i32 %32, %34
store i32 %35, ptr %33, align 8, !tbaa !17
br label %65
36: ; preds = %1
%37 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 1
%38 = load i32, ptr %37, align 4, !tbaa !13
%39 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 5
%40 = load ptr, ptr %39, align 8, !tbaa !18
%41 = tail call ptr @sweeplist(ptr noundef %0, ptr noundef %40, i32 noundef 40) #2
store ptr %41, ptr %39, align 8, !tbaa !18
%42 = load ptr, ptr %41, align 8, !tbaa !19
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %46
44: ; preds = %36
%45 = tail call i32 @checkSizes(ptr noundef %0) #2
store i32 4, ptr %2, align 8, !tbaa !5
br label %46
46: ; preds = %44, %36
%47 = load i32, ptr %37, align 4, !tbaa !13
%48 = sub i32 %47, %38
%49 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 2
%50 = load i32, ptr %49, align 8, !tbaa !17
%51 = add i32 %48, %50
store i32 %51, ptr %49, align 8, !tbaa !17
br label %65
52: ; preds = %1
%53 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 4
%54 = load i32, ptr %53, align 8, !tbaa !20
%55 = icmp eq i32 %54, 0
br i1 %55, label %63, label %56
56: ; preds = %52
%57 = tail call i32 @GCTM(ptr noundef %0) #2
%58 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 2
%59 = load i32, ptr %58, align 8, !tbaa !17
%60 = icmp sgt i32 %59, 100
br i1 %60, label %61, label %65
61: ; preds = %56
%62 = add nsw i32 %59, -100
store i32 %62, ptr %58, align 8, !tbaa !17
br label %65
63: ; preds = %52
store i32 0, ptr %2, align 8, !tbaa !5
%64 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 3
store i32 0, ptr %64, align 4, !tbaa !21
br label %65
65: ; preds = %1, %56, %61, %63, %46, %30, %12, %10, %4
%66 = phi i32 [ 0, %63 ], [ 400, %46 ], [ 10, %30 ], [ %11, %10 ], [ 0, %12 ], [ 0, %4 ], [ 100, %61 ], [ 100, %56 ], [ 0, %1 ]
ret i32 %66
}
declare ptr @G(ptr noundef) local_unnamed_addr #1
declare i32 @markroot(ptr noundef) local_unnamed_addr #1
declare i32 @propagatemark(ptr noundef) local_unnamed_addr #1
declare i32 @atomic(ptr noundef) local_unnamed_addr #1
declare i32 @sweepwholelist(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @sweeplist(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @checkSizes(ptr noundef) local_unnamed_addr #1
declare i32 @GCTM(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !11, i64 32, !7, i64 48, !7, i64 52}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0, !10, i64 8}
!12 = !{!6, !7, i64 52}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !10, i64 40}
!15 = !{!6, !7, i64 48}
!16 = !{!6, !7, i64 32}
!17 = !{!6, !7, i64 8}
!18 = !{!6, !10, i64 24}
!19 = !{!10, !10, i64 0}
!20 = !{!6, !7, i64 16}
!21 = !{!6, !7, i64 12}
| ; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_singlestep.c'
source_filename = "AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_singlestep.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 @singlestep], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @singlestep(ptr noundef %0) #0 {
%2 = tail call ptr @G(ptr noundef %0) #2
%3 = load i32, ptr %2, align 8, !tbaa !6
switch i32 %3, label %65 [
i32 0, label %4
i32 1, label %6
i32 2, label %14
i32 3, label %36
i32 4, label %52
]
4: ; preds = %1
%5 = tail call i32 @markroot(ptr noundef %0) #2
br label %65
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %2, i64 52
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %6
%11 = tail call i32 @propagatemark(ptr noundef nonnull %2) #2
br label %65
12: ; preds = %6
%13 = tail call i32 @atomic(ptr noundef %0) #2
br label %65
14: ; preds = %1
%15 = getelementptr inbounds i8, ptr %2, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = getelementptr inbounds i8, ptr %2, i64 32
%18 = getelementptr inbounds i8, ptr %2, i64 40
%19 = load ptr, ptr %18, align 8, !tbaa !15
%20 = getelementptr inbounds i8, ptr %2, i64 48
%21 = load i32, ptr %20, align 8, !tbaa !16
%22 = add nsw i32 %21, 1
store i32 %22, ptr %20, align 8, !tbaa !16
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds i32, ptr %19, i64 %23
%25 = tail call i32 @sweepwholelist(ptr noundef %0, ptr noundef %24) #2
%26 = load i32, ptr %20, align 8, !tbaa !16
%27 = load i32, ptr %17, align 8, !tbaa !17
%28 = icmp slt i32 %26, %27
br i1 %28, label %30, label %29
29: ; preds = %14
store i32 3, ptr %2, align 8, !tbaa !6
br label %30
30: ; preds = %29, %14
%31 = load i32, ptr %15, align 4, !tbaa !14
%32 = sub i32 %31, %16
%33 = getelementptr inbounds i8, ptr %2, i64 8
%34 = load i32, ptr %33, align 8, !tbaa !18
%35 = add i32 %32, %34
store i32 %35, ptr %33, align 8, !tbaa !18
br label %65
36: ; preds = %1
%37 = getelementptr inbounds i8, ptr %2, i64 4
%38 = load i32, ptr %37, align 4, !tbaa !14
%39 = getelementptr inbounds i8, ptr %2, i64 24
%40 = load ptr, ptr %39, align 8, !tbaa !19
%41 = tail call ptr @sweeplist(ptr noundef %0, ptr noundef %40, i32 noundef 40) #2
store ptr %41, ptr %39, align 8, !tbaa !19
%42 = load ptr, ptr %41, align 8, !tbaa !20
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %46
44: ; preds = %36
%45 = tail call i32 @checkSizes(ptr noundef %0) #2
store i32 4, ptr %2, align 8, !tbaa !6
br label %46
46: ; preds = %44, %36
%47 = load i32, ptr %37, align 4, !tbaa !14
%48 = sub i32 %47, %38
%49 = getelementptr inbounds i8, ptr %2, i64 8
%50 = load i32, ptr %49, align 8, !tbaa !18
%51 = add i32 %48, %50
store i32 %51, ptr %49, align 8, !tbaa !18
br label %65
52: ; preds = %1
%53 = getelementptr inbounds i8, ptr %2, i64 16
%54 = load i32, ptr %53, align 8, !tbaa !21
%55 = icmp eq i32 %54, 0
br i1 %55, label %63, label %56
56: ; preds = %52
%57 = tail call i32 @GCTM(ptr noundef %0) #2
%58 = getelementptr inbounds i8, ptr %2, i64 8
%59 = load i32, ptr %58, align 8, !tbaa !18
%60 = icmp sgt i32 %59, 100
br i1 %60, label %61, label %65
61: ; preds = %56
%62 = add nsw i32 %59, -100
store i32 %62, ptr %58, align 8, !tbaa !18
br label %65
63: ; preds = %52
store i32 0, ptr %2, align 8, !tbaa !6
%64 = getelementptr inbounds i8, ptr %2, i64 12
store i32 0, ptr %64, align 4, !tbaa !22
br label %65
65: ; preds = %1, %56, %61, %63, %46, %30, %12, %10, %4
%66 = phi i32 [ 0, %63 ], [ 400, %46 ], [ 10, %30 ], [ %11, %10 ], [ 0, %12 ], [ 0, %4 ], [ 100, %61 ], [ 100, %56 ], [ 0, %1 ]
ret i32 %66
}
declare ptr @G(ptr noundef) local_unnamed_addr #1
declare i32 @markroot(ptr noundef) local_unnamed_addr #1
declare i32 @propagatemark(ptr noundef) local_unnamed_addr #1
declare i32 @atomic(ptr noundef) local_unnamed_addr #1
declare i32 @sweepwholelist(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @sweeplist(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @checkSizes(ptr noundef) local_unnamed_addr #1
declare i32 @GCTM(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !11, i64 24, !12, i64 32, !8, i64 48, !8, i64 52}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"TYPE_5__", !8, i64 0, !11, i64 8}
!13 = !{!7, !8, i64 52}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !11, i64 40}
!16 = !{!7, !8, i64 48}
!17 = !{!7, !8, i64 32}
!18 = !{!7, !8, i64 8}
!19 = !{!7, !11, i64 24}
!20 = !{!11, !11, i64 0}
!21 = !{!7, !8, i64 16}
!22 = !{!7, !8, i64 12}
| php-src_ext_opcache_jit_dynasm_extr_minilua.c_singlestep |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_mvme147.c_mvme147_intr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_mvme147.c_mvme147_intr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MVME147_IRQ_SCSI_PORT = dso_local local_unnamed_addr global i32 0, align 4
@mvme147_host = dso_local local_unnamed_addr global i32 0, align 4
@m147_pcc = dso_local local_unnamed_addr global ptr null, align 8
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mvme147_intr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mvme147_intr(i32 noundef %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @MVME147_IRQ_SCSI_PORT, align 4, !tbaa !5
%4 = icmp eq i32 %3, %0
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @mvme147_host, align 4, !tbaa !5
%7 = tail call i32 @wd33c93_intr(i32 noundef %6) #2
br label %10
8: ; preds = %2
%9 = load ptr, ptr @m147_pcc, align 8, !tbaa !9
store i32 137, ptr %9, align 4, !tbaa !11
br label %10
10: ; preds = %8, %5
%11 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5
ret i32 %11
}
declare i32 @wd33c93_intr(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_mvme147.c_mvme147_intr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_mvme147.c_mvme147_intr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MVME147_IRQ_SCSI_PORT = common local_unnamed_addr global i32 0, align 4
@mvme147_host = common local_unnamed_addr global i32 0, align 4
@m147_pcc = common local_unnamed_addr global ptr null, align 8
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mvme147_intr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mvme147_intr(i32 noundef %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @MVME147_IRQ_SCSI_PORT, align 4, !tbaa !6
%4 = icmp eq i32 %3, %0
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @mvme147_host, align 4, !tbaa !6
%7 = tail call i32 @wd33c93_intr(i32 noundef %6) #2
br label %10
8: ; preds = %2
%9 = load ptr, ptr @m147_pcc, align 8, !tbaa !10
store i32 137, ptr %9, align 4, !tbaa !12
br label %10
10: ; preds = %8, %5
%11 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6
ret i32 %11
}
declare i32 @wd33c93_intr(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
| fastsocket_kernel_drivers_scsi_extr_mvme147.c_mvme147_intr |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_nic.c_efx_nic_event_present.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_nic.c_efx_nic_event_present.c"
target datalayout = "e-m:e-p270:32:32-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 @efx_nic_event_present(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @efx_event(ptr noundef nonnull %0, i32 noundef %2) #2
%4 = tail call i32 @efx_event_present(i32 noundef %3) #2
ret i32 %4
}
declare i32 @efx_event_present(i32 noundef) local_unnamed_addr #1
declare i32 @efx_event(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 = !{!"efx_channel", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_nic.c_efx_nic_event_present.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_nic.c_efx_nic_event_present.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 @efx_nic_event_present(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @efx_event(ptr noundef nonnull %0, i32 noundef %2) #2
%4 = tail call i32 @efx_event_present(i32 noundef %3) #2
ret i32 %4
}
declare i32 @efx_event_present(i32 noundef) local_unnamed_addr #1
declare i32 @efx_event(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 = !{!"efx_channel", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_net_sfc_extr_nic.c_efx_nic_event_present |
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_pseudocolor.c_pseudocolor_filter_10.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_pseudocolor.c_pseudocolor_filter_10.c"
target datalayout = "e-m:e-p270:32:32-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 @pseudocolor_filter_10], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define internal void @pseudocolor_filter_10(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef writeonly %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr nocapture noundef readonly %9) #0 {
%11 = icmp sgt i32 %2, 0
br i1 %11, label %12, label %52
12: ; preds = %10
%13 = icmp sgt i32 %1, 0
%14 = sext i32 %6 to i64
%15 = sext i32 %7 to i64
%16 = sext i32 %8 to i64
%17 = zext nneg i32 %1 to i64
br label %18
18: ; preds = %12, %46
%19 = phi ptr [ %3, %12 ], [ %47, %46 ]
%20 = phi i32 [ 0, %12 ], [ %50, %46 ]
%21 = phi ptr [ %4, %12 ], [ %48, %46 ]
%22 = phi ptr [ %5, %12 ], [ %49, %46 ]
br i1 %13, label %23, label %46
23: ; preds = %18, %41
%24 = phi i64 [ %44, %41 ], [ 0, %18 ]
%25 = trunc i64 %24 to i32
%26 = shl i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i64, ptr %19, i64 %27
%29 = load i64, ptr %28, align 8, !tbaa !5
%30 = getelementptr inbounds float, ptr %9, i64 %29
%31 = load float, ptr %30, align 4, !tbaa !9
%32 = fptosi float %31 to i32
%33 = icmp slt i32 %32, 0
%34 = icmp sgt i32 %32, %0
%35 = or i1 %33, %34
br i1 %35, label %38, label %36
36: ; preds = %23
%37 = zext nneg i32 %32 to i64
br label %41
38: ; preds = %23
%39 = getelementptr inbounds i64, ptr %21, i64 %24
%40 = load i64, ptr %39, align 8, !tbaa !5
br label %41
41: ; preds = %38, %36
%42 = phi i64 [ %40, %38 ], [ %37, %36 ]
%43 = getelementptr inbounds i64, ptr %22, i64 %24
store i64 %42, ptr %43, align 8
%44 = add nuw nsw i64 %24, 1
%45 = icmp eq i64 %44, %17
br i1 %45, label %46, label %23, !llvm.loop !11
46: ; preds = %41, %18
%47 = getelementptr inbounds i64, ptr %19, i64 %14
%48 = getelementptr inbounds i64, ptr %21, i64 %15
%49 = getelementptr inbounds i64, ptr %22, i64 %16
%50 = add nuw nsw i32 %20, 1
%51 = icmp eq i32 %50, %2
br i1 %51, label %52, label %18, !llvm.loop !13
52: ; preds = %46, %10
ret void
}
attributes #0 = { nofree norecurse nosync nounwind 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, !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 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
| ; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_pseudocolor.c_pseudocolor_filter_10.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_pseudocolor.c_pseudocolor_filter_10.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 @pseudocolor_filter_10], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @pseudocolor_filter_10(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef writeonly %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr nocapture noundef readonly %9) #0 {
%11 = icmp sgt i32 %2, 0
br i1 %11, label %12, label %52
12: ; preds = %10
%13 = icmp sgt i32 %1, 0
%14 = sext i32 %6 to i64
%15 = sext i32 %7 to i64
%16 = sext i32 %8 to i64
%17 = zext nneg i32 %1 to i64
br label %18
18: ; preds = %12, %46
%19 = phi ptr [ %3, %12 ], [ %47, %46 ]
%20 = phi i32 [ 0, %12 ], [ %50, %46 ]
%21 = phi ptr [ %4, %12 ], [ %48, %46 ]
%22 = phi ptr [ %5, %12 ], [ %49, %46 ]
br i1 %13, label %23, label %46
23: ; preds = %18, %41
%24 = phi i64 [ %44, %41 ], [ 0, %18 ]
%25 = trunc i64 %24 to i32
%26 = shl i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i64, ptr %19, i64 %27
%29 = load i64, ptr %28, align 8, !tbaa !6
%30 = getelementptr inbounds float, ptr %9, i64 %29
%31 = load float, ptr %30, align 4, !tbaa !10
%32 = fptosi float %31 to i32
%33 = icmp slt i32 %32, 0
%34 = icmp sgt i32 %32, %0
%35 = or i1 %33, %34
br i1 %35, label %38, label %36
36: ; preds = %23
%37 = zext nneg i32 %32 to i64
br label %41
38: ; preds = %23
%39 = getelementptr inbounds i64, ptr %21, i64 %24
%40 = load i64, ptr %39, align 8, !tbaa !6
br label %41
41: ; preds = %38, %36
%42 = phi i64 [ %40, %38 ], [ %37, %36 ]
%43 = getelementptr inbounds i64, ptr %22, i64 %24
store i64 %42, ptr %43, align 8
%44 = add nuw nsw i64 %24, 1
%45 = icmp eq i64 %44, %17
br i1 %45, label %46, label %23, !llvm.loop !12
46: ; preds = %41, %18
%47 = getelementptr inbounds i64, ptr %19, i64 %14
%48 = getelementptr inbounds i64, ptr %21, i64 %15
%49 = getelementptr inbounds i64, ptr %22, i64 %16
%50 = add nuw nsw i32 %20, 1
%51 = icmp eq i32 %50, %2
br i1 %51, label %52, label %18, !llvm.loop !14
52: ; preds = %46, %10
ret void
}
attributes #0 = { nofree norecurse nosync nounwind ssp 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, !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 = !{!"float", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
| FFmpeg_libavfilter_extr_vf_pseudocolor.c_pseudocolor_filter_10 |
; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_bspfile_abstract.c_ValueForKey.c'
source_filename = "AnghaBench/lab/q3map2/q3map2/extr_bspfile_abstract.c_ValueForKey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, i32, ptr }
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @ValueForKey(ptr noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %19, label %4
4: ; preds = %2
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %19, label %7
7: ; preds = %4, %15
%8 = phi ptr [ %17, %15 ], [ %5, %4 ]
%9 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 0, i32 1
%10 = load i32, ptr %9, align 8, !tbaa !9
%11 = tail call i32 @EPAIR_STRCMP(i32 noundef %10, ptr noundef %1) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %7
%14 = load ptr, ptr %8, align 8, !tbaa !12
br label %19
15: ; preds = %7
%16 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 0, i32 2
%17 = load ptr, ptr %16, align 8, !tbaa !5
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %7, !llvm.loop !13
19: ; preds = %15, %4, %2, %13
%20 = phi ptr [ %14, %13 ], [ @.str, %2 ], [ @.str, %4 ], [ @.str, %15 ]
ret ptr %20
}
declare i32 @EPAIR_STRCMP(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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"TYPE_4__", !6, i64 0, !11, i64 8, !6, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_bspfile_abstract.c_ValueForKey.c'
source_filename = "AnghaBench/lab/q3map2/q3map2/extr_bspfile_abstract.c_ValueForKey.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 [1 x i8] zeroinitializer, align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @ValueForKey(ptr noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %19, label %4
4: ; preds = %2
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %19, label %7
7: ; preds = %4, %15
%8 = phi ptr [ %17, %15 ], [ %5, %4 ]
%9 = getelementptr inbounds i8, ptr %8, i64 8
%10 = load i32, ptr %9, align 8, !tbaa !10
%11 = tail call i32 @EPAIR_STRCMP(i32 noundef %10, ptr noundef %1) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %7
%14 = load ptr, ptr %8, align 8, !tbaa !13
br label %19
15: ; preds = %7
%16 = getelementptr inbounds i8, ptr %8, i64 16
%17 = load ptr, ptr %16, align 8, !tbaa !6
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %7, !llvm.loop !14
19: ; preds = %15, %4, %2, %13
%20 = phi ptr [ %14, %13 ], [ @.str, %2 ], [ @.str, %4 ], [ @.str, %15 ]
ret ptr %20
}
declare i32 @EPAIR_STRCMP(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_4__", !7, i64 0, !12, i64 8, !7, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| lab_q3map2_q3map2_extr_bspfile_abstract.c_ValueForKey |
; ModuleID = 'AnghaBench/esp-idf/components/lwip/port/esp32/freertos/extr_sys_arch.c_sys_thread_new.c'
source_filename = "AnghaBench/esp-idf/components/lwip/port/esp32/freertos/extr_sys_arch.c_sys_thread_new.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CONFIG_LWIP_TCPIP_TASK_AFFINITY = dso_local local_unnamed_addr global i32 0, align 4
@pdTRUE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @sys_thread_new(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = load i32, ptr @CONFIG_LWIP_TCPIP_TASK_AFFINITY, align 4, !tbaa !5
%8 = call i64 @xTaskCreatePinnedToCore(i32 noundef %1, ptr noundef %0, i32 noundef %3, ptr noundef %2, i32 noundef %4, ptr noundef nonnull %6, i32 noundef %7) #3
%9 = load i64, ptr @pdTRUE, align 8, !tbaa !9
%10 = icmp eq i64 %8, %9
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = inttoptr i64 %12 to ptr
%14 = select i1 %10, ptr %13, ptr null
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret ptr %14
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @xTaskCreatePinnedToCore(i32 noundef, ptr noundef, i32 noundef, ptr 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, !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/esp-idf/components/lwip/port/esp32/freertos/extr_sys_arch.c_sys_thread_new.c'
source_filename = "AnghaBench/esp-idf/components/lwip/port/esp32/freertos/extr_sys_arch.c_sys_thread_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CONFIG_LWIP_TCPIP_TASK_AFFINITY = common local_unnamed_addr global i32 0, align 4
@pdTRUE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @sys_thread_new(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = load i32, ptr @CONFIG_LWIP_TCPIP_TASK_AFFINITY, align 4, !tbaa !6
%8 = call i64 @xTaskCreatePinnedToCore(i32 noundef %1, ptr noundef %0, i32 noundef %3, ptr noundef %2, i32 noundef %4, ptr noundef nonnull %6, i32 noundef %7) #3
%9 = load i64, ptr @pdTRUE, align 8, !tbaa !10
%10 = icmp eq i64 %8, %9
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = inttoptr i64 %12 to ptr
%14 = select i1 %10, ptr %13, ptr null
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret ptr %14
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @xTaskCreatePinnedToCore(i32 noundef, ptr noundef, i32 noundef, ptr 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, !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}
| esp-idf_components_lwip_port_esp32_freertos_extr_sys_arch.c_sys_thread_new |
; ModuleID = 'AnghaBench/linux/sound/isa/extr_es18xx.c_snd_es18xx_capture_close.c'
source_filename = "AnghaBench/linux/sound/isa/extr_es18xx.c_snd_es18xx_capture_close.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_es18xx_capture_close], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @snd_es18xx_capture_close(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
store ptr null, ptr %2, align 8, !tbaa !5
%3 = tail call i32 @snd_pcm_lib_free_pages(ptr noundef %0) #2
ret i32 0
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i32 @snd_pcm_lib_free_pages(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_es18xx", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/sound/isa/extr_es18xx.c_snd_es18xx_capture_close.c'
source_filename = "AnghaBench/linux/sound/isa/extr_es18xx.c_snd_es18xx_capture_close.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_es18xx_capture_close], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @snd_es18xx_capture_close(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
store ptr null, ptr %2, align 8, !tbaa !6
%3 = tail call i32 @snd_pcm_lib_free_pages(ptr noundef %0) #2
ret i32 0
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i32 @snd_pcm_lib_free_pages(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_es18xx", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_sound_isa_extr_es18xx.c_snd_es18xx_capture_close |
; ModuleID = 'AnghaBench/openvpn/src/openvpn/extr_forward.c_context_reschedule_sec.c'
source_filename = "AnghaBench/openvpn/src/openvpn/extr_forward.c_context_reschedule_sec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @context_reschedule_sec], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @context_reschedule_sec(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @llvm.smax.i32(i32 %1, i32 0)
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = icmp slt i32 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %2
store i32 %3, ptr %0, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
store i64 0, ptr %7, align 8, !tbaa !13
br label %8
8: ; preds = %6, %2
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #1
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !9, i64 0}
!6 = !{!"context", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!6, !12, i64 8}
| ; ModuleID = 'AnghaBench/openvpn/src/openvpn/extr_forward.c_context_reschedule_sec.c'
source_filename = "AnghaBench/openvpn/src/openvpn/extr_forward.c_context_reschedule_sec.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 @context_reschedule_sec], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @context_reschedule_sec(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @llvm.smax.i32(i32 %1, i32 0)
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = icmp slt i32 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %2
store i32 %3, ptr %0, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %0, i64 8
store i64 0, ptr %7, align 8, !tbaa !14
br label %8
8: ; preds = %6, %2
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #1
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !10, i64 0}
!7 = !{!"context", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0, !13, i64 8}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!"long", !11, i64 0}
!14 = !{!7, !13, i64 8}
| openvpn_src_openvpn_extr_forward.c_context_reschedule_sec |
; ModuleID = 'AnghaBench/poco/Foundation/wcelibcex-1.0/src/extr_wce_gettimeofday.c_wceex_gettimeofday.c'
source_filename = "AnghaBench/poco/Foundation/wcelibcex-1.0/src/extr_wce_gettimeofday.c_wceex_gettimeofday.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_12__ = type { i32, i32 }
%struct.TYPE_10__ = type { i32, i32, %struct.TYPE_9__, %struct.TYPE_8__ }
%struct.TYPE_9__ = type { i64 }
%struct.TYPE_8__ = type { i64 }
%struct.timeval = type { i64, i64 }
%struct.timezone = type { i32, i32 }
@EPOCHFILETIME = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @wceex_gettimeofday(ptr noundef writeonly %0, ptr noundef writeonly %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = alloca %struct.TYPE_12__, align 4
%5 = alloca %struct.TYPE_10__, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3
%6 = icmp eq ptr %0, null
br i1 %6, label %19, label %7
7: ; preds = %2
%8 = call i32 @GetSystemTime(ptr noundef nonnull %3) #3
%9 = call i32 @SystemTimeToFileTime(ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%10 = load i64, ptr @EPOCHFILETIME, align 8, !tbaa !5
%11 = trunc i64 %10 to i32
%12 = sub i32 0, %11
%13 = sdiv i32 %12, 10
%14 = sdiv i32 %12, 10000000
%15 = sext i32 %14 to i64
store i64 %15, ptr %0, align 8, !tbaa !9
%16 = srem i32 %13, 1000000
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds %struct.timeval, ptr %0, i64 0, i32 1
store i64 %17, ptr %18, align 8, !tbaa !11
br label %19
19: ; preds = %7, %2
%20 = icmp eq ptr %1, null
br i1 %20, label %38, label %21
21: ; preds = %19
%22 = call i32 @GetTimeZoneInformation(ptr noundef nonnull %5) #3
%23 = load i32, ptr %5, align 8, !tbaa !12
store i32 %23, ptr %1, align 4, !tbaa !17
%24 = getelementptr inbounds %struct.TYPE_10__, ptr %5, i64 0, i32 3
%25 = load i64, ptr %24, align 8, !tbaa !19
%26 = icmp eq i64 %25, 0
br i1 %26, label %32, label %27
27: ; preds = %21
%28 = getelementptr inbounds %struct.TYPE_10__, ptr %5, i64 0, i32 1
%29 = load i32, ptr %28, align 4, !tbaa !20
%30 = mul nsw i32 %29, 60
%31 = add nsw i32 %30, %23
store i32 %31, ptr %1, align 4, !tbaa !17
br label %32
32: ; preds = %27, %21
%33 = getelementptr inbounds %struct.TYPE_10__, ptr %5, i64 0, i32 2
%34 = load i64, ptr %33, align 8, !tbaa !21
%35 = icmp ne i64 %34, 0
%36 = getelementptr inbounds %struct.timezone, ptr %1, i64 0, i32 1
%37 = zext i1 %35 to i32
store i32 %37, ptr %36, align 4, !tbaa !22
br label %38
38: ; preds = %32, %19
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @GetSystemTime(ptr noundef) local_unnamed_addr #2
declare i32 @SystemTimeToFileTime(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GetTimeZoneInformation(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"timeval", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_10__", !14, i64 0, !14, i64 4, !15, i64 8, !16, i64 16}
!14 = !{!"int", !7, i64 0}
!15 = !{!"TYPE_9__", !6, i64 0}
!16 = !{!"TYPE_8__", !6, i64 0}
!17 = !{!18, !14, i64 0}
!18 = !{!"timezone", !14, i64 0, !14, i64 4}
!19 = !{!13, !6, i64 16}
!20 = !{!13, !14, i64 4}
!21 = !{!13, !6, i64 8}
!22 = !{!18, !14, i64 4}
| ; ModuleID = 'AnghaBench/poco/Foundation/wcelibcex-1.0/src/extr_wce_gettimeofday.c_wceex_gettimeofday.c'
source_filename = "AnghaBench/poco/Foundation/wcelibcex-1.0/src/extr_wce_gettimeofday.c_wceex_gettimeofday.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_12__ = type { i32, i32 }
%struct.TYPE_10__ = type { i32, i32, %struct.TYPE_9__, %struct.TYPE_8__ }
%struct.TYPE_9__ = type { i64 }
%struct.TYPE_8__ = type { i64 }
@EPOCHFILETIME = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @wceex_gettimeofday(ptr noundef writeonly %0, ptr noundef writeonly %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = alloca %struct.TYPE_12__, align 4
%5 = alloca %struct.TYPE_10__, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3
%6 = icmp eq ptr %0, null
br i1 %6, label %19, label %7
7: ; preds = %2
%8 = call i32 @GetSystemTime(ptr noundef nonnull %3) #3
%9 = call i32 @SystemTimeToFileTime(ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%10 = load i64, ptr @EPOCHFILETIME, align 8, !tbaa !6
%11 = trunc i64 %10 to i32
%12 = sub i32 0, %11
%13 = sdiv i32 %12, 10
%14 = sdiv i32 %12, 10000000
%15 = sext i32 %14 to i64
store i64 %15, ptr %0, align 8, !tbaa !10
%16 = srem i32 %13, 1000000
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %17, ptr %18, align 8, !tbaa !12
br label %19
19: ; preds = %7, %2
%20 = icmp eq ptr %1, null
br i1 %20, label %38, label %21
21: ; preds = %19
%22 = call i32 @GetTimeZoneInformation(ptr noundef nonnull %5) #3
%23 = load i32, ptr %5, align 8, !tbaa !13
store i32 %23, ptr %1, align 4, !tbaa !18
%24 = getelementptr inbounds i8, ptr %5, i64 16
%25 = load i64, ptr %24, align 8, !tbaa !20
%26 = icmp eq i64 %25, 0
br i1 %26, label %32, label %27
27: ; preds = %21
%28 = getelementptr inbounds i8, ptr %5, i64 4
%29 = load i32, ptr %28, align 4, !tbaa !21
%30 = mul nsw i32 %29, 60
%31 = add nsw i32 %30, %23
store i32 %31, ptr %1, align 4, !tbaa !18
br label %32
32: ; preds = %27, %21
%33 = getelementptr inbounds i8, ptr %5, i64 8
%34 = load i64, ptr %33, align 8, !tbaa !22
%35 = icmp ne i64 %34, 0
%36 = getelementptr inbounds i8, ptr %1, i64 4
%37 = zext i1 %35 to i32
store i32 %37, ptr %36, align 4, !tbaa !23
br label %38
38: ; preds = %32, %19
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @GetSystemTime(ptr noundef) local_unnamed_addr #2
declare i32 @SystemTimeToFileTime(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GetTimeZoneInformation(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"timeval", !7, i64 0, !7, i64 8}
!12 = !{!11, !7, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_10__", !15, i64 0, !15, i64 4, !16, i64 8, !17, i64 16}
!15 = !{!"int", !8, i64 0}
!16 = !{!"TYPE_9__", !7, i64 0}
!17 = !{!"TYPE_8__", !7, i64 0}
!18 = !{!19, !15, i64 0}
!19 = !{!"timezone", !15, i64 0, !15, i64 4}
!20 = !{!14, !7, i64 16}
!21 = !{!14, !15, i64 4}
!22 = !{!14, !7, i64 8}
!23 = !{!19, !15, i64 4}
| poco_Foundation_wcelibcex-1.0_src_extr_wce_gettimeofday.c_wceex_gettimeofday |
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_x509_crl.c_x509_crl_get_version.c'
source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_x509_crl.c_x509_crl_get_version.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MBEDTLS_ERR_ASN1_UNEXPECTED_TAG = dso_local local_unnamed_addr global i32 0, align 4
@MBEDTLS_ERR_X509_INVALID_VERSION = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @x509_crl_get_version], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @x509_crl_get_version(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @mbedtls_asn1_get_int(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %13, label %6
6: ; preds = %3
%7 = load i32, ptr @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG, align 4, !tbaa !5
%8 = icmp eq i32 %4, %7
br i1 %8, label %9, label %10
9: ; preds = %6
store i32 0, ptr %2, align 4, !tbaa !5
br label %13
10: ; preds = %6
%11 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_VERSION, align 4, !tbaa !5
%12 = add nsw i32 %11, %4
br label %13
13: ; preds = %3, %10, %9
%14 = phi i32 [ 0, %9 ], [ %12, %10 ], [ 0, %3 ]
ret i32 %14
}
declare i32 @mbedtls_asn1_get_int(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_x509_crl.c_x509_crl_get_version.c'
source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_x509_crl.c_x509_crl_get_version.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MBEDTLS_ERR_ASN1_UNEXPECTED_TAG = common local_unnamed_addr global i32 0, align 4
@MBEDTLS_ERR_X509_INVALID_VERSION = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @x509_crl_get_version], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @x509_crl_get_version(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @mbedtls_asn1_get_int(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %13, label %6
6: ; preds = %3
%7 = load i32, ptr @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG, align 4, !tbaa !6
%8 = icmp eq i32 %4, %7
br i1 %8, label %9, label %10
9: ; preds = %6
store i32 0, ptr %2, align 4, !tbaa !6
br label %13
10: ; preds = %6
%11 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_VERSION, align 4, !tbaa !6
%12 = add nsw i32 %11, %4
br label %13
13: ; preds = %3, %10, %9
%14 = phi i32 [ 0, %9 ], [ %12, %10 ], [ 0, %3 ]
ret i32 %14
}
declare i32 @mbedtls_asn1_get_int(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| RetroArch_deps_mbedtls_extr_x509_crl.c_x509_crl_get_version |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_s5k4ecgx.c___s5k4ecgx_s_params.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_s5k4ecgx.c___s5k4ecgx_s_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"
%struct.s5k4ecgx = type { ptr, i32 }
@REG_G_INPUTS_CHANGE_REQ = dso_local local_unnamed_addr global i32 0, align 4
@FR_TIME_DYNAMIC = dso_local local_unnamed_addr global i32 0, align 4
@FR_TIME_Q_BEST_FRRATE = dso_local local_unnamed_addr global i32 0, align 4
@REG_G_ACTIVE_PREV_CFG = dso_local local_unnamed_addr global i32 0, align 4
@REG_G_PREV_OPEN_AFTER_CH = dso_local local_unnamed_addr global i32 0, align 4
@REG_G_NEW_CFG_SYNC = dso_local local_unnamed_addr global i32 0, align 4
@REG_G_PREV_CFG_CHG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__s5k4ecgx_s_params], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__s5k4ecgx_s_params(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.s5k4ecgx, ptr %0, i64 0, i32 1
%3 = tail call ptr @v4l2_get_subdevdata(ptr noundef nonnull %2) #2
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = tail call i32 @s5k4ecgx_set_input_window(ptr noundef %3, ptr noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %70
7: ; preds = %1
%8 = tail call i32 @s5k4ecgx_set_zoom_window(ptr noundef %3, ptr noundef %4) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %70
10: ; preds = %7
%11 = load i32, ptr @REG_G_INPUTS_CHANGE_REQ, align 4, !tbaa !11
%12 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %11, i32 noundef 1) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %70
14: ; preds = %10
%15 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef 1879050782, i32 noundef 40) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %70
17: ; preds = %14
%18 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef 1879050964, i32 noundef 60) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %70
20: ; preds = %17
%21 = tail call i32 @s5k4ecgx_set_output_framefmt(ptr noundef nonnull %0) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %70
23: ; preds = %20
%24 = tail call i32 @REG_P_PVI_MASK(i32 noundef 0) #2
%25 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %24, i32 noundef 82) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %70
27: ; preds = %23
%28 = tail call i32 @REG_P_FR_TIME_TYPE(i32 noundef 0) #2
%29 = load i32, ptr @FR_TIME_DYNAMIC, align 4, !tbaa !11
%30 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %28, i32 noundef %29) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %70
32: ; preds = %27
%33 = tail call i32 @REG_P_FR_TIME_Q_TYPE(i32 noundef 0) #2
%34 = load i32, ptr @FR_TIME_Q_BEST_FRRATE, align 4, !tbaa !11
%35 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %33, i32 noundef %34) #2
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %70
37: ; preds = %32
%38 = tail call i32 @REG_P_MIN_FR_TIME(i32 noundef 0) #2
%39 = tail call i32 @US_TO_FR_TIME(i32 noundef 33300) #2
%40 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %38, i32 noundef %39) #2
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %70
42: ; preds = %37
%43 = tail call i32 @REG_P_MAX_FR_TIME(i32 noundef 0) #2
%44 = tail call i32 @US_TO_FR_TIME(i32 noundef 66600) #2
%45 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %43, i32 noundef %44) #2
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %70
47: ; preds = %42
%48 = tail call i32 @REG_P_PREV_MIRROR(i32 noundef 0) #2
%49 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %48, i32 noundef 0) #2
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %70
51: ; preds = %47
%52 = tail call i32 @REG_P_CAP_MIRROR(i32 noundef 0) #2
%53 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %52, i32 noundef 0) #2
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %70
55: ; preds = %51
%56 = load i32, ptr @REG_G_ACTIVE_PREV_CFG, align 4, !tbaa !11
%57 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %56, i32 noundef 0) #2
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %70
59: ; preds = %55
%60 = load i32, ptr @REG_G_PREV_OPEN_AFTER_CH, align 4, !tbaa !11
%61 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %60, i32 noundef 1) #2
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %70
63: ; preds = %59
%64 = load i32, ptr @REG_G_NEW_CFG_SYNC, align 4, !tbaa !11
%65 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %64, i32 noundef 1) #2
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %70
67: ; preds = %63
%68 = load i32, ptr @REG_G_PREV_CFG_CHG, align 4, !tbaa !11
%69 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %68, i32 noundef 1) #2
br label %70
70: ; preds = %1, %7, %10, %14, %17, %20, %23, %27, %32, %37, %42, %47, %51, %55, %59, %67, %63
%71 = phi i32 [ %65, %63 ], [ %69, %67 ], [ %61, %59 ], [ %57, %55 ], [ %53, %51 ], [ %49, %47 ], [ %45, %42 ], [ %40, %37 ], [ %35, %32 ], [ %30, %27 ], [ %25, %23 ], [ %21, %20 ], [ %18, %17 ], [ %15, %14 ], [ %12, %10 ], [ %8, %7 ], [ %5, %1 ]
ret i32 %71
}
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1
declare i32 @s5k4ecgx_set_input_window(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @s5k4ecgx_set_zoom_window(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @s5k4ecgx_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @s5k4ecgx_set_output_framefmt(ptr noundef) local_unnamed_addr #1
declare i32 @REG_P_PVI_MASK(i32 noundef) local_unnamed_addr #1
declare i32 @REG_P_FR_TIME_TYPE(i32 noundef) local_unnamed_addr #1
declare i32 @REG_P_FR_TIME_Q_TYPE(i32 noundef) local_unnamed_addr #1
declare i32 @REG_P_MIN_FR_TIME(i32 noundef) local_unnamed_addr #1
declare i32 @US_TO_FR_TIME(i32 noundef) local_unnamed_addr #1
declare i32 @REG_P_MAX_FR_TIME(i32 noundef) local_unnamed_addr #1
declare i32 @REG_P_PREV_MIRROR(i32 noundef) local_unnamed_addr #1
declare i32 @REG_P_CAP_MIRROR(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 = !{!"s5k4ecgx", !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}
| ; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_s5k4ecgx.c___s5k4ecgx_s_params.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_s5k4ecgx.c___s5k4ecgx_s_params.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REG_G_INPUTS_CHANGE_REQ = common local_unnamed_addr global i32 0, align 4
@FR_TIME_DYNAMIC = common local_unnamed_addr global i32 0, align 4
@FR_TIME_Q_BEST_FRRATE = common local_unnamed_addr global i32 0, align 4
@REG_G_ACTIVE_PREV_CFG = common local_unnamed_addr global i32 0, align 4
@REG_G_PREV_OPEN_AFTER_CH = common local_unnamed_addr global i32 0, align 4
@REG_G_NEW_CFG_SYNC = common local_unnamed_addr global i32 0, align 4
@REG_G_PREV_CFG_CHG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__s5k4ecgx_s_params], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__s5k4ecgx_s_params(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = tail call ptr @v4l2_get_subdevdata(ptr noundef nonnull %2) #2
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = tail call i32 @s5k4ecgx_set_input_window(ptr noundef %3, ptr noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %70
7: ; preds = %1
%8 = tail call i32 @s5k4ecgx_set_zoom_window(ptr noundef %3, ptr noundef %4) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %70
10: ; preds = %7
%11 = load i32, ptr @REG_G_INPUTS_CHANGE_REQ, align 4, !tbaa !12
%12 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %11, i32 noundef 1) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %70
14: ; preds = %10
%15 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef 1879050782, i32 noundef 40) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %70
17: ; preds = %14
%18 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef 1879050964, i32 noundef 60) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %70
20: ; preds = %17
%21 = tail call i32 @s5k4ecgx_set_output_framefmt(ptr noundef nonnull %0) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %70
23: ; preds = %20
%24 = tail call i32 @REG_P_PVI_MASK(i32 noundef 0) #2
%25 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %24, i32 noundef 82) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %70
27: ; preds = %23
%28 = tail call i32 @REG_P_FR_TIME_TYPE(i32 noundef 0) #2
%29 = load i32, ptr @FR_TIME_DYNAMIC, align 4, !tbaa !12
%30 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %28, i32 noundef %29) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %70
32: ; preds = %27
%33 = tail call i32 @REG_P_FR_TIME_Q_TYPE(i32 noundef 0) #2
%34 = load i32, ptr @FR_TIME_Q_BEST_FRRATE, align 4, !tbaa !12
%35 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %33, i32 noundef %34) #2
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %70
37: ; preds = %32
%38 = tail call i32 @REG_P_MIN_FR_TIME(i32 noundef 0) #2
%39 = tail call i32 @US_TO_FR_TIME(i32 noundef 33300) #2
%40 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %38, i32 noundef %39) #2
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %70
42: ; preds = %37
%43 = tail call i32 @REG_P_MAX_FR_TIME(i32 noundef 0) #2
%44 = tail call i32 @US_TO_FR_TIME(i32 noundef 66600) #2
%45 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %43, i32 noundef %44) #2
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %70
47: ; preds = %42
%48 = tail call i32 @REG_P_PREV_MIRROR(i32 noundef 0) #2
%49 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %48, i32 noundef 0) #2
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %70
51: ; preds = %47
%52 = tail call i32 @REG_P_CAP_MIRROR(i32 noundef 0) #2
%53 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %52, i32 noundef 0) #2
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %70
55: ; preds = %51
%56 = load i32, ptr @REG_G_ACTIVE_PREV_CFG, align 4, !tbaa !12
%57 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %56, i32 noundef 0) #2
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %70
59: ; preds = %55
%60 = load i32, ptr @REG_G_PREV_OPEN_AFTER_CH, align 4, !tbaa !12
%61 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %60, i32 noundef 1) #2
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %70
63: ; preds = %59
%64 = load i32, ptr @REG_G_NEW_CFG_SYNC, align 4, !tbaa !12
%65 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %64, i32 noundef 1) #2
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %70
67: ; preds = %63
%68 = load i32, ptr @REG_G_PREV_CFG_CHG, align 4, !tbaa !12
%69 = tail call i32 @s5k4ecgx_write(ptr noundef %3, i32 noundef %68, i32 noundef 1) #2
br label %70
70: ; preds = %1, %7, %10, %14, %17, %20, %23, %27, %32, %37, %42, %47, %51, %55, %59, %67, %63
%71 = phi i32 [ %65, %63 ], [ %69, %67 ], [ %61, %59 ], [ %57, %55 ], [ %53, %51 ], [ %49, %47 ], [ %45, %42 ], [ %40, %37 ], [ %35, %32 ], [ %30, %27 ], [ %25, %23 ], [ %21, %20 ], [ %18, %17 ], [ %15, %14 ], [ %12, %10 ], [ %8, %7 ], [ %5, %1 ]
ret i32 %71
}
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1
declare i32 @s5k4ecgx_set_input_window(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @s5k4ecgx_set_zoom_window(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @s5k4ecgx_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @s5k4ecgx_set_output_framefmt(ptr noundef) local_unnamed_addr #1
declare i32 @REG_P_PVI_MASK(i32 noundef) local_unnamed_addr #1
declare i32 @REG_P_FR_TIME_TYPE(i32 noundef) local_unnamed_addr #1
declare i32 @REG_P_FR_TIME_Q_TYPE(i32 noundef) local_unnamed_addr #1
declare i32 @REG_P_MIN_FR_TIME(i32 noundef) local_unnamed_addr #1
declare i32 @US_TO_FR_TIME(i32 noundef) local_unnamed_addr #1
declare i32 @REG_P_MAX_FR_TIME(i32 noundef) local_unnamed_addr #1
declare i32 @REG_P_PREV_MIRROR(i32 noundef) local_unnamed_addr #1
declare i32 @REG_P_CAP_MIRROR(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 = !{!"s5k4ecgx", !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}
| linux_drivers_media_i2c_extr_s5k4ecgx.c___s5k4ecgx_s_params |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_irq.c_omap_irq_enable_vblank.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_irq.c_omap_irq_enable_vblank.c"
target datalayout = "e-m:e-p270:32:32-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.omap_drm_private = type { i32, i32, ptr, i32 }
@.str = private unnamed_addr constant [16 x i8] c"dev=%p, crtc=%u\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @omap_irq_enable_vblank(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = tail call i32 @omap_crtc_channel(ptr noundef nonnull %0) #2
%5 = tail call i32 @DBG(ptr noundef nonnull @.str, ptr noundef nonnull %2, i32 noundef %4) #2
%6 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2
%7 = getelementptr inbounds %struct.omap_drm_private, ptr %3, i64 0, i32 2
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = load ptr, ptr %8, align 8, !tbaa !15
%10 = getelementptr inbounds %struct.omap_drm_private, ptr %3, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !17
%12 = tail call i32 %9(i32 noundef %11, i32 noundef %4) #2
%13 = getelementptr inbounds %struct.omap_drm_private, ptr %3, i64 0, i32 3
%14 = load i32, ptr %13, align 8, !tbaa !18
%15 = or i32 %14, %12
store i32 %15, ptr %13, align 8, !tbaa !18
%16 = tail call i32 @omap_irq_update(ptr noundef nonnull %2) #2
%17 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2
ret i32 0
}
declare i32 @omap_crtc_channel(ptr noundef) local_unnamed_addr #1
declare i32 @DBG(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @omap_irq_update(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 = !{!"drm_crtc", !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 = !{!"drm_device", !7, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"omap_drm_private", !14, i64 0, !14, i64 4, !7, i64 8, !14, i64 16}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_2__", !7, i64 0}
!17 = !{!13, !14, i64 4}
!18 = !{!13, !14, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_irq.c_omap_irq_enable_vblank.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_irq.c_omap_irq_enable_vblank.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [16 x i8] c"dev=%p, crtc=%u\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @omap_irq_enable_vblank(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = tail call i32 @omap_crtc_channel(ptr noundef nonnull %0) #2
%5 = tail call i32 @DBG(ptr noundef nonnull @.str, ptr noundef nonnull %2, i32 noundef %4) #2
%6 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2
%7 = getelementptr inbounds i8, ptr %3, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = load ptr, ptr %8, align 8, !tbaa !16
%10 = getelementptr inbounds i8, ptr %3, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !18
%12 = tail call i32 %9(i32 noundef %11, i32 noundef %4) #2
%13 = getelementptr inbounds i8, ptr %3, i64 16
%14 = load i32, ptr %13, align 8, !tbaa !19
%15 = or i32 %14, %12
store i32 %15, ptr %13, align 8, !tbaa !19
%16 = tail call i32 @omap_irq_update(ptr noundef nonnull %2) #2
%17 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2
ret i32 0
}
declare i32 @omap_crtc_channel(ptr noundef) local_unnamed_addr #1
declare i32 @DBG(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @omap_irq_update(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 = !{!"drm_crtc", !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 = !{!"drm_device", !8, i64 0}
!13 = !{!14, !8, i64 8}
!14 = !{!"omap_drm_private", !15, i64 0, !15, i64 4, !8, i64 8, !15, i64 16}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_2__", !8, i64 0}
!18 = !{!14, !15, i64 4}
!19 = !{!14, !15, i64 16}
| linux_drivers_gpu_drm_omapdrm_extr_omap_irq.c_omap_irq_enable_vblank |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/parisc/extr_harmony.c_harmony_set_control.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/parisc/extr_harmony.c_harmony_set_control.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_harmony = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i32, i32 }
@HARMONY_CNTL_C = dso_local local_unnamed_addr global i32 0, align 4
@HARMONY_CNTL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @harmony_set_control], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @harmony_set_control(ptr noundef %0) #0 {
%2 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%3 = load i32, ptr @HARMONY_CNTL_C, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.snd_harmony, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !9
%6 = shl i32 %5, 6
%7 = or i32 %6, %3
%8 = getelementptr inbounds %struct.snd_harmony, ptr %0, i64 0, i32 1, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = shl i32 %9, 5
%11 = or i32 %7, %10
%12 = getelementptr inbounds %struct.snd_harmony, ptr %0, i64 0, i32 1, i32 2
%13 = load i32, ptr %12, align 4, !tbaa !13
%14 = or i32 %11, %13
%15 = tail call i32 @harmony_wait_for_control(ptr noundef %0) #2
%16 = load i32, ptr @HARMONY_CNTL, align 4, !tbaa !5
%17 = tail call i32 @harmony_write(ptr noundef %0, i32 noundef %16, i32 noundef %14) #2
%18 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @harmony_wait_for_control(ptr noundef) local_unnamed_addr #1
declare i32 @harmony_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"snd_harmony", !6, i64 0, !11, i64 4}
!11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8}
!12 = !{!10, !6, i64 8}
!13 = !{!10, !6, i64 12}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/parisc/extr_harmony.c_harmony_set_control.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/parisc/extr_harmony.c_harmony_set_control.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HARMONY_CNTL_C = common local_unnamed_addr global i32 0, align 4
@HARMONY_CNTL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @harmony_set_control], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @harmony_set_control(ptr noundef %0) #0 {
%2 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%3 = load i32, ptr @HARMONY_CNTL_C, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = shl i32 %5, 6
%7 = or i32 %6, %3
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = shl i32 %9, 5
%11 = or i32 %7, %10
%12 = getelementptr inbounds i8, ptr %0, i64 12
%13 = load i32, ptr %12, align 4, !tbaa !14
%14 = or i32 %11, %13
%15 = tail call i32 @harmony_wait_for_control(ptr noundef %0) #2
%16 = load i32, ptr @HARMONY_CNTL, align 4, !tbaa !6
%17 = tail call i32 @harmony_write(ptr noundef %0, i32 noundef %16, i32 noundef %14) #2
%18 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @harmony_wait_for_control(ptr noundef) local_unnamed_addr #1
declare i32 @harmony_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"snd_harmony", !7, i64 0, !12, i64 4}
!12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8}
!13 = !{!11, !7, i64 8}
!14 = !{!11, !7, i64 12}
| fastsocket_kernel_sound_parisc_extr_harmony.c_harmony_set_control |
; ModuleID = 'AnghaBench/linux/fs/afs/extr_internal.h_afs_set_fc_call.c'
source_filename = "AnghaBench/linux/fs/afs/extr_internal.h_afs_set_fc_call.c"
target datalayout = "e-m:e-p270:32:32-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.afs_call = type { i32, i32 }
%struct.afs_fs_cursor = type { i32, i32 }
@AFS_FS_CURSOR_INTR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @afs_set_fc_call], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @afs_set_fc_call(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = load i32, ptr @AFS_FS_CURSOR_INTR, align 4, !tbaa !10
%5 = and i32 %4, %3
store i32 %5, ptr %0, align 4, !tbaa !11
%6 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = getelementptr inbounds %struct.afs_fs_cursor, ptr %1, i64 0, i32 1
store i32 %7, ptr %8, align 4, !tbaa !14
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"afs_fs_cursor", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"afs_call", !7, i64 0, !7, i64 4}
!13 = !{!12, !7, i64 4}
!14 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/fs/afs/extr_internal.h_afs_set_fc_call.c'
source_filename = "AnghaBench/linux/fs/afs/extr_internal.h_afs_set_fc_call.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AFS_FS_CURSOR_INTR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @afs_set_fc_call], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @afs_set_fc_call(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = load i32, ptr @AFS_FS_CURSOR_INTR, align 4, !tbaa !11
%5 = and i32 %4, %3
store i32 %5, ptr %0, align 4, !tbaa !12
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !14
%8 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %7, ptr %8, align 4, !tbaa !15
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"afs_fs_cursor", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"afs_call", !8, i64 0, !8, i64 4}
!14 = !{!13, !8, i64 4}
!15 = !{!7, !8, i64 4}
| linux_fs_afs_extr_internal.h_afs_set_fc_call |
; ModuleID = 'AnghaBench/goaccess/src/extr_output.c_print_def_overall_requests.c'
source_filename = "AnghaBench/goaccess/src/extr_output.c_print_def_overall_requests.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, ptr, i32 }
@.str = private unnamed_addr constant [8 x i8] c"numeric\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"black\00", align 1
@T_REQUESTS = dso_local local_unnamed_addr global i32 0, align 4
@OVERALL_REQ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_def_overall_requests], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @print_def_overall_requests(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
store ptr @.str, ptr %3, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1
store ptr @.str.1, ptr %4, align 8, !tbaa !11
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 2
%6 = load i32, ptr @T_REQUESTS, align 4, !tbaa !12
store i32 %6, ptr %5, align 8, !tbaa !13
%7 = load i32, ptr @OVERALL_REQ, align 4, !tbaa !12
%8 = tail call i32 @fpopen_obj_attr(ptr noundef %0, i32 noundef %7, i32 noundef %1) #3
%9 = tail call i32 @print_def_metric(ptr noundef %0, ptr noundef nonnull byval(%struct.TYPE_3__) align 8 %3, i32 noundef %1) #3
%10 = tail call i32 @fpclose_obj(ptr noundef %0, i32 noundef %1, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @fpopen_obj_attr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @print_def_metric(ptr noundef, ptr noundef byval(%struct.TYPE_3__) align 8, i32 noundef) local_unnamed_addr #2
declare i32 @fpclose_obj(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 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/goaccess/src/extr_output.c_print_def_overall_requests.c'
source_filename = "AnghaBench/goaccess/src/extr_output.c_print_def_overall_requests.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, ptr, i32 }
@.str = private unnamed_addr constant [8 x i8] c"numeric\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"black\00", align 1
@T_REQUESTS = common local_unnamed_addr global i32 0, align 4
@OVERALL_REQ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @print_def_overall_requests], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @print_def_overall_requests(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.TYPE_3__, align 8
%4 = load i32, ptr @T_REQUESTS, align 4, !tbaa !6
%5 = load i32, ptr @OVERALL_REQ, align 4, !tbaa !6
%6 = tail call i32 @fpopen_obj_attr(ptr noundef %0, i32 noundef %5, i32 noundef %1) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
store ptr @.str, ptr %3, align 8, !tbaa !10
%7 = getelementptr inbounds i8, ptr %3, i64 8
store ptr @.str.1, ptr %7, align 8, !tbaa !10
%8 = getelementptr inbounds i8, ptr %3, i64 16
store i32 %4, ptr %8, align 8, !tbaa !6
%9 = call i32 @print_def_metric(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %1) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
%10 = call i32 @fpclose_obj(ptr noundef %0, i32 noundef %1, i32 noundef 0) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @fpopen_obj_attr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @print_def_metric(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @fpclose_obj(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| goaccess_src_extr_output.c_print_def_overall_requests |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/qcommon/extr_cm_patch.c_CM_CheckFacetPlane.c'
source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_cm_patch.c_CM_CheckFacetPlane.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@qfalse = dso_local local_unnamed_addr global i32 0, align 4
@SURFACE_CLIP_EPSILON = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@qtrue = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @CM_CheckFacetPlane(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 {
%7 = load i32, ptr @qfalse, align 4, !tbaa !5
store i32 %7, ptr %5, align 4, !tbaa !5
%8 = tail call float @DotProduct(i32 noundef %1, ptr noundef %0) #2
%9 = getelementptr inbounds float, ptr %0, i64 3
%10 = load float, ptr %9, align 4, !tbaa !9
%11 = fsub float %8, %10
%12 = tail call float @DotProduct(i32 noundef %2, ptr noundef %0) #2
%13 = load float, ptr %9, align 4, !tbaa !9
%14 = fsub float %12, %13
%15 = fcmp ogt float %11, 0.000000e+00
br i1 %15, label %16, label %21
16: ; preds = %6
%17 = load float, ptr @SURFACE_CLIP_EPSILON, align 4, !tbaa !9
%18 = fcmp ult float %14, %17
%19 = fcmp ult float %14, %11
%20 = select i1 %18, i1 %19, i1 false
br i1 %20, label %21, label %46
21: ; preds = %16, %6
%22 = fcmp ole float %11, 0.000000e+00
%23 = fcmp ole float %14, 0.000000e+00
%24 = select i1 %22, i1 %23, i1 false
br i1 %24, label %46, label %25
25: ; preds = %21
%26 = fcmp ogt float %11, %14
%27 = load float, ptr @SURFACE_CLIP_EPSILON, align 4, !tbaa !9
%28 = fsub float %11, %14
br i1 %26, label %29, label %38
29: ; preds = %25
%30 = fsub float %11, %27
%31 = fdiv float %30, %28
%32 = fcmp olt float %31, 0.000000e+00
%33 = select i1 %32, float 0.000000e+00, float %31
%34 = load float, ptr %3, align 4, !tbaa !9
%35 = fcmp ogt float %33, %34
br i1 %35, label %36, label %46
36: ; preds = %29
store float %33, ptr %3, align 4, !tbaa !9
%37 = load i32, ptr @qtrue, align 4, !tbaa !5
store i32 %37, ptr %5, align 4, !tbaa !5
br label %46
38: ; preds = %25
%39 = fadd float %11, %27
%40 = fdiv float %39, %28
%41 = fcmp ogt float %40, 1.000000e+00
%42 = select i1 %41, float 1.000000e+00, float %40
%43 = load float, ptr %4, align 4, !tbaa !9
%44 = fcmp olt float %42, %43
br i1 %44, label %45, label %46
45: ; preds = %38
store float %42, ptr %4, align 4, !tbaa !9
br label %46
46: ; preds = %36, %29, %45, %38, %21, %16
%47 = phi ptr [ @qfalse, %16 ], [ @qtrue, %21 ], [ @qtrue, %38 ], [ @qtrue, %45 ], [ @qtrue, %29 ], [ @qtrue, %36 ]
%48 = load i32, ptr %47, align 4, !tbaa !5
ret i32 %48
}
declare float @DotProduct(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/qcommon/extr_cm_patch.c_CM_CheckFacetPlane.c'
source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_cm_patch.c_CM_CheckFacetPlane.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@qfalse = common local_unnamed_addr global i32 0, align 4
@SURFACE_CLIP_EPSILON = common local_unnamed_addr global float 0.000000e+00, align 4
@qtrue = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @CM_CheckFacetPlane(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 {
%7 = load i32, ptr @qfalse, align 4, !tbaa !6
store i32 %7, ptr %5, align 4, !tbaa !6
%8 = tail call float @DotProduct(i32 noundef %1, ptr noundef %0) #2
%9 = getelementptr inbounds i8, ptr %0, i64 12
%10 = load float, ptr %9, align 4, !tbaa !10
%11 = fsub float %8, %10
%12 = tail call float @DotProduct(i32 noundef %2, ptr noundef %0) #2
%13 = load float, ptr %9, align 4, !tbaa !10
%14 = fsub float %12, %13
%15 = fcmp ogt float %11, 0.000000e+00
br i1 %15, label %16, label %21
16: ; preds = %6
%17 = load float, ptr @SURFACE_CLIP_EPSILON, align 4, !tbaa !10
%18 = fcmp ult float %14, %17
%19 = fcmp ult float %14, %11
%20 = select i1 %18, i1 %19, i1 false
br i1 %20, label %21, label %46
21: ; preds = %16, %6
%22 = fcmp ole float %11, 0.000000e+00
%23 = fcmp ole float %14, 0.000000e+00
%24 = select i1 %22, i1 %23, i1 false
br i1 %24, label %46, label %25
25: ; preds = %21
%26 = fcmp ogt float %11, %14
%27 = load float, ptr @SURFACE_CLIP_EPSILON, align 4, !tbaa !10
%28 = fsub float %11, %14
br i1 %26, label %29, label %38
29: ; preds = %25
%30 = fsub float %11, %27
%31 = fdiv float %30, %28
%32 = fcmp olt float %31, 0.000000e+00
%33 = select i1 %32, float 0.000000e+00, float %31
%34 = load float, ptr %3, align 4, !tbaa !10
%35 = fcmp ogt float %33, %34
br i1 %35, label %36, label %46
36: ; preds = %29
store float %33, ptr %3, align 4, !tbaa !10
%37 = load i32, ptr @qtrue, align 4, !tbaa !6
store i32 %37, ptr %5, align 4, !tbaa !6
br label %46
38: ; preds = %25
%39 = fadd float %11, %27
%40 = fdiv float %39, %28
%41 = fcmp ogt float %40, 1.000000e+00
%42 = select i1 %41, float 1.000000e+00, float %40
%43 = load float, ptr %4, align 4, !tbaa !10
%44 = fcmp olt float %42, %43
br i1 %44, label %45, label %46
45: ; preds = %38
store float %42, ptr %4, align 4, !tbaa !10
br label %46
46: ; preds = %36, %29, %45, %38, %21, %16
%47 = phi ptr [ @qfalse, %16 ], [ @qtrue, %21 ], [ @qtrue, %38 ], [ @qtrue, %45 ], [ @qtrue, %29 ], [ @qtrue, %36 ]
%48 = load i32, ptr %47, align 4, !tbaa !6
ret i32 %48
}
declare float @DotProduct(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !8, i64 0}
| Quake-III-Arena_code_qcommon_extr_cm_patch.c_CM_CheckFacetPlane |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_app.h_nfp_app_sriov_disable.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_app.h_nfp_app_sriov_disable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @nfp_app_sriov_disable], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @nfp_app_sriov_disable(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %9, label %3
3: ; preds = %1
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 %5(ptr noundef nonnull %0) #1
br label %9
9: ; preds = %7, %3, %1
ret void
}
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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"nfp_app", !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}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_app.h_nfp_app_sriov_disable.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_app.h_nfp_app_sriov_disable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @nfp_app_sriov_disable], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @nfp_app_sriov_disable(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %9, label %3
3: ; preds = %1
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 %5(ptr noundef nonnull %0) #1
br label %9
9: ; preds = %7, %3, %1
ret void
}
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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"nfp_app", !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}
| linux_drivers_net_ethernet_netronome_nfp_extr_nfp_app.h_nfp_app_sriov_disable |
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/services/extr_outside_network.c_outnet_serviced_query.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/services/extr_outside_network.c_outnet_serviced_query.c"
target datalayout = "e-m:e-p270:32:32-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.module_qstate = type { i32, i32 }
%struct.query_info = type { i64, i32, i32, i32 }
%struct.outside_network = type { i32, i64 }
%struct.serviced_query = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.service_callback = type { ptr, ptr, ptr, ptr, ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @outnet_serviced_query(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef %10, ptr noundef %11, i64 noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17) local_unnamed_addr #0 {
%19 = getelementptr inbounds %struct.module_qstate, ptr %13, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !5
%21 = tail call i32 @inplace_cb_query_call(ptr noundef %17, ptr noundef %1, i32 noundef %2, ptr noundef %9, i32 noundef %10, ptr noundef %11, i64 noundef %12, ptr noundef %13, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %88, label %23
23: ; preds = %18
%24 = getelementptr inbounds %struct.query_info, ptr %1, i64 0, i32 3
%25 = load i32, ptr %24, align 8, !tbaa !10
%26 = getelementptr inbounds %struct.query_info, ptr %1, i64 0, i32 2
%27 = load i32, ptr %26, align 4, !tbaa !13
%28 = load i64, ptr %1, align 8, !tbaa !14
%29 = getelementptr inbounds %struct.query_info, ptr %1, i64 0, i32 1
%30 = load i32, ptr %29, align 8, !tbaa !15
%31 = tail call i32 @serviced_gen_query(ptr noundef %16, i32 noundef %25, i32 noundef %27, i64 noundef %28, i32 noundef %30, i32 noundef %2) #2
%32 = load i32, ptr %13, align 4, !tbaa !16
%33 = tail call ptr @lookup_serviced(ptr noundef %0, ptr noundef %16, i32 noundef %3, ptr noundef %9, i32 noundef %10, i32 noundef %32) #2
%34 = tail call i64 @malloc(i32 noundef 48) #2
%35 = inttoptr i64 %34 to ptr
%36 = icmp eq i64 %34, 0
br i1 %36, label %88, label %37
37: ; preds = %23
%38 = icmp eq ptr %33, null
br i1 %38, label %39, label %82
39: ; preds = %37
%40 = load i64, ptr %1, align 8, !tbaa !14
%41 = trunc i64 %40 to i32
%42 = load i32, ptr %13, align 4, !tbaa !16
%43 = tail call ptr @serviced_create(ptr noundef %0, ptr noundef %16, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef %10, ptr noundef %11, i64 noundef %12, i32 noundef %41, i32 noundef %42) #2
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %47
45: ; preds = %39
%46 = tail call i32 @free(ptr noundef nonnull %35) #2
br label %88
47: ; preds = %39
%48 = getelementptr inbounds %struct.outside_network, ptr %0, i64 0, i32 1
%49 = load i64, ptr %48, align 8, !tbaa !17
%50 = icmp eq i64 %49, 0
%51 = or i32 %7, %6
%52 = icmp ne i32 %51, 0
%53 = or i1 %52, %50
br i1 %53, label %68, label %54
54: ; preds = %47
%55 = tail call i32 @serviced_udp_send(ptr noundef nonnull %43, ptr noundef %16) #2
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %82
57: ; preds = %54
%58 = load i32, ptr %0, align 8, !tbaa !19
%59 = tail call i32 @rbtree_delete(i32 noundef %58, ptr noundef nonnull %43) #2
%60 = getelementptr inbounds %struct.serviced_query, ptr %43, i64 0, i32 5
%61 = load ptr, ptr %60, align 8, !tbaa !20
%62 = tail call i32 @free(ptr noundef %61) #2
%63 = getelementptr inbounds %struct.serviced_query, ptr %43, i64 0, i32 4
%64 = load ptr, ptr %63, align 8, !tbaa !23
%65 = tail call i32 @free(ptr noundef %64) #2
%66 = tail call i32 @free(ptr noundef nonnull %43) #2
%67 = tail call i32 @free(ptr noundef nonnull %35) #2
br label %88
68: ; preds = %47
%69 = tail call i32 @serviced_tcp_send(ptr noundef nonnull %43, ptr noundef %16) #2
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %82
71: ; preds = %68
%72 = load i32, ptr %0, align 8, !tbaa !19
%73 = tail call i32 @rbtree_delete(i32 noundef %72, ptr noundef nonnull %43) #2
%74 = getelementptr inbounds %struct.serviced_query, ptr %43, i64 0, i32 5
%75 = load ptr, ptr %74, align 8, !tbaa !20
%76 = tail call i32 @free(ptr noundef %75) #2
%77 = getelementptr inbounds %struct.serviced_query, ptr %43, i64 0, i32 4
%78 = load ptr, ptr %77, align 8, !tbaa !23
%79 = tail call i32 @free(ptr noundef %78) #2
%80 = tail call i32 @free(ptr noundef nonnull %43) #2
%81 = tail call i32 @free(ptr noundef nonnull %35) #2
br label %88
82: ; preds = %54, %68, %37
%83 = phi ptr [ %33, %37 ], [ %43, %68 ], [ %43, %54 ]
%84 = getelementptr inbounds %struct.service_callback, ptr %35, i64 0, i32 3
store ptr %14, ptr %84, align 8, !tbaa !24
%85 = getelementptr inbounds %struct.service_callback, ptr %35, i64 0, i32 2
store ptr %15, ptr %85, align 8, !tbaa !26
%86 = load ptr, ptr %83, align 8, !tbaa !27
%87 = getelementptr inbounds %struct.service_callback, ptr %35, i64 0, i32 1
store ptr %86, ptr %87, align 8, !tbaa !28
store ptr %35, ptr %83, align 8, !tbaa !27
br label %88
88: ; preds = %23, %18, %82, %71, %57, %45
%89 = phi ptr [ %83, %82 ], [ null, %71 ], [ null, %57 ], [ null, %45 ], [ null, %18 ], [ null, %23 ]
ret ptr %89
}
declare i32 @inplace_cb_query_call(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @serviced_gen_query(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @lookup_serviced(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @malloc(i32 noundef) local_unnamed_addr #1
declare ptr @serviced_create(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @serviced_udp_send(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rbtree_delete(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @serviced_tcp_send(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 4}
!6 = !{!"module_qstate", !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 16}
!11 = !{!"query_info", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 12}
!14 = !{!11, !12, i64 0}
!15 = !{!11, !7, i64 8}
!16 = !{!6, !7, i64 0}
!17 = !{!18, !12, i64 8}
!18 = !{!"outside_network", !7, i64 0, !12, i64 8}
!19 = !{!18, !7, i64 0}
!20 = !{!21, !22, i64 40}
!21 = !{!"serviced_query", !22, i64 0, !22, i64 8, !22, i64 16, !22, i64 24, !22, i64 32, !22, i64 40}
!22 = !{!"any pointer", !8, i64 0}
!23 = !{!21, !22, i64 32}
!24 = !{!25, !22, i64 24}
!25 = !{!"service_callback", !22, i64 0, !22, i64 8, !22, i64 16, !22, i64 24, !22, i64 32, !22, i64 40}
!26 = !{!25, !22, i64 16}
!27 = !{!21, !22, i64 0}
!28 = !{!25, !22, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/unbound/services/extr_outside_network.c_outnet_serviced_query.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/services/extr_outside_network.c_outnet_serviced_query.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @outnet_serviced_query(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef %10, ptr noundef %11, i64 noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17) local_unnamed_addr #0 {
%19 = getelementptr inbounds i8, ptr %13, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !6
%21 = tail call i32 @inplace_cb_query_call(ptr noundef %17, ptr noundef %1, i32 noundef %2, ptr noundef %9, i32 noundef %10, ptr noundef %11, i64 noundef %12, ptr noundef %13, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %88, label %23
23: ; preds = %18
%24 = getelementptr inbounds i8, ptr %1, i64 16
%25 = load i32, ptr %24, align 8, !tbaa !11
%26 = getelementptr inbounds i8, ptr %1, i64 12
%27 = load i32, ptr %26, align 4, !tbaa !14
%28 = load i64, ptr %1, align 8, !tbaa !15
%29 = getelementptr inbounds i8, ptr %1, i64 8
%30 = load i32, ptr %29, align 8, !tbaa !16
%31 = tail call i32 @serviced_gen_query(ptr noundef %16, i32 noundef %25, i32 noundef %27, i64 noundef %28, i32 noundef %30, i32 noundef %2) #2
%32 = load i32, ptr %13, align 4, !tbaa !17
%33 = tail call ptr @lookup_serviced(ptr noundef %0, ptr noundef %16, i32 noundef %3, ptr noundef %9, i32 noundef %10, i32 noundef %32) #2
%34 = tail call i64 @malloc(i32 noundef 48) #2
%35 = inttoptr i64 %34 to ptr
%36 = icmp eq i64 %34, 0
br i1 %36, label %88, label %37
37: ; preds = %23
%38 = icmp eq ptr %33, null
br i1 %38, label %39, label %82
39: ; preds = %37
%40 = load i64, ptr %1, align 8, !tbaa !15
%41 = trunc i64 %40 to i32
%42 = load i32, ptr %13, align 4, !tbaa !17
%43 = tail call ptr @serviced_create(ptr noundef %0, ptr noundef %16, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef %10, ptr noundef %11, i64 noundef %12, i32 noundef %41, i32 noundef %42) #2
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %47
45: ; preds = %39
%46 = tail call i32 @free(ptr noundef nonnull %35) #2
br label %88
47: ; preds = %39
%48 = getelementptr inbounds i8, ptr %0, i64 8
%49 = load i64, ptr %48, align 8, !tbaa !18
%50 = icmp eq i64 %49, 0
%51 = or i32 %7, %6
%52 = icmp ne i32 %51, 0
%53 = or i1 %52, %50
br i1 %53, label %68, label %54
54: ; preds = %47
%55 = tail call i32 @serviced_udp_send(ptr noundef nonnull %43, ptr noundef %16) #2
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %82
57: ; preds = %54
%58 = load i32, ptr %0, align 8, !tbaa !20
%59 = tail call i32 @rbtree_delete(i32 noundef %58, ptr noundef nonnull %43) #2
%60 = getelementptr inbounds i8, ptr %43, i64 40
%61 = load ptr, ptr %60, align 8, !tbaa !21
%62 = tail call i32 @free(ptr noundef %61) #2
%63 = getelementptr inbounds i8, ptr %43, i64 32
%64 = load ptr, ptr %63, align 8, !tbaa !24
%65 = tail call i32 @free(ptr noundef %64) #2
%66 = tail call i32 @free(ptr noundef nonnull %43) #2
%67 = tail call i32 @free(ptr noundef nonnull %35) #2
br label %88
68: ; preds = %47
%69 = tail call i32 @serviced_tcp_send(ptr noundef nonnull %43, ptr noundef %16) #2
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %82
71: ; preds = %68
%72 = load i32, ptr %0, align 8, !tbaa !20
%73 = tail call i32 @rbtree_delete(i32 noundef %72, ptr noundef nonnull %43) #2
%74 = getelementptr inbounds i8, ptr %43, i64 40
%75 = load ptr, ptr %74, align 8, !tbaa !21
%76 = tail call i32 @free(ptr noundef %75) #2
%77 = getelementptr inbounds i8, ptr %43, i64 32
%78 = load ptr, ptr %77, align 8, !tbaa !24
%79 = tail call i32 @free(ptr noundef %78) #2
%80 = tail call i32 @free(ptr noundef nonnull %43) #2
%81 = tail call i32 @free(ptr noundef nonnull %35) #2
br label %88
82: ; preds = %54, %68, %37
%83 = phi ptr [ %33, %37 ], [ %43, %68 ], [ %43, %54 ]
%84 = getelementptr inbounds i8, ptr %35, i64 24
store ptr %14, ptr %84, align 8, !tbaa !25
%85 = getelementptr inbounds i8, ptr %35, i64 16
store ptr %15, ptr %85, align 8, !tbaa !27
%86 = load ptr, ptr %83, align 8, !tbaa !28
%87 = getelementptr inbounds i8, ptr %35, i64 8
store ptr %86, ptr %87, align 8, !tbaa !29
store ptr %35, ptr %83, align 8, !tbaa !28
br label %88
88: ; preds = %23, %18, %82, %71, %57, %45
%89 = phi ptr [ %83, %82 ], [ null, %71 ], [ null, %57 ], [ null, %45 ], [ null, %18 ], [ null, %23 ]
ret ptr %89
}
declare i32 @inplace_cb_query_call(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @serviced_gen_query(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @lookup_serviced(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @malloc(i32 noundef) local_unnamed_addr #1
declare ptr @serviced_create(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @serviced_udp_send(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rbtree_delete(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @serviced_tcp_send(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 4}
!7 = !{!"module_qstate", !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 16}
!12 = !{!"query_info", !13, i64 0, !8, i64 8, !8, i64 12, !8, i64 16}
!13 = !{!"long", !9, i64 0}
!14 = !{!12, !8, i64 12}
!15 = !{!12, !13, i64 0}
!16 = !{!12, !8, i64 8}
!17 = !{!7, !8, i64 0}
!18 = !{!19, !13, i64 8}
!19 = !{!"outside_network", !8, i64 0, !13, i64 8}
!20 = !{!19, !8, i64 0}
!21 = !{!22, !23, i64 40}
!22 = !{!"serviced_query", !23, i64 0, !23, i64 8, !23, i64 16, !23, i64 24, !23, i64 32, !23, i64 40}
!23 = !{!"any pointer", !9, i64 0}
!24 = !{!22, !23, i64 32}
!25 = !{!26, !23, i64 24}
!26 = !{!"service_callback", !23, i64 0, !23, i64 8, !23, i64 16, !23, i64 24, !23, i64 32, !23, i64 40}
!27 = !{!26, !23, i64 16}
!28 = !{!22, !23, i64 0}
!29 = !{!26, !23, i64 8}
| freebsd_contrib_unbound_services_extr_outside_network.c_outnet_serviced_query |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_bio.c_buf_markclean.c'
source_filename = "AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_bio.c_buf_markclean.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i32 }
@B_DELWRI = dso_local local_unnamed_addr global i32 0, align 4
@nbdwrite = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @buf_markclean(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = load i32, ptr @B_DELWRI, align 4, !tbaa !10
%5 = tail call i64 @ISSET(i32 noundef %3, i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %14, label %7
7: ; preds = %1
%8 = load i32, ptr %2, align 4, !tbaa !5
%9 = load i32, ptr @B_DELWRI, align 4, !tbaa !10
%10 = tail call i32 @CLR(i32 noundef %8, i32 noundef %9) #2
%11 = tail call i32 @OSAddAtomicLong(i32 noundef -1, ptr noundef nonnull @nbdwrite) #2
%12 = load i32, ptr %0, align 4, !tbaa !11
%13 = tail call i32 @buf_reassign(ptr noundef nonnull %0, i32 noundef %12) #2
br label %14
14: ; preds = %7, %1
ret void
}
declare i64 @ISSET(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CLR(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OSAddAtomicLong(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @buf_reassign(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_bio.c_buf_markclean.c'
source_filename = "AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_bio.c_buf_markclean.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@B_DELWRI = common local_unnamed_addr global i32 0, align 4
@nbdwrite = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @buf_markclean(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = load i32, ptr @B_DELWRI, align 4, !tbaa !11
%5 = tail call i64 @ISSET(i32 noundef %3, i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %14, label %7
7: ; preds = %1
%8 = load i32, ptr %2, align 4, !tbaa !6
%9 = load i32, ptr @B_DELWRI, align 4, !tbaa !11
%10 = tail call i32 @CLR(i32 noundef %8, i32 noundef %9) #2
%11 = tail call i32 @OSAddAtomicLong(i32 noundef -1, ptr noundef nonnull @nbdwrite) #2
%12 = load i32, ptr %0, align 4, !tbaa !12
%13 = tail call i32 @buf_reassign(ptr noundef nonnull %0, i32 noundef %12) #2
br label %14
14: ; preds = %7, %1
ret void
}
declare i64 @ISSET(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CLR(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OSAddAtomicLong(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @buf_reassign(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
| darwin-xnu_bsd_vfs_extr_vfs_bio.c_buf_markclean |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_dss_sp.c_dss_sp_vec_mult.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_dss_sp.c_dss_sp_vec_mult.c"
target datalayout = "e-m:e-p270:32:32-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 @dss_sp_vec_mult], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @dss_sp_vec_mult(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
store i32 %4, ptr %1, align 4, !tbaa !5
%5 = getelementptr inbounds i32, ptr %0, i64 1
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = getelementptr inbounds i32, ptr %2, i64 1
%8 = load i32, ptr %7, align 4, !tbaa !5
%9 = mul nsw i32 %8, %6
%10 = add nsw i32 %9, 16384
%11 = ashr i32 %10, 15
%12 = getelementptr inbounds i32, ptr %1, i64 1
store i32 %11, ptr %12, align 4, !tbaa !5
%13 = getelementptr inbounds i32, ptr %0, i64 2
%14 = load i32, ptr %13, align 4, !tbaa !5
%15 = getelementptr inbounds i32, ptr %2, i64 2
%16 = load i32, ptr %15, align 4, !tbaa !5
%17 = mul nsw i32 %16, %14
%18 = add nsw i32 %17, 16384
%19 = ashr i32 %18, 15
%20 = getelementptr inbounds i32, ptr %1, i64 2
store i32 %19, ptr %20, align 4, !tbaa !5
%21 = getelementptr inbounds i32, ptr %0, i64 3
%22 = load i32, ptr %21, align 4, !tbaa !5
%23 = getelementptr inbounds i32, ptr %2, i64 3
%24 = load i32, ptr %23, align 4, !tbaa !5
%25 = mul nsw i32 %24, %22
%26 = add nsw i32 %25, 16384
%27 = ashr i32 %26, 15
%28 = getelementptr inbounds i32, ptr %1, i64 3
store i32 %27, ptr %28, align 4, !tbaa !5
%29 = getelementptr inbounds i32, ptr %0, i64 4
%30 = load i32, ptr %29, align 4, !tbaa !5
%31 = getelementptr inbounds i32, ptr %2, i64 4
%32 = load i32, ptr %31, align 4, !tbaa !5
%33 = mul nsw i32 %32, %30
%34 = add nsw i32 %33, 16384
%35 = ashr i32 %34, 15
%36 = getelementptr inbounds i32, ptr %1, i64 4
store i32 %35, ptr %36, align 4, !tbaa !5
%37 = getelementptr inbounds i32, ptr %0, i64 5
%38 = load i32, ptr %37, align 4, !tbaa !5
%39 = getelementptr inbounds i32, ptr %2, i64 5
%40 = load i32, ptr %39, align 4, !tbaa !5
%41 = mul nsw i32 %40, %38
%42 = add nsw i32 %41, 16384
%43 = ashr i32 %42, 15
%44 = getelementptr inbounds i32, ptr %1, i64 5
store i32 %43, ptr %44, align 4, !tbaa !5
%45 = getelementptr inbounds i32, ptr %0, i64 6
%46 = load i32, ptr %45, align 4, !tbaa !5
%47 = getelementptr inbounds i32, ptr %2, i64 6
%48 = load i32, ptr %47, align 4, !tbaa !5
%49 = mul nsw i32 %48, %46
%50 = add nsw i32 %49, 16384
%51 = ashr i32 %50, 15
%52 = getelementptr inbounds i32, ptr %1, i64 6
store i32 %51, ptr %52, align 4, !tbaa !5
%53 = getelementptr inbounds i32, ptr %0, i64 7
%54 = load i32, ptr %53, align 4, !tbaa !5
%55 = getelementptr inbounds i32, ptr %2, i64 7
%56 = load i32, ptr %55, align 4, !tbaa !5
%57 = mul nsw i32 %56, %54
%58 = add nsw i32 %57, 16384
%59 = ashr i32 %58, 15
%60 = getelementptr inbounds i32, ptr %1, i64 7
store i32 %59, ptr %60, align 4, !tbaa !5
%61 = getelementptr inbounds i32, ptr %0, i64 8
%62 = load i32, ptr %61, align 4, !tbaa !5
%63 = getelementptr inbounds i32, ptr %2, i64 8
%64 = load i32, ptr %63, align 4, !tbaa !5
%65 = mul nsw i32 %64, %62
%66 = add nsw i32 %65, 16384
%67 = ashr i32 %66, 15
%68 = getelementptr inbounds i32, ptr %1, i64 8
store i32 %67, ptr %68, align 4, !tbaa !5
%69 = getelementptr inbounds i32, ptr %0, i64 9
%70 = load i32, ptr %69, align 4, !tbaa !5
%71 = getelementptr inbounds i32, ptr %2, i64 9
%72 = load i32, ptr %71, align 4, !tbaa !5
%73 = mul nsw i32 %72, %70
%74 = add nsw i32 %73, 16384
%75 = ashr i32 %74, 15
%76 = getelementptr inbounds i32, ptr %1, i64 9
store i32 %75, ptr %76, align 4, !tbaa !5
%77 = getelementptr inbounds i32, ptr %0, i64 10
%78 = load i32, ptr %77, align 4, !tbaa !5
%79 = getelementptr inbounds i32, ptr %2, i64 10
%80 = load i32, ptr %79, align 4, !tbaa !5
%81 = mul nsw i32 %80, %78
%82 = add nsw i32 %81, 16384
%83 = ashr i32 %82, 15
%84 = getelementptr inbounds i32, ptr %1, i64 10
store i32 %83, ptr %84, align 4, !tbaa !5
%85 = getelementptr inbounds i32, ptr %0, i64 11
%86 = load i32, ptr %85, align 4, !tbaa !5
%87 = getelementptr inbounds i32, ptr %2, i64 11
%88 = load i32, ptr %87, align 4, !tbaa !5
%89 = mul nsw i32 %88, %86
%90 = add nsw i32 %89, 16384
%91 = ashr i32 %90, 15
%92 = getelementptr inbounds i32, ptr %1, i64 11
store i32 %91, ptr %92, align 4, !tbaa !5
%93 = getelementptr inbounds i32, ptr %0, i64 12
%94 = load i32, ptr %93, align 4, !tbaa !5
%95 = getelementptr inbounds i32, ptr %2, i64 12
%96 = load i32, ptr %95, align 4, !tbaa !5
%97 = mul nsw i32 %96, %94
%98 = add nsw i32 %97, 16384
%99 = ashr i32 %98, 15
%100 = getelementptr inbounds i32, ptr %1, i64 12
store i32 %99, ptr %100, align 4, !tbaa !5
%101 = getelementptr inbounds i32, ptr %0, i64 13
%102 = load i32, ptr %101, align 4, !tbaa !5
%103 = getelementptr inbounds i32, ptr %2, i64 13
%104 = load i32, ptr %103, align 4, !tbaa !5
%105 = mul nsw i32 %104, %102
%106 = add nsw i32 %105, 16384
%107 = ashr i32 %106, 15
%108 = getelementptr inbounds i32, ptr %1, i64 13
store i32 %107, ptr %108, align 4, !tbaa !5
%109 = getelementptr inbounds i32, ptr %0, i64 14
%110 = load i32, ptr %109, align 4, !tbaa !5
%111 = getelementptr inbounds i32, ptr %2, i64 14
%112 = load i32, ptr %111, align 4, !tbaa !5
%113 = mul nsw i32 %112, %110
%114 = add nsw i32 %113, 16384
%115 = ashr i32 %114, 15
%116 = getelementptr inbounds i32, ptr %1, i64 14
store i32 %115, ptr %116, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/FFmpeg/libavcodec/extr_dss_sp.c_dss_sp_vec_mult.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_dss_sp.c_dss_sp_vec_mult.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 @dss_sp_vec_mult], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @dss_sp_vec_mult(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
store i32 %4, ptr %1, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %2, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !6
%9 = mul nsw i32 %8, %6
%10 = add nsw i32 %9, 16384
%11 = ashr i32 %10, 15
%12 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %11, ptr %12, align 4, !tbaa !6
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load i32, ptr %13, align 4, !tbaa !6
%15 = getelementptr inbounds i8, ptr %2, i64 8
%16 = load i32, ptr %15, align 4, !tbaa !6
%17 = mul nsw i32 %16, %14
%18 = add nsw i32 %17, 16384
%19 = ashr i32 %18, 15
%20 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %19, ptr %20, align 4, !tbaa !6
%21 = getelementptr inbounds i8, ptr %0, i64 12
%22 = load i32, ptr %21, align 4, !tbaa !6
%23 = getelementptr inbounds i8, ptr %2, i64 12
%24 = load i32, ptr %23, align 4, !tbaa !6
%25 = mul nsw i32 %24, %22
%26 = add nsw i32 %25, 16384
%27 = ashr i32 %26, 15
%28 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %27, ptr %28, align 4, !tbaa !6
%29 = getelementptr inbounds i8, ptr %0, i64 16
%30 = load i32, ptr %29, align 4, !tbaa !6
%31 = getelementptr inbounds i8, ptr %2, i64 16
%32 = load i32, ptr %31, align 4, !tbaa !6
%33 = mul nsw i32 %32, %30
%34 = add nsw i32 %33, 16384
%35 = ashr i32 %34, 15
%36 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %35, ptr %36, align 4, !tbaa !6
%37 = getelementptr inbounds i8, ptr %0, i64 20
%38 = load i32, ptr %37, align 4, !tbaa !6
%39 = getelementptr inbounds i8, ptr %2, i64 20
%40 = load i32, ptr %39, align 4, !tbaa !6
%41 = mul nsw i32 %40, %38
%42 = add nsw i32 %41, 16384
%43 = ashr i32 %42, 15
%44 = getelementptr inbounds i8, ptr %1, i64 20
store i32 %43, ptr %44, align 4, !tbaa !6
%45 = getelementptr inbounds i8, ptr %0, i64 24
%46 = load i32, ptr %45, align 4, !tbaa !6
%47 = getelementptr inbounds i8, ptr %2, i64 24
%48 = load i32, ptr %47, align 4, !tbaa !6
%49 = mul nsw i32 %48, %46
%50 = add nsw i32 %49, 16384
%51 = ashr i32 %50, 15
%52 = getelementptr inbounds i8, ptr %1, i64 24
store i32 %51, ptr %52, align 4, !tbaa !6
%53 = getelementptr inbounds i8, ptr %0, i64 28
%54 = load i32, ptr %53, align 4, !tbaa !6
%55 = getelementptr inbounds i8, ptr %2, i64 28
%56 = load i32, ptr %55, align 4, !tbaa !6
%57 = mul nsw i32 %56, %54
%58 = add nsw i32 %57, 16384
%59 = ashr i32 %58, 15
%60 = getelementptr inbounds i8, ptr %1, i64 28
store i32 %59, ptr %60, align 4, !tbaa !6
%61 = getelementptr inbounds i8, ptr %0, i64 32
%62 = load i32, ptr %61, align 4, !tbaa !6
%63 = getelementptr inbounds i8, ptr %2, i64 32
%64 = load i32, ptr %63, align 4, !tbaa !6
%65 = mul nsw i32 %64, %62
%66 = add nsw i32 %65, 16384
%67 = ashr i32 %66, 15
%68 = getelementptr inbounds i8, ptr %1, i64 32
store i32 %67, ptr %68, align 4, !tbaa !6
%69 = getelementptr inbounds i8, ptr %0, i64 36
%70 = load i32, ptr %69, align 4, !tbaa !6
%71 = getelementptr inbounds i8, ptr %2, i64 36
%72 = load i32, ptr %71, align 4, !tbaa !6
%73 = mul nsw i32 %72, %70
%74 = add nsw i32 %73, 16384
%75 = ashr i32 %74, 15
%76 = getelementptr inbounds i8, ptr %1, i64 36
store i32 %75, ptr %76, align 4, !tbaa !6
%77 = getelementptr inbounds i8, ptr %0, i64 40
%78 = load i32, ptr %77, align 4, !tbaa !6
%79 = getelementptr inbounds i8, ptr %2, i64 40
%80 = load i32, ptr %79, align 4, !tbaa !6
%81 = mul nsw i32 %80, %78
%82 = add nsw i32 %81, 16384
%83 = ashr i32 %82, 15
%84 = getelementptr inbounds i8, ptr %1, i64 40
store i32 %83, ptr %84, align 4, !tbaa !6
%85 = getelementptr inbounds i8, ptr %0, i64 44
%86 = load i32, ptr %85, align 4, !tbaa !6
%87 = getelementptr inbounds i8, ptr %2, i64 44
%88 = load i32, ptr %87, align 4, !tbaa !6
%89 = mul nsw i32 %88, %86
%90 = add nsw i32 %89, 16384
%91 = ashr i32 %90, 15
%92 = getelementptr inbounds i8, ptr %1, i64 44
store i32 %91, ptr %92, align 4, !tbaa !6
%93 = getelementptr inbounds i8, ptr %0, i64 48
%94 = load i32, ptr %93, align 4, !tbaa !6
%95 = getelementptr inbounds i8, ptr %2, i64 48
%96 = load i32, ptr %95, align 4, !tbaa !6
%97 = mul nsw i32 %96, %94
%98 = add nsw i32 %97, 16384
%99 = ashr i32 %98, 15
%100 = getelementptr inbounds i8, ptr %1, i64 48
store i32 %99, ptr %100, align 4, !tbaa !6
%101 = getelementptr inbounds i8, ptr %0, i64 52
%102 = load i32, ptr %101, align 4, !tbaa !6
%103 = getelementptr inbounds i8, ptr %2, i64 52
%104 = load i32, ptr %103, align 4, !tbaa !6
%105 = mul nsw i32 %104, %102
%106 = add nsw i32 %105, 16384
%107 = ashr i32 %106, 15
%108 = getelementptr inbounds i8, ptr %1, i64 52
store i32 %107, ptr %108, align 4, !tbaa !6
%109 = getelementptr inbounds i8, ptr %0, i64 56
%110 = load i32, ptr %109, align 4, !tbaa !6
%111 = getelementptr inbounds i8, ptr %2, i64 56
%112 = load i32, ptr %111, align 4, !tbaa !6
%113 = mul nsw i32 %112, %110
%114 = add nsw i32 %113, 16384
%115 = ashr i32 %114, 15
%116 = getelementptr inbounds i8, ptr %1, i64 56
store i32 %115, ptr %116, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
| FFmpeg_libavcodec_extr_dss_sp.c_dss_sp_vec_mult |
; ModuleID = 'AnghaBench/linux/drivers/nvme/target/extr_fcloop.c___unlink_remote_port.c'
source_filename = "AnghaBench/linux/drivers/nvme/target/extr_fcloop.c___unlink_remote_port.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.fcloop_nport = type { ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @__unlink_remote_port], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable
define internal ptr @__unlink_remote_port(ptr nocapture noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.fcloop_nport, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = icmp eq ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %4
store ptr null, ptr %6, align 8, !tbaa !11
br label %9
9: ; preds = %8, %4, %1
store ptr null, ptr %0, align 8, !tbaa !5
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"fcloop_nport", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/nvme/target/extr_fcloop.c___unlink_remote_port.c'
source_filename = "AnghaBench/linux/drivers/nvme/target/extr_fcloop.c___unlink_remote_port.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 @__unlink_remote_port], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal ptr @__unlink_remote_port(ptr nocapture noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = icmp eq ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %4
store ptr null, ptr %6, align 8, !tbaa !12
br label %9
9: ; preds = %8, %4, %1
store ptr null, ptr %0, align 8, !tbaa !6
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"fcloop_nport", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_2__", !8, i64 0}
| linux_drivers_nvme_target_extr_fcloop.c___unlink_remote_port |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_cubic.c_tcp_cubic_switch_cc.c'
source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_cubic.c_tcp_cubic_switch_cc.c"
target datalayout = "e-m:e-p270:32:32-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 }
@tcp_cc_cubic = dso_local global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tcp_cubic_switch_cc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tcp_cubic_switch_cc(ptr noundef %0, i32 %1) #0 {
%3 = tail call i32 @tcp_cubic_cwnd_init_or_reset(ptr noundef %0) #2
%4 = tail call i32 @OSIncrementAtomic(ptr noundef nonnull @tcp_cc_cubic) #2
ret void
}
declare i32 @tcp_cubic_cwnd_init_or_reset(ptr noundef) local_unnamed_addr #1
declare i32 @OSIncrementAtomic(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/darwin-xnu/bsd/netinet/extr_tcp_cubic.c_tcp_cubic_switch_cc.c'
source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_cubic.c_tcp_cubic_switch_cc.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 }
@tcp_cc_cubic = common global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @tcp_cubic_switch_cc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tcp_cubic_switch_cc(ptr noundef %0, i32 %1) #0 {
%3 = tail call i32 @tcp_cubic_cwnd_init_or_reset(ptr noundef %0) #2
%4 = tail call i32 @OSIncrementAtomic(ptr noundef nonnull @tcp_cc_cubic) #2
ret void
}
declare i32 @tcp_cubic_cwnd_init_or_reset(ptr noundef) local_unnamed_addr #1
declare i32 @OSIncrementAtomic(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)"}
| darwin-xnu_bsd_netinet_extr_tcp_cubic.c_tcp_cubic_switch_cc |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/ld/extr_ldlang.c_open_output.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/ld/extr_ldlang.c_open_output.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i64 }
%struct.TYPE_10__ = type { ptr }
%struct.TYPE_8__ = type { i32, ptr }
%struct.TYPE_7__ = type { i32, i64 }
@output_target = dso_local local_unnamed_addr global i64 0, align 8
@command_line = dso_local local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 8
@ENDIAN_UNSET = dso_local local_unnamed_addr global i64 0, align 8
@get_target = dso_local local_unnamed_addr global i32 0, align 4
@ENDIAN_BIG = dso_local local_unnamed_addr global i64 0, align 8
@BFD_ENDIAN_BIG = dso_local local_unnamed_addr global i32 0, align 4
@BFD_ENDIAN_LITTLE = dso_local local_unnamed_addr global i32 0, align 4
@closest_target_match = dso_local local_unnamed_addr global i32 0, align 4
@winner = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [75 x i8] c"%P: warning: could not find any targets that match endianness requirement\0A\00", align 1
@bfd_error_invalid_target = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [27 x i8] c"%P%F: target %s not found\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"%P%F: cannot open output file %s: %E\0A\00", align 1
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@delete_output_file_on_failure = dso_local local_unnamed_addr global i32 0, align 4
@bfd_object = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [39 x i8] c"%P%F:%s: can not make object file: %E\0A\00", align 1
@ldfile_output_architecture = dso_local local_unnamed_addr global i32 0, align 4
@ldfile_output_machine = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [39 x i8] c"%P%F:%s: can not set architecture: %E\0A\00", align 1
@link_info = dso_local local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 8
@.str.5 = private unnamed_addr constant [37 x i8] c"%P%F: can not create hash table: %E\0A\00", align 1
@g_switch_value = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @open_output], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @open_output(ptr noundef %0) #0 {
%2 = tail call i64 (...) @lang_get_output_target() #2
store i64 %2, ptr @output_target, align 8, !tbaa !5
%3 = load i64, ptr @command_line, align 8, !tbaa !9
%4 = load i64, ptr @ENDIAN_UNSET, align 8, !tbaa !5
%5 = icmp eq i64 %3, %4
br i1 %5, label %40, label %6
6: ; preds = %1
%7 = load i32, ptr @get_target, align 4, !tbaa !11
%8 = inttoptr i64 %2 to ptr
%9 = tail call ptr @bfd_search_for_target(i32 noundef %7, ptr noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %40, label %11
11: ; preds = %6
%12 = load i64, ptr @command_line, align 8, !tbaa !9
%13 = load i64, ptr @ENDIAN_BIG, align 8, !tbaa !5
%14 = icmp eq i64 %12, %13
%15 = load i32, ptr @BFD_ENDIAN_BIG, align 4
%16 = load i32, ptr @BFD_ENDIAN_LITTLE, align 4
%17 = select i1 %14, i32 %15, i32 %16
%18 = load i32, ptr %9, align 8, !tbaa !13
%19 = icmp eq i32 %18, %17
br i1 %19, label %40, label %20
20: ; preds = %11
%21 = getelementptr inbounds %struct.TYPE_8__, ptr %9, i64 0, i32 1
%22 = load ptr, ptr %21, align 8, !tbaa !16
%23 = icmp eq ptr %22, null
br i1 %23, label %30, label %24
24: ; preds = %20
%25 = load i32, ptr %22, align 8, !tbaa !17
%26 = icmp eq i32 %25, %17
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = getelementptr inbounds %struct.TYPE_7__, ptr %22, i64 0, i32 1
%29 = load i64, ptr %28, align 8, !tbaa !19
store i64 %29, ptr @output_target, align 8, !tbaa !5
br label %40
30: ; preds = %24, %20
%31 = load i32, ptr @closest_target_match, align 4, !tbaa !11
%32 = tail call ptr @bfd_search_for_target(i32 noundef %31, ptr noundef nonnull %9) #2
%33 = load ptr, ptr @winner, align 8, !tbaa !20
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = tail call i32 @_(ptr noundef nonnull @.str) #2
%37 = tail call i32 (i32, ...) @einfo(i32 noundef %36) #2
br label %40
38: ; preds = %30
%39 = load i64, ptr %33, align 8, !tbaa !21
store i64 %39, ptr @output_target, align 8, !tbaa !5
br label %40
40: ; preds = %6, %27, %38, %35, %11, %1
%41 = load i64, ptr @output_target, align 8, !tbaa !5
%42 = tail call ptr @bfd_openw(ptr noundef %0, i64 noundef %41) #2
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %55
44: ; preds = %40
%45 = tail call i64 (...) @bfd_get_error() #2
%46 = load i64, ptr @bfd_error_invalid_target, align 8, !tbaa !5
%47 = icmp eq i64 %45, %46
br i1 %47, label %48, label %52
48: ; preds = %44
%49 = tail call i32 @_(ptr noundef nonnull @.str.1) #2
%50 = load i64, ptr @output_target, align 8, !tbaa !5
%51 = tail call i32 (i32, ...) @einfo(i32 noundef %49, i64 noundef %50) #2
br label %52
52: ; preds = %48, %44
%53 = tail call i32 @_(ptr noundef nonnull @.str.2) #2
%54 = tail call i32 (i32, ...) @einfo(i32 noundef %53, ptr noundef %0) #2
br label %55
55: ; preds = %52, %40
%56 = load i32, ptr @TRUE, align 4, !tbaa !11
store i32 %56, ptr @delete_output_file_on_failure, align 4, !tbaa !11
%57 = load i32, ptr @bfd_object, align 4, !tbaa !11
%58 = tail call i32 @bfd_set_format(ptr noundef %42, i32 noundef %57) #2
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %55
%61 = tail call i32 @_(ptr noundef nonnull @.str.3) #2
%62 = tail call i32 (i32, ...) @einfo(i32 noundef %61, ptr noundef %0) #2
br label %63
63: ; preds = %60, %55
%64 = load i32, ptr @ldfile_output_architecture, align 4, !tbaa !11
%65 = load i32, ptr @ldfile_output_machine, align 4, !tbaa !11
%66 = tail call i32 @bfd_set_arch_mach(ptr noundef %42, i32 noundef %64, i32 noundef %65) #2
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %63
%69 = tail call i32 @_(ptr noundef nonnull @.str.4) #2
%70 = tail call i32 (i32, ...) @einfo(i32 noundef %69, ptr noundef %0) #2
br label %71
71: ; preds = %68, %63
%72 = tail call ptr @bfd_link_hash_table_create(ptr noundef %42) #2
store ptr %72, ptr @link_info, align 8, !tbaa !23
%73 = icmp eq ptr %72, null
br i1 %73, label %74, label %77
74: ; preds = %71
%75 = tail call i32 @_(ptr noundef nonnull @.str.5) #2
%76 = tail call i32 (i32, ...) @einfo(i32 noundef %75) #2
br label %77
77: ; preds = %74, %71
%78 = load i32, ptr @g_switch_value, align 4, !tbaa !11
%79 = tail call i32 @bfd_set_gp_size(ptr noundef %42, i32 noundef %78) #2
ret ptr %42
}
declare i64 @lang_get_output_target(...) local_unnamed_addr #1
declare ptr @bfd_search_for_target(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @einfo(i32 noundef, ...) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
declare ptr @bfd_openw(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @bfd_get_error(...) local_unnamed_addr #1
declare i32 @bfd_set_format(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfd_set_arch_mach(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @bfd_link_hash_table_create(ptr noundef) local_unnamed_addr #1
declare i32 @bfd_set_gp_size(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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_11__", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_8__", !12, i64 0, !15, i64 8}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_7__", !12, i64 0, !6, i64 8}
!19 = !{!18, !6, i64 8}
!20 = !{!15, !15, i64 0}
!21 = !{!22, !6, i64 0}
!22 = !{!"TYPE_9__", !6, i64 0}
!23 = !{!24, !15, i64 0}
!24 = !{!"TYPE_10__", !15, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/ld/extr_ldlang.c_open_output.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/ld/extr_ldlang.c_open_output.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_11__ = type { i64 }
%struct.TYPE_10__ = type { ptr }
@output_target = common local_unnamed_addr global i64 0, align 8
@command_line = common local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 8
@ENDIAN_UNSET = common local_unnamed_addr global i64 0, align 8
@get_target = common local_unnamed_addr global i32 0, align 4
@ENDIAN_BIG = common local_unnamed_addr global i64 0, align 8
@BFD_ENDIAN_BIG = common local_unnamed_addr global i32 0, align 4
@BFD_ENDIAN_LITTLE = common local_unnamed_addr global i32 0, align 4
@closest_target_match = common local_unnamed_addr global i32 0, align 4
@winner = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [75 x i8] c"%P: warning: could not find any targets that match endianness requirement\0A\00", align 1
@bfd_error_invalid_target = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [27 x i8] c"%P%F: target %s not found\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"%P%F: cannot open output file %s: %E\0A\00", align 1
@TRUE = common local_unnamed_addr global i32 0, align 4
@delete_output_file_on_failure = common local_unnamed_addr global i32 0, align 4
@bfd_object = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [39 x i8] c"%P%F:%s: can not make object file: %E\0A\00", align 1
@ldfile_output_architecture = common local_unnamed_addr global i32 0, align 4
@ldfile_output_machine = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [39 x i8] c"%P%F:%s: can not set architecture: %E\0A\00", align 1
@link_info = common local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 8
@.str.5 = private unnamed_addr constant [37 x i8] c"%P%F: can not create hash table: %E\0A\00", align 1
@g_switch_value = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @open_output], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @open_output(ptr noundef %0) #0 {
%2 = tail call i64 @lang_get_output_target() #2
store i64 %2, ptr @output_target, align 8, !tbaa !6
%3 = load i64, ptr @command_line, align 8, !tbaa !10
%4 = load i64, ptr @ENDIAN_UNSET, align 8, !tbaa !6
%5 = icmp eq i64 %3, %4
br i1 %5, label %40, label %6
6: ; preds = %1
%7 = load i32, ptr @get_target, align 4, !tbaa !12
%8 = inttoptr i64 %2 to ptr
%9 = tail call ptr @bfd_search_for_target(i32 noundef %7, ptr noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %40, label %11
11: ; preds = %6
%12 = load i64, ptr @command_line, align 8, !tbaa !10
%13 = load i64, ptr @ENDIAN_BIG, align 8, !tbaa !6
%14 = icmp eq i64 %12, %13
%15 = load i32, ptr @BFD_ENDIAN_BIG, align 4
%16 = load i32, ptr @BFD_ENDIAN_LITTLE, align 4
%17 = select i1 %14, i32 %15, i32 %16
%18 = load i32, ptr %9, align 8, !tbaa !14
%19 = icmp eq i32 %18, %17
br i1 %19, label %40, label %20
20: ; preds = %11
%21 = getelementptr inbounds i8, ptr %9, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !17
%23 = icmp eq ptr %22, null
br i1 %23, label %30, label %24
24: ; preds = %20
%25 = load i32, ptr %22, align 8, !tbaa !18
%26 = icmp eq i32 %25, %17
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = getelementptr inbounds i8, ptr %22, i64 8
%29 = load i64, ptr %28, align 8, !tbaa !20
store i64 %29, ptr @output_target, align 8, !tbaa !6
br label %40
30: ; preds = %24, %20
%31 = load i32, ptr @closest_target_match, align 4, !tbaa !12
%32 = tail call ptr @bfd_search_for_target(i32 noundef %31, ptr noundef nonnull %9) #2
%33 = load ptr, ptr @winner, align 8, !tbaa !21
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = tail call i32 @_(ptr noundef nonnull @.str) #2
%37 = tail call i32 (i32, ...) @einfo(i32 noundef %36) #2
br label %40
38: ; preds = %30
%39 = load i64, ptr %33, align 8, !tbaa !22
store i64 %39, ptr @output_target, align 8, !tbaa !6
br label %40
40: ; preds = %6, %27, %38, %35, %11, %1
%41 = load i64, ptr @output_target, align 8, !tbaa !6
%42 = tail call ptr @bfd_openw(ptr noundef %0, i64 noundef %41) #2
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %55
44: ; preds = %40
%45 = tail call i64 @bfd_get_error() #2
%46 = load i64, ptr @bfd_error_invalid_target, align 8, !tbaa !6
%47 = icmp eq i64 %45, %46
br i1 %47, label %48, label %52
48: ; preds = %44
%49 = tail call i32 @_(ptr noundef nonnull @.str.1) #2
%50 = load i64, ptr @output_target, align 8, !tbaa !6
%51 = tail call i32 (i32, ...) @einfo(i32 noundef %49, i64 noundef %50) #2
br label %52
52: ; preds = %48, %44
%53 = tail call i32 @_(ptr noundef nonnull @.str.2) #2
%54 = tail call i32 (i32, ...) @einfo(i32 noundef %53, ptr noundef %0) #2
br label %55
55: ; preds = %52, %40
%56 = load i32, ptr @TRUE, align 4, !tbaa !12
store i32 %56, ptr @delete_output_file_on_failure, align 4, !tbaa !12
%57 = load i32, ptr @bfd_object, align 4, !tbaa !12
%58 = tail call i32 @bfd_set_format(ptr noundef %42, i32 noundef %57) #2
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %55
%61 = tail call i32 @_(ptr noundef nonnull @.str.3) #2
%62 = tail call i32 (i32, ...) @einfo(i32 noundef %61, ptr noundef %0) #2
br label %63
63: ; preds = %60, %55
%64 = load i32, ptr @ldfile_output_architecture, align 4, !tbaa !12
%65 = load i32, ptr @ldfile_output_machine, align 4, !tbaa !12
%66 = tail call i32 @bfd_set_arch_mach(ptr noundef %42, i32 noundef %64, i32 noundef %65) #2
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %63
%69 = tail call i32 @_(ptr noundef nonnull @.str.4) #2
%70 = tail call i32 (i32, ...) @einfo(i32 noundef %69, ptr noundef %0) #2
br label %71
71: ; preds = %68, %63
%72 = tail call ptr @bfd_link_hash_table_create(ptr noundef %42) #2
store ptr %72, ptr @link_info, align 8, !tbaa !24
%73 = icmp eq ptr %72, null
br i1 %73, label %74, label %77
74: ; preds = %71
%75 = tail call i32 @_(ptr noundef nonnull @.str.5) #2
%76 = tail call i32 (i32, ...) @einfo(i32 noundef %75) #2
br label %77
77: ; preds = %74, %71
%78 = load i32, ptr @g_switch_value, align 4, !tbaa !12
%79 = tail call i32 @bfd_set_gp_size(ptr noundef %42, i32 noundef %78) #2
ret ptr %42
}
declare i64 @lang_get_output_target(...) local_unnamed_addr #1
declare ptr @bfd_search_for_target(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @einfo(i32 noundef, ...) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
declare ptr @bfd_openw(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @bfd_get_error(...) local_unnamed_addr #1
declare i32 @bfd_set_format(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfd_set_arch_mach(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @bfd_link_hash_table_create(ptr noundef) local_unnamed_addr #1
declare i32 @bfd_set_gp_size(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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_11__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_8__", !13, i64 0, !16, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!15, !16, i64 8}
!18 = !{!19, !13, i64 0}
!19 = !{!"TYPE_7__", !13, i64 0, !7, i64 8}
!20 = !{!19, !7, i64 8}
!21 = !{!16, !16, i64 0}
!22 = !{!23, !7, i64 0}
!23 = !{!"TYPE_9__", !7, i64 0}
!24 = !{!25, !16, i64 0}
!25 = !{!"TYPE_10__", !16, i64 0}
| freebsd_contrib_binutils_ld_extr_ldlang.c_open_output |
; ModuleID = 'AnghaBench/reactos/win32ss/gdi/dib/extr_dib_new.c_Dummy_ColorFill.c'
source_filename = "AnghaBench/reactos/win32ss/gdi/dib/extr_dib_new.c_Dummy_ColorFill.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @Dummy_ColorFill(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @FALSE, align 4, !tbaa !5
ret i32 %4
}
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/reactos/win32ss/gdi/dib/extr_dib_new.c_Dummy_ColorFill.c'
source_filename = "AnghaBench/reactos/win32ss/gdi/dib/extr_dib_new.c_Dummy_ColorFill.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FALSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i32 @Dummy_ColorFill(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @FALSE, align 4, !tbaa !6
ret i32 %4
}
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"}
| reactos_win32ss_gdi_dib_extr_dib_new.c_Dummy_ColorFill |
; ModuleID = 'AnghaBench/linux/drivers/pcmcia/extr_cs.c_socket_resume.c'
source_filename = "AnghaBench/linux/drivers/pcmcia/extr_cs.c_socket_resume.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SOCKET_SUSPEND = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @socket_resume], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @socket_resume(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @SOCKET_SUSPEND, align 4, !tbaa !10
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @EBUSY, align 4, !tbaa !10
%8 = sub nsw i32 0, %7
br label %15
9: ; preds = %1
%10 = tail call i32 @socket_early_resume(ptr noundef nonnull %0) #2
%11 = tail call i32 @socket_late_resume(ptr noundef nonnull %0) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = tail call i32 @socket_complete_resume(ptr noundef nonnull %0) #2
br label %15
15: ; preds = %9, %13, %6
%16 = phi i32 [ %8, %6 ], [ %11, %9 ], [ %14, %13 ]
ret i32 %16
}
declare i32 @socket_early_resume(ptr noundef) local_unnamed_addr #1
declare i32 @socket_late_resume(ptr noundef) local_unnamed_addr #1
declare i32 @socket_complete_resume(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 = !{!"pcmcia_socket", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/pcmcia/extr_cs.c_socket_resume.c'
source_filename = "AnghaBench/linux/drivers/pcmcia/extr_cs.c_socket_resume.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SOCKET_SUSPEND = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @socket_resume], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @socket_resume(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @SOCKET_SUSPEND, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @EBUSY, align 4, !tbaa !11
%8 = sub nsw i32 0, %7
br label %15
9: ; preds = %1
%10 = tail call i32 @socket_early_resume(ptr noundef nonnull %0) #2
%11 = tail call i32 @socket_late_resume(ptr noundef nonnull %0) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = tail call i32 @socket_complete_resume(ptr noundef nonnull %0) #2
br label %15
15: ; preds = %9, %13, %6
%16 = phi i32 [ %8, %6 ], [ %11, %9 ], [ %14, %13 ]
ret i32 %16
}
declare i32 @socket_early_resume(ptr noundef) local_unnamed_addr #1
declare i32 @socket_late_resume(ptr noundef) local_unnamed_addr #1
declare i32 @socket_complete_resume(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 = !{!"pcmcia_socket", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_pcmcia_extr_cs.c_socket_resume |
; ModuleID = 'AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/system/ports/src/extr_sys_ports_static.c_SYS_PORTS_Initialize.c'
source_filename = "AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/system/ports/src/extr_sys_ports_static.c_SYS_PORTS_Initialize.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PORTS_ID_0 = dso_local local_unnamed_addr global i32 0, align 4
@SYS_PORT_AD1PCFG = dso_local local_unnamed_addr global i32 0, align 4
@PORTS_PIN_MODE_DIGITAL = dso_local local_unnamed_addr global i32 0, align 4
@SYS_PORT_CNPUE = dso_local local_unnamed_addr global i32 0, align 4
@SYS_PORT_CNEN = dso_local local_unnamed_addr global i32 0, align 4
@PORT_CHANNEL_D = dso_local local_unnamed_addr global i32 0, align 4
@INT_ID_0 = dso_local local_unnamed_addr global i32 0, align 4
@INT_SOURCE_CHANGE_NOTICE = dso_local local_unnamed_addr global i32 0, align 4
@INT_VECTOR_CN = dso_local local_unnamed_addr global i32 0, align 4
@INT_PRIORITY_LEVEL2 = dso_local local_unnamed_addr global i32 0, align 4
@INT_SUBPRIORITY_LEVEL0 = dso_local local_unnamed_addr global i32 0, align 4
@SYS_PORT_D_ODC = dso_local local_unnamed_addr global i32 0, align 4
@SYS_PORT_D_LAT = dso_local local_unnamed_addr global i32 0, align 4
@SYS_PORT_D_TRIS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @SYS_PORTS_Initialize() local_unnamed_addr #0 {
%1 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !5
%2 = load i32, ptr @SYS_PORT_AD1PCFG, align 4, !tbaa !5
%3 = load i32, ptr @PORTS_PIN_MODE_DIGITAL, align 4, !tbaa !5
%4 = tail call i32 @PLIB_PORTS_AnPinsModeSelect(i32 noundef %1, i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !5
%6 = load i32, ptr @SYS_PORT_CNPUE, align 4, !tbaa !5
%7 = tail call i32 @PLIB_PORTS_CnPinsPullUpEnable(i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !5
%9 = load i32, ptr @SYS_PORT_CNEN, align 4, !tbaa !5
%10 = tail call i32 @PLIB_PORTS_CnPinsEnable(i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !5
%12 = tail call i32 @PLIB_PORTS_ChangeNoticeEnable(i32 noundef %11) #2
%13 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !5
%14 = load i32, ptr @PORT_CHANNEL_D, align 4, !tbaa !5
%15 = tail call i32 @PLIB_PORTS_Read(i32 noundef %13, i32 noundef %14) #2
%16 = load i32, ptr @INT_ID_0, align 4, !tbaa !5
%17 = load i32, ptr @INT_SOURCE_CHANGE_NOTICE, align 4, !tbaa !5
%18 = tail call i32 @PLIB_INT_SourceFlagClear(i32 noundef %16, i32 noundef %17) #2
%19 = load i32, ptr @INT_ID_0, align 4, !tbaa !5
%20 = load i32, ptr @INT_SOURCE_CHANGE_NOTICE, align 4, !tbaa !5
%21 = tail call i32 @PLIB_INT_SourceEnable(i32 noundef %19, i32 noundef %20) #2
%22 = load i32, ptr @INT_ID_0, align 4, !tbaa !5
%23 = load i32, ptr @INT_VECTOR_CN, align 4, !tbaa !5
%24 = load i32, ptr @INT_PRIORITY_LEVEL2, align 4, !tbaa !5
%25 = tail call i32 @PLIB_INT_VectorPrioritySet(i32 noundef %22, i32 noundef %23, i32 noundef %24) #2
%26 = load i32, ptr @INT_ID_0, align 4, !tbaa !5
%27 = load i32, ptr @INT_VECTOR_CN, align 4, !tbaa !5
%28 = load i32, ptr @INT_SUBPRIORITY_LEVEL0, align 4, !tbaa !5
%29 = tail call i32 @PLIB_INT_VectorSubPrioritySet(i32 noundef %26, i32 noundef %27, i32 noundef %28) #2
%30 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !5
%31 = load i32, ptr @PORT_CHANNEL_D, align 4, !tbaa !5
%32 = load i32, ptr @SYS_PORT_D_ODC, align 4, !tbaa !5
%33 = tail call i32 @PLIB_PORTS_OpenDrainEnable(i32 noundef %30, i32 noundef %31, i32 noundef %32) #2
%34 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !5
%35 = load i32, ptr @PORT_CHANNEL_D, align 4, !tbaa !5
%36 = load i32, ptr @SYS_PORT_D_LAT, align 4, !tbaa !5
%37 = tail call i32 @PLIB_PORTS_Write(i32 noundef %34, i32 noundef %35, i32 noundef %36) #2
%38 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !5
%39 = load i32, ptr @PORT_CHANNEL_D, align 4, !tbaa !5
%40 = load i32, ptr @SYS_PORT_D_TRIS, align 4, !tbaa !5
%41 = xor i32 %40, 65535
%42 = tail call i32 @PLIB_PORTS_DirectionOutputSet(i32 noundef %38, i32 noundef %39, i32 noundef %41) #2
ret void
}
declare i32 @PLIB_PORTS_AnPinsModeSelect(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_CnPinsPullUpEnable(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_CnPinsEnable(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_ChangeNoticeEnable(i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_Read(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_INT_SourceFlagClear(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_INT_SourceEnable(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_INT_VectorPrioritySet(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_INT_VectorSubPrioritySet(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_OpenDrainEnable(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_Write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_DirectionOutputSet(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/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/system/ports/src/extr_sys_ports_static.c_SYS_PORTS_Initialize.c'
source_filename = "AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/system/ports/src/extr_sys_ports_static.c_SYS_PORTS_Initialize.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PORTS_ID_0 = common local_unnamed_addr global i32 0, align 4
@SYS_PORT_AD1PCFG = common local_unnamed_addr global i32 0, align 4
@PORTS_PIN_MODE_DIGITAL = common local_unnamed_addr global i32 0, align 4
@SYS_PORT_CNPUE = common local_unnamed_addr global i32 0, align 4
@SYS_PORT_CNEN = common local_unnamed_addr global i32 0, align 4
@PORT_CHANNEL_D = common local_unnamed_addr global i32 0, align 4
@INT_ID_0 = common local_unnamed_addr global i32 0, align 4
@INT_SOURCE_CHANGE_NOTICE = common local_unnamed_addr global i32 0, align 4
@INT_VECTOR_CN = common local_unnamed_addr global i32 0, align 4
@INT_PRIORITY_LEVEL2 = common local_unnamed_addr global i32 0, align 4
@INT_SUBPRIORITY_LEVEL0 = common local_unnamed_addr global i32 0, align 4
@SYS_PORT_D_ODC = common local_unnamed_addr global i32 0, align 4
@SYS_PORT_D_LAT = common local_unnamed_addr global i32 0, align 4
@SYS_PORT_D_TRIS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @SYS_PORTS_Initialize() local_unnamed_addr #0 {
%1 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !6
%2 = load i32, ptr @SYS_PORT_AD1PCFG, align 4, !tbaa !6
%3 = load i32, ptr @PORTS_PIN_MODE_DIGITAL, align 4, !tbaa !6
%4 = tail call i32 @PLIB_PORTS_AnPinsModeSelect(i32 noundef %1, i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !6
%6 = load i32, ptr @SYS_PORT_CNPUE, align 4, !tbaa !6
%7 = tail call i32 @PLIB_PORTS_CnPinsPullUpEnable(i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !6
%9 = load i32, ptr @SYS_PORT_CNEN, align 4, !tbaa !6
%10 = tail call i32 @PLIB_PORTS_CnPinsEnable(i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !6
%12 = tail call i32 @PLIB_PORTS_ChangeNoticeEnable(i32 noundef %11) #2
%13 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !6
%14 = load i32, ptr @PORT_CHANNEL_D, align 4, !tbaa !6
%15 = tail call i32 @PLIB_PORTS_Read(i32 noundef %13, i32 noundef %14) #2
%16 = load i32, ptr @INT_ID_0, align 4, !tbaa !6
%17 = load i32, ptr @INT_SOURCE_CHANGE_NOTICE, align 4, !tbaa !6
%18 = tail call i32 @PLIB_INT_SourceFlagClear(i32 noundef %16, i32 noundef %17) #2
%19 = load i32, ptr @INT_ID_0, align 4, !tbaa !6
%20 = load i32, ptr @INT_SOURCE_CHANGE_NOTICE, align 4, !tbaa !6
%21 = tail call i32 @PLIB_INT_SourceEnable(i32 noundef %19, i32 noundef %20) #2
%22 = load i32, ptr @INT_ID_0, align 4, !tbaa !6
%23 = load i32, ptr @INT_VECTOR_CN, align 4, !tbaa !6
%24 = load i32, ptr @INT_PRIORITY_LEVEL2, align 4, !tbaa !6
%25 = tail call i32 @PLIB_INT_VectorPrioritySet(i32 noundef %22, i32 noundef %23, i32 noundef %24) #2
%26 = load i32, ptr @INT_ID_0, align 4, !tbaa !6
%27 = load i32, ptr @INT_VECTOR_CN, align 4, !tbaa !6
%28 = load i32, ptr @INT_SUBPRIORITY_LEVEL0, align 4, !tbaa !6
%29 = tail call i32 @PLIB_INT_VectorSubPrioritySet(i32 noundef %26, i32 noundef %27, i32 noundef %28) #2
%30 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !6
%31 = load i32, ptr @PORT_CHANNEL_D, align 4, !tbaa !6
%32 = load i32, ptr @SYS_PORT_D_ODC, align 4, !tbaa !6
%33 = tail call i32 @PLIB_PORTS_OpenDrainEnable(i32 noundef %30, i32 noundef %31, i32 noundef %32) #2
%34 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !6
%35 = load i32, ptr @PORT_CHANNEL_D, align 4, !tbaa !6
%36 = load i32, ptr @SYS_PORT_D_LAT, align 4, !tbaa !6
%37 = tail call i32 @PLIB_PORTS_Write(i32 noundef %34, i32 noundef %35, i32 noundef %36) #2
%38 = load i32, ptr @PORTS_ID_0, align 4, !tbaa !6
%39 = load i32, ptr @PORT_CHANNEL_D, align 4, !tbaa !6
%40 = load i32, ptr @SYS_PORT_D_TRIS, align 4, !tbaa !6
%41 = xor i32 %40, 65535
%42 = tail call i32 @PLIB_PORTS_DirectionOutputSet(i32 noundef %38, i32 noundef %39, i32 noundef %41) #2
ret void
}
declare i32 @PLIB_PORTS_AnPinsModeSelect(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_CnPinsPullUpEnable(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_CnPinsEnable(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_ChangeNoticeEnable(i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_Read(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_INT_SourceFlagClear(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_INT_SourceEnable(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_INT_VectorPrioritySet(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_INT_VectorSubPrioritySet(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_OpenDrainEnable(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_Write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLIB_PORTS_DirectionOutputSet(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"}
| mongoose_examples_PIC32_mqtt_client_firmware_src_system_config_mx795_CC3100_e16_framework_system_ports_src_extr_sys_ports_static.c_SYS_PORTS_Initialize |
; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_path.c_tb_path_free.c'
source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_path.c_tb_path_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.tb_path = type { i32, ptr, i32, i64, i32, i64 }
%struct.tb_path_hop = type { i32, ptr, i32, i64, i32, i64 }
; Function Attrs: nounwind uwtable
define dso_local void @tb_path_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %30
4: ; preds = %1
%5 = getelementptr inbounds %struct.tb_path, ptr %0, i64 0, i32 1
br label %6
6: ; preds = %4, %25
%7 = phi i64 [ 0, %4 ], [ %26, %25 ]
%8 = load ptr, ptr %5, align 8, !tbaa !12
%9 = getelementptr inbounds %struct.tb_path, ptr %8, i64 %7
%10 = getelementptr inbounds %struct.tb_path_hop, ptr %9, i64 0, i32 5
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = icmp eq i64 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %6
%14 = getelementptr inbounds %struct.tb_path_hop, ptr %9, i64 0, i32 4
%15 = load i32, ptr %14, align 8, !tbaa !15
%16 = tail call i32 @tb_port_release_in_hopid(i64 noundef %11, i32 noundef %15) #2
br label %17
17: ; preds = %13, %6
%18 = getelementptr inbounds %struct.tb_path_hop, ptr %9, i64 0, i32 3
%19 = load i64, ptr %18, align 8, !tbaa !16
%20 = icmp eq i64 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %17
%22 = getelementptr inbounds %struct.tb_path_hop, ptr %9, i64 0, i32 2
%23 = load i32, ptr %22, align 8, !tbaa !17
%24 = tail call i32 @tb_port_release_out_hopid(i64 noundef %19, i32 noundef %23) #2
br label %25
25: ; preds = %21, %17
%26 = add nuw nsw i64 %7, 1
%27 = load i32, ptr %0, align 8, !tbaa !5
%28 = sext i32 %27 to i64
%29 = icmp slt i64 %26, %28
br i1 %29, label %6, label %30, !llvm.loop !18
30: ; preds = %25, %1
%31 = getelementptr inbounds %struct.tb_path, ptr %0, i64 0, i32 1
%32 = load ptr, ptr %31, align 8, !tbaa !12
%33 = tail call i32 @kfree(ptr noundef %32) #2
%34 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret void
}
declare i32 @tb_port_release_in_hopid(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tb_port_release_out_hopid(i64 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, !7, i64 0}
!6 = !{!"tb_path", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !7, i64 32, !11, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !11, i64 40}
!14 = !{!"tb_path_hop", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !7, i64 32, !11, i64 40}
!15 = !{!14, !7, i64 32}
!16 = !{!14, !11, i64 24}
!17 = !{!14, !7, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_path.c_tb_path_free.c'
source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_path.c_tb_path_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.tb_path = type { i32, ptr, i32, i64, i32, i64 }
; Function Attrs: nounwind ssp uwtable(sync)
define void @tb_path_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %30
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
br label %6
6: ; preds = %4, %25
%7 = phi i64 [ 0, %4 ], [ %26, %25 ]
%8 = load ptr, ptr %5, align 8, !tbaa !13
%9 = getelementptr inbounds %struct.tb_path, ptr %8, i64 %7
%10 = getelementptr inbounds i8, ptr %9, i64 40
%11 = load i64, ptr %10, align 8, !tbaa !14
%12 = icmp eq i64 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %6
%14 = getelementptr inbounds i8, ptr %9, i64 32
%15 = load i32, ptr %14, align 8, !tbaa !16
%16 = tail call i32 @tb_port_release_in_hopid(i64 noundef %11, i32 noundef %15) #2
br label %17
17: ; preds = %13, %6
%18 = getelementptr inbounds i8, ptr %9, i64 24
%19 = load i64, ptr %18, align 8, !tbaa !17
%20 = icmp eq i64 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %17
%22 = getelementptr inbounds i8, ptr %9, i64 16
%23 = load i32, ptr %22, align 8, !tbaa !18
%24 = tail call i32 @tb_port_release_out_hopid(i64 noundef %19, i32 noundef %23) #2
br label %25
25: ; preds = %21, %17
%26 = add nuw nsw i64 %7, 1
%27 = load i32, ptr %0, align 8, !tbaa !6
%28 = sext i32 %27 to i64
%29 = icmp slt i64 %26, %28
br i1 %29, label %6, label %30, !llvm.loop !19
30: ; preds = %25, %1
%31 = getelementptr inbounds i8, ptr %0, i64 8
%32 = load ptr, ptr %31, align 8, !tbaa !13
%33 = tail call i32 @kfree(ptr noundef %32) #2
%34 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret void
}
declare i32 @tb_port_release_in_hopid(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tb_port_release_out_hopid(i64 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, !8, i64 0}
!7 = !{!"tb_path", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24, !8, i64 32, !12, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !12, i64 40}
!15 = !{!"tb_path_hop", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24, !8, i64 32, !12, i64 40}
!16 = !{!15, !8, i64 32}
!17 = !{!15, !12, i64 24}
!18 = !{!15, !8, i64 16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| linux_drivers_thunderbolt_extr_path.c_tb_path_free |
; ModuleID = 'AnghaBench/linux/arch/x86/oprofile/extr_nmi_int.c_op_x86_virt_to_phys.c'
source_filename = "AnghaBench/linux/arch/x86/oprofile/extr_nmi_int.c_op_x86_virt_to_phys.c"
target datalayout = "e-m:e-p270:32:32-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.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/oprofile/extr_nmi_int.c_op_x86_virt_to_phys.c'
source_filename = "AnghaBench/linux/arch/x86/oprofile/extr_nmi_int.c_op_x86_virt_to_phys.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_x86_oprofile_extr_nmi_int.c_op_x86_virt_to_phys |
; ModuleID = 'AnghaBench/linux/drivers/irqchip/extr_irq-bcm7120-l2.c_bcm7120_l2_intc_suspend.c'
source_filename = "AnghaBench/linux/drivers/irqchip/extr_irq-bcm7120-l2.c_bcm7120_l2_intc_suspend.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.irq_chip_generic = type { i32, i32, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @bcm7120_l2_intc_suspend], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bcm7120_l2_intc_suspend(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.irq_chip_generic, ptr %0, i64 0, i32 3
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.irq_chip_generic, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = tail call i32 @irq_gc_lock(ptr noundef %0) #2
%7 = load i64, ptr %3, align 8, !tbaa !12
%8 = icmp eq i64 %7, 0
br i1 %8, label %16, label %9
9: ; preds = %1
%10 = load i32, ptr %0, align 8, !tbaa !15
%11 = getelementptr inbounds %struct.irq_chip_generic, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !16
%13 = or i32 %12, %10
%14 = load i32, ptr %5, align 4, !tbaa !17
%15 = tail call i32 @irq_reg_writel(ptr noundef nonnull %0, i32 noundef %13, i32 noundef %14) #2
br label %16
16: ; preds = %9, %1
%17 = tail call i32 @irq_gc_unlock(ptr noundef nonnull %0) #2
ret void
}
declare i32 @irq_gc_lock(ptr noundef) local_unnamed_addr #1
declare i32 @irq_reg_writel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @irq_gc_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"irq_chip_generic", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !14, i64 0}
!13 = !{!"bcm7120_l2_intc_data", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !7, i64 4}
!17 = !{!18, !7, i64 0}
!18 = !{!"irq_chip_type", !19, i64 0}
!19 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/irqchip/extr_irq-bcm7120-l2.c_bcm7120_l2_intc_suspend.c'
source_filename = "AnghaBench/linux/drivers/irqchip/extr_irq-bcm7120-l2.c_bcm7120_l2_intc_suspend.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 @bcm7120_l2_intc_suspend], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bcm7120_l2_intc_suspend(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = tail call i32 @irq_gc_lock(ptr noundef %0) #2
%7 = load i64, ptr %3, align 8, !tbaa !13
%8 = icmp eq i64 %7, 0
br i1 %8, label %16, label %9
9: ; preds = %1
%10 = load i32, ptr %0, align 8, !tbaa !16
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !17
%13 = or i32 %12, %10
%14 = load i32, ptr %5, align 4, !tbaa !18
%15 = tail call i32 @irq_reg_writel(ptr noundef nonnull %0, i32 noundef %13, i32 noundef %14) #2
br label %16
16: ; preds = %9, %1
%17 = tail call i32 @irq_gc_unlock(ptr noundef nonnull %0) #2
ret void
}
declare i32 @irq_gc_lock(ptr noundef) local_unnamed_addr #1
declare i32 @irq_reg_writel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @irq_gc_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"irq_chip_generic", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"bcm7120_l2_intc_data", !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!7, !8, i64 4}
!18 = !{!19, !8, i64 0}
!19 = !{!"irq_chip_type", !20, i64 0}
!20 = !{!"TYPE_2__", !8, i64 0}
| linux_drivers_irqchip_extr_irq-bcm7120-l2.c_bcm7120_l2_intc_suspend |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/extr_drm_mm.c_rb_to_hole_size_or_zero.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/extr_drm_mm.c_rb_to_hole_size_or_zero.c"
target datalayout = "e-m:e-p270:32:32-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 @rb_to_hole_size_or_zero], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rb_to_hole_size_or_zero(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %5, label %3
3: ; preds = %1
%4 = tail call i32 @rb_to_hole_size(ptr noundef nonnull %0) #2
br label %5
5: ; preds = %1, %3
%6 = phi i32 [ %4, %3 ], [ 0, %1 ]
ret i32 %6
}
declare i32 @rb_to_hole_size(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/extr_drm_mm.c_rb_to_hole_size_or_zero.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/extr_drm_mm.c_rb_to_hole_size_or_zero.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 @rb_to_hole_size_or_zero], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rb_to_hole_size_or_zero(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %5, label %3
3: ; preds = %1
%4 = tail call i32 @rb_to_hole_size(ptr noundef nonnull %0) #2
br label %5
5: ; preds = %1, %3
%6 = phi i32 [ %4, %3 ], [ 0, %1 ]
ret i32 %6
}
declare i32 @rb_to_hole_size(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_extr_drm_mm.c_rb_to_hole_size_or_zero |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_main.c_e1000_ioctl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_main.c_e1000_ioctl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_ioctl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @e1000_ioctl(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = add i32 %2, -128
%5 = icmp ult i32 %4, 3
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = tail call i32 @e1000_mii_ioctl(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
br label %11
8: ; preds = %3
%9 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5
%10 = sub nsw i32 0, %9
br label %11
11: ; preds = %8, %6
%12 = phi i32 [ %10, %8 ], [ %7, %6 ]
ret i32 %12
}
declare i32 @e1000_mii_ioctl(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/fastsocket/kernel/drivers/net/e1000/extr_e1000_main.c_e1000_ioctl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_main.c_e1000_ioctl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @e1000_ioctl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @e1000_ioctl(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = add i32 %2, -128
%5 = icmp ult i32 %4, 3
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = tail call i32 @e1000_mii_ioctl(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
br label %11
8: ; preds = %3
%9 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6
%10 = sub nsw i32 0, %9
br label %11
11: ; preds = %8, %6
%12 = phi i32 [ %10, %8 ], [ %7, %6 ]
ret i32 %12
}
declare i32 @e1000_mii_ioctl(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"}
| fastsocket_kernel_drivers_net_e1000_extr_e1000_main.c_e1000_ioctl |
; ModuleID = 'AnghaBench/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_main.c_ag71xx_ring_tx_init.c'
source_filename = "AnghaBench/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_main.c_ag71xx_ring_tx_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ag71xx = type { i32, %struct.ag71xx_ring }
%struct.ag71xx_ring = type { i64, i64, ptr, i64, i32 }
%struct.ag71xx_desc = type { i32, i64 }
%struct.TYPE_2__ = type { ptr }
@AG71XX_DESC_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@DESC_EMPTY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ag71xx_ring_tx_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ag71xx_ring_tx_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.ag71xx, ptr %0, i64 0, i32 1
%3 = getelementptr inbounds %struct.ag71xx, ptr %0, i64 0, i32 1, i32 4
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = tail call i32 @BIT(i32 noundef %4) #3
%6 = load i32, ptr %3, align 8, !tbaa !5
%7 = tail call i32 @BIT(i32 noundef %6) #3
%8 = add nsw i32 %7, -1
%9 = icmp sgt i32 %5, 0
br i1 %9, label %10, label %31
10: ; preds = %1
%11 = getelementptr inbounds %struct.ag71xx, ptr %0, i64 0, i32 1, i32 3
%12 = getelementptr inbounds %struct.ag71xx, ptr %0, i64 0, i32 1, i32 2
%13 = zext nneg i32 %5 to i64
br label %14
14: ; preds = %10, %14
%15 = phi i64 [ 0, %10 ], [ %20, %14 ]
%16 = trunc i64 %15 to i32
%17 = tail call ptr @ag71xx_ring_desc(ptr noundef nonnull %2, i32 noundef %16) #3
%18 = load i64, ptr %11, align 8, !tbaa !12
%19 = load i32, ptr @AG71XX_DESC_SIZE, align 4, !tbaa !13
%20 = add nuw nsw i64 %15, 1
%21 = trunc i64 %20 to i32
%22 = and i32 %8, %21
%23 = mul nsw i32 %19, %22
%24 = sext i32 %23 to i64
%25 = add nsw i64 %18, %24
%26 = getelementptr inbounds %struct.ag71xx_desc, ptr %17, i64 0, i32 1
store i64 %25, ptr %26, align 8, !tbaa !14
%27 = load i32, ptr @DESC_EMPTY, align 4, !tbaa !13
store i32 %27, ptr %17, align 8, !tbaa !16
%28 = load ptr, ptr %12, align 8, !tbaa !17
%29 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i64 %15
store ptr null, ptr %29, align 8, !tbaa !18
%30 = icmp eq i64 %20, %13
br i1 %30, label %31, label %14, !llvm.loop !20
31: ; preds = %14, %1
%32 = tail call i32 (...) @wmb() #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
%33 = load i32, ptr %0, align 8, !tbaa !22
%34 = tail call i32 @netdev_reset_queue(i32 noundef %33) #3
ret void
}
declare i32 @BIT(i32 noundef) local_unnamed_addr #1
declare ptr @ag71xx_ring_desc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wmb(...) local_unnamed_addr #1
declare i32 @netdev_reset_queue(i32 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, !11, i64 32}
!6 = !{!"ag71xx_ring", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !11, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !7, i64 24}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !7, i64 8}
!15 = !{!"ag71xx_desc", !11, i64 0, !7, i64 8}
!16 = !{!15, !11, i64 0}
!17 = !{!6, !10, i64 16}
!18 = !{!19, !10, i64 0}
!19 = !{!"TYPE_2__", !10, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !11, i64 0}
!23 = !{!"ag71xx", !11, i64 0, !6, i64 8}
| ; ModuleID = 'AnghaBench/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_main.c_ag71xx_ring_tx_init.c'
source_filename = "AnghaBench/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_main.c_ag71xx_ring_tx_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr }
@AG71XX_DESC_SIZE = common local_unnamed_addr global i32 0, align 4
@DESC_EMPTY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ag71xx_ring_tx_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ag71xx_ring_tx_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = getelementptr inbounds i8, ptr %0, i64 40
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = tail call i32 @BIT(i32 noundef %4) #3
%6 = load i32, ptr %3, align 8, !tbaa !6
%7 = tail call i32 @BIT(i32 noundef %6) #3
%8 = add nsw i32 %7, -1
%9 = icmp sgt i32 %5, 0
br i1 %9, label %10, label %31
10: ; preds = %1
%11 = getelementptr inbounds i8, ptr %0, i64 32
%12 = getelementptr inbounds i8, ptr %0, i64 24
%13 = zext nneg i32 %5 to i64
br label %14
14: ; preds = %10, %14
%15 = phi i64 [ 0, %10 ], [ %20, %14 ]
%16 = trunc nuw nsw i64 %15 to i32
%17 = tail call ptr @ag71xx_ring_desc(ptr noundef nonnull %2, i32 noundef %16) #3
%18 = load i64, ptr %11, align 8, !tbaa !13
%19 = load i32, ptr @AG71XX_DESC_SIZE, align 4, !tbaa !14
%20 = add nuw nsw i64 %15, 1
%21 = trunc nuw nsw i64 %20 to i32
%22 = and i32 %8, %21
%23 = mul nsw i32 %19, %22
%24 = sext i32 %23 to i64
%25 = add nsw i64 %18, %24
%26 = getelementptr inbounds i8, ptr %17, i64 8
store i64 %25, ptr %26, align 8, !tbaa !15
%27 = load i32, ptr @DESC_EMPTY, align 4, !tbaa !14
store i32 %27, ptr %17, align 8, !tbaa !17
%28 = load ptr, ptr %12, align 8, !tbaa !18
%29 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i64 %15
store ptr null, ptr %29, align 8, !tbaa !19
%30 = icmp eq i64 %20, %13
br i1 %30, label %31, label %14, !llvm.loop !21
31: ; preds = %14, %1
%32 = tail call i32 @wmb() #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
%33 = load i32, ptr %0, align 8, !tbaa !23
%34 = tail call i32 @netdev_reset_queue(i32 noundef %33) #3
ret void
}
declare i32 @BIT(i32 noundef) local_unnamed_addr #1
declare ptr @ag71xx_ring_desc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wmb(...) local_unnamed_addr #1
declare i32 @netdev_reset_queue(i32 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, !12, i64 32}
!7 = !{!"ag71xx_ring", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24, !12, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !8, i64 24}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !8, i64 8}
!16 = !{!"ag71xx_desc", !12, i64 0, !8, i64 8}
!17 = !{!16, !12, i64 0}
!18 = !{!7, !11, i64 16}
!19 = !{!20, !11, i64 0}
!20 = !{!"TYPE_2__", !11, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !12, i64 0}
!24 = !{!"ag71xx", !12, i64 0, !7, i64 8}
| openwrt_target_linux_ar71xx_files_drivers_net_ethernet_atheros_ag71xx_extr_ag71xx_main.c_ag71xx_ring_tx_init |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/regulator/extr_wm8400-regulator.c_wm8400_ldo_disable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/regulator/extr_wm8400-regulator.c_wm8400_ldo_disable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@WM8400_LDO1_CONTROL = dso_local local_unnamed_addr global i64 0, align 8
@WM8400_LDO1_ENA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wm8400_ldo_disable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wm8400_ldo_disable(ptr noundef %0) #0 {
%2 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2
%3 = load i64, ptr @WM8400_LDO1_CONTROL, align 8, !tbaa !5
%4 = tail call i64 @rdev_get_id(ptr noundef %0) #2
%5 = add nsw i64 %4, %3
%6 = load i32, ptr @WM8400_LDO1_ENA, align 4, !tbaa !9
%7 = tail call i32 @wm8400_set_bits(ptr noundef %2, i64 noundef %5, i32 noundef %6, i32 noundef 0) #2
ret i32 %7
}
declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @wm8400_set_bits(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @rdev_get_id(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/fastsocket/kernel/drivers/regulator/extr_wm8400-regulator.c_wm8400_ldo_disable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/regulator/extr_wm8400-regulator.c_wm8400_ldo_disable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WM8400_LDO1_CONTROL = common local_unnamed_addr global i64 0, align 8
@WM8400_LDO1_ENA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wm8400_ldo_disable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @wm8400_ldo_disable(ptr noundef %0) #0 {
%2 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2
%3 = load i64, ptr @WM8400_LDO1_CONTROL, align 8, !tbaa !6
%4 = tail call i64 @rdev_get_id(ptr noundef %0) #2
%5 = add nsw i64 %4, %3
%6 = load i32, ptr @WM8400_LDO1_ENA, align 4, !tbaa !10
%7 = tail call i32 @wm8400_set_bits(ptr noundef %2, i64 noundef %5, i32 noundef %6, i32 noundef 0) #2
ret i32 %7
}
declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @wm8400_set_bits(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @rdev_get_id(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}
| fastsocket_kernel_drivers_regulator_extr_wm8400-regulator.c_wm8400_ldo_disable |
; ModuleID = 'AnghaBench/sqlcipher/ext/fts5/extr_fts5_expr.c_sqlite3Fts5ExprRowid.c'
source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_expr.c_sqlite3Fts5ExprRowid.c"
target datalayout = "e-m:e-p270:32:32-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 i32 @sqlite3Fts5ExprRowid(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !10
ret i32 %3
}
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, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/sqlcipher/ext/fts5/extr_fts5_expr.c_sqlite3Fts5ExprRowid.c'
source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_expr.c_sqlite3Fts5ExprRowid.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 i32 @sqlite3Fts5ExprRowid(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !11
ret i32 %3
}
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, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
| sqlcipher_ext_fts5_extr_fts5_expr.c_sqlite3Fts5ExprRowid |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_ata_host_register.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_ata_host_register.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ata_host = type { i32, i32, ptr, i32 }
%struct.ata_port = type { i64, i32, %struct.TYPE_3__, i32, i32, i32, ptr, i32 }
%struct.TYPE_3__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@ATA_HOST_STARTED = dso_local local_unnamed_addr global i32 0, align 4
@KERN_ERR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"BUG: trying to register unstarted host\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@ata_print_id = dso_local global i32 0, align 4
@ATA_CBL_NONE = dso_local local_unnamed_addr global i64 0, align 8
@ATA_FLAG_SATA = dso_local local_unnamed_addr global i32 0, align 4
@ATA_CBL_SATA = dso_local local_unnamed_addr global i64 0, align 8
@KERN_INFO = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"%cATA max %s %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"DUMMY\0A\00", align 1
@async_port_probe = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ata_host_register(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr @ATA_HOST_STARTED, align 4, !tbaa !11
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %2
%8 = load i32, ptr @KERN_ERR, align 4, !tbaa !11
%9 = getelementptr inbounds %struct.ata_host, ptr %0, i64 0, i32 3
%10 = load i32, ptr %9, align 8, !tbaa !12
%11 = tail call i32 @dev_printk(i32 noundef %8, i32 noundef %10, ptr noundef nonnull @.str) #2
%12 = tail call i32 @WARN_ON(i32 noundef 1) #2
%13 = load i32, ptr @EINVAL, align 4, !tbaa !11
%14 = sub nsw i32 0, %13
br label %122
15: ; preds = %2
%16 = getelementptr inbounds %struct.ata_host, ptr %0, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = getelementptr inbounds %struct.ata_host, ptr %0, i64 0, i32 2
%19 = load ptr, ptr %18, align 8, !tbaa !14
%20 = sext i32 %17 to i64
%21 = getelementptr inbounds ptr, ptr %19, i64 %20
%22 = load ptr, ptr %21, align 8, !tbaa !15
%23 = icmp eq ptr %22, null
br i1 %23, label %26, label %29
24: ; preds = %29
%25 = load i32, ptr %16, align 4, !tbaa !13
br label %26
26: ; preds = %24, %15
%27 = phi i32 [ %25, %24 ], [ %17, %15 ]
%28 = icmp sgt i32 %27, 0
br i1 %28, label %38, label %49
29: ; preds = %15, %29
%30 = phi i64 [ %33, %29 ], [ %20, %15 ]
%31 = phi ptr [ %36, %29 ], [ %22, %15 ]
%32 = tail call i32 @kfree(ptr noundef nonnull %31) #2
%33 = add i64 %30, 1
%34 = load ptr, ptr %18, align 8, !tbaa !14
%35 = getelementptr inbounds ptr, ptr %34, i64 %33
%36 = load ptr, ptr %35, align 8, !tbaa !15
%37 = icmp eq ptr %36, null
br i1 %37, label %24, label %29, !llvm.loop !16
38: ; preds = %26, %38
%39 = phi i64 [ %45, %38 ], [ 0, %26 ]
%40 = tail call i32 @atomic_inc_return(ptr noundef nonnull @ata_print_id) #2
%41 = load ptr, ptr %18, align 8, !tbaa !14
%42 = getelementptr inbounds ptr, ptr %41, i64 %39
%43 = load ptr, ptr %42, align 8, !tbaa !15
%44 = getelementptr inbounds %struct.ata_port, ptr %43, i64 0, i32 7
store i32 %40, ptr %44, align 8, !tbaa !18
%45 = add nuw nsw i64 %39, 1
%46 = load i32, ptr %16, align 4, !tbaa !13
%47 = sext i32 %46 to i64
%48 = icmp slt i64 %45, %47
br i1 %48, label %38, label %49, !llvm.loop !23
49: ; preds = %38, %26
%50 = tail call i32 @ata_scsi_add_hosts(ptr noundef nonnull %0, ptr noundef %1) #2
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %122
52: ; preds = %49
%53 = tail call i32 @ata_acpi_associate(ptr noundef nonnull %0) #2
%54 = load i32, ptr %16, align 4, !tbaa !13
%55 = icmp sgt i32 %54, 0
br i1 %55, label %58, label %122
56: ; preds = %106
%57 = icmp sgt i32 %108, 0
br i1 %57, label %111, label %122
58: ; preds = %52, %106
%59 = phi i64 [ %107, %106 ], [ 0, %52 ]
%60 = load ptr, ptr %18, align 8, !tbaa !14
%61 = getelementptr inbounds ptr, ptr %60, i64 %59
%62 = load ptr, ptr %61, align 8, !tbaa !15
%63 = load i64, ptr %62, align 8, !tbaa !24
%64 = load i64, ptr @ATA_CBL_NONE, align 8, !tbaa !25
%65 = icmp eq i64 %63, %64
br i1 %65, label %66, label %74
66: ; preds = %58
%67 = getelementptr inbounds %struct.ata_port, ptr %62, i64 0, i32 1
%68 = load i32, ptr %67, align 8, !tbaa !26
%69 = load i32, ptr @ATA_FLAG_SATA, align 4, !tbaa !11
%70 = and i32 %69, %68
%71 = icmp eq i32 %70, 0
br i1 %71, label %74, label %72
72: ; preds = %66
%73 = load i64, ptr @ATA_CBL_SATA, align 8, !tbaa !25
store i64 %73, ptr %62, align 8, !tbaa !24
br label %74
74: ; preds = %72, %66, %58
%75 = getelementptr inbounds %struct.ata_port, ptr %62, i64 0, i32 2
%76 = tail call i32 @sata_link_init_spd(ptr noundef nonnull %75) #2
%77 = getelementptr inbounds %struct.ata_port, ptr %62, i64 0, i32 6
%78 = load ptr, ptr %77, align 8, !tbaa !27
%79 = icmp eq ptr %78, null
br i1 %79, label %82, label %80
80: ; preds = %74
%81 = tail call i32 @sata_link_init_spd(ptr noundef nonnull %78) #2
br label %82
82: ; preds = %80, %74
%83 = getelementptr inbounds %struct.ata_port, ptr %62, i64 0, i32 5
%84 = load i32, ptr %83, align 8, !tbaa !28
%85 = getelementptr inbounds %struct.ata_port, ptr %62, i64 0, i32 4
%86 = load i32, ptr %85, align 4, !tbaa !29
%87 = getelementptr inbounds %struct.ata_port, ptr %62, i64 0, i32 3
%88 = load i32, ptr %87, align 8, !tbaa !30
%89 = tail call i64 @ata_pack_xfermask(i32 noundef %84, i32 noundef %86, i32 noundef %88) #2
%90 = tail call i32 @ata_port_is_dummy(ptr noundef nonnull %62) #2
%91 = icmp eq i32 %90, 0
%92 = load i32, ptr @KERN_INFO, align 4, !tbaa !11
br i1 %91, label %93, label %104
93: ; preds = %82
%94 = getelementptr inbounds %struct.ata_port, ptr %62, i64 0, i32 1
%95 = load i32, ptr %94, align 8, !tbaa !26
%96 = load i32, ptr @ATA_FLAG_SATA, align 4, !tbaa !11
%97 = and i32 %96, %95
%98 = icmp eq i32 %97, 0
%99 = select i1 %98, i32 80, i32 83
%100 = tail call i32 @ata_mode_string(i64 noundef %89) #2
%101 = load i32, ptr %75, align 4, !tbaa !31
%102 = tail call i32 (ptr, i32, ptr, ...) @ata_port_printk(ptr noundef nonnull %62, i32 noundef %92, ptr noundef nonnull @.str.1, i32 noundef %99, i32 noundef %100, i32 noundef %101) #2
%103 = tail call i32 @ata_ehi_clear_desc(ptr noundef nonnull %75) #2
br label %106
104: ; preds = %82
%105 = tail call i32 (ptr, i32, ptr, ...) @ata_port_printk(ptr noundef nonnull %62, i32 noundef %92, ptr noundef nonnull @.str.2) #2
br label %106
106: ; preds = %104, %93
%107 = add nuw nsw i64 %59, 1
%108 = load i32, ptr %16, align 4, !tbaa !13
%109 = sext i32 %108 to i64
%110 = icmp slt i64 %107, %109
br i1 %110, label %58, label %56, !llvm.loop !32
111: ; preds = %56, %111
%112 = phi i64 [ %118, %111 ], [ 0, %56 ]
%113 = load ptr, ptr %18, align 8, !tbaa !14
%114 = getelementptr inbounds ptr, ptr %113, i64 %112
%115 = load ptr, ptr %114, align 8, !tbaa !15
%116 = load i32, ptr @async_port_probe, align 4, !tbaa !11
%117 = tail call i32 @async_schedule(i32 noundef %116, ptr noundef %115) #2
%118 = add nuw nsw i64 %112, 1
%119 = load i32, ptr %16, align 4, !tbaa !13
%120 = sext i32 %119 to i64
%121 = icmp slt i64 %118, %120
br i1 %121, label %111, label %122, !llvm.loop !33
122: ; preds = %111, %52, %56, %49, %7
%123 = phi i32 [ %14, %7 ], [ %50, %49 ], [ 0, %56 ], [ 0, %52 ], [ 0, %111 ]
ret i32 %123
}
declare i32 @dev_printk(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_inc_return(ptr noundef) local_unnamed_addr #1
declare i32 @ata_scsi_add_hosts(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ata_acpi_associate(ptr noundef) local_unnamed_addr #1
declare i32 @sata_link_init_spd(ptr noundef) local_unnamed_addr #1
declare i64 @ata_pack_xfermask(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ata_port_is_dummy(ptr noundef) local_unnamed_addr #1
declare i32 @ata_port_printk(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @ata_mode_string(i64 noundef) local_unnamed_addr #1
declare i32 @ata_ehi_clear_desc(ptr noundef) local_unnamed_addr #1
declare i32 @async_schedule(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ata_host", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 16}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !10, i64 8}
!15 = !{!10, !10, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !7, i64 40}
!19 = !{!"ata_port", !20, i64 0, !7, i64 8, !21, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !10, i64 32, !7, i64 40}
!20 = !{!"long", !8, i64 0}
!21 = !{!"TYPE_3__", !22, i64 0}
!22 = !{!"TYPE_4__", !7, i64 0}
!23 = distinct !{!23, !17}
!24 = !{!19, !20, i64 0}
!25 = !{!20, !20, i64 0}
!26 = !{!19, !7, i64 8}
!27 = !{!19, !10, i64 32}
!28 = !{!19, !7, i64 24}
!29 = !{!19, !7, i64 20}
!30 = !{!19, !7, i64 16}
!31 = !{!19, !7, i64 12}
!32 = distinct !{!32, !17}
!33 = distinct !{!33, !17}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_ata_host_register.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_ata_host_register.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATA_HOST_STARTED = common local_unnamed_addr global i32 0, align 4
@KERN_ERR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"BUG: trying to register unstarted host\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@ata_print_id = common global i32 0, align 4
@ATA_CBL_NONE = common local_unnamed_addr global i64 0, align 8
@ATA_FLAG_SATA = common local_unnamed_addr global i32 0, align 4
@ATA_CBL_SATA = common local_unnamed_addr global i64 0, align 8
@KERN_INFO = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"%cATA max %s %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"DUMMY\0A\00", align 1
@async_port_probe = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ata_host_register(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr @ATA_HOST_STARTED, align 4, !tbaa !12
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %2
%8 = load i32, ptr @KERN_ERR, align 4, !tbaa !12
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load i32, ptr %9, align 8, !tbaa !13
%11 = tail call i32 @dev_printk(i32 noundef %8, i32 noundef %10, ptr noundef nonnull @.str) #2
%12 = tail call i32 @WARN_ON(i32 noundef 1) #2
%13 = load i32, ptr @EINVAL, align 4, !tbaa !12
%14 = sub nsw i32 0, %13
br label %122
15: ; preds = %2
%16 = getelementptr inbounds i8, ptr %0, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = getelementptr inbounds i8, ptr %0, i64 8
%19 = load ptr, ptr %18, align 8, !tbaa !15
%20 = sext i32 %17 to i64
%21 = getelementptr inbounds ptr, ptr %19, i64 %20
%22 = load ptr, ptr %21, align 8, !tbaa !16
%23 = icmp eq ptr %22, null
br i1 %23, label %26, label %29
24: ; preds = %29
%25 = load i32, ptr %16, align 4, !tbaa !14
br label %26
26: ; preds = %24, %15
%27 = phi i32 [ %25, %24 ], [ %17, %15 ]
%28 = icmp sgt i32 %27, 0
br i1 %28, label %38, label %49
29: ; preds = %15, %29
%30 = phi i64 [ %33, %29 ], [ %20, %15 ]
%31 = phi ptr [ %36, %29 ], [ %22, %15 ]
%32 = tail call i32 @kfree(ptr noundef nonnull %31) #2
%33 = add nsw i64 %30, 1
%34 = load ptr, ptr %18, align 8, !tbaa !15
%35 = getelementptr inbounds ptr, ptr %34, i64 %33
%36 = load ptr, ptr %35, align 8, !tbaa !16
%37 = icmp eq ptr %36, null
br i1 %37, label %24, label %29, !llvm.loop !17
38: ; preds = %26, %38
%39 = phi i64 [ %45, %38 ], [ 0, %26 ]
%40 = tail call i32 @atomic_inc_return(ptr noundef nonnull @ata_print_id) #2
%41 = load ptr, ptr %18, align 8, !tbaa !15
%42 = getelementptr inbounds ptr, ptr %41, i64 %39
%43 = load ptr, ptr %42, align 8, !tbaa !16
%44 = getelementptr inbounds i8, ptr %43, i64 40
store i32 %40, ptr %44, align 8, !tbaa !19
%45 = add nuw nsw i64 %39, 1
%46 = load i32, ptr %16, align 4, !tbaa !14
%47 = sext i32 %46 to i64
%48 = icmp slt i64 %45, %47
br i1 %48, label %38, label %49, !llvm.loop !24
49: ; preds = %38, %26
%50 = tail call i32 @ata_scsi_add_hosts(ptr noundef nonnull %0, ptr noundef %1) #2
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %122
52: ; preds = %49
%53 = tail call i32 @ata_acpi_associate(ptr noundef nonnull %0) #2
%54 = load i32, ptr %16, align 4, !tbaa !14
%55 = icmp sgt i32 %54, 0
br i1 %55, label %58, label %122
56: ; preds = %106
%57 = icmp sgt i32 %108, 0
br i1 %57, label %111, label %122
58: ; preds = %52, %106
%59 = phi i64 [ %107, %106 ], [ 0, %52 ]
%60 = load ptr, ptr %18, align 8, !tbaa !15
%61 = getelementptr inbounds ptr, ptr %60, i64 %59
%62 = load ptr, ptr %61, align 8, !tbaa !16
%63 = load i64, ptr %62, align 8, !tbaa !25
%64 = load i64, ptr @ATA_CBL_NONE, align 8, !tbaa !26
%65 = icmp eq i64 %63, %64
br i1 %65, label %66, label %74
66: ; preds = %58
%67 = getelementptr inbounds i8, ptr %62, i64 8
%68 = load i32, ptr %67, align 8, !tbaa !27
%69 = load i32, ptr @ATA_FLAG_SATA, align 4, !tbaa !12
%70 = and i32 %69, %68
%71 = icmp eq i32 %70, 0
br i1 %71, label %74, label %72
72: ; preds = %66
%73 = load i64, ptr @ATA_CBL_SATA, align 8, !tbaa !26
store i64 %73, ptr %62, align 8, !tbaa !25
br label %74
74: ; preds = %72, %66, %58
%75 = getelementptr inbounds i8, ptr %62, i64 12
%76 = tail call i32 @sata_link_init_spd(ptr noundef nonnull %75) #2
%77 = getelementptr inbounds i8, ptr %62, i64 32
%78 = load ptr, ptr %77, align 8, !tbaa !28
%79 = icmp eq ptr %78, null
br i1 %79, label %82, label %80
80: ; preds = %74
%81 = tail call i32 @sata_link_init_spd(ptr noundef nonnull %78) #2
br label %82
82: ; preds = %80, %74
%83 = getelementptr inbounds i8, ptr %62, i64 24
%84 = load i32, ptr %83, align 8, !tbaa !29
%85 = getelementptr inbounds i8, ptr %62, i64 20
%86 = load i32, ptr %85, align 4, !tbaa !30
%87 = getelementptr inbounds i8, ptr %62, i64 16
%88 = load i32, ptr %87, align 8, !tbaa !31
%89 = tail call i64 @ata_pack_xfermask(i32 noundef %84, i32 noundef %86, i32 noundef %88) #2
%90 = tail call i32 @ata_port_is_dummy(ptr noundef nonnull %62) #2
%91 = icmp eq i32 %90, 0
%92 = load i32, ptr @KERN_INFO, align 4, !tbaa !12
br i1 %91, label %93, label %104
93: ; preds = %82
%94 = getelementptr inbounds i8, ptr %62, i64 8
%95 = load i32, ptr %94, align 8, !tbaa !27
%96 = load i32, ptr @ATA_FLAG_SATA, align 4, !tbaa !12
%97 = and i32 %96, %95
%98 = icmp eq i32 %97, 0
%99 = select i1 %98, i32 80, i32 83
%100 = tail call i32 @ata_mode_string(i64 noundef %89) #2
%101 = load i32, ptr %75, align 4, !tbaa !32
%102 = tail call i32 (ptr, i32, ptr, ...) @ata_port_printk(ptr noundef nonnull %62, i32 noundef %92, ptr noundef nonnull @.str.1, i32 noundef %99, i32 noundef %100, i32 noundef %101) #2
%103 = tail call i32 @ata_ehi_clear_desc(ptr noundef nonnull %75) #2
br label %106
104: ; preds = %82
%105 = tail call i32 (ptr, i32, ptr, ...) @ata_port_printk(ptr noundef nonnull %62, i32 noundef %92, ptr noundef nonnull @.str.2) #2
br label %106
106: ; preds = %104, %93
%107 = add nuw nsw i64 %59, 1
%108 = load i32, ptr %16, align 4, !tbaa !14
%109 = sext i32 %108 to i64
%110 = icmp slt i64 %107, %109
br i1 %110, label %58, label %56, !llvm.loop !33
111: ; preds = %56, %111
%112 = phi i64 [ %118, %111 ], [ 0, %56 ]
%113 = load ptr, ptr %18, align 8, !tbaa !15
%114 = getelementptr inbounds ptr, ptr %113, i64 %112
%115 = load ptr, ptr %114, align 8, !tbaa !16
%116 = load i32, ptr @async_port_probe, align 4, !tbaa !12
%117 = tail call i32 @async_schedule(i32 noundef %116, ptr noundef %115) #2
%118 = add nuw nsw i64 %112, 1
%119 = load i32, ptr %16, align 4, !tbaa !14
%120 = sext i32 %119 to i64
%121 = icmp slt i64 %118, %120
br i1 %121, label %111, label %122, !llvm.loop !34
122: ; preds = %111, %52, %56, %49, %7
%123 = phi i32 [ %14, %7 ], [ %50, %49 ], [ 0, %56 ], [ 0, %52 ], [ 0, %111 ]
ret i32 %123
}
declare i32 @dev_printk(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_inc_return(ptr noundef) local_unnamed_addr #1
declare i32 @ata_scsi_add_hosts(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ata_acpi_associate(ptr noundef) local_unnamed_addr #1
declare i32 @sata_link_init_spd(ptr noundef) local_unnamed_addr #1
declare i64 @ata_pack_xfermask(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ata_port_is_dummy(ptr noundef) local_unnamed_addr #1
declare i32 @ata_port_printk(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @ata_mode_string(i64 noundef) local_unnamed_addr #1
declare i32 @ata_ehi_clear_desc(ptr noundef) local_unnamed_addr #1
declare i32 @async_schedule(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ata_host", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 16}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !11, i64 8}
!16 = !{!11, !11, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !8, i64 40}
!20 = !{!"ata_port", !21, i64 0, !8, i64 8, !22, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !11, i64 32, !8, i64 40}
!21 = !{!"long", !9, i64 0}
!22 = !{!"TYPE_3__", !23, i64 0}
!23 = !{!"TYPE_4__", !8, i64 0}
!24 = distinct !{!24, !18}
!25 = !{!20, !21, i64 0}
!26 = !{!21, !21, i64 0}
!27 = !{!20, !8, i64 8}
!28 = !{!20, !11, i64 32}
!29 = !{!20, !8, i64 24}
!30 = !{!20, !8, i64 20}
!31 = !{!20, !8, i64 16}
!32 = !{!20, !8, i64 12}
!33 = distinct !{!33, !18}
!34 = distinct !{!34, !18}
| fastsocket_kernel_drivers_ata_extr_libata-core.c_ata_host_register |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_router.c_mlxsw_sp_nexthop6_group_get.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_router.c_mlxsw_sp_nexthop6_group_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlxsw_sp_nexthop6_group_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mlxsw_sp_nexthop6_group_get(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @mlxsw_sp_nexthop6_group_lookup(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = tail call ptr @mlxsw_sp_nexthop6_group_create(ptr noundef %0, ptr noundef %1) #2
%7 = tail call i64 @IS_ERR(ptr noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %5
%10 = tail call i32 @PTR_ERR(ptr noundef %6) #2
br label %15
11: ; preds = %5, %2
%12 = phi ptr [ %3, %2 ], [ %6, %5 ]
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1
%14 = tail call i32 @list_add_tail(ptr noundef nonnull %13, ptr noundef %12) #2
store ptr %12, ptr %1, align 8, !tbaa !5
br label %15
15: ; preds = %11, %9
%16 = phi i32 [ 0, %11 ], [ %10, %9 ]
ret i32 %16
}
declare ptr @mlxsw_sp_nexthop6_group_lookup(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @mlxsw_sp_nexthop6_group_create(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"mlxsw_sp_fib6_entry", !7, i64 0}
!7 = !{!"TYPE_2__", !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}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_router.c_mlxsw_sp_nexthop6_group_get.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_router.c_mlxsw_sp_nexthop6_group_get.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 @mlxsw_sp_nexthop6_group_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mlxsw_sp_nexthop6_group_get(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @mlxsw_sp_nexthop6_group_lookup(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = tail call ptr @mlxsw_sp_nexthop6_group_create(ptr noundef %0, ptr noundef %1) #2
%7 = tail call i64 @IS_ERR(ptr noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %5
%10 = tail call i32 @PTR_ERR(ptr noundef %6) #2
br label %15
11: ; preds = %5, %2
%12 = phi ptr [ %3, %2 ], [ %6, %5 ]
%13 = getelementptr inbounds i8, ptr %1, i64 8
%14 = tail call i32 @list_add_tail(ptr noundef nonnull %13, ptr noundef %12) #2
store ptr %12, ptr %1, align 8, !tbaa !6
br label %15
15: ; preds = %11, %9
%16 = phi i32 [ 0, %11 ], [ %10, %9 ]
ret i32 %16
}
declare ptr @mlxsw_sp_nexthop6_group_lookup(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @mlxsw_sp_nexthop6_group_create(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"mlxsw_sp_fib6_entry", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
| linux_drivers_net_ethernet_mellanox_mlxsw_extr_spectrum_router.c_mlxsw_sp_nexthop6_group_get |
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_pata_hpt37x.c_hpt37x_pre_reset.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_pata_hpt37x.c_hpt37x_pre_reset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.pci_bits = type { i32, i32, i32, i32 }
%struct.ata_port = type { i64, ptr }
@hpt37x_pre_reset.hpt37x_enable_bits = internal constant [2 x %struct.pci_bits] [%struct.pci_bits { i32 80, i32 1, i32 4, i32 4 }, %struct.pci_bits { i32 84, i32 1, i32 4, i32 4 }], align 16
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hpt37x_pre_reset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hpt37x_pre_reset(ptr noundef %0, i64 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.ata_port, ptr %3, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = tail call ptr @to_pci_dev(i32 noundef %6) #2
%8 = load i64, ptr %3, align 8, !tbaa !16
%9 = getelementptr inbounds [2 x %struct.pci_bits], ptr @hpt37x_pre_reset.hpt37x_enable_bits, i64 0, i64 %8
%10 = tail call i32 @pci_test_config_bits(ptr noundef %7, ptr noundef nonnull %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @ENOENT, align 4, !tbaa !17
%14 = sub nsw i32 0, %13
br label %23
15: ; preds = %2
%16 = load i64, ptr %3, align 8, !tbaa !16
%17 = trunc i64 %16 to i32
%18 = shl i32 %17, 2
%19 = add i32 %18, 80
%20 = tail call i32 @pci_write_config_byte(ptr noundef %7, i32 noundef %19, i32 noundef 55) #2
%21 = tail call i32 @udelay(i32 noundef 100) #2
%22 = tail call i32 @ata_sff_prereset(ptr noundef nonnull %0, i64 noundef %1) #2
br label %23
23: ; preds = %15, %12
%24 = phi i32 [ %22, %15 ], [ %14, %12 ]
ret i32 %24
}
declare ptr @to_pci_dev(i32 noundef) local_unnamed_addr #1
declare i32 @pci_test_config_bits(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_write_config_byte(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @ata_sff_prereset(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 = !{!"ata_link", !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 = !{!"ata_port", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!11, !12, i64 0}
!17 = !{!15, !15, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/ata/extr_pata_hpt37x.c_hpt37x_pre_reset.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_pata_hpt37x.c_hpt37x_pre_reset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pci_bits = type { i32, i32, i32, i32 }
@hpt37x_pre_reset.hpt37x_enable_bits = internal constant [2 x %struct.pci_bits] [%struct.pci_bits { i32 80, i32 1, i32 4, i32 4 }, %struct.pci_bits { i32 84, i32 1, i32 4, i32 4 }], align 4
@ENOENT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hpt37x_pre_reset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hpt37x_pre_reset(ptr noundef %0, i64 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load i32, ptr %5, align 4, !tbaa !14
%7 = tail call ptr @to_pci_dev(i32 noundef %6) #2
%8 = load i64, ptr %3, align 8, !tbaa !17
%9 = getelementptr inbounds [2 x %struct.pci_bits], ptr @hpt37x_pre_reset.hpt37x_enable_bits, i64 0, i64 %8
%10 = tail call i32 @pci_test_config_bits(ptr noundef %7, ptr noundef nonnull %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @ENOENT, align 4, !tbaa !18
%14 = sub nsw i32 0, %13
br label %23
15: ; preds = %2
%16 = load i64, ptr %3, align 8, !tbaa !17
%17 = trunc i64 %16 to i32
%18 = shl i32 %17, 2
%19 = add i32 %18, 80
%20 = tail call i32 @pci_write_config_byte(ptr noundef %7, i32 noundef %19, i32 noundef 55) #2
%21 = tail call i32 @udelay(i32 noundef 100) #2
%22 = tail call i32 @ata_sff_prereset(ptr noundef nonnull %0, i64 noundef %1) #2
br label %23
23: ; preds = %15, %12
%24 = phi i32 [ %22, %15 ], [ %14, %12 ]
ret i32 %24
}
declare ptr @to_pci_dev(i32 noundef) local_unnamed_addr #1
declare i32 @pci_test_config_bits(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_write_config_byte(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @ata_sff_prereset(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 = !{!"ata_link", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 8}
!12 = !{!"ata_port", !13, i64 0, !8, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_2__", !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!12, !13, i64 0}
!18 = !{!16, !16, i64 0}
| linux_drivers_ata_extr_pata_hpt37x.c_hpt37x_pre_reset |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/9p/extr_trans_rdma.c_post_recv.c'
source_filename = "AnghaBench/fastsocket/kernel/net/9p/extr_trans_rdma.c_post_recv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ib_recv_wr = type { i64, i32, ptr, ptr }
%struct.ib_sge = type { i32, i32, i32 }
%struct.p9_client = type { i32, ptr }
%struct.p9_trans_rdma = type { i32, i32, ptr }
%struct.p9_rdma_context = type { i32, i32, ptr }
@DMA_FROM_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@IB_WC_RECV = dso_local local_unnamed_addr global i32 0, align 4
@P9_DEBUG_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"EIO\0A\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @post_recv], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @post_recv(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca %struct.ib_recv_wr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.ib_sge, align 4
%6 = getelementptr inbounds %struct.p9_client, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3
%8 = getelementptr inbounds %struct.p9_trans_rdma, ptr %7, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = getelementptr inbounds %struct.p9_rdma_context, ptr %1, i64 0, i32 2
%12 = load ptr, ptr %11, align 8, !tbaa !15
%13 = load i32, ptr %12, align 4, !tbaa !17
%14 = load i32, ptr %0, align 8, !tbaa !19
%15 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !20
%16 = tail call i32 @ib_dma_map_single(i32 noundef %10, i32 noundef %13, i32 noundef %14, i32 noundef %15) #3
%17 = getelementptr inbounds %struct.p9_rdma_context, ptr %1, i64 0, i32 1
store i32 %16, ptr %17, align 4, !tbaa !21
%18 = load ptr, ptr %8, align 8, !tbaa !11
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = tail call i64 @ib_dma_mapping_error(i32 noundef %19, i32 noundef %16) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %36
22: ; preds = %2
%23 = load i32, ptr %17, align 4, !tbaa !21
%24 = getelementptr inbounds %struct.ib_sge, ptr %5, i64 0, i32 2
store i32 %23, ptr %24, align 4, !tbaa !22
%25 = load i32, ptr %0, align 8, !tbaa !19
%26 = getelementptr inbounds %struct.ib_sge, ptr %5, i64 0, i32 1
store i32 %25, ptr %26, align 4, !tbaa !24
%27 = getelementptr inbounds %struct.p9_trans_rdma, ptr %7, i64 0, i32 1
%28 = load i32, ptr %27, align 4, !tbaa !25
store i32 %28, ptr %5, align 4, !tbaa !26
%29 = getelementptr inbounds %struct.ib_recv_wr, ptr %3, i64 0, i32 3
store ptr null, ptr %29, align 8, !tbaa !27
%30 = load i32, ptr @IB_WC_RECV, align 4, !tbaa !20
store i32 %30, ptr %1, align 8, !tbaa !30
%31 = ptrtoint ptr %1 to i64
store i64 %31, ptr %3, align 8, !tbaa !31
%32 = getelementptr inbounds %struct.ib_recv_wr, ptr %3, i64 0, i32 2
store ptr %5, ptr %32, align 8, !tbaa !32
%33 = getelementptr inbounds %struct.ib_recv_wr, ptr %3, i64 0, i32 1
store i32 1, ptr %33, align 8, !tbaa !33
%34 = load i32, ptr %7, align 8, !tbaa !34
%35 = call i32 @ib_post_recv(i32 noundef %34, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
br label %41
36: ; preds = %2
%37 = load i32, ptr @P9_DEBUG_ERROR, align 4, !tbaa !20
%38 = tail call i32 @P9_DPRINTK(i32 noundef %37, ptr noundef nonnull @.str) #3
%39 = load i32, ptr @EIO, align 4, !tbaa !20
%40 = sub nsw i32 0, %39
br label %41
41: ; preds = %36, %22
%42 = phi i32 [ %40, %36 ], [ %35, %22 ]
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
ret i32 %42
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ib_dma_map_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ib_dma_mapping_error(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ib_post_recv(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @P9_DPRINTK(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, !10, i64 8}
!6 = !{!"p9_client", !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 8}
!12 = !{!"p9_trans_rdma", !7, i64 0, !7, i64 4, !10, i64 8}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_4__", !7, i64 0}
!15 = !{!16, !10, i64 8}
!16 = !{!"p9_rdma_context", !7, i64 0, !7, i64 4, !10, i64 8}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_3__", !7, i64 0}
!19 = !{!6, !7, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!16, !7, i64 4}
!22 = !{!23, !7, i64 8}
!23 = !{!"ib_sge", !7, i64 0, !7, i64 4, !7, i64 8}
!24 = !{!23, !7, i64 4}
!25 = !{!12, !7, i64 4}
!26 = !{!23, !7, i64 0}
!27 = !{!28, !10, i64 24}
!28 = !{!"ib_recv_wr", !29, i64 0, !7, i64 8, !10, i64 16, !10, i64 24}
!29 = !{!"long", !8, i64 0}
!30 = !{!16, !7, i64 0}
!31 = !{!28, !29, i64 0}
!32 = !{!28, !10, i64 16}
!33 = !{!28, !7, i64 8}
!34 = !{!12, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/9p/extr_trans_rdma.c_post_recv.c'
source_filename = "AnghaBench/fastsocket/kernel/net/9p/extr_trans_rdma.c_post_recv.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ib_recv_wr = type { i64, i32, ptr, ptr }
%struct.ib_sge = type { i32, i32, i32 }
@DMA_FROM_DEVICE = common local_unnamed_addr global i32 0, align 4
@IB_WC_RECV = common local_unnamed_addr global i32 0, align 4
@P9_DEBUG_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"EIO\0A\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @post_recv], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @post_recv(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca %struct.ib_recv_wr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.ib_sge, align 4
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3
%8 = getelementptr inbounds i8, ptr %7, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = getelementptr inbounds i8, ptr %1, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !16
%13 = load i32, ptr %12, align 4, !tbaa !18
%14 = load i32, ptr %0, align 8, !tbaa !20
%15 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !21
%16 = tail call i32 @ib_dma_map_single(i32 noundef %10, i32 noundef %13, i32 noundef %14, i32 noundef %15) #3
%17 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %16, ptr %17, align 4, !tbaa !22
%18 = load ptr, ptr %8, align 8, !tbaa !12
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = tail call i64 @ib_dma_mapping_error(i32 noundef %19, i32 noundef %16) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %36
22: ; preds = %2
%23 = load i32, ptr %17, align 4, !tbaa !22
%24 = getelementptr inbounds i8, ptr %5, i64 8
store i32 %23, ptr %24, align 4, !tbaa !23
%25 = load i32, ptr %0, align 8, !tbaa !20
%26 = getelementptr inbounds i8, ptr %5, i64 4
store i32 %25, ptr %26, align 4, !tbaa !25
%27 = getelementptr inbounds i8, ptr %7, i64 4
%28 = load i32, ptr %27, align 4, !tbaa !26
store i32 %28, ptr %5, align 4, !tbaa !27
%29 = getelementptr inbounds i8, ptr %3, i64 24
store ptr null, ptr %29, align 8, !tbaa !28
%30 = load i32, ptr @IB_WC_RECV, align 4, !tbaa !21
store i32 %30, ptr %1, align 8, !tbaa !31
%31 = ptrtoint ptr %1 to i64
store i64 %31, ptr %3, align 8, !tbaa !32
%32 = getelementptr inbounds i8, ptr %3, i64 16
store ptr %5, ptr %32, align 8, !tbaa !33
%33 = getelementptr inbounds i8, ptr %3, i64 8
store i32 1, ptr %33, align 8, !tbaa !34
%34 = load i32, ptr %7, align 8, !tbaa !35
%35 = call i32 @ib_post_recv(i32 noundef %34, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
br label %41
36: ; preds = %2
%37 = load i32, ptr @P9_DEBUG_ERROR, align 4, !tbaa !21
%38 = tail call i32 @P9_DPRINTK(i32 noundef %37, ptr noundef nonnull @.str) #3
%39 = load i32, ptr @EIO, align 4, !tbaa !21
%40 = sub nsw i32 0, %39
br label %41
41: ; preds = %36, %22
%42 = phi i32 [ %40, %36 ], [ %35, %22 ]
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
ret i32 %42
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ib_dma_map_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ib_dma_mapping_error(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ib_post_recv(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @P9_DPRINTK(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, !11, i64 8}
!7 = !{!"p9_client", !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 8}
!13 = !{!"p9_trans_rdma", !8, i64 0, !8, i64 4, !11, i64 8}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_4__", !8, i64 0}
!16 = !{!17, !11, i64 8}
!17 = !{!"p9_rdma_context", !8, i64 0, !8, i64 4, !11, i64 8}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_3__", !8, i64 0}
!20 = !{!7, !8, i64 0}
!21 = !{!8, !8, i64 0}
!22 = !{!17, !8, i64 4}
!23 = !{!24, !8, i64 8}
!24 = !{!"ib_sge", !8, i64 0, !8, i64 4, !8, i64 8}
!25 = !{!24, !8, i64 4}
!26 = !{!13, !8, i64 4}
!27 = !{!24, !8, i64 0}
!28 = !{!29, !11, i64 24}
!29 = !{!"ib_recv_wr", !30, i64 0, !8, i64 8, !11, i64 16, !11, i64 24}
!30 = !{!"long", !9, i64 0}
!31 = !{!17, !8, i64 0}
!32 = !{!29, !30, i64 0}
!33 = !{!29, !11, i64 16}
!34 = !{!29, !8, i64 8}
!35 = !{!13, !8, i64 0}
| fastsocket_kernel_net_9p_extr_trans_rdma.c_post_recv |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_main.c_mlx5_ib_cleanup_multiport_master.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_main.c_mlx5_ib_cleanup_multiport_master.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mlx5_ib_dev = type { i32, i32, i32, ptr, i32 }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr }
@IB_LINK_LAYER_ETHERNET = dso_local local_unnamed_addr global i32 0, align 4
@mlx5_ib_multiport_mutex = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"unbinding port_num: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"removing from devlist\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5_ib_cleanup_multiport_master], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mlx5_ib_cleanup_multiport_master(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.mlx5_ib_dev, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @mlx5_core_native_port_num(i32 noundef %3) #2
%5 = add nsw i32 %4, -1
%6 = getelementptr inbounds %struct.mlx5_ib_dev, ptr %0, i64 0, i32 4
%7 = tail call i32 @mlx5_ib_port_link_layer(ptr noundef nonnull %6, i32 noundef %4) #2
%8 = load i32, ptr %2, align 4, !tbaa !5
%9 = tail call i32 @mlx5_core_is_mp_master(i32 noundef %8) #2
%10 = icmp ne i32 %9, 0
%11 = load i32, ptr @IB_LINK_LAYER_ETHERNET, align 4
%12 = icmp eq i32 %7, %11
%13 = select i1 %10, i1 %12, i1 false
br i1 %13, label %14, label %53
14: ; preds = %1
%15 = tail call i32 @mutex_lock(ptr noundef nonnull @mlx5_ib_multiport_mutex) #2
%16 = load i32, ptr %0, align 8, !tbaa !11
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %46
18: ; preds = %14
%19 = getelementptr inbounds %struct.mlx5_ib_dev, ptr %0, i64 0, i32 3
%20 = zext i32 %5 to i64
br label %21
21: ; preds = %18, %41
%22 = phi i64 [ 0, %18 ], [ %42, %41 ]
%23 = load ptr, ptr %19, align 8, !tbaa !12
%24 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i64 %22
%25 = load ptr, ptr %24, align 8, !tbaa !13
%26 = icmp eq ptr %25, null
br i1 %26, label %41, label %27
27: ; preds = %21
%28 = icmp eq i64 %22, %20
br i1 %28, label %29, label %33
29: ; preds = %27
%30 = tail call i32 @kfree(ptr noundef nonnull %25) #2
%31 = load ptr, ptr %19, align 8, !tbaa !12
%32 = getelementptr inbounds %struct.TYPE_4__, ptr %31, i64 %20
store ptr null, ptr %32, align 8, !tbaa !13
br label %41
33: ; preds = %27
%34 = trunc i64 %22 to i32
%35 = add i32 %34, 1
%36 = tail call i32 (ptr, ptr, ...) @mlx5_ib_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %35) #2
%37 = load ptr, ptr %19, align 8, !tbaa !12
%38 = getelementptr inbounds %struct.TYPE_4__, ptr %37, i64 %22
%39 = load ptr, ptr %38, align 8, !tbaa !13
%40 = tail call i32 @mlx5_ib_unbind_slave_port(ptr noundef nonnull %0, ptr noundef %39) #2
br label %41
41: ; preds = %21, %33, %29
%42 = add nuw nsw i64 %22, 1
%43 = load i32, ptr %0, align 8, !tbaa !11
%44 = sext i32 %43 to i64
%45 = icmp slt i64 %42, %44
br i1 %45, label %21, label %46, !llvm.loop !16
46: ; preds = %41, %14
%47 = tail call i32 (ptr, ptr, ...) @mlx5_ib_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
%48 = getelementptr inbounds %struct.mlx5_ib_dev, ptr %0, i64 0, i32 2
%49 = tail call i32 @list_del(ptr noundef nonnull %48) #2
%50 = tail call i32 @mutex_unlock(ptr noundef nonnull @mlx5_ib_multiport_mutex) #2
%51 = load i32, ptr %2, align 4, !tbaa !5
%52 = tail call i32 @mlx5_nic_vport_disable_roce(i32 noundef %51) #2
br label %53
53: ; preds = %1, %46
ret void
}
declare i32 @mlx5_core_native_port_num(i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_ib_port_link_layer(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_core_is_mp_master(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_ib_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @mlx5_ib_unbind_slave_port(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_nic_vport_disable_roce(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"mlx5_ib_dev", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !10, i64 16}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"TYPE_3__", !10, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_main.c_mlx5_ib_cleanup_multiport_master.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_main.c_mlx5_ib_cleanup_multiport_master.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr }
@IB_LINK_LAYER_ETHERNET = common local_unnamed_addr global i32 0, align 4
@mlx5_ib_multiport_mutex = common global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"unbinding port_num: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"removing from devlist\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mlx5_ib_cleanup_multiport_master], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mlx5_ib_cleanup_multiport_master(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @mlx5_core_native_port_num(i32 noundef %3) #2
%5 = add nsw i32 %4, -1
%6 = getelementptr inbounds i8, ptr %0, i64 24
%7 = tail call i32 @mlx5_ib_port_link_layer(ptr noundef nonnull %6, i32 noundef %4) #2
%8 = load i32, ptr %2, align 4, !tbaa !6
%9 = tail call i32 @mlx5_core_is_mp_master(i32 noundef %8) #2
%10 = icmp ne i32 %9, 0
%11 = load i32, ptr @IB_LINK_LAYER_ETHERNET, align 4
%12 = icmp eq i32 %7, %11
%13 = select i1 %10, i1 %12, i1 false
br i1 %13, label %14, label %53
14: ; preds = %1
%15 = tail call i32 @mutex_lock(ptr noundef nonnull @mlx5_ib_multiport_mutex) #2
%16 = load i32, ptr %0, align 8, !tbaa !12
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %46
18: ; preds = %14
%19 = getelementptr inbounds i8, ptr %0, i64 16
%20 = zext i32 %5 to i64
br label %21
21: ; preds = %18, %41
%22 = phi i64 [ 0, %18 ], [ %42, %41 ]
%23 = load ptr, ptr %19, align 8, !tbaa !13
%24 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i64 %22
%25 = load ptr, ptr %24, align 8, !tbaa !14
%26 = icmp eq ptr %25, null
br i1 %26, label %41, label %27
27: ; preds = %21
%28 = icmp eq i64 %22, %20
br i1 %28, label %29, label %33
29: ; preds = %27
%30 = tail call i32 @kfree(ptr noundef nonnull %25) #2
%31 = load ptr, ptr %19, align 8, !tbaa !13
%32 = getelementptr inbounds %struct.TYPE_4__, ptr %31, i64 %20
store ptr null, ptr %32, align 8, !tbaa !14
br label %41
33: ; preds = %27
%34 = trunc i64 %22 to i32
%35 = add i32 %34, 1
%36 = tail call i32 (ptr, ptr, ...) @mlx5_ib_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %35) #2
%37 = load ptr, ptr %19, align 8, !tbaa !13
%38 = getelementptr inbounds %struct.TYPE_4__, ptr %37, i64 %22
%39 = load ptr, ptr %38, align 8, !tbaa !14
%40 = tail call i32 @mlx5_ib_unbind_slave_port(ptr noundef nonnull %0, ptr noundef %39) #2
br label %41
41: ; preds = %21, %33, %29
%42 = add nuw nsw i64 %22, 1
%43 = load i32, ptr %0, align 8, !tbaa !12
%44 = sext i32 %43 to i64
%45 = icmp slt i64 %42, %44
br i1 %45, label %21, label %46, !llvm.loop !17
46: ; preds = %41, %14
%47 = tail call i32 (ptr, ptr, ...) @mlx5_ib_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
%48 = getelementptr inbounds i8, ptr %0, i64 8
%49 = tail call i32 @list_del(ptr noundef nonnull %48) #2
%50 = tail call i32 @mutex_unlock(ptr noundef nonnull @mlx5_ib_multiport_mutex) #2
%51 = load i32, ptr %2, align 4, !tbaa !6
%52 = tail call i32 @mlx5_nic_vport_disable_roce(i32 noundef %51) #2
br label %53
53: ; preds = %1, %46
ret void
}
declare i32 @mlx5_core_native_port_num(i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_ib_port_link_layer(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_core_is_mp_master(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_ib_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @mlx5_ib_unbind_slave_port(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_nic_vport_disable_roce(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"mlx5_ib_dev", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!7, !11, i64 16}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_4__", !16, i64 0}
!16 = !{!"TYPE_3__", !11, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| linux_drivers_infiniband_hw_mlx5_extr_main.c_mlx5_ib_cleanup_multiport_master |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt61pci.c_rt61pci_link_stats.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt61pci.c_rt61pci_link_stats.c"
target datalayout = "e-m:e-p270:32:32-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.link_qual = type { ptr, ptr }
@STA_CSR0 = dso_local local_unnamed_addr global i32 0, align 4
@STA_CSR0_FCS_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@STA_CSR1 = dso_local local_unnamed_addr global i32 0, align 4
@STA_CSR1_FALSE_CCA_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rt61pci_link_stats], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rt61pci_link_stats(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @STA_CSR0, align 4, !tbaa !5
%4 = tail call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %3) #2
%5 = load i32, ptr @STA_CSR0_FCS_ERROR, align 4, !tbaa !5
%6 = tail call ptr @rt2x00_get_field32(i32 noundef %4, i32 noundef %5) #2
%7 = getelementptr inbounds %struct.link_qual, ptr %1, i64 0, i32 1
store ptr %6, ptr %7, align 8, !tbaa !9
%8 = load i32, ptr @STA_CSR1, align 4, !tbaa !5
%9 = tail call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %8) #2
%10 = load i32, ptr @STA_CSR1_FALSE_CCA_ERROR, align 4, !tbaa !5
%11 = tail call ptr @rt2x00_get_field32(i32 noundef %9, i32 noundef %10) #2
store ptr %11, ptr %1, align 8, !tbaa !12
ret void
}
declare i32 @rt2x00mmio_register_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @rt2x00_get_field32(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, !11, i64 8}
!10 = !{!"link_qual", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt61pci.c_rt61pci_link_stats.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt61pci.c_rt61pci_link_stats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@STA_CSR0 = common local_unnamed_addr global i32 0, align 4
@STA_CSR0_FCS_ERROR = common local_unnamed_addr global i32 0, align 4
@STA_CSR1 = common local_unnamed_addr global i32 0, align 4
@STA_CSR1_FALSE_CCA_ERROR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rt61pci_link_stats], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rt61pci_link_stats(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @STA_CSR0, align 4, !tbaa !6
%4 = tail call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %3) #2
%5 = load i32, ptr @STA_CSR0_FCS_ERROR, align 4, !tbaa !6
%6 = tail call ptr @rt2x00_get_field32(i32 noundef %4, i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %6, ptr %7, align 8, !tbaa !10
%8 = load i32, ptr @STA_CSR1, align 4, !tbaa !6
%9 = tail call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %8) #2
%10 = load i32, ptr @STA_CSR1_FALSE_CCA_ERROR, align 4, !tbaa !6
%11 = tail call ptr @rt2x00_get_field32(i32 noundef %9, i32 noundef %10) #2
store ptr %11, ptr %1, align 8, !tbaa !13
ret void
}
declare i32 @rt2x00mmio_register_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @rt2x00_get_field32(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, !12, i64 8}
!11 = !{!"link_qual", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 0}
| linux_drivers_net_wireless_ralink_rt2x00_extr_rt61pci.c_rt61pci_link_stats |
; ModuleID = 'AnghaBench/freebsd/contrib/pf/tftp-proxy/extr_filter.c_add_filter.c'
source_filename = "AnghaBench/freebsd/contrib/pf/tftp-proxy/extr_filter.c_add_filter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
@PF_RULESET_FILTER = dso_local local_unnamed_addr global i32 0, align 4
@pfr = dso_local global %struct.TYPE_5__ zeroinitializer, align 4
@dev = dso_local local_unnamed_addr global i32 0, align 4
@DIOCADDRULE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @add_filter(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = icmp ne ptr %2, null
%8 = icmp ne ptr %3, null
%9 = and i1 %7, %8
%10 = icmp ne i32 %4, 0
%11 = and i1 %9, %10
%12 = icmp ne i32 %5, 0
%13 = and i1 %11, %12
br i1 %13, label %16, label %14
14: ; preds = %6
%15 = load i32, ptr @EINVAL, align 4, !tbaa !5
store i32 %15, ptr @errno, align 4, !tbaa !5
br label %26
16: ; preds = %6
%17 = load i32, ptr @PF_RULESET_FILTER, align 4, !tbaa !5
%18 = tail call i32 @prepare_rule(i32 noundef %0, i32 noundef %17, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %4, i32 noundef %5) #2
%19 = icmp eq i32 %18, -1
br i1 %19, label %26, label %20
20: ; preds = %16
store i32 %1, ptr @pfr, align 4, !tbaa !9
%21 = load i32, ptr @dev, align 4, !tbaa !5
%22 = load i32, ptr @DIOCADDRULE, align 4, !tbaa !5
%23 = tail call i32 @ioctl(i32 noundef %21, i32 noundef %22, ptr noundef nonnull @pfr) #2
%24 = icmp eq i32 %23, -1
%25 = sext i1 %24 to i32
br label %26
26: ; preds = %20, %16, %14
%27 = phi i32 [ -1, %14 ], [ -1, %16 ], [ %25, %20 ]
ret i32 %27
}
declare i32 @prepare_rule(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"TYPE_4__", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/pf/tftp-proxy/extr_filter.c_add_filter.c'
source_filename = "AnghaBench/freebsd/contrib/pf/tftp-proxy/extr_filter.c_add_filter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@EINVAL = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
@PF_RULESET_FILTER = common local_unnamed_addr global i32 0, align 4
@pfr = common global %struct.TYPE_5__ zeroinitializer, align 4
@dev = common local_unnamed_addr global i32 0, align 4
@DIOCADDRULE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @add_filter(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = icmp ne ptr %2, null
%8 = icmp ne ptr %3, null
%9 = and i1 %7, %8
%10 = icmp ne i32 %4, 0
%11 = and i1 %9, %10
%12 = icmp ne i32 %5, 0
%13 = and i1 %11, %12
br i1 %13, label %16, label %14
14: ; preds = %6
%15 = load i32, ptr @EINVAL, align 4, !tbaa !6
store i32 %15, ptr @errno, align 4, !tbaa !6
br label %26
16: ; preds = %6
%17 = load i32, ptr @PF_RULESET_FILTER, align 4, !tbaa !6
%18 = tail call i32 @prepare_rule(i32 noundef %0, i32 noundef %17, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %4, i32 noundef %5) #2
%19 = icmp eq i32 %18, -1
br i1 %19, label %26, label %20
20: ; preds = %16
store i32 %1, ptr @pfr, align 4, !tbaa !10
%21 = load i32, ptr @dev, align 4, !tbaa !6
%22 = load i32, ptr @DIOCADDRULE, align 4, !tbaa !6
%23 = tail call i32 @ioctl(i32 noundef %21, i32 noundef %22, ptr noundef nonnull @pfr) #2
%24 = icmp eq i32 %23, -1
%25 = sext i1 %24 to i32
br label %26
26: ; preds = %20, %16, %14
%27 = phi i32 [ -1, %14 ], [ -1, %16 ], [ %25, %20 ]
ret i32 %27
}
declare i32 @prepare_rule(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"TYPE_4__", !7, i64 0}
| freebsd_contrib_pf_tftp-proxy_extr_filter.c_add_filter |
; ModuleID = 'AnghaBench/freebsd/contrib/libucl/src/extr_ucl_util.c_ucl_object_tostring_forced.c'
source_filename = "AnghaBench/freebsd/contrib/libucl/src/extr_ucl_util.c_ucl_object_tostring_forced.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UCL_OBJECT_BINARY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @ucl_object_tostring_forced(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @UCL_OBJECT_BINARY, align 4, !tbaa !10
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = tail call ptr @ucl_copy_value_trash(ptr noundef nonnull %0) #2
br label %8
8: ; preds = %1, %6
%9 = phi ptr [ %7, %6 ], [ null, %1 ]
ret ptr %9
}
declare ptr @ucl_copy_value_trash(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libucl/src/extr_ucl_util.c_ucl_object_tostring_forced.c'
source_filename = "AnghaBench/freebsd/contrib/libucl/src/extr_ucl_util.c_ucl_object_tostring_forced.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UCL_OBJECT_BINARY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @ucl_object_tostring_forced(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @UCL_OBJECT_BINARY, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = tail call ptr @ucl_copy_value_trash(ptr noundef nonnull %0) #2
br label %8
8: ; preds = %1, %6
%9 = phi ptr [ %7, %6 ], [ null, %1 ]
ret ptr %9
}
declare ptr @ucl_copy_value_trash(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| freebsd_contrib_libucl_src_extr_ucl_util.c_ucl_object_tostring_forced |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/extr_paravirt.c_arch_flush_lazy_mmu_mode.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/extr_paravirt.c_arch_flush_lazy_mmu_mode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PARAVIRT_LAZY_MMU = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @arch_flush_lazy_mmu_mode() local_unnamed_addr #0 {
%1 = tail call i32 (...) @preempt_disable() #2
%2 = tail call i64 (...) @paravirt_get_lazy_mode() #2
%3 = load i64, ptr @PARAVIRT_LAZY_MMU, align 8, !tbaa !5
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = tail call i32 (...) @arch_leave_lazy_mmu_mode() #2
%7 = tail call i32 (...) @arch_enter_lazy_mmu_mode() #2
br label %8
8: ; preds = %5, %0
%9 = tail call i32 (...) @preempt_enable() #2
ret void
}
declare i32 @preempt_disable(...) local_unnamed_addr #1
declare i64 @paravirt_get_lazy_mode(...) local_unnamed_addr #1
declare i32 @arch_leave_lazy_mmu_mode(...) local_unnamed_addr #1
declare i32 @arch_enter_lazy_mmu_mode(...) local_unnamed_addr #1
declare i32 @preempt_enable(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/extr_paravirt.c_arch_flush_lazy_mmu_mode.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/extr_paravirt.c_arch_flush_lazy_mmu_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PARAVIRT_LAZY_MMU = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @arch_flush_lazy_mmu_mode() local_unnamed_addr #0 {
%1 = tail call i32 @preempt_disable() #2
%2 = tail call i64 @paravirt_get_lazy_mode() #2
%3 = load i64, ptr @PARAVIRT_LAZY_MMU, align 8, !tbaa !6
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = tail call i32 @arch_leave_lazy_mmu_mode() #2
%7 = tail call i32 @arch_enter_lazy_mmu_mode() #2
br label %8
8: ; preds = %5, %0
%9 = tail call i32 @preempt_enable() #2
ret void
}
declare i32 @preempt_disable(...) local_unnamed_addr #1
declare i64 @paravirt_get_lazy_mode(...) local_unnamed_addr #1
declare i32 @arch_leave_lazy_mmu_mode(...) local_unnamed_addr #1
declare i32 @arch_enter_lazy_mmu_mode(...) local_unnamed_addr #1
declare i32 @preempt_enable(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
| fastsocket_kernel_arch_x86_kernel_extr_paravirt.c_arch_flush_lazy_mmu_mode |
; ModuleID = 'AnghaBench/nginx/src/os/win32/extr_ngx_files.c_ngx_open_dir.c'
source_filename = "AnghaBench/nginx/src/os/win32/extr_ngx_files.c_ngx_open_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"
%struct.TYPE_5__ = type { i32, i32 }
%struct.TYPE_6__ = type { i32, i32, i32, i32 }
@NGX_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@INVALID_HANDLE_VALUE = dso_local local_unnamed_addr global i32 0, align 4
@ngx_errno = dso_local local_unnamed_addr global i32 0, align 4
@NGX_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ngx_open_dir(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = add nsw i32 %3, 3
%5 = tail call ptr @malloc(i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %26, label %7
7: ; preds = %2
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = load i32, ptr %0, align 4, !tbaa !5
%11 = tail call ptr @ngx_cpymem(ptr noundef nonnull %5, i32 noundef %9, i32 noundef %10) #2
%12 = getelementptr inbounds i8, ptr %11, i64 1
store i8 47, ptr %11, align 1, !tbaa !11
%13 = getelementptr inbounds i8, ptr %11, i64 2
store i8 42, ptr %12, align 1, !tbaa !11
store i8 0, ptr %13, align 1, !tbaa !11
%14 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 3
%15 = tail call i32 @FindFirstFile(ptr noundef nonnull %5, ptr noundef nonnull %14) #2
%16 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 2
store i32 %15, ptr %16, align 4, !tbaa !12
%17 = load i32, ptr @INVALID_HANDLE_VALUE, align 4, !tbaa !14
%18 = icmp eq i32 %15, %17
br i1 %18, label %19, label %23
19: ; preds = %7
%20 = load i32, ptr @ngx_errno, align 4, !tbaa !14
%21 = tail call i32 @ngx_free(ptr noundef nonnull %5) #2
%22 = tail call i32 @ngx_set_errno(i32 noundef %20) #2
br label %26
23: ; preds = %7
%24 = tail call i32 @ngx_free(ptr noundef nonnull %5) #2
store i32 1, ptr %1, align 4, !tbaa !15
%25 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1
store i32 1, ptr %25, align 4, !tbaa !16
br label %26
26: ; preds = %2, %23, %19
%27 = phi ptr [ @NGX_ERROR, %19 ], [ @NGX_OK, %23 ], [ @NGX_ERROR, %2 ]
%28 = load i32, ptr %27, align 4, !tbaa !14
ret i32 %28
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare ptr @ngx_cpymem(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FindFirstFile(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ngx_free(ptr noundef) local_unnamed_addr #1
declare i32 @ngx_set_errno(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, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!14 = !{!7, !7, i64 0}
!15 = !{!13, !7, i64 0}
!16 = !{!13, !7, i64 4}
| ; ModuleID = 'AnghaBench/nginx/src/os/win32/extr_ngx_files.c_ngx_open_dir.c'
source_filename = "AnghaBench/nginx/src/os/win32/extr_ngx_files.c_ngx_open_dir.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NGX_ERROR = common local_unnamed_addr global i32 0, align 4
@INVALID_HANDLE_VALUE = common local_unnamed_addr global i32 0, align 4
@ngx_errno = common local_unnamed_addr global i32 0, align 4
@NGX_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ngx_open_dir(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = add nsw i32 %3, 3
%5 = tail call ptr @malloc(i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %25, label %7
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = load i32, ptr %0, align 4, !tbaa !6
%11 = tail call ptr @ngx_cpymem(ptr noundef nonnull %5, i32 noundef %9, i32 noundef %10) #2
%12 = getelementptr inbounds i8, ptr %11, i64 1
store i8 47, ptr %11, align 1, !tbaa !12
%13 = getelementptr inbounds i8, ptr %11, i64 2
store i8 42, ptr %12, align 1, !tbaa !12
store i8 0, ptr %13, align 1, !tbaa !12
%14 = getelementptr inbounds i8, ptr %1, i64 12
%15 = tail call i32 @FindFirstFile(ptr noundef nonnull %5, ptr noundef nonnull %14) #2
%16 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %15, ptr %16, align 4, !tbaa !13
%17 = load i32, ptr @INVALID_HANDLE_VALUE, align 4, !tbaa !15
%18 = icmp eq i32 %15, %17
br i1 %18, label %19, label %23
19: ; preds = %7
%20 = load i32, ptr @ngx_errno, align 4, !tbaa !15
%21 = tail call i32 @ngx_free(ptr noundef nonnull %5) #2
%22 = tail call i32 @ngx_set_errno(i32 noundef %20) #2
br label %25
23: ; preds = %7
%24 = tail call i32 @ngx_free(ptr noundef nonnull %5) #2
store <2 x i32> <i32 1, i32 1>, ptr %1, align 4, !tbaa !15
br label %25
25: ; preds = %2, %23, %19
%26 = phi ptr [ @NGX_ERROR, %19 ], [ @NGX_OK, %23 ], [ @NGX_ERROR, %2 ]
%27 = load i32, ptr %26, align 4, !tbaa !15
ret i32 %27
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare ptr @ngx_cpymem(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FindFirstFile(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ngx_free(ptr noundef) local_unnamed_addr #1
declare i32 @ngx_set_errno(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, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!9, !9, i64 0}
!13 = !{!14, !8, i64 8}
!14 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!15 = !{!8, !8, i64 0}
| nginx_src_os_win32_extr_ngx_files.c_ngx_open_dir |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_mschapv2.c_eap_mschapv2_failure.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_mschapv2.c_eap_mschapv2_failure.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.eap_mschapv2_hdr = type { i32 }
%struct.eap_method_ret = type { ptr, i32, i32, ptr }
%struct.eap_mschapv2_data = type { i64, i32 }
%struct.eap_peer_config = type { i64, i64 }
@MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"EAP-MSCHAPV2: Received failure\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"EAP-MSCHAPV2: Failure data\00", align 1
@FALSE = dso_local local_unnamed_addr global ptr null, align 8
@METHOD_DONE = dso_local local_unnamed_addr global i32 0, align 4
@DECISION_FAIL = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_PASSWD_EXPIRED = dso_local local_unnamed_addr global i64 0, align 8
@ERROR_AUTHENTICATION_FAILURE = dso_local local_unnamed_addr global i64 0, align 8
@EAP_VENDOR_IETF = dso_local local_unnamed_addr global i32 0, align 4
@EAP_TYPE_MSCHAPV2 = dso_local local_unnamed_addr global i32 0, align 4
@EAP_CODE_RESPONSE = dso_local local_unnamed_addr global i32 0, align 4
@MSCHAPV2_OP_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @eap_mschapv2_failure], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @eap_mschapv2_failure(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = getelementptr inbounds %struct.eap_mschapv2_hdr, ptr %3, i64 1
%8 = add i64 %4, -4
%9 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%10 = tail call i32 @wpa_printf(i32 noundef %9, ptr noundef nonnull @.str) #2
%11 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%12 = tail call i32 @wpa_hexdump_ascii(i32 noundef %11, ptr noundef nonnull @.str.1, ptr noundef nonnull %7, i64 noundef %8) #2
%13 = tail call ptr @dup_binstr(ptr noundef nonnull %7, i64 noundef %8) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %19, label %15
15: ; preds = %6
%16 = tail call i32 @eap_mschapv2_failure_txt(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %13) #2
%17 = tail call i32 @os_free(ptr noundef nonnull %13) #2
%18 = icmp ne i32 %16, 0
br label %19
19: ; preds = %15, %6
%20 = phi i1 [ %18, %15 ], [ false, %6 ]
%21 = load ptr, ptr @FALSE, align 8, !tbaa !9
%22 = getelementptr inbounds %struct.eap_method_ret, ptr %2, i64 0, i32 3
store ptr %21, ptr %22, align 8, !tbaa !11
%23 = load i32, ptr @METHOD_DONE, align 4, !tbaa !5
%24 = getelementptr inbounds %struct.eap_method_ret, ptr %2, i64 0, i32 2
store i32 %23, ptr %24, align 4, !tbaa !13
%25 = load i32, ptr @DECISION_FAIL, align 4, !tbaa !5
%26 = getelementptr inbounds %struct.eap_method_ret, ptr %2, i64 0, i32 1
store i32 %25, ptr %26, align 8, !tbaa !14
store ptr %21, ptr %2, align 8, !tbaa !15
%27 = load i64, ptr %1, align 8, !tbaa !16
%28 = load i64, ptr @ERROR_PASSWD_EXPIRED, align 8, !tbaa !19
%29 = icmp eq i64 %27, %28
br i1 %29, label %30, label %46
30: ; preds = %19
%31 = getelementptr inbounds %struct.eap_mschapv2_data, ptr %1, i64 0, i32 1
%32 = load i32, ptr %31, align 8, !tbaa !20
%33 = icmp eq i32 %32, 3
br i1 %33, label %34, label %46
34: ; preds = %30
%35 = tail call ptr @eap_get_config(ptr noundef %0) #2
%36 = icmp eq ptr %35, null
br i1 %36, label %50, label %37
37: ; preds = %34
%38 = getelementptr inbounds %struct.eap_peer_config, ptr %35, i64 0, i32 1
%39 = load i64, ptr %38, align 8, !tbaa !21
%40 = icmp eq i64 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %37
%42 = tail call ptr @eap_mschapv2_change_password(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef %3, i32 noundef %5) #2
br label %59
43: ; preds = %37
%44 = load i64, ptr %35, align 8, !tbaa !23
%45 = icmp eq i64 %44, 0
br i1 %45, label %50, label %59
46: ; preds = %30, %19
%47 = load i64, ptr @ERROR_AUTHENTICATION_FAILURE, align 8
%48 = icmp eq i64 %27, %47
%49 = select i1 %20, i1 %48, i1 false
br i1 %49, label %59, label %50
50: ; preds = %34, %43, %46
%51 = load i32, ptr @EAP_VENDOR_IETF, align 4, !tbaa !5
%52 = load i32, ptr @EAP_TYPE_MSCHAPV2, align 4, !tbaa !5
%53 = load i32, ptr @EAP_CODE_RESPONSE, align 4, !tbaa !5
%54 = tail call ptr @eap_msg_alloc(i32 noundef %51, i32 noundef %52, i32 noundef 1, i32 noundef %53, i32 noundef %5) #2
%55 = icmp eq ptr %54, null
br i1 %55, label %59, label %56
56: ; preds = %50
%57 = load i32, ptr @MSCHAPV2_OP_FAILURE, align 4, !tbaa !5
%58 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %54, i32 noundef %57) #2
br label %59
59: ; preds = %46, %43, %41, %50, %56
%60 = phi ptr [ %54, %56 ], [ null, %50 ], [ null, %43 ], [ %42, %41 ], [ null, %46 ]
ret ptr %60
}
declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wpa_hexdump_ascii(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @dup_binstr(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @eap_mschapv2_failure_txt(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @os_free(ptr noundef) local_unnamed_addr #1
declare ptr @eap_get_config(ptr noundef) local_unnamed_addr #1
declare ptr @eap_mschapv2_change_password(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @eap_msg_alloc(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wpabuf_put_u8(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"eap_method_ret", !10, i64 0, !6, i64 8, !6, i64 12, !10, i64 16}
!13 = !{!12, !6, i64 12}
!14 = !{!12, !6, i64 8}
!15 = !{!12, !10, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"eap_mschapv2_data", !18, i64 0, !6, i64 8}
!18 = !{!"long", !7, i64 0}
!19 = !{!18, !18, i64 0}
!20 = !{!17, !6, i64 8}
!21 = !{!22, !18, i64 8}
!22 = !{!"eap_peer_config", !18, i64 0, !18, i64 8}
!23 = !{!22, !18, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_mschapv2.c_eap_mschapv2_failure.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_mschapv2.c_eap_mschapv2_failure.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MSG_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"EAP-MSCHAPV2: Received failure\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"EAP-MSCHAPV2: Failure data\00", align 1
@FALSE = common local_unnamed_addr global ptr null, align 8
@METHOD_DONE = common local_unnamed_addr global i32 0, align 4
@DECISION_FAIL = common local_unnamed_addr global i32 0, align 4
@ERROR_PASSWD_EXPIRED = common local_unnamed_addr global i64 0, align 8
@ERROR_AUTHENTICATION_FAILURE = common local_unnamed_addr global i64 0, align 8
@EAP_VENDOR_IETF = common local_unnamed_addr global i32 0, align 4
@EAP_TYPE_MSCHAPV2 = common local_unnamed_addr global i32 0, align 4
@EAP_CODE_RESPONSE = common local_unnamed_addr global i32 0, align 4
@MSCHAPV2_OP_FAILURE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @eap_mschapv2_failure], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @eap_mschapv2_failure(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = getelementptr inbounds i8, ptr %3, i64 4
%8 = add i64 %4, -4
%9 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%10 = tail call i32 @wpa_printf(i32 noundef %9, ptr noundef nonnull @.str) #2
%11 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%12 = tail call i32 @wpa_hexdump_ascii(i32 noundef %11, ptr noundef nonnull @.str.1, ptr noundef nonnull %7, i64 noundef %8) #2
%13 = tail call ptr @dup_binstr(ptr noundef nonnull %7, i64 noundef %8) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %19, label %15
15: ; preds = %6
%16 = tail call i32 @eap_mschapv2_failure_txt(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %13) #2
%17 = tail call i32 @os_free(ptr noundef nonnull %13) #2
%18 = icmp ne i32 %16, 0
br label %19
19: ; preds = %15, %6
%20 = phi i1 [ %18, %15 ], [ false, %6 ]
%21 = load ptr, ptr @FALSE, align 8, !tbaa !10
%22 = getelementptr inbounds i8, ptr %2, i64 16
store ptr %21, ptr %22, align 8, !tbaa !12
%23 = load i32, ptr @METHOD_DONE, align 4, !tbaa !6
%24 = getelementptr inbounds i8, ptr %2, i64 12
store i32 %23, ptr %24, align 4, !tbaa !14
%25 = load i32, ptr @DECISION_FAIL, align 4, !tbaa !6
%26 = getelementptr inbounds i8, ptr %2, i64 8
store i32 %25, ptr %26, align 8, !tbaa !15
store ptr %21, ptr %2, align 8, !tbaa !16
%27 = load i64, ptr %1, align 8, !tbaa !17
%28 = load i64, ptr @ERROR_PASSWD_EXPIRED, align 8, !tbaa !20
%29 = icmp eq i64 %27, %28
br i1 %29, label %30, label %46
30: ; preds = %19
%31 = getelementptr inbounds i8, ptr %1, i64 8
%32 = load i32, ptr %31, align 8, !tbaa !21
%33 = icmp eq i32 %32, 3
br i1 %33, label %34, label %46
34: ; preds = %30
%35 = tail call ptr @eap_get_config(ptr noundef %0) #2
%36 = icmp eq ptr %35, null
br i1 %36, label %50, label %37
37: ; preds = %34
%38 = getelementptr inbounds i8, ptr %35, i64 8
%39 = load i64, ptr %38, align 8, !tbaa !22
%40 = icmp eq i64 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %37
%42 = tail call ptr @eap_mschapv2_change_password(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef %3, i32 noundef %5) #2
br label %59
43: ; preds = %37
%44 = load i64, ptr %35, align 8, !tbaa !24
%45 = icmp eq i64 %44, 0
br i1 %45, label %50, label %59
46: ; preds = %30, %19
%47 = load i64, ptr @ERROR_AUTHENTICATION_FAILURE, align 8
%48 = icmp eq i64 %27, %47
%49 = select i1 %20, i1 %48, i1 false
br i1 %49, label %59, label %50
50: ; preds = %34, %43, %46
%51 = load i32, ptr @EAP_VENDOR_IETF, align 4, !tbaa !6
%52 = load i32, ptr @EAP_TYPE_MSCHAPV2, align 4, !tbaa !6
%53 = load i32, ptr @EAP_CODE_RESPONSE, align 4, !tbaa !6
%54 = tail call ptr @eap_msg_alloc(i32 noundef %51, i32 noundef %52, i32 noundef 1, i32 noundef %53, i32 noundef %5) #2
%55 = icmp eq ptr %54, null
br i1 %55, label %59, label %56
56: ; preds = %50
%57 = load i32, ptr @MSCHAPV2_OP_FAILURE, align 4, !tbaa !6
%58 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %54, i32 noundef %57) #2
br label %59
59: ; preds = %46, %43, %41, %50, %56
%60 = phi ptr [ %54, %56 ], [ null, %50 ], [ null, %43 ], [ %42, %41 ], [ null, %46 ]
ret ptr %60
}
declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wpa_hexdump_ascii(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @dup_binstr(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @eap_mschapv2_failure_txt(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @os_free(ptr noundef) local_unnamed_addr #1
declare ptr @eap_get_config(ptr noundef) local_unnamed_addr #1
declare ptr @eap_mschapv2_change_password(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @eap_msg_alloc(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wpabuf_put_u8(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"eap_method_ret", !11, i64 0, !7, i64 8, !7, i64 12, !11, i64 16}
!14 = !{!13, !7, i64 12}
!15 = !{!13, !7, i64 8}
!16 = !{!13, !11, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"eap_mschapv2_data", !19, i64 0, !7, i64 8}
!19 = !{!"long", !8, i64 0}
!20 = !{!19, !19, i64 0}
!21 = !{!18, !7, i64 8}
!22 = !{!23, !19, i64 8}
!23 = !{!"eap_peer_config", !19, i64 0, !19, i64 8}
!24 = !{!23, !19, i64 0}
| freebsd_contrib_wpa_src_eap_peer_extr_eap_mschapv2.c_eap_mschapv2_failure |
; ModuleID = 'AnghaBench/linux/drivers/usb/renesas_usbhs/extr_pipe.c_usbhs_pipe_running.c'
source_filename = "AnghaBench/linux/drivers/usb/renesas_usbhs/extr_pipe.c_usbhs_pipe_running.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IS_RUNNING = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @usbhs_pipe_running(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %1, 0
%4 = load i32, ptr @IS_RUNNING, align 4, !tbaa !5
br i1 %3, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @usbhsp_flags_set(ptr noundef %0, i32 noundef %4) #2
br label %9
7: ; preds = %2
%8 = tail call i32 @usbhsp_flags_clr(ptr noundef %0, i32 noundef %4) #2
br label %9
9: ; preds = %7, %5
ret void
}
declare i32 @usbhsp_flags_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usbhsp_flags_clr(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/renesas_usbhs/extr_pipe.c_usbhs_pipe_running.c'
source_filename = "AnghaBench/linux/drivers/usb/renesas_usbhs/extr_pipe.c_usbhs_pipe_running.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IS_RUNNING = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @usbhs_pipe_running(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %1, 0
%4 = load i32, ptr @IS_RUNNING, align 4, !tbaa !6
br i1 %3, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @usbhsp_flags_set(ptr noundef %0, i32 noundef %4) #2
br label %9
7: ; preds = %2
%8 = tail call i32 @usbhsp_flags_clr(ptr noundef %0, i32 noundef %4) #2
br label %9
9: ; preds = %7, %5
ret void
}
declare i32 @usbhsp_flags_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usbhsp_flags_clr(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_usb_renesas_usbhs_extr_pipe.c_usbhs_pipe_running |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ui-out.c_do_cleanup_table_end.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ui-out.c_do_cleanup_table_end.c"
target datalayout = "e-m:e-p270:32:32-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_cleanup_table_end], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @do_cleanup_table_end(ptr noundef %0) #0 {
%2 = tail call i32 @ui_out_table_end(ptr noundef %0) #2
ret void
}
declare i32 @ui_out_table_end(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ui-out.c_do_cleanup_table_end.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ui-out.c_do_cleanup_table_end.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_cleanup_table_end], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @do_cleanup_table_end(ptr noundef %0) #0 {
%2 = tail call i32 @ui_out_table_end(ptr noundef %0) #2
ret void
}
declare i32 @ui_out_table_end(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_gdb_gdb_extr_ui-out.c_do_cleanup_table_end |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/wlan-ng/extr_prism2sta.c_prism2sta_inf_linkstatus.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/wlan-ng/extr_prism2sta.c_prism2sta_inf_linkstatus.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @prism2sta_inf_linkstatus], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @prism2sta_inf_linkstatus(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr %1, align 4, !tbaa !10
%6 = tail call i32 @le16_to_cpu(i32 noundef %5) #2
%7 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 0, i32 1
store i32 %6, ptr %7, align 4, !tbaa !15
%8 = tail call i32 @schedule_work(ptr noundef %4) #2
ret void
}
declare i32 @le16_to_cpu(i32 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, !7, i64 0}
!6 = !{!"TYPE_10__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !14, i64 0}
!11 = !{!"TYPE_12__", !12, i64 0}
!12 = !{!"TYPE_9__", !13, i64 0}
!13 = !{!"TYPE_8__", !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !14, i64 4}
!16 = !{!"TYPE_11__", !14, i64 0, !14, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/wlan-ng/extr_prism2sta.c_prism2sta_inf_linkstatus.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/wlan-ng/extr_prism2sta.c_prism2sta_inf_linkstatus.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 @prism2sta_inf_linkstatus], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @prism2sta_inf_linkstatus(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr %1, align 4, !tbaa !11
%6 = tail call i32 @le16_to_cpu(i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %6, ptr %7, align 4, !tbaa !16
%8 = tail call i32 @schedule_work(ptr noundef %4) #2
ret void
}
declare i32 @le16_to_cpu(i32 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, !8, i64 0}
!7 = !{!"TYPE_10__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !15, i64 0}
!12 = !{!"TYPE_12__", !13, i64 0}
!13 = !{!"TYPE_9__", !14, i64 0}
!14 = !{!"TYPE_8__", !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !15, i64 4}
!17 = !{!"TYPE_11__", !15, i64 0, !15, i64 4}
| fastsocket_kernel_drivers_staging_wlan-ng_extr_prism2sta.c_prism2sta_inf_linkstatus |
; ModuleID = 'AnghaBench/freebsd/contrib/libucl/src/extr_ucl_msgpack.c_ucl_msgpack_parse_map.c'
source_filename = "AnghaBench/freebsd/contrib/libucl/src/extr_ucl_msgpack.c_ucl_msgpack_parse_map.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ucl_msgpack_parse_map], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal noundef i32 @ucl_msgpack_parse_map(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i64 %2, i32 %3, ptr nocapture readnone %4, i64 %5) #0 {
%7 = load i32, ptr %0, align 4, !tbaa !5
store i32 %7, ptr %1, align 4, !tbaa !10
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"ucl_parser", !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 = !{!"ucl_stack", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libucl/src/extr_ucl_msgpack.c_ucl_msgpack_parse_map.c'
source_filename = "AnghaBench/freebsd/contrib/libucl/src/extr_ucl_msgpack.c_ucl_msgpack_parse_map.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ucl_msgpack_parse_map], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal noundef i32 @ucl_msgpack_parse_map(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i64 %2, i32 %3, ptr nocapture readnone %4, i64 %5) #0 {
%7 = load i32, ptr %0, align 4, !tbaa !6
store i32 %7, ptr %1, align 4, !tbaa !11
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"ucl_parser", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"ucl_stack", !8, i64 0}
| freebsd_contrib_libucl_src_extr_ucl_msgpack.c_ucl_msgpack_parse_map |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/extr_journal.c_ocfs2_recover_node.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/extr_journal.c_ocfs2_recover_node.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ocfs2_super = type { i32, i32 }
@.str = private unnamed_addr constant [48 x i8] c"(node_num=%d, slot_num=%d, osb->node_num = %d)\0A\00", align 1
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [74 x i8] c"Skipping recovery for slot %u (node %u) as another node has recovered it\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ocfs2_recover_node], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ocfs2_recover_node(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !5
%6 = load i32, ptr %0, align 4, !tbaa !9
%7 = tail call i32 @mlog_entry(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2, i32 noundef %6) #3
%8 = load i32, ptr %0, align 4, !tbaa !9
%9 = icmp eq i32 %8, %1
%10 = zext i1 %9 to i32
%11 = tail call i32 @BUG_ON(i32 noundef %10) #3
%12 = tail call i32 @ocfs2_replay_journal(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %22
14: ; preds = %3
%15 = load i32, ptr @EBUSY, align 4, !tbaa !12
%16 = sub nsw i32 0, %15
%17 = icmp eq i32 %12, %16
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = tail call i32 @mlog(i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef %2, i32 noundef %1) #3
br label %43
20: ; preds = %14
%21 = tail call i32 @mlog_errno(i32 noundef %12) #3
br label %43
22: ; preds = %3
%23 = call i32 @ocfs2_begin_local_alloc_recovery(ptr noundef nonnull %0, i32 noundef %2, ptr noundef nonnull %4) #3
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 @mlog_errno(i32 noundef %23) #3
br label %43
27: ; preds = %22
%28 = call i32 @ocfs2_begin_truncate_log_recovery(ptr noundef nonnull %0, i32 noundef %2, ptr noundef nonnull %5) #3
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 @mlog_errno(i32 noundef %28) #3
br label %32
32: ; preds = %30, %27
%33 = call i32 @ocfs2_clear_slot(ptr noundef nonnull %0, i32 noundef %2) #3
%34 = icmp slt i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 @mlog_errno(i32 noundef %33) #3
br label %37
37: ; preds = %35, %32
%38 = getelementptr inbounds %struct.ocfs2_super, ptr %0, i64 0, i32 1
%39 = load i32, ptr %38, align 4, !tbaa !13
%40 = load ptr, ptr %4, align 8, !tbaa !5
%41 = load ptr, ptr %5, align 8, !tbaa !5
%42 = call i32 @ocfs2_queue_recovery_completion(i32 noundef %39, i32 noundef %2, ptr noundef %40, ptr noundef %41, ptr noundef null) #3
br label %43
43: ; preds = %37, %25, %20, %18
%44 = phi i32 [ 0, %18 ], [ %12, %20 ], [ %23, %25 ], [ 0, %37 ]
%45 = call i32 @mlog_exit(i32 noundef %44) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %44
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mlog_entry(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2
declare i32 @ocfs2_replay_journal(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mlog(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #2
declare i32 @ocfs2_begin_local_alloc_recovery(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ocfs2_begin_truncate_log_recovery(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ocfs2_clear_slot(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ocfs2_queue_recovery_completion(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mlog_exit(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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"ocfs2_super", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/extr_journal.c_ocfs2_recover_node.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/extr_journal.c_ocfs2_recover_node.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [48 x i8] c"(node_num=%d, slot_num=%d, osb->node_num = %d)\0A\00", align 1
@EBUSY = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [74 x i8] c"Skipping recovery for slot %u (node %u) as another node has recovered it\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ocfs2_recover_node], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @ocfs2_recover_node(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !6
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = tail call i32 @mlog_entry(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2, i32 noundef %6) #3
%8 = load i32, ptr %0, align 4, !tbaa !10
%9 = icmp eq i32 %8, %1
%10 = zext i1 %9 to i32
%11 = tail call i32 @BUG_ON(i32 noundef %10) #3
%12 = tail call i32 @ocfs2_replay_journal(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %22
14: ; preds = %3
%15 = load i32, ptr @EBUSY, align 4, !tbaa !13
%16 = sub nsw i32 0, %15
%17 = icmp eq i32 %12, %16
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = tail call i32 @mlog(i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef %2, i32 noundef %1) #3
br label %43
20: ; preds = %14
%21 = tail call i32 @mlog_errno(i32 noundef %12) #3
br label %43
22: ; preds = %3
%23 = call i32 @ocfs2_begin_local_alloc_recovery(ptr noundef nonnull %0, i32 noundef %2, ptr noundef nonnull %4) #3
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 @mlog_errno(i32 noundef %23) #3
br label %43
27: ; preds = %22
%28 = call i32 @ocfs2_begin_truncate_log_recovery(ptr noundef nonnull %0, i32 noundef %2, ptr noundef nonnull %5) #3
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 @mlog_errno(i32 noundef %28) #3
br label %32
32: ; preds = %30, %27
%33 = call i32 @ocfs2_clear_slot(ptr noundef nonnull %0, i32 noundef %2) #3
%34 = icmp slt i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 @mlog_errno(i32 noundef %33) #3
br label %37
37: ; preds = %35, %32
%38 = getelementptr inbounds i8, ptr %0, i64 4
%39 = load i32, ptr %38, align 4, !tbaa !14
%40 = load ptr, ptr %4, align 8, !tbaa !6
%41 = load ptr, ptr %5, align 8, !tbaa !6
%42 = call i32 @ocfs2_queue_recovery_completion(i32 noundef %39, i32 noundef %2, ptr noundef %40, ptr noundef %41, ptr noundef null) #3
br label %43
43: ; preds = %37, %25, %20, %18
%44 = phi i32 [ 0, %18 ], [ %12, %20 ], [ %23, %25 ], [ 0, %37 ]
%45 = call i32 @mlog_exit(i32 noundef %44) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %44
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mlog_entry(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2
declare i32 @ocfs2_replay_journal(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mlog(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #2
declare i32 @ocfs2_begin_local_alloc_recovery(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ocfs2_begin_truncate_log_recovery(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ocfs2_clear_slot(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ocfs2_queue_recovery_completion(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mlog_exit(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"ocfs2_super", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 4}
| fastsocket_kernel_fs_ocfs2_extr_journal.c_ocfs2_recover_node |
; ModuleID = 'AnghaBench/freebsd/sys/dev/rccgpio/extr_rccgpio.c_rcc_gpio_pin_setflags.c'
source_filename = "AnghaBench/freebsd/sys/dev/rccgpio/extr_rccgpio.c_rcc_gpio_pin_setflags.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rcc_gpio_pin_setflags], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rcc_gpio_pin_setflags(i32 noundef %0, i64 noundef %1, i64 %2) #0 {
%4 = tail call ptr @device_get_softc(i32 noundef %0) #2
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = icmp sgt i64 %5, %1
%7 = load i32, ptr @EINVAL, align 4
%8 = select i1 %6, i32 0, i32 %7
ret i32 %8
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"rcc_gpio_softc", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/rccgpio/extr_rccgpio.c_rcc_gpio_pin_setflags.c'
source_filename = "AnghaBench/freebsd/sys/dev/rccgpio/extr_rccgpio.c_rcc_gpio_pin_setflags.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rcc_gpio_pin_setflags], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rcc_gpio_pin_setflags(i32 noundef %0, i64 noundef %1, i64 %2) #0 {
%4 = tail call ptr @device_get_softc(i32 noundef %0) #2
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = icmp sgt i64 %5, %1
%7 = load i32, ptr @EINVAL, align 4
%8 = select i1 %6, i32 0, i32 %7
ret i32 %8
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"rcc_gpio_softc", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_rccgpio_extr_rccgpio.c_rcc_gpio_pin_setflags |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/displays/extr_panel-sony-acx565akm.c_enable_backlight_ctrl.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/displays/extr_panel-sony-acx565akm.c_enable_backlight_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"
@MIPID_CMD_READ_CTRL_DISP = dso_local local_unnamed_addr global i32 0, align 4
@CTRL_DISP_BRIGHTNESS_CTRL_ON = dso_local local_unnamed_addr global i32 0, align 4
@CTRL_DISP_BACKLIGHT_ON = dso_local local_unnamed_addr global i32 0, align 4
@MIPID_CMD_WRITE_CTRL_DISP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @enable_backlight_ctrl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @enable_backlight_ctrl(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @MIPID_CMD_READ_CTRL_DISP, align 4, !tbaa !5
%5 = call i32 @acx565akm_read(ptr noundef %0, i32 noundef %4, ptr noundef nonnull %3, i32 noundef 1) #3
%6 = icmp eq i32 %1, 0
%7 = load i32, ptr @CTRL_DISP_BRIGHTNESS_CTRL_ON, align 4, !tbaa !5
%8 = load i32, ptr @CTRL_DISP_BACKLIGHT_ON, align 4, !tbaa !5
%9 = or i32 %8, %7
br i1 %6, label %13, label %10
10: ; preds = %2
%11 = load i32, ptr %3, align 4, !tbaa !5
%12 = or i32 %9, %11
br label %17
13: ; preds = %2
%14 = xor i32 %9, -1
%15 = load i32, ptr %3, align 4, !tbaa !5
%16 = and i32 %15, %14
br label %17
17: ; preds = %13, %10
%18 = phi i32 [ %16, %13 ], [ %12, %10 ]
%19 = or i32 %18, 256
store i32 %19, ptr %3, align 4, !tbaa !5
%20 = load i32, ptr @MIPID_CMD_WRITE_CTRL_DISP, align 4, !tbaa !5
%21 = call i32 @acx565akm_write(ptr noundef %0, i32 noundef %20, ptr noundef nonnull %3, i32 noundef 2) #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 i32 @acx565akm_read(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @acx565akm_write(ptr 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/displays/extr_panel-sony-acx565akm.c_enable_backlight_ctrl.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/displays/extr_panel-sony-acx565akm.c_enable_backlight_ctrl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MIPID_CMD_READ_CTRL_DISP = common local_unnamed_addr global i32 0, align 4
@CTRL_DISP_BRIGHTNESS_CTRL_ON = common local_unnamed_addr global i32 0, align 4
@CTRL_DISP_BACKLIGHT_ON = common local_unnamed_addr global i32 0, align 4
@MIPID_CMD_WRITE_CTRL_DISP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @enable_backlight_ctrl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @enable_backlight_ctrl(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @MIPID_CMD_READ_CTRL_DISP, align 4, !tbaa !6
%5 = call i32 @acx565akm_read(ptr noundef %0, i32 noundef %4, ptr noundef nonnull %3, i32 noundef 1) #3
%6 = icmp eq i32 %1, 0
%7 = load i32, ptr @CTRL_DISP_BRIGHTNESS_CTRL_ON, align 4, !tbaa !6
%8 = load i32, ptr @CTRL_DISP_BACKLIGHT_ON, align 4, !tbaa !6
%9 = or i32 %8, %7
br i1 %6, label %13, label %10
10: ; preds = %2
%11 = load i32, ptr %3, align 4, !tbaa !6
%12 = or i32 %9, %11
br label %17
13: ; preds = %2
%14 = xor i32 %9, -1
%15 = load i32, ptr %3, align 4, !tbaa !6
%16 = and i32 %15, %14
br label %17
17: ; preds = %13, %10
%18 = phi i32 [ %16, %13 ], [ %12, %10 ]
%19 = or i32 %18, 256
store i32 %19, ptr %3, align 4, !tbaa !6
%20 = load i32, ptr @MIPID_CMD_WRITE_CTRL_DISP, align 4, !tbaa !6
%21 = call i32 @acx565akm_write(ptr noundef %0, i32 noundef %20, ptr noundef nonnull %3, i32 noundef 2) #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 i32 @acx565akm_read(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @acx565akm_write(ptr 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_video_fbdev_omap2_omapfb_displays_extr_panel-sony-acx565akm.c_enable_backlight_ctrl |
; ModuleID = 'AnghaBench/linux/drivers/s390/scsi/extr_zfcp_fc.c_zfcp_fc_incoming_els.c'
source_filename = "AnghaBench/linux/drivers/s390/scsi/extr_zfcp_fc.c_zfcp_fc_incoming_els.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"fciels1\00", align 1
@ELS_PLOGI = dso_local local_unnamed_addr global i32 0, align 4
@ELS_LOGO = dso_local local_unnamed_addr global i32 0, align 4
@ELS_RSCN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @zfcp_fc_incoming_els(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = inttoptr i64 %2 to ptr
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load i32, ptr %4, align 4, !tbaa !14
%6 = tail call i32 @zfcp_dbf_san_in_els(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2
%7 = load i32, ptr @ELS_PLOGI, align 4, !tbaa !14
%8 = icmp eq i32 %5, %7
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = tail call i32 @zfcp_fc_incoming_plogi(ptr noundef nonnull %0) #2
br label %21
11: ; preds = %1
%12 = load i32, ptr @ELS_LOGO, align 4, !tbaa !14
%13 = icmp eq i32 %5, %12
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = tail call i32 @zfcp_fc_incoming_logo(ptr noundef nonnull %0) #2
br label %21
16: ; preds = %11
%17 = load i32, ptr @ELS_RSCN, align 4, !tbaa !14
%18 = icmp eq i32 %5, %17
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = tail call i32 @zfcp_fc_incoming_rscn(ptr noundef nonnull %0) #2
br label %21
21: ; preds = %14, %19, %16, %9
ret void
}
declare i32 @zfcp_dbf_san_in_els(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_fc_incoming_plogi(ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_fc_incoming_logo(ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_fc_incoming_rscn(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 = !{!"zfcp_fsf_req", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"fsf_status_read_buffer", !12, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/s390/scsi/extr_zfcp_fc.c_zfcp_fc_incoming_els.c'
source_filename = "AnghaBench/linux/drivers/s390/scsi/extr_zfcp_fc.c_zfcp_fc_incoming_els.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"fciels1\00", align 1
@ELS_PLOGI = common local_unnamed_addr global i32 0, align 4
@ELS_LOGO = common local_unnamed_addr global i32 0, align 4
@ELS_RSCN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @zfcp_fc_incoming_els(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = inttoptr i64 %2 to ptr
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load i32, ptr %4, align 4, !tbaa !15
%6 = tail call i32 @zfcp_dbf_san_in_els(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2
%7 = load i32, ptr @ELS_PLOGI, align 4, !tbaa !15
%8 = icmp eq i32 %5, %7
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = tail call i32 @zfcp_fc_incoming_plogi(ptr noundef nonnull %0) #2
br label %21
11: ; preds = %1
%12 = load i32, ptr @ELS_LOGO, align 4, !tbaa !15
%13 = icmp eq i32 %5, %12
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = tail call i32 @zfcp_fc_incoming_logo(ptr noundef nonnull %0) #2
br label %21
16: ; preds = %11
%17 = load i32, ptr @ELS_RSCN, align 4, !tbaa !15
%18 = icmp eq i32 %5, %17
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = tail call i32 @zfcp_fc_incoming_rscn(ptr noundef nonnull %0) #2
br label %21
21: ; preds = %14, %19, %16, %9
ret void
}
declare i32 @zfcp_dbf_san_in_els(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_fc_incoming_plogi(ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_fc_incoming_logo(ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_fc_incoming_rscn(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 = !{!"zfcp_fsf_req", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 0}
!12 = !{!"fsf_status_read_buffer", !13, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
| linux_drivers_s390_scsi_extr_zfcp_fc.c_zfcp_fc_incoming_els |
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/pandora/extr_picorestore.c_main.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/pandora/extr_picorestore.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"
%struct.fb_var_screeninfo = type { i64, i64, i64 }
%struct.omapfb_plane_info = type { i64, i64, i64 }
%struct.omapfb_mem_info = type { i64, i64, i64 }
@.str = private unnamed_addr constant [9 x i8] c"/dev/fb0\00", align 1
@O_RDWR = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"open fb0\00", align 1
@FBIOGET_VSCREENINFO = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"FBIOGET_VSCREENINFO ioctl\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"fixing yoffset.. \00", align 1
@FBIOPAN_DISPLAY = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [22 x i8] c"ioctl FBIOPAN_DISPLAY\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"ok\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"/dev/fb1\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"open fb1\00", align 1
@OMAPFB_QUERY_PLANE = dso_local local_unnamed_addr global i32 0, align 4
@OMAPFB_QUERY_MEM = dso_local local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [8 x i8] c"QUERY_*\00", align 1
@OMAPFB_SETUP_PLANE = dso_local local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [12 x i8] c"SETUP_PLANE\00", align 1
@OMAPFB_SETUP_MEM = dso_local local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [10 x i8] c"SETUP_MEM\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"/dev/tty\00", align 1
@.str.12 = private unnamed_addr constant [14 x i8] c"open /dev/tty\00", align 1
@KDSETMODE = dso_local local_unnamed_addr global i32 0, align 4
@KD_TEXT = dso_local local_unnamed_addr global ptr null, align 8
@.str.13 = private unnamed_addr constant [18 x i8] c"KDSETMODE KD_TEXT\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
%1 = alloca %struct.fb_var_screeninfo, align 8
%2 = alloca %struct.omapfb_plane_info, align 8
%3 = alloca %struct.omapfb_mem_info, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
%4 = load i32, ptr @O_RDWR, align 4, !tbaa !5
%5 = tail call i32 @open(ptr noundef nonnull @.str, i32 noundef %4) #3
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = tail call i32 @perror(ptr noundef nonnull @.str.1) #3
br label %31
9: ; preds = %0
%10 = load i32, ptr @FBIOGET_VSCREENINFO, align 4, !tbaa !5
%11 = call i32 @ioctl(i32 noundef %5, i32 noundef %10, ptr noundef nonnull %1) #3
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @perror(ptr noundef nonnull @.str.2) #3
br label %27
15: ; preds = %9
%16 = load i64, ptr %1, align 8, !tbaa !9
%17 = icmp eq i64 %16, 0
br i1 %17, label %27, label %18
18: ; preds = %15
%19 = call i32 @printf(ptr noundef nonnull @.str.3) #3
store i64 0, ptr %1, align 8, !tbaa !9
%20 = load i32, ptr @FBIOPAN_DISPLAY, align 4, !tbaa !5
%21 = call i32 @ioctl(i32 noundef %5, i32 noundef %20, ptr noundef nonnull %1) #3
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = call i32 @perror(ptr noundef nonnull @.str.4) #3
br label %27
25: ; preds = %18
%26 = call i32 @printf(ptr noundef nonnull @.str.5) #3
br label %27
27: ; preds = %15, %25, %23, %13
%28 = icmp sgt i32 %5, -1
br i1 %28, label %29, label %31
29: ; preds = %27
%30 = call i32 @close(i32 noundef %5) #3
br label %31
31: ; preds = %7, %29, %27
%32 = load i32, ptr @O_RDWR, align 4, !tbaa !5
%33 = call i32 @open(ptr noundef nonnull @.str.6, i32 noundef %32) #3
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 @perror(ptr noundef nonnull @.str.7) #3
br label %64
37: ; preds = %31
%38 = load i32, ptr @OMAPFB_QUERY_PLANE, align 4, !tbaa !5
%39 = call i32 @ioctl(i32 noundef %33, i32 noundef %38, ptr noundef nonnull %2) #3
%40 = load i32, ptr @OMAPFB_QUERY_MEM, align 4, !tbaa !5
%41 = call i32 @ioctl(i32 noundef %33, i32 noundef %40, ptr noundef nonnull %3) #3
%42 = or i32 %41, %39
%43 = icmp eq i32 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %37
%45 = call i32 @perror(ptr noundef nonnull @.str.8) #3
br label %46
46: ; preds = %44, %37
%47 = getelementptr inbounds %struct.omapfb_plane_info, ptr %2, i64 0, i32 2
store i64 0, ptr %47, align 8, !tbaa !12
%48 = load i32, ptr @OMAPFB_SETUP_PLANE, align 4, !tbaa !5
%49 = call i32 @ioctl(i32 noundef %33, i32 noundef %48, ptr noundef nonnull %2) #3
%50 = icmp eq i32 %49, 0
br i1 %50, label %53, label %51
51: ; preds = %46
%52 = call i32 @perror(ptr noundef nonnull @.str.9) #3
br label %53
53: ; preds = %51, %46
%54 = getelementptr inbounds %struct.omapfb_mem_info, ptr %3, i64 0, i32 1
store i64 0, ptr %54, align 8, !tbaa !14
%55 = load i32, ptr @OMAPFB_SETUP_MEM, align 4, !tbaa !5
%56 = call i32 @ioctl(i32 noundef %33, i32 noundef %55, ptr noundef nonnull %3) #3
%57 = icmp eq i32 %56, 0
br i1 %57, label %60, label %58
58: ; preds = %53
%59 = call i32 @perror(ptr noundef nonnull @.str.10) #3
br label %60
60: ; preds = %53, %58
%61 = icmp sgt i32 %33, -1
br i1 %61, label %62, label %64
62: ; preds = %60
%63 = call i32 @close(i32 noundef %33) #3
br label %64
64: ; preds = %35, %62, %60
%65 = load i32, ptr @O_RDWR, align 4, !tbaa !5
%66 = call i32 @open(ptr noundef nonnull @.str.11, i32 noundef %65) #3
%67 = icmp eq i32 %66, -1
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = call i32 @perror(ptr noundef nonnull @.str.12) #3
br label %79
70: ; preds = %64
%71 = load i32, ptr @KDSETMODE, align 4, !tbaa !5
%72 = load ptr, ptr @KD_TEXT, align 8, !tbaa !16
%73 = call i32 @ioctl(i32 noundef %66, i32 noundef %71, ptr noundef %72) #3
%74 = icmp eq i32 %73, -1
br i1 %74, label %75, label %77
75: ; preds = %70
%76 = call i32 @perror(ptr noundef nonnull @.str.13) #3
br label %77
77: ; preds = %75, %70
%78 = call i32 @close(i32 noundef %66) #3
br label %79
79: ; preds = %77, %68
%80 = phi i32 [ 1, %68 ], [ 0, %77 ]
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #3
ret i32 %80
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"fb_var_screeninfo", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"omapfb_plane_info", !11, i64 0, !11, i64 8, !11, i64 16}
!14 = !{!15, !11, i64 8}
!15 = !{!"omapfb_mem_info", !11, i64 0, !11, i64 8, !11, i64 16}
!16 = !{!17, !17, i64 0}
!17 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/pandora/extr_picorestore.c_main.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/pandora/extr_picorestore.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.fb_var_screeninfo = type { i64, i64, i64 }
%struct.omapfb_plane_info = type { i64, i64, i64 }
%struct.omapfb_mem_info = type { i64, i64, i64 }
@.str = private unnamed_addr constant [9 x i8] c"/dev/fb0\00", align 1
@O_RDWR = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"open fb0\00", align 1
@FBIOGET_VSCREENINFO = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"FBIOGET_VSCREENINFO ioctl\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"fixing yoffset.. \00", align 1
@FBIOPAN_DISPLAY = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [22 x i8] c"ioctl FBIOPAN_DISPLAY\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"ok\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"/dev/fb1\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"open fb1\00", align 1
@OMAPFB_QUERY_PLANE = common local_unnamed_addr global i32 0, align 4
@OMAPFB_QUERY_MEM = common local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [8 x i8] c"QUERY_*\00", align 1
@OMAPFB_SETUP_PLANE = common local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [12 x i8] c"SETUP_PLANE\00", align 1
@OMAPFB_SETUP_MEM = common local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [10 x i8] c"SETUP_MEM\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"/dev/tty\00", align 1
@.str.12 = private unnamed_addr constant [14 x i8] c"open /dev/tty\00", align 1
@KDSETMODE = common local_unnamed_addr global i32 0, align 4
@KD_TEXT = common local_unnamed_addr global ptr null, align 8
@.str.13 = private unnamed_addr constant [18 x i8] c"KDSETMODE KD_TEXT\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @main() local_unnamed_addr #0 {
%1 = alloca %struct.fb_var_screeninfo, align 8
%2 = alloca %struct.omapfb_plane_info, align 8
%3 = alloca %struct.omapfb_mem_info, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
%4 = load i32, ptr @O_RDWR, align 4, !tbaa !6
%5 = tail call i32 @open(ptr noundef nonnull @.str, i32 noundef %4) #3
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = tail call i32 @perror(ptr noundef nonnull @.str.1) #3
br label %31
9: ; preds = %0
%10 = load i32, ptr @FBIOGET_VSCREENINFO, align 4, !tbaa !6
%11 = call i32 @ioctl(i32 noundef %5, i32 noundef %10, ptr noundef nonnull %1) #3
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @perror(ptr noundef nonnull @.str.2) #3
br label %27
15: ; preds = %9
%16 = load i64, ptr %1, align 8, !tbaa !10
%17 = icmp eq i64 %16, 0
br i1 %17, label %27, label %18
18: ; preds = %15
%19 = call i32 @printf(ptr noundef nonnull @.str.3) #3
store i64 0, ptr %1, align 8, !tbaa !10
%20 = load i32, ptr @FBIOPAN_DISPLAY, align 4, !tbaa !6
%21 = call i32 @ioctl(i32 noundef %5, i32 noundef %20, ptr noundef nonnull %1) #3
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = call i32 @perror(ptr noundef nonnull @.str.4) #3
br label %27
25: ; preds = %18
%26 = call i32 @printf(ptr noundef nonnull @.str.5) #3
br label %27
27: ; preds = %15, %25, %23, %13
%28 = icmp sgt i32 %5, -1
br i1 %28, label %29, label %31
29: ; preds = %27
%30 = call i32 @close(i32 noundef %5) #3
br label %31
31: ; preds = %7, %29, %27
%32 = load i32, ptr @O_RDWR, align 4, !tbaa !6
%33 = call i32 @open(ptr noundef nonnull @.str.6, i32 noundef %32) #3
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 @perror(ptr noundef nonnull @.str.7) #3
br label %64
37: ; preds = %31
%38 = load i32, ptr @OMAPFB_QUERY_PLANE, align 4, !tbaa !6
%39 = call i32 @ioctl(i32 noundef %33, i32 noundef %38, ptr noundef nonnull %2) #3
%40 = load i32, ptr @OMAPFB_QUERY_MEM, align 4, !tbaa !6
%41 = call i32 @ioctl(i32 noundef %33, i32 noundef %40, ptr noundef nonnull %3) #3
%42 = or i32 %41, %39
%43 = icmp eq i32 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %37
%45 = call i32 @perror(ptr noundef nonnull @.str.8) #3
br label %46
46: ; preds = %44, %37
%47 = getelementptr inbounds i8, ptr %2, i64 16
store i64 0, ptr %47, align 8, !tbaa !13
%48 = load i32, ptr @OMAPFB_SETUP_PLANE, align 4, !tbaa !6
%49 = call i32 @ioctl(i32 noundef %33, i32 noundef %48, ptr noundef nonnull %2) #3
%50 = icmp eq i32 %49, 0
br i1 %50, label %53, label %51
51: ; preds = %46
%52 = call i32 @perror(ptr noundef nonnull @.str.9) #3
br label %53
53: ; preds = %51, %46
%54 = getelementptr inbounds i8, ptr %3, i64 8
store i64 0, ptr %54, align 8, !tbaa !15
%55 = load i32, ptr @OMAPFB_SETUP_MEM, align 4, !tbaa !6
%56 = call i32 @ioctl(i32 noundef %33, i32 noundef %55, ptr noundef nonnull %3) #3
%57 = icmp eq i32 %56, 0
br i1 %57, label %60, label %58
58: ; preds = %53
%59 = call i32 @perror(ptr noundef nonnull @.str.10) #3
br label %60
60: ; preds = %53, %58
%61 = icmp sgt i32 %33, -1
br i1 %61, label %62, label %64
62: ; preds = %60
%63 = call i32 @close(i32 noundef %33) #3
br label %64
64: ; preds = %35, %62, %60
%65 = load i32, ptr @O_RDWR, align 4, !tbaa !6
%66 = call i32 @open(ptr noundef nonnull @.str.11, i32 noundef %65) #3
%67 = icmp eq i32 %66, -1
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = call i32 @perror(ptr noundef nonnull @.str.12) #3
br label %79
70: ; preds = %64
%71 = load i32, ptr @KDSETMODE, align 4, !tbaa !6
%72 = load ptr, ptr @KD_TEXT, align 8, !tbaa !17
%73 = call i32 @ioctl(i32 noundef %66, i32 noundef %71, ptr noundef %72) #3
%74 = icmp eq i32 %73, -1
br i1 %74, label %75, label %77
75: ; preds = %70
%76 = call i32 @perror(ptr noundef nonnull @.str.13) #3
br label %77
77: ; preds = %75, %70
%78 = call i32 @close(i32 noundef %66) #3
br label %79
79: ; preds = %77, %68
%80 = phi i32 [ 1, %68 ], [ 0, %77 ]
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #3
ret i32 %80
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"fb_var_screeninfo", !12, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"omapfb_plane_info", !12, i64 0, !12, i64 8, !12, i64 16}
!15 = !{!16, !12, i64 8}
!16 = !{!"omapfb_mem_info", !12, i64 0, !12, i64 8, !12, i64 16}
!17 = !{!18, !18, i64 0}
!18 = !{!"any pointer", !8, i64 0}
| Provenance_Cores_PicoDrive_platform_pandora_extr_picorestore.c_main |
; ModuleID = 'AnghaBench/phpredis/extr_redis_array_impl.c_ra_move_list.c'
source_filename = "AnghaBench/phpredis/extr_redis_array_impl.c_ra_move_list.c"
target datalayout = "e-m:e-p270:32:32-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"LRANGE\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
@__const.ra_move_list.cmd_list = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16
@.str.3 = private unnamed_addr constant [6 x i8] c"RPUSH\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ra_move_list], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ra_move_list(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca [3 x ptr], align 16
%7 = alloca [1 x ptr], align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %6, ptr noundef nonnull align 16 dereferenceable(24) @__const.ra_move_list.cmd_list, i64 24, i1 false)
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
store i64 ptrtoint (ptr @.str.3 to i64), ptr %7, align 8
%8 = call i32 @ra_move_collection(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef 3, ptr noundef nonnull %6, i32 noundef 1, ptr noundef nonnull %7, i64 noundef %4) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
ret i32 %8
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @ra_move_collection(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i64 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: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/phpredis/extr_redis_array_impl.c_ra_move_list.c'
source_filename = "AnghaBench/phpredis/extr_redis_array_impl.c_ra_move_list.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"LRANGE\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
@__const.ra_move_list.cmd_list = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 8
@.str.3 = private unnamed_addr constant [6 x i8] c"RPUSH\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ra_move_list], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ra_move_list(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca [3 x ptr], align 8
%7 = alloca [1 x ptr], align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) @__const.ra_move_list.cmd_list, i64 24, i1 false)
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
store i64 ptrtoint (ptr @.str.3 to i64), ptr %7, align 8
%8 = call i32 @ra_move_collection(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef 3, ptr noundef nonnull %6, i32 noundef 1, ptr noundef nonnull %7, i64 noundef %4) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
ret i32 %8
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @ra_move_collection(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i64 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: readwrite) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| phpredis_extr_redis_array_impl.c_ra_move_list |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-fileio.c_remote_fileio_ioerror.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-fileio.c_remote_fileio_ioerror.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FILEIO_EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @remote_fileio_ioerror], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @remote_fileio_ioerror() #0 {
%1 = load i32, ptr @FILEIO_EIO, align 4, !tbaa !5
%2 = tail call i32 @remote_fileio_reply(i32 noundef -1, i32 noundef %1) #2
ret void
}
declare i32 @remote_fileio_reply(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_remote-fileio.c_remote_fileio_ioerror.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-fileio.c_remote_fileio_ioerror.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FILEIO_EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @remote_fileio_ioerror], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @remote_fileio_ioerror() #0 {
%1 = load i32, ptr @FILEIO_EIO, align 4, !tbaa !6
%2 = tail call i32 @remote_fileio_reply(i32 noundef -1, i32 noundef %1) #2
ret void
}
declare i32 @remote_fileio_reply(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_remote-fileio.c_remote_fileio_ioerror |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_sorg94.c_g94_sor_dp_pattern.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_sorg94.c_g94_sor_dp_pattern.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @g94_sor_dp_pattern(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = tail call i64 @nv50_sor_link(ptr noundef nonnull %0) #2
%6 = add nsw i64 %5, 6406412
%7 = shl i32 %1, 24
%8 = tail call i32 @nvkm_mask(ptr noundef %4, i64 noundef %6, i32 noundef 251658240, i32 noundef %7) #2
ret void
}
declare i64 @nv50_sor_link(ptr noundef) local_unnamed_addr #1
declare i32 @nvkm_mask(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"nvkm_ior", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"TYPE_4__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_sorg94.c_g94_sor_dp_pattern.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_sorg94.c_g94_sor_dp_pattern.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @g94_sor_dp_pattern(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = tail call i64 @nv50_sor_link(ptr noundef nonnull %0) #2
%6 = add nsw i64 %5, 6406412
%7 = shl i32 %1, 24
%8 = tail call i32 @nvkm_mask(ptr noundef %4, i64 noundef %6, i32 noundef 251658240, i32 noundef %7) #2
ret void
}
declare i64 @nv50_sor_link(ptr noundef) local_unnamed_addr #1
declare i32 @nvkm_mask(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"nvkm_ior", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"TYPE_5__", !14, i64 0}
!14 = !{!"TYPE_4__", !8, i64 0}
| linux_drivers_gpu_drm_nouveau_nvkm_engine_disp_extr_sorg94.c_g94_sor_dp_pattern |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_load.c_reader_string.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_load.c_reader_string.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @reader_string], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @reader_string(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call i32 @UNUSED(ptr noundef %0) #2
%5 = load i64, ptr %1, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
store i64 %5, ptr %2, align 8, !tbaa !11
store i64 0, ptr %1, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !12
br label %10
10: ; preds = %3, %7
%11 = phi ptr [ %9, %7 ], [ null, %3 ]
ret ptr %11
}
declare i32 @UNUSED(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, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_load.c_reader_string.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_load.c_reader_string.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @reader_string], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @reader_string(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call i32 @UNUSED(ptr noundef %0) #2
%5 = load i64, ptr %1, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
store i64 %5, ptr %2, align 8, !tbaa !12
store i64 0, ptr %1, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %1, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !13
br label %10
10: ; preds = %3, %7
%11 = phi ptr [ %9, %7 ], [ null, %3 ]
ret ptr %11
}
declare i32 @UNUSED(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, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
| xLua_build_luajit-2.1.0b3_src_extr_lj_load.c_reader_string |
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_rtl2830.c_rtl2830_update_bits.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_rtl2830.c_rtl2830_update_bits.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@I2C_LOCK_SEGMENT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtl2830_update_bits], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rtl2830_update_bits(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = load i32, ptr @I2C_LOCK_SEGMENT, align 4, !tbaa !10
%8 = tail call i32 @i2c_lock_bus(i32 noundef %6, i32 noundef %7) #2
%9 = load i32, ptr %5, align 4, !tbaa !11
%10 = tail call i32 @regmap_update_bits(i32 noundef %9, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2
%11 = load i32, ptr %0, align 4, !tbaa !5
%12 = load i32, ptr @I2C_LOCK_SEGMENT, align 4, !tbaa !10
%13 = tail call i32 @i2c_unlock_bus(i32 noundef %11, i32 noundef %12) #2
ret i32 %10
}
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare i32 @i2c_lock_bus(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @i2c_unlock_bus(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 = !{!"i2c_client", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"rtl2830_dev", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_rtl2830.c_rtl2830_update_bits.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_rtl2830.c_rtl2830_update_bits.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@I2C_LOCK_SEGMENT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rtl2830_update_bits], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rtl2830_update_bits(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = load i32, ptr @I2C_LOCK_SEGMENT, align 4, !tbaa !11
%8 = tail call i32 @i2c_lock_bus(i32 noundef %6, i32 noundef %7) #2
%9 = load i32, ptr %5, align 4, !tbaa !12
%10 = tail call i32 @regmap_update_bits(i32 noundef %9, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2
%11 = load i32, ptr %0, align 4, !tbaa !6
%12 = load i32, ptr @I2C_LOCK_SEGMENT, align 4, !tbaa !11
%13 = tail call i32 @i2c_unlock_bus(i32 noundef %11, i32 noundef %12) #2
ret i32 %10
}
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare i32 @i2c_lock_bus(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @i2c_unlock_bus(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 = !{!"i2c_client", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"rtl2830_dev", !8, i64 0}
| linux_drivers_media_dvb-frontends_extr_rtl2830.c_rtl2830_update_bits |
; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_apds9300.c_apds9300_set_thresh_low.c'
source_filename = "AnghaBench/linux/drivers/iio/light/extr_apds9300.c_apds9300_set_thresh_low.c"
target datalayout = "e-m:e-p270:32:32-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.apds9300_data = type { i32, ptr, i32 }
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@APDS9300_THRESH_MAX = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@APDS9300_THRESHLOWLOW = dso_local local_unnamed_addr global i32 0, align 4
@APDS9300_CMD = dso_local local_unnamed_addr global i32 0, align 4
@APDS9300_WORD = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"failed to set thresh_low\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @apds9300_set_thresh_low], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @apds9300_set_thresh_low(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.apds9300_data, ptr %0, i64 0, i32 2
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EBUSY, align 4, !tbaa !11
%8 = sub nsw i32 0, %7
br label %29
9: ; preds = %2
%10 = load i32, ptr @APDS9300_THRESH_MAX, align 4, !tbaa !11
%11 = icmp slt i32 %10, %1
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr @EINVAL, align 4, !tbaa !11
%14 = sub nsw i32 0, %13
br label %29
15: ; preds = %9
%16 = getelementptr inbounds %struct.apds9300_data, ptr %0, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !12
%18 = load i32, ptr @APDS9300_THRESHLOWLOW, align 4, !tbaa !11
%19 = load i32, ptr @APDS9300_CMD, align 4, !tbaa !11
%20 = or i32 %19, %18
%21 = load i32, ptr @APDS9300_WORD, align 4, !tbaa !11
%22 = or i32 %20, %21
%23 = tail call i32 @i2c_smbus_write_word_data(ptr noundef %17, i32 noundef %22, i32 noundef %1) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %15
%26 = load ptr, ptr %16, align 8, !tbaa !12
%27 = tail call i32 @dev_err(ptr noundef %26, ptr noundef nonnull @.str) #2
br label %29
28: ; preds = %15
store i32 %1, ptr %0, align 8, !tbaa !13
br label %29
29: ; preds = %28, %25, %12, %6
%30 = phi i32 [ %14, %12 ], [ %23, %25 ], [ 0, %28 ], [ %8, %6 ]
ret i32 %30
}
declare i32 @i2c_smbus_write_word_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"apds9300_data", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_apds9300.c_apds9300_set_thresh_low.c'
source_filename = "AnghaBench/linux/drivers/iio/light/extr_apds9300.c_apds9300_set_thresh_low.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
@APDS9300_THRESH_MAX = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@APDS9300_THRESHLOWLOW = common local_unnamed_addr global i32 0, align 4
@APDS9300_CMD = common local_unnamed_addr global i32 0, align 4
@APDS9300_WORD = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"failed to set thresh_low\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @apds9300_set_thresh_low], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @apds9300_set_thresh_low(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EBUSY, align 4, !tbaa !12
%8 = sub nsw i32 0, %7
br label %29
9: ; preds = %2
%10 = load i32, ptr @APDS9300_THRESH_MAX, align 4, !tbaa !12
%11 = icmp slt i32 %10, %1
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr @EINVAL, align 4, !tbaa !12
%14 = sub nsw i32 0, %13
br label %29
15: ; preds = %9
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !13
%18 = load i32, ptr @APDS9300_THRESHLOWLOW, align 4, !tbaa !12
%19 = load i32, ptr @APDS9300_CMD, align 4, !tbaa !12
%20 = or i32 %19, %18
%21 = load i32, ptr @APDS9300_WORD, align 4, !tbaa !12
%22 = or i32 %20, %21
%23 = tail call i32 @i2c_smbus_write_word_data(ptr noundef %17, i32 noundef %22, i32 noundef %1) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %15
%26 = load ptr, ptr %16, align 8, !tbaa !13
%27 = tail call i32 @dev_err(ptr noundef %26, ptr noundef nonnull @.str) #2
br label %29
28: ; preds = %15
store i32 %1, ptr %0, align 8, !tbaa !14
br label %29
29: ; preds = %28, %25, %12, %6
%30 = phi i32 [ %14, %12 ], [ %23, %25 ], [ 0, %28 ], [ %8, %6 ]
ret i32 %30
}
declare i32 @i2c_smbus_write_word_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"apds9300_data", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !8, i64 0}
| linux_drivers_iio_light_extr_apds9300.c_apds9300_set_thresh_low |
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_omap-aes.c_omap_aes_dma_out_callback.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_omap-aes.c_omap_aes_dma_out_callback.c"
target datalayout = "e-m:e-p270:32:32-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 @omap_aes_dma_out_callback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @omap_aes_dma_out_callback(ptr noundef %0) #0 {
%2 = tail call i32 @tasklet_schedule(ptr noundef %0) #2
ret void
}
declare i32 @tasklet_schedule(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/crypto/extr_omap-aes.c_omap_aes_dma_out_callback.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_omap-aes.c_omap_aes_dma_out_callback.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 @omap_aes_dma_out_callback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @omap_aes_dma_out_callback(ptr noundef %0) #0 {
%2 = tail call i32 @tasklet_schedule(ptr noundef %0) #2
ret void
}
declare i32 @tasklet_schedule(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_crypto_extr_omap-aes.c_omap_aes_dma_out_callback |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.