IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/lib/decompress/extr_zstd_decompress.c_ZSTD_decompress.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/lib/decompress/extr_zstd_decompress.c_ZSTD_decompress.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@memory_allocation = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @ZSTD_decompress(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i32 @ZSTD_initDCtx_internal(ptr noundef nonnull %5) #3
%7 = call i64 @ZSTD_decompressDCtx(ptr noundef nonnull %5, ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i64 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ZSTD_initDCtx_internal(ptr noundef) local_unnamed_addr #2
declare i64 @ZSTD_decompressDCtx(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/lib/decompress/extr_zstd_decompress.c_ZSTD_decompress.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/lib/decompress/extr_zstd_decompress.c_ZSTD_decompress.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@memory_allocation = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @ZSTD_decompress(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i32 @ZSTD_initDCtx_internal(ptr noundef nonnull %5) #3
%7 = call i64 @ZSTD_decompressDCtx(ptr noundef nonnull %5, ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i64 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ZSTD_initDCtx_internal(ptr noundef) local_unnamed_addr #2
declare i64 @ZSTD_decompressDCtx(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_contrib_zstd_lib_decompress_extr_zstd_decompress.c_ZSTD_decompress |
; ModuleID = 'AnghaBench/RetroArch/menu/extr_menu_shader.c_menu_shader_manager_clear_pass_scale.c'
source_filename = "AnghaBench/RetroArch/menu/extr_menu_shader.c_menu_shader_manager_clear_pass_scale.c"
target datalayout = "e-m:e-p270:32:32-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.video_shader_pass = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i64, i64 }
@menu_driver_shader_modified = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local void @menu_shader_manager_clear_pass_scale(ptr noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %11, label %4
4: ; preds = %2
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = zext i32 %1 to i64
%9 = getelementptr inbounds %struct.video_shader_pass, ptr %5, i64 %8
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 0, i32 1
store i32 0, ptr %9, align 8, !tbaa !10
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, i8 0, i64 16, i1 false)
store i32 1, ptr @menu_driver_shader_modified, align 4, !tbaa !15
br label %11
11: ; preds = %2, %4, %7
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"video_shader", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"video_shader_pass", !12, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0, !14, i64 8, !14, i64 16}
!13 = !{!"int", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !13, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/menu/extr_menu_shader.c_menu_shader_manager_clear_pass_scale.c'
source_filename = "AnghaBench/RetroArch/menu/extr_menu_shader.c_menu_shader_manager_clear_pass_scale.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.video_shader_pass = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i64, i64 }
@menu_driver_shader_modified = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define void @menu_shader_manager_clear_pass_scale(ptr noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %11, label %4
4: ; preds = %2
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = zext i32 %1 to i64
%9 = getelementptr inbounds %struct.video_shader_pass, ptr %5, i64 %8
%10 = getelementptr inbounds i8, ptr %9, i64 8
store i32 0, ptr %9, align 8, !tbaa !11
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, i8 0, i64 16, i1 false)
store i32 1, ptr @menu_driver_shader_modified, align 4, !tbaa !16
br label %11
11: ; preds = %2, %4, %7
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"video_shader", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 0}
!12 = !{!"video_shader_pass", !13, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0, !15, i64 8, !15, i64 16}
!14 = !{!"int", !9, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!14, !14, i64 0}
| RetroArch_menu_extr_menu_shader.c_menu_shader_manager_clear_pass_scale |
; ModuleID = 'AnghaBench/linux/drivers/nvme/host/extr_fc.c_nvme_fc_ctrl_get.c'
source_filename = "AnghaBench/linux/drivers/nvme/host/extr_fc.c_nvme_fc_ctrl_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @nvme_fc_ctrl_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nvme_fc_ctrl_get(ptr noundef %0) #0 {
%2 = tail call i32 @kref_get_unless_zero(ptr noundef %0) #2
ret i32 %2
}
declare i32 @kref_get_unless_zero(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/nvme/host/extr_fc.c_nvme_fc_ctrl_get.c'
source_filename = "AnghaBench/linux/drivers/nvme/host/extr_fc.c_nvme_fc_ctrl_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 @nvme_fc_ctrl_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nvme_fc_ctrl_get(ptr noundef %0) #0 {
%2 = tail call i32 @kref_get_unless_zero(ptr noundef %0) #2
ret i32 %2
}
declare i32 @kref_get_unless_zero(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_nvme_host_extr_fc.c_nvme_fc_ctrl_get |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_regs.h_overlaps_hard_reg_set_p.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_regs.h_overlaps_hard_reg_set_p.c"
target datalayout = "e-m:e-p270:32:32-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 @overlaps_hard_reg_set_p], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal noundef i32 @overlaps_hard_reg_set_p(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 @TEST_HARD_REG_BIT(i32 noundef %0, i32 noundef %2) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %15
6: ; preds = %3
%7 = tail call i32 @end_hard_regno(i32 noundef %1, i32 noundef %2) #2
br label %8
8: ; preds = %12, %6
%9 = phi i32 [ %2, %6 ], [ %10, %12 ]
%10 = add i32 %9, 1
%11 = icmp ult i32 %10, %7
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = tail call i64 @TEST_HARD_REG_BIT(i32 noundef %0, i32 noundef %10) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %8, label %15, !llvm.loop !5
15: ; preds = %8, %12, %3
%16 = phi i32 [ 1, %3 ], [ 0, %8 ], [ 1, %12 ]
ret i32 %16
}
declare i64 @TEST_HARD_REG_BIT(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @end_hard_regno(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_regs.h_overlaps_hard_reg_set_p.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_regs.h_overlaps_hard_reg_set_p.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 @overlaps_hard_reg_set_p], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @overlaps_hard_reg_set_p(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 @TEST_HARD_REG_BIT(i32 noundef %0, i32 noundef %2) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %15
6: ; preds = %3
%7 = tail call i32 @end_hard_regno(i32 noundef %1, i32 noundef %2) #2
br label %8
8: ; preds = %12, %6
%9 = phi i32 [ %2, %6 ], [ %10, %12 ]
%10 = add i32 %9, 1
%11 = icmp ult i32 %10, %7
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = tail call i64 @TEST_HARD_REG_BIT(i32 noundef %0, i32 noundef %10) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %8, label %15, !llvm.loop !6
15: ; preds = %8, %12, %3
%16 = phi i32 [ 1, %3 ], [ 0, %8 ], [ 1, %12 ]
ret i32 %16
}
declare i64 @TEST_HARD_REG_BIT(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @end_hard_regno(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_gcc_extr_regs.h_overlaps_hard_reg_set_p |
; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_visflow.c_BetterPortalVis.c'
source_filename = "AnghaBench/lab/q3map2/q3map2/extr_visflow.c_BetterPortalVis.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i32, i32, i32, i64 }
@portals = dso_local local_unnamed_addr global ptr null, align 8
@numportals = dso_local local_unnamed_addr global i32 0, align 4
@c_vis = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @BetterPortalVis(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @portals, align 8, !tbaa !5
%3 = sext i32 %0 to i64
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 %3, i32 4
%5 = load i64, ptr %4, align 8, !tbaa !9
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %23
7: ; preds = %1
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 %3
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 %3, i32 3
%10 = load i32, ptr %9, align 8, !tbaa !13
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 %3, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 %3, i32 1
%14 = load i32, ptr %13, align 8, !tbaa !15
%15 = tail call i32 @RecursiveLeafBitFlow(i32 noundef %10, i32 noundef %12, i32 noundef %14) #2
%16 = load i32, ptr %13, align 8, !tbaa !15
%17 = load i32, ptr @numportals, align 4, !tbaa !16
%18 = shl nsw i32 %17, 1
%19 = tail call i64 @CountBits(i32 noundef %16, i32 noundef %18) #2
store i64 %19, ptr %8, align 8, !tbaa !17
%20 = load i32, ptr @c_vis, align 4, !tbaa !16
%21 = trunc i64 %19 to i32
%22 = add i32 %20, %21
store i32 %22, ptr @c_vis, align 4, !tbaa !16
br label %23
23: ; preds = %1, %7
ret void
}
declare i32 @RecursiveLeafBitFlow(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @CountBits(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 24}
!10 = !{!"TYPE_3__", !11, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !11, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!10, !12, i64 16}
!14 = !{!10, !12, i64 12}
!15 = !{!10, !12, i64 8}
!16 = !{!12, !12, i64 0}
!17 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_visflow.c_BetterPortalVis.c'
source_filename = "AnghaBench/lab/q3map2/q3map2/extr_visflow.c_BetterPortalVis.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i64, i32, i32, i32, i64 }
@portals = common local_unnamed_addr global ptr null, align 8
@numportals = common local_unnamed_addr global i32 0, align 4
@c_vis = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @BetterPortalVis(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @portals, align 8, !tbaa !6
%3 = sext i32 %0 to i64
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 %3
%5 = getelementptr inbounds i8, ptr %4, i64 24
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %23
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %4, i64 16
%10 = load i32, ptr %9, align 8, !tbaa !14
%11 = getelementptr inbounds i8, ptr %4, i64 12
%12 = load i32, ptr %11, align 4, !tbaa !15
%13 = getelementptr inbounds i8, ptr %4, i64 8
%14 = load i32, ptr %13, align 8, !tbaa !16
%15 = tail call i32 @RecursiveLeafBitFlow(i32 noundef %10, i32 noundef %12, i32 noundef %14) #2
%16 = load i32, ptr %13, align 8, !tbaa !16
%17 = load i32, ptr @numportals, align 4, !tbaa !17
%18 = shl nsw i32 %17, 1
%19 = tail call i64 @CountBits(i32 noundef %16, i32 noundef %18) #2
store i64 %19, ptr %4, align 8, !tbaa !18
%20 = load i32, ptr @c_vis, align 4, !tbaa !17
%21 = trunc i64 %19 to i32
%22 = add i32 %20, %21
store i32 %22, ptr @c_vis, align 4, !tbaa !17
br label %23
23: ; preds = %1, %8
ret void
}
declare i32 @RecursiveLeafBitFlow(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @CountBits(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 24}
!11 = !{!"TYPE_3__", !12, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !12, i64 24}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !13, i64 16}
!15 = !{!11, !13, i64 12}
!16 = !{!11, !13, i64 8}
!17 = !{!13, !13, i64 0}
!18 = !{!11, !12, i64 0}
| lab_q3map2_q3map2_extr_visflow.c_BetterPortalVis |
; ModuleID = 'AnghaBench/micropython/ports/cc3200/simplelink/extr_cc_pal.c_NwpUnMaskInterrupt.c'
source_filename = "AnghaBench/micropython/ports/cc3200/simplelink/extr_cc_pal.c_NwpUnMaskInterrupt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@REG_INT_MASK_CLR = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable
define dso_local void @NwpUnMaskInterrupt() local_unnamed_addr #0 {
%1 = load i64, ptr @REG_INT_MASK_CLR, align 8, !tbaa !5
%2 = inttoptr i64 %1 to ptr
store i64 1, ptr %2, align 8, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, 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"}
| ; ModuleID = 'AnghaBench/micropython/ports/cc3200/simplelink/extr_cc_pal.c_NwpUnMaskInterrupt.c'
source_filename = "AnghaBench/micropython/ports/cc3200/simplelink/extr_cc_pal.c_NwpUnMaskInterrupt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REG_INT_MASK_CLR = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync)
define void @NwpUnMaskInterrupt() local_unnamed_addr #0 {
%1 = load i64, ptr @REG_INT_MASK_CLR, align 8, !tbaa !6
%2 = inttoptr i64 %1 to ptr
store i64 1, ptr %2, align 8, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, 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"}
| micropython_ports_cc3200_simplelink_extr_cc_pal.c_NwpUnMaskInterrupt |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_ata_qc_complete_multiple.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_ata_qc_complete_multiple.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@KERN_ERR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"illegal qc_active transition (%08x->%08x)\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ata_qc_complete_multiple(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = xor i32 %3, %1
%5 = and i32 %4, %1
%6 = tail call i64 @unlikely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = icmp eq i32 %4, 0
br i1 %9, label %31, label %16
10: ; preds = %2
%11 = load i32, ptr @KERN_ERR, align 4, !tbaa !10
%12 = load i32, ptr %0, align 4, !tbaa !5
%13 = tail call i32 @ata_port_printk(ptr noundef nonnull %0, i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %1) #2
%14 = load i32, ptr @EINVAL, align 4, !tbaa !10
%15 = sub nsw i32 0, %14
br label %31
16: ; preds = %8, %25
%17 = phi i32 [ %26, %25 ], [ 0, %8 ]
%18 = phi i32 [ %29, %25 ], [ %4, %8 ]
%19 = tail call i32 @__ffs(i32 noundef %18) #2
%20 = tail call ptr @ata_qc_from_tag(ptr noundef nonnull %0, i32 noundef %19) #2
%21 = icmp eq ptr %20, null
br i1 %21, label %25, label %22
22: ; preds = %16
%23 = tail call i32 @ata_qc_complete(ptr noundef nonnull %20) #2
%24 = add nsw i32 %17, 1
br label %25
25: ; preds = %22, %16
%26 = phi i32 [ %24, %22 ], [ %17, %16 ]
%27 = shl nuw i32 1, %19
%28 = xor i32 %27, -1
%29 = and i32 %18, %28
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %16, !llvm.loop !11
31: ; preds = %25, %8, %10
%32 = phi i32 [ %15, %10 ], [ 0, %8 ], [ %26, %25 ]
ret i32 %32
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @ata_port_printk(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__ffs(i32 noundef) local_unnamed_addr #1
declare ptr @ata_qc_from_tag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ata_qc_complete(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ata_port", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_ata_qc_complete_multiple.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_ata_qc_complete_multiple.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KERN_ERR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"illegal qc_active transition (%08x->%08x)\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ata_qc_complete_multiple(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = xor i32 %3, %1
%5 = and i32 %4, %1
%6 = tail call i64 @unlikely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = icmp eq i32 %3, %1
br i1 %9, label %31, label %16
10: ; preds = %2
%11 = load i32, ptr @KERN_ERR, align 4, !tbaa !11
%12 = load i32, ptr %0, align 4, !tbaa !6
%13 = tail call i32 @ata_port_printk(ptr noundef nonnull %0, i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %1) #2
%14 = load i32, ptr @EINVAL, align 4, !tbaa !11
%15 = sub nsw i32 0, %14
br label %31
16: ; preds = %8, %25
%17 = phi i32 [ %26, %25 ], [ 0, %8 ]
%18 = phi i32 [ %29, %25 ], [ %4, %8 ]
%19 = tail call i32 @__ffs(i32 noundef %18) #2
%20 = tail call ptr @ata_qc_from_tag(ptr noundef nonnull %0, i32 noundef %19) #2
%21 = icmp eq ptr %20, null
br i1 %21, label %25, label %22
22: ; preds = %16
%23 = tail call i32 @ata_qc_complete(ptr noundef nonnull %20) #2
%24 = add nsw i32 %17, 1
br label %25
25: ; preds = %22, %16
%26 = phi i32 [ %24, %22 ], [ %17, %16 ]
%27 = shl nuw i32 1, %19
%28 = xor i32 %27, -1
%29 = and i32 %18, %28
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %16, !llvm.loop !12
31: ; preds = %25, %8, %10
%32 = phi i32 [ %15, %10 ], [ 0, %8 ], [ %26, %25 ]
ret i32 %32
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @ata_port_printk(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__ffs(i32 noundef) local_unnamed_addr #1
declare ptr @ata_qc_from_tag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ata_qc_complete(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ata_port", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_ata_extr_libata-core.c_ata_qc_complete_multiple |
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_abs_Slot_xt_flix64_slot2_encode.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_abs_Slot_xt_flix64_slot2_encode.c"
target datalayout = "e-m:e-p270:32:32-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 @Opcode_abs_Slot_xt_flix64_slot2_encode], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal void @Opcode_abs_Slot_xt_flix64_slot2_encode(ptr nocapture noundef writeonly %0) #0 {
store i32 53248, ptr %0, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_abs_Slot_xt_flix64_slot2_encode.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_abs_Slot_xt_flix64_slot2_encode.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 @Opcode_abs_Slot_xt_flix64_slot2_encode], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal void @Opcode_abs_Slot_xt_flix64_slot2_encode(ptr nocapture noundef writeonly %0) #0 {
store i32 53248, ptr %0, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Opcode_abs_Slot_xt_flix64_slot2_encode |
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_evlist.c_perf_evlist__enable_event_cpu.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_evlist.c_perf_evlist__enable_event_cpu.c"
target datalayout = "e-m:e-p270:32:32-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
@PERF_EVENT_IOC_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @perf_evlist__enable_event_cpu], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @perf_evlist__enable_event_cpu(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @perf_evlist__nr_threads(ptr noundef %0, ptr noundef %1) #2
%5 = load i32, ptr %1, align 4, !tbaa !5
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = icmp sgt i32 %4, 0
br i1 %8, label %15, label %21
9: ; preds = %3
%10 = load i32, ptr @EINVAL, align 4, !tbaa !11
%11 = sub nsw i32 0, %10
br label %21
12: ; preds = %15
%13 = add nuw nsw i32 %16, 1
%14 = icmp eq i32 %13, %4
br i1 %14, label %21, label %15, !llvm.loop !12
15: ; preds = %7, %12
%16 = phi i32 [ %13, %12 ], [ 0, %7 ]
%17 = tail call i32 @FD(ptr noundef nonnull %1, i32 noundef %2, i32 noundef %16) #2
%18 = load i32, ptr @PERF_EVENT_IOC_ENABLE, align 4, !tbaa !11
%19 = tail call i32 @ioctl(i32 noundef %17, i32 noundef %18, i32 noundef 0) #2
%20 = icmp eq i32 %19, 0
br i1 %20, label %12, label %21
21: ; preds = %15, %12, %7, %9
%22 = phi i32 [ %11, %9 ], [ 0, %7 ], [ %19, %15 ], [ 0, %12 ]
ret i32 %22
}
declare i32 @perf_evlist__nr_threads(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FD(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, !8, i64 0}
!6 = !{!"evsel", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_evlist.c_perf_evlist__enable_event_cpu.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_evlist.c_perf_evlist__enable_event_cpu.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
@PERF_EVENT_IOC_ENABLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @perf_evlist__enable_event_cpu], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @perf_evlist__enable_event_cpu(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @perf_evlist__nr_threads(ptr noundef %0, ptr noundef %1) #2
%5 = load i32, ptr %1, align 4, !tbaa !6
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = icmp sgt i32 %4, 0
br i1 %8, label %15, label %21
9: ; preds = %3
%10 = load i32, ptr @EINVAL, align 4, !tbaa !12
%11 = sub nsw i32 0, %10
br label %21
12: ; preds = %15
%13 = add nuw nsw i32 %16, 1
%14 = icmp eq i32 %13, %4
br i1 %14, label %21, label %15, !llvm.loop !13
15: ; preds = %7, %12
%16 = phi i32 [ %13, %12 ], [ 0, %7 ]
%17 = tail call i32 @FD(ptr noundef nonnull %1, i32 noundef %2, i32 noundef %16) #2
%18 = load i32, ptr @PERF_EVENT_IOC_ENABLE, align 4, !tbaa !12
%19 = tail call i32 @ioctl(i32 noundef %17, i32 noundef %18, i32 noundef 0) #2
%20 = icmp eq i32 %19, 0
br i1 %20, label %12, label %21
21: ; preds = %15, %12, %7, %9
%22 = phi i32 [ %11, %9 ], [ 0, %7 ], [ %19, %15 ], [ 0, %12 ]
ret i32 %22
}
declare i32 @perf_evlist__nr_threads(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FD(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, !9, i64 0}
!7 = !{!"evsel", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| linux_tools_perf_util_extr_evlist.c_perf_evlist__enable_event_cpu |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/extr_iwl-phy-db.c_iwl_phy_db_free_section.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/extr_iwl-phy-db.c_iwl_phy_db_free_section.c"
target datalayout = "e-m:e-p270:32:32-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.iwl_phy_db_entry = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @iwl_phy_db_free_section], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @iwl_phy_db_free_section(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @iwl_phy_db_get_section(ptr noundef %0, i32 noundef %1, i32 noundef %2) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %10, label %6
6: ; preds = %3
%7 = getelementptr inbounds %struct.iwl_phy_db_entry, ptr %4, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = tail call i32 @kfree(ptr noundef %8) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false)
br label %10
10: ; preds = %3, %6
ret void
}
declare ptr @iwl_phy_db_get_section(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"iwl_phy_db_entry", !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}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/extr_iwl-phy-db.c_iwl_phy_db_free_section.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/extr_iwl-phy-db.c_iwl_phy_db_free_section.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 @iwl_phy_db_free_section], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @iwl_phy_db_free_section(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @iwl_phy_db_get_section(ptr noundef %0, i32 noundef %1, i32 noundef %2) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %10, label %6
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %4, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = tail call i32 @kfree(ptr noundef %8) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false)
br label %10
10: ; preds = %3, %6
ret void
}
declare ptr @iwl_phy_db_get_section(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"iwl_phy_db_entry", !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}
| fastsocket_kernel_drivers_net_wireless_iwlwifi_extr_iwl-phy-db.c_iwl_phy_db_free_section |
; ModuleID = 'AnghaBench/lab/engine/code/tools/lcc/cpp/extr_hideset.c_iniths.c'
source_filename = "AnghaBench/lab/engine/code/tools/lcc/cpp/extr_hideset.c_iniths.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@maxhidesets = dso_local local_unnamed_addr global i32 0, align 4
@hidesets = dso_local local_unnamed_addr global i32*** null, align 8
@nhidesets = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @iniths() local_unnamed_addr #0 {
%1 = load i32, i32* @maxhidesets, align 4, !tbaa !5
%2 = shl i32 %1, 3
%3 = tail call i64 @domalloc(i32 noundef %2) #2
%4 = inttoptr i64 %3 to i32***
store i32*** %4, i32**** @hidesets, align 8, !tbaa !9
%5 = tail call i64 @domalloc(i32 noundef 8) #2
%6 = inttoptr i64 %5 to i32**
%7 = load i32***, i32**** @hidesets, align 8, !tbaa !9
store i32** %6, i32*** %7, align 8, !tbaa !9
%8 = load i32***, i32**** @hidesets, align 8, !tbaa !9
%9 = load i32**, i32*** %8, align 8, !tbaa !9
store i32* null, i32** %9, align 8, !tbaa !9
%10 = load i32, i32* @nhidesets, align 4, !tbaa !5
%11 = add nsw i32 %10, 1
store i32 %11, i32* @nhidesets, align 4, !tbaa !5
ret void
}
declare i64 @domalloc(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/lab/engine/code/tools/lcc/cpp/extr_hideset.c_iniths.c'
source_filename = "AnghaBench/lab/engine/code/tools/lcc/cpp/extr_hideset.c_iniths.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@maxhidesets = common local_unnamed_addr global i32 0, align 4
@hidesets = common local_unnamed_addr global ptr null, align 8
@nhidesets = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @iniths() local_unnamed_addr #0 {
%1 = load i32, ptr @maxhidesets, align 4, !tbaa !6
%2 = shl i32 %1, 3
%3 = tail call i64 @domalloc(i32 noundef %2) #2
%4 = inttoptr i64 %3 to ptr
store ptr %4, ptr @hidesets, align 8, !tbaa !10
%5 = tail call i64 @domalloc(i32 noundef 8) #2
%6 = inttoptr i64 %5 to ptr
%7 = load ptr, ptr @hidesets, align 8, !tbaa !10
store ptr %6, ptr %7, align 8, !tbaa !10
%8 = load ptr, ptr @hidesets, align 8, !tbaa !10
%9 = load ptr, ptr %8, align 8, !tbaa !10
store ptr null, ptr %9, align 8, !tbaa !10
%10 = load i32, ptr @nhidesets, align 4, !tbaa !6
%11 = add nsw i32 %10, 1
store i32 %11, ptr @nhidesets, align 4, !tbaa !6
ret void
}
declare i64 @domalloc(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}
| lab_engine_code_tools_lcc_cpp_extr_hideset.c_iniths |
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_audit.c_audit_make_reply.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_audit.c_audit_make_reply.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NLM_F_MULTI = dso_local local_unnamed_addr global i32 0, align 4
@NLMSG_DONE = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @audit_make_reply(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = load i32, ptr @NLM_F_MULTI, align 4
%9 = load i32, ptr @NLMSG_DONE, align 4
%10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%11 = tail call ptr @nlmsg_new(i32 noundef %6, i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %21, label %13
13: ; preds = %7
%14 = icmp eq i32 %3, 0
%15 = select i1 %14, i32 %2, i32 %9
%16 = icmp eq i32 %4, 0
%17 = select i1 %16, i32 0, i32 %8
%18 = tail call ptr @NLMSG_NEW(ptr noundef nonnull %11, i32 noundef %0, i32 noundef %1, i32 noundef %15, i32 noundef %6, i32 noundef %17) #2
%19 = tail call ptr @NLMSG_DATA(ptr noundef %18) #2
%20 = tail call i32 @memcpy(ptr noundef %19, ptr noundef %5, i32 noundef %6) #2
br label %21
21: ; preds = %7, %13
ret ptr %11
}
declare ptr @nlmsg_new(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @NLMSG_NEW(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @NLMSG_DATA(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"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_audit.c_audit_make_reply.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_audit.c_audit_make_reply.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NLM_F_MULTI = common local_unnamed_addr global i32 0, align 4
@NLMSG_DONE = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @audit_make_reply(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = load i32, ptr @NLM_F_MULTI, align 4
%9 = load i32, ptr @NLMSG_DONE, align 4
%10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%11 = tail call ptr @nlmsg_new(i32 noundef %6, i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %21, label %13
13: ; preds = %7
%14 = icmp eq i32 %3, 0
%15 = select i1 %14, i32 %2, i32 %9
%16 = icmp eq i32 %4, 0
%17 = select i1 %16, i32 0, i32 %8
%18 = tail call ptr @NLMSG_NEW(ptr noundef nonnull %11, i32 noundef %0, i32 noundef %1, i32 noundef %15, i32 noundef %6, i32 noundef %17) #2
%19 = tail call ptr @NLMSG_DATA(ptr noundef %18) #2
%20 = tail call i32 @memcpy(ptr noundef %19, ptr noundef %5, i32 noundef %6) #2
br label %21
21: ; preds = %7, %13
ret ptr %11
}
declare ptr @nlmsg_new(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @NLMSG_NEW(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @NLMSG_DATA(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"}
| fastsocket_kernel_kernel_extr_audit.c_audit_make_reply |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_lm85.c_lm85_remove.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_lm85.c_lm85_remove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.lm85_data = type { i64, i32 }
@lm85_group = dso_local global i32 0, align 4
@lm85_group_in4 = dso_local global i32 0, align 4
@emc6d100 = dso_local local_unnamed_addr global i64 0, align 8
@lm85_group_in567 = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lm85_remove], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @lm85_remove(ptr noundef %0) #0 {
%2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.lm85_data, ptr %2, i64 0, i32 1
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = tail call i32 @hwmon_device_unregister(i32 noundef %4) #2
%6 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @lm85_group) #2
%7 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @lm85_group_in4) #2
%8 = load i64, ptr %2, align 8, !tbaa !11
%9 = load i64, ptr @emc6d100, align 8, !tbaa !12
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @lm85_group_in567) #2
br label %13
13: ; preds = %11, %1
%14 = tail call i32 @kfree(ptr noundef nonnull %2) #2
ret i32 0
}
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare i32 @hwmon_device_unregister(i32 noundef) local_unnamed_addr #1
declare i32 @sysfs_remove_group(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"lm85_data", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_lm85.c_lm85_remove.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_lm85.c_lm85_remove.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@lm85_group = common global i32 0, align 4
@lm85_group_in4 = common global i32 0, align 4
@emc6d100 = common local_unnamed_addr global i64 0, align 8
@lm85_group_in567 = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lm85_remove], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @lm85_remove(ptr noundef %0) #0 {
%2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = tail call i32 @hwmon_device_unregister(i32 noundef %4) #2
%6 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @lm85_group) #2
%7 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @lm85_group_in4) #2
%8 = load i64, ptr %2, align 8, !tbaa !12
%9 = load i64, ptr @emc6d100, align 8, !tbaa !13
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @lm85_group_in567) #2
br label %13
13: ; preds = %11, %1
%14 = tail call i32 @kfree(ptr noundef nonnull %2) #2
ret i32 0
}
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare i32 @hwmon_device_unregister(i32 noundef) local_unnamed_addr #1
declare i32 @sysfs_remove_group(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"lm85_data", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_hwmon_extr_lm85.c_lm85_remove |
; ModuleID = 'AnghaBench/php-src/ext/gd/libgd/extr_gd_color_match.c_gdImageColorMatch.c'
source_filename = "AnghaBench/php-src/ext/gd/libgd/extr_gd_color_match.c_gdImageColorMatch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, i64 }
@gdMaxColors = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @gdImageColorMatch(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 9
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %138, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 9
%8 = load i64, ptr %7, align 8, !tbaa !5
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %138
10: ; preds = %6
%11 = load i32, ptr %0, align 8, !tbaa !12
%12 = load i32, ptr %1, align 8, !tbaa !12
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %138
14: ; preds = %10
%15 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !13
%19 = icmp eq i32 %16, %18
br i1 %19, label %20, label %138
20: ; preds = %14
%21 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2
%22 = load i32, ptr %21, align 8, !tbaa !14
%23 = icmp slt i32 %22, 1
br i1 %23, label %138, label %24
24: ; preds = %20
%25 = load i32, ptr @gdMaxColors, align 4, !tbaa !15
%26 = mul nsw i32 %25, 5
%27 = tail call i64 @safe_emalloc(i32 noundef 8, i32 noundef %26, i32 noundef 0) #2
%28 = inttoptr i64 %27 to ptr
%29 = load i32, ptr @gdMaxColors, align 4, !tbaa !15
%30 = mul i32 %29, 40
%31 = tail call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %30) #2
%32 = load i32, ptr %0, align 8, !tbaa !12
%33 = icmp sgt i32 %32, 0
br i1 %33, label %34, label %43
34: ; preds = %24
%35 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3
%36 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4
%37 = load i32, ptr %15, align 4, !tbaa !13
br label %38
38: ; preds = %34, %90
%39 = phi i32 [ %32, %34 ], [ %91, %90 ]
%40 = phi i32 [ %37, %34 ], [ %92, %90 ]
%41 = phi i64 [ 0, %34 ], [ %93, %90 ]
%42 = icmp sgt i32 %40, 0
br i1 %42, label %51, label %90
43: ; preds = %90, %24
%44 = load i32, ptr %21, align 8, !tbaa !14
%45 = icmp sgt i32 %44, 0
br i1 %45, label %46, label %136
46: ; preds = %43
%47 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 5
%48 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 6
%49 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 7
%50 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 8
br label %96
51: ; preds = %38, %51
%52 = phi i64 [ %84, %51 ], [ 0, %38 ]
%53 = load ptr, ptr %35, align 8, !tbaa !16
%54 = getelementptr inbounds ptr, ptr %53, i64 %52
%55 = load ptr, ptr %54, align 8, !tbaa !17
%56 = getelementptr inbounds i32, ptr %55, i64 %41
%57 = load i32, ptr %56, align 4, !tbaa !15
%58 = load ptr, ptr %36, align 8, !tbaa !18
%59 = getelementptr inbounds ptr, ptr %58, i64 %52
%60 = load ptr, ptr %59, align 8, !tbaa !17
%61 = getelementptr inbounds i32, ptr %60, i64 %41
%62 = load i32, ptr %61, align 4, !tbaa !15
%63 = mul nsw i32 %57, 5
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i64, ptr %28, i64 %64
%66 = getelementptr inbounds i64, ptr %65, i64 1
%67 = load i64, ptr %65, align 8, !tbaa !19
%68 = add i64 %67, 1
store i64 %68, ptr %65, align 8, !tbaa !19
%69 = tail call i64 @gdTrueColorGetRed(i32 noundef %62) #2
%70 = getelementptr inbounds i64, ptr %65, i64 2
%71 = load i64, ptr %66, align 8, !tbaa !19
%72 = add i64 %71, %69
store i64 %72, ptr %66, align 8, !tbaa !19
%73 = tail call i64 @gdTrueColorGetGreen(i32 noundef %62) #2
%74 = getelementptr inbounds i64, ptr %65, i64 3
%75 = load i64, ptr %70, align 8, !tbaa !19
%76 = add i64 %75, %73
store i64 %76, ptr %70, align 8, !tbaa !19
%77 = tail call i64 @gdTrueColorGetBlue(i32 noundef %62) #2
%78 = getelementptr inbounds i64, ptr %65, i64 4
%79 = load i64, ptr %74, align 8, !tbaa !19
%80 = add i64 %79, %77
store i64 %80, ptr %74, align 8, !tbaa !19
%81 = tail call i64 @gdTrueColorGetAlpha(i32 noundef %62) #2
%82 = load i64, ptr %78, align 8, !tbaa !19
%83 = add i64 %82, %81
store i64 %83, ptr %78, align 8, !tbaa !19
%84 = add nuw nsw i64 %52, 1
%85 = load i32, ptr %15, align 4, !tbaa !13
%86 = sext i32 %85 to i64
%87 = icmp slt i64 %84, %86
br i1 %87, label %51, label %88, !llvm.loop !20
88: ; preds = %51
%89 = load i32, ptr %0, align 8, !tbaa !12
br label %90
90: ; preds = %88, %38
%91 = phi i32 [ %89, %88 ], [ %39, %38 ]
%92 = phi i32 [ %85, %88 ], [ %40, %38 ]
%93 = add nuw nsw i64 %41, 1
%94 = sext i32 %91 to i64
%95 = icmp slt i64 %93, %94
br i1 %95, label %38, label %43, !llvm.loop !22
96: ; preds = %46, %130
%97 = phi i32 [ %44, %46 ], [ %131, %130 ]
%98 = phi i64 [ 0, %46 ], [ %133, %130 ]
%99 = phi ptr [ %28, %46 ], [ %132, %130 ]
%100 = load i64, ptr %99, align 8, !tbaa !19
%101 = trunc i64 %100 to i32
%102 = icmp sgt i32 %101, 0
br i1 %102, label %103, label %130
103: ; preds = %96
%104 = getelementptr inbounds i64, ptr %99, i64 1
%105 = getelementptr inbounds i64, ptr %99, i64 2
%106 = load i64, ptr %104, align 8, !tbaa !19
%107 = and i64 %100, 4294967295
%108 = udiv i64 %106, %107
%109 = trunc i64 %108 to i32
%110 = load ptr, ptr %47, align 8, !tbaa !23
%111 = getelementptr inbounds i32, ptr %110, i64 %98
store i32 %109, ptr %111, align 4, !tbaa !15
%112 = getelementptr inbounds i64, ptr %99, i64 3
%113 = load i64, ptr %105, align 8, !tbaa !19
%114 = udiv i64 %113, %107
%115 = trunc i64 %114 to i32
%116 = load ptr, ptr %48, align 8, !tbaa !24
%117 = getelementptr inbounds i32, ptr %116, i64 %98
store i32 %115, ptr %117, align 4, !tbaa !15
%118 = getelementptr inbounds i64, ptr %99, i64 4
%119 = load i64, ptr %112, align 8, !tbaa !19
%120 = udiv i64 %119, %107
%121 = trunc i64 %120 to i32
%122 = load ptr, ptr %49, align 8, !tbaa !25
%123 = getelementptr inbounds i32, ptr %122, i64 %98
store i32 %121, ptr %123, align 4, !tbaa !15
%124 = load i64, ptr %118, align 8, !tbaa !19
%125 = udiv i64 %124, %107
%126 = trunc i64 %125 to i32
%127 = load ptr, ptr %50, align 8, !tbaa !26
%128 = getelementptr inbounds i32, ptr %127, i64 %98
store i32 %126, ptr %128, align 4, !tbaa !15
%129 = load i32, ptr %21, align 8, !tbaa !14
br label %130
130: ; preds = %96, %103
%131 = phi i32 [ %97, %96 ], [ %129, %103 ]
%132 = getelementptr inbounds i64, ptr %99, i64 5
%133 = add nuw nsw i64 %98, 1
%134 = sext i32 %131 to i64
%135 = icmp slt i64 %133, %134
br i1 %135, label %96, label %136, !llvm.loop !27
136: ; preds = %130, %43
%137 = tail call i32 @gdFree(ptr noundef %28) #2
br label %138
138: ; preds = %20, %10, %14, %6, %2, %136
%139 = phi i32 [ 0, %136 ], [ -1, %2 ], [ -2, %6 ], [ -3, %14 ], [ -3, %10 ], [ -4, %20 ]
ret i32 %139
}
declare i64 @safe_emalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @gdTrueColorGetRed(i32 noundef) local_unnamed_addr #1
declare i64 @gdTrueColorGetGreen(i32 noundef) local_unnamed_addr #1
declare i64 @gdTrueColorGetBlue(i32 noundef) local_unnamed_addr #1
declare i64 @gdTrueColorGetAlpha(i32 noundef) local_unnamed_addr #1
declare i32 @gdFree(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 64}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !11, i64 64}
!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, !7, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !7, i64 8}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !10, i64 16}
!17 = !{!10, !10, i64 0}
!18 = !{!6, !10, i64 24}
!19 = !{!11, !11, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = !{!6, !10, i64 32}
!24 = !{!6, !10, i64 40}
!25 = !{!6, !10, i64 48}
!26 = !{!6, !10, i64 56}
!27 = distinct !{!27, !21}
| ; ModuleID = 'AnghaBench/php-src/ext/gd/libgd/extr_gd_color_match.c_gdImageColorMatch.c'
source_filename = "AnghaBench/php-src/ext/gd/libgd/extr_gd_color_match.c_gdImageColorMatch.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@gdMaxColors = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -4, 1) i32 @gdImageColorMatch(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 64
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %138, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 64
%8 = load i64, ptr %7, align 8, !tbaa !6
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %138
10: ; preds = %6
%11 = load i32, ptr %0, align 8, !tbaa !13
%12 = load i32, ptr %1, align 8, !tbaa !13
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %138
14: ; preds = %10
%15 = getelementptr inbounds i8, ptr %0, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = getelementptr inbounds i8, ptr %1, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !14
%19 = icmp eq i32 %16, %18
br i1 %19, label %20, label %138
20: ; preds = %14
%21 = getelementptr inbounds i8, ptr %1, i64 8
%22 = load i32, ptr %21, align 8, !tbaa !15
%23 = icmp slt i32 %22, 1
br i1 %23, label %138, label %24
24: ; preds = %20
%25 = load i32, ptr @gdMaxColors, align 4, !tbaa !16
%26 = mul nsw i32 %25, 5
%27 = tail call i64 @safe_emalloc(i32 noundef 8, i32 noundef %26, i32 noundef 0) #2
%28 = inttoptr i64 %27 to ptr
%29 = load i32, ptr @gdMaxColors, align 4, !tbaa !16
%30 = mul i32 %29, 40
%31 = tail call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %30) #2
%32 = load i32, ptr %0, align 8, !tbaa !13
%33 = icmp sgt i32 %32, 0
br i1 %33, label %34, label %43
34: ; preds = %24
%35 = getelementptr inbounds i8, ptr %1, i64 16
%36 = getelementptr inbounds i8, ptr %0, i64 24
%37 = load i32, ptr %15, align 4, !tbaa !14
br label %38
38: ; preds = %34, %90
%39 = phi i32 [ %32, %34 ], [ %91, %90 ]
%40 = phi i32 [ %37, %34 ], [ %92, %90 ]
%41 = phi i64 [ 0, %34 ], [ %93, %90 ]
%42 = icmp sgt i32 %40, 0
br i1 %42, label %51, label %90
43: ; preds = %90, %24
%44 = load i32, ptr %21, align 8, !tbaa !15
%45 = icmp sgt i32 %44, 0
br i1 %45, label %46, label %136
46: ; preds = %43
%47 = getelementptr inbounds i8, ptr %1, i64 32
%48 = getelementptr inbounds i8, ptr %1, i64 40
%49 = getelementptr inbounds i8, ptr %1, i64 48
%50 = getelementptr inbounds i8, ptr %1, i64 56
br label %96
51: ; preds = %38, %51
%52 = phi i64 [ %84, %51 ], [ 0, %38 ]
%53 = load ptr, ptr %35, align 8, !tbaa !17
%54 = getelementptr inbounds ptr, ptr %53, i64 %52
%55 = load ptr, ptr %54, align 8, !tbaa !18
%56 = getelementptr inbounds i32, ptr %55, i64 %41
%57 = load i32, ptr %56, align 4, !tbaa !16
%58 = load ptr, ptr %36, align 8, !tbaa !19
%59 = getelementptr inbounds ptr, ptr %58, i64 %52
%60 = load ptr, ptr %59, align 8, !tbaa !18
%61 = getelementptr inbounds i32, ptr %60, i64 %41
%62 = load i32, ptr %61, align 4, !tbaa !16
%63 = mul nsw i32 %57, 5
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i64, ptr %28, i64 %64
%66 = getelementptr inbounds i8, ptr %65, i64 8
%67 = load i64, ptr %65, align 8, !tbaa !20
%68 = add i64 %67, 1
store i64 %68, ptr %65, align 8, !tbaa !20
%69 = tail call i64 @gdTrueColorGetRed(i32 noundef %62) #2
%70 = getelementptr inbounds i8, ptr %65, i64 16
%71 = load i64, ptr %66, align 8, !tbaa !20
%72 = add i64 %71, %69
store i64 %72, ptr %66, align 8, !tbaa !20
%73 = tail call i64 @gdTrueColorGetGreen(i32 noundef %62) #2
%74 = getelementptr inbounds i8, ptr %65, i64 24
%75 = load i64, ptr %70, align 8, !tbaa !20
%76 = add i64 %75, %73
store i64 %76, ptr %70, align 8, !tbaa !20
%77 = tail call i64 @gdTrueColorGetBlue(i32 noundef %62) #2
%78 = getelementptr inbounds i8, ptr %65, i64 32
%79 = load i64, ptr %74, align 8, !tbaa !20
%80 = add i64 %79, %77
store i64 %80, ptr %74, align 8, !tbaa !20
%81 = tail call i64 @gdTrueColorGetAlpha(i32 noundef %62) #2
%82 = load i64, ptr %78, align 8, !tbaa !20
%83 = add i64 %82, %81
store i64 %83, ptr %78, align 8, !tbaa !20
%84 = add nuw nsw i64 %52, 1
%85 = load i32, ptr %15, align 4, !tbaa !14
%86 = sext i32 %85 to i64
%87 = icmp slt i64 %84, %86
br i1 %87, label %51, label %88, !llvm.loop !21
88: ; preds = %51
%89 = load i32, ptr %0, align 8, !tbaa !13
br label %90
90: ; preds = %88, %38
%91 = phi i32 [ %89, %88 ], [ %39, %38 ]
%92 = phi i32 [ %85, %88 ], [ %40, %38 ]
%93 = add nuw nsw i64 %41, 1
%94 = sext i32 %91 to i64
%95 = icmp slt i64 %93, %94
br i1 %95, label %38, label %43, !llvm.loop !23
96: ; preds = %46, %130
%97 = phi i32 [ %44, %46 ], [ %131, %130 ]
%98 = phi i64 [ 0, %46 ], [ %133, %130 ]
%99 = phi ptr [ %28, %46 ], [ %132, %130 ]
%100 = load i64, ptr %99, align 8, !tbaa !20
%101 = trunc i64 %100 to i32
%102 = icmp sgt i32 %101, 0
br i1 %102, label %103, label %130
103: ; preds = %96
%104 = getelementptr inbounds i8, ptr %99, i64 8
%105 = getelementptr inbounds i8, ptr %99, i64 16
%106 = load i64, ptr %104, align 8, !tbaa !20
%107 = and i64 %100, 2147483647
%108 = udiv i64 %106, %107
%109 = trunc i64 %108 to i32
%110 = load ptr, ptr %47, align 8, !tbaa !24
%111 = getelementptr inbounds i32, ptr %110, i64 %98
store i32 %109, ptr %111, align 4, !tbaa !16
%112 = getelementptr inbounds i8, ptr %99, i64 24
%113 = load i64, ptr %105, align 8, !tbaa !20
%114 = udiv i64 %113, %107
%115 = trunc i64 %114 to i32
%116 = load ptr, ptr %48, align 8, !tbaa !25
%117 = getelementptr inbounds i32, ptr %116, i64 %98
store i32 %115, ptr %117, align 4, !tbaa !16
%118 = getelementptr inbounds i8, ptr %99, i64 32
%119 = load i64, ptr %112, align 8, !tbaa !20
%120 = udiv i64 %119, %107
%121 = trunc i64 %120 to i32
%122 = load ptr, ptr %49, align 8, !tbaa !26
%123 = getelementptr inbounds i32, ptr %122, i64 %98
store i32 %121, ptr %123, align 4, !tbaa !16
%124 = load i64, ptr %118, align 8, !tbaa !20
%125 = udiv i64 %124, %107
%126 = trunc i64 %125 to i32
%127 = load ptr, ptr %50, align 8, !tbaa !27
%128 = getelementptr inbounds i32, ptr %127, i64 %98
store i32 %126, ptr %128, align 4, !tbaa !16
%129 = load i32, ptr %21, align 8, !tbaa !15
br label %130
130: ; preds = %96, %103
%131 = phi i32 [ %97, %96 ], [ %129, %103 ]
%132 = getelementptr inbounds i8, ptr %99, i64 40
%133 = add nuw nsw i64 %98, 1
%134 = sext i32 %131 to i64
%135 = icmp slt i64 %133, %134
br i1 %135, label %96, label %136, !llvm.loop !28
136: ; preds = %130, %43
%137 = tail call i32 @gdFree(ptr noundef %28) #2
br label %138
138: ; preds = %20, %10, %14, %6, %2, %136
%139 = phi i32 [ 0, %136 ], [ -1, %2 ], [ -2, %6 ], [ -3, %14 ], [ -3, %10 ], [ -4, %20 ]
ret i32 %139
}
declare i64 @safe_emalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @gdTrueColorGetRed(i32 noundef) local_unnamed_addr #1
declare i64 @gdTrueColorGetGreen(i32 noundef) local_unnamed_addr #1
declare i64 @gdTrueColorGetBlue(i32 noundef) local_unnamed_addr #1
declare i64 @gdTrueColorGetAlpha(i32 noundef) local_unnamed_addr #1
declare i32 @gdFree(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 64}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !12, i64 64}
!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, !8, i64 0}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !8, i64 8}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !11, i64 16}
!18 = !{!11, !11, i64 0}
!19 = !{!7, !11, i64 24}
!20 = !{!12, !12, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!7, !11, i64 32}
!25 = !{!7, !11, i64 40}
!26 = !{!7, !11, i64 48}
!27 = !{!7, !11, i64 56}
!28 = distinct !{!28, !22}
| php-src_ext_gd_libgd_extr_gd_color_match.c_gdImageColorMatch |
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-roccat-kone.c_kone_sysfs_set_startup_profile.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-roccat-kone.c_kone_sysfs_set_startup_profile.c"
target datalayout = "e-m:e-p270:32:32-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.kone_device = type { i32, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i64 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @kone_sysfs_set_startup_profile], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @kone_sysfs_set_startup_profile(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = tail call i32 @dev_get_drvdata(ptr noundef %7) #3
%9 = tail call ptr @hid_get_drvdata(i32 noundef %8) #3
%10 = tail call i32 @to_usb_interface(ptr noundef %7) #3
%11 = tail call ptr @interface_to_usbdev(i32 noundef %10) #3
%12 = call i32 @kstrtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %37
14: ; preds = %4
%15 = load i64, ptr %5, align 8
%16 = add i64 %15, -6
%17 = icmp ult i64 %16, -5
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr @EINVAL, align 4, !tbaa !12
%20 = sub nsw i32 0, %19
br label %37
21: ; preds = %14
%22 = call i32 @mutex_lock(ptr noundef %9) #3
%23 = load i64, ptr %5, align 8, !tbaa !14
%24 = getelementptr inbounds %struct.kone_device, ptr %9, i64 0, i32 1
store i64 %23, ptr %24, align 8, !tbaa !16
%25 = call i32 @kone_set_settings_checksum(ptr noundef nonnull %24) #3
%26 = call i32 @kone_set_settings(ptr noundef %11, ptr noundef nonnull %24) #3
%27 = icmp eq i32 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %21
%29 = call i32 @mutex_unlock(ptr noundef nonnull %9) #3
br label %37
30: ; preds = %21
%31 = load i64, ptr %5, align 8, !tbaa !14
%32 = call i32 @kone_profile_activated(ptr noundef nonnull %9, i64 noundef %31) #3
%33 = load i64, ptr %5, align 8, !tbaa !14
%34 = call i32 @kone_profile_report(ptr noundef nonnull %9, i64 noundef %33) #3
%35 = call i32 @mutex_unlock(ptr noundef nonnull %9) #3
%36 = trunc i64 %3 to i32
br label %37
37: ; preds = %4, %30, %28, %18
%38 = phi i32 [ %20, %18 ], [ %26, %28 ], [ %36, %30 ], [ %12, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %38
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @hid_get_drvdata(i32 noundef) local_unnamed_addr #2
declare i32 @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare ptr @interface_to_usbdev(i32 noundef) local_unnamed_addr #2
declare i32 @to_usb_interface(ptr noundef) local_unnamed_addr #2
declare i32 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @kone_set_settings_checksum(ptr noundef) local_unnamed_addr #2
declare i32 @kone_set_settings(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @kone_profile_activated(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @kone_profile_report(ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_4__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !15, i64 8}
!17 = !{!"kone_device", !13, i64 0, !18, i64 8}
!18 = !{!"TYPE_5__", !15, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-roccat-kone.c_kone_sysfs_set_startup_profile.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-roccat-kone.c_kone_sysfs_set_startup_profile.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 @kone_sysfs_set_startup_profile], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @kone_sysfs_set_startup_profile(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = tail call i32 @dev_get_drvdata(ptr noundef %7) #3
%9 = tail call ptr @hid_get_drvdata(i32 noundef %8) #3
%10 = tail call i32 @to_usb_interface(ptr noundef %7) #3
%11 = tail call ptr @interface_to_usbdev(i32 noundef %10) #3
%12 = call i32 @kstrtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %37
14: ; preds = %4
%15 = load i64, ptr %5, align 8
%16 = add i64 %15, -6
%17 = icmp ult i64 %16, -5
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr @EINVAL, align 4, !tbaa !13
%20 = sub nsw i32 0, %19
br label %37
21: ; preds = %14
%22 = call i32 @mutex_lock(ptr noundef %9) #3
%23 = load i64, ptr %5, align 8, !tbaa !15
%24 = getelementptr inbounds i8, ptr %9, i64 8
store i64 %23, ptr %24, align 8, !tbaa !17
%25 = call i32 @kone_set_settings_checksum(ptr noundef nonnull %24) #3
%26 = call i32 @kone_set_settings(ptr noundef %11, ptr noundef nonnull %24) #3
%27 = icmp eq i32 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %21
%29 = call i32 @mutex_unlock(ptr noundef nonnull %9) #3
br label %37
30: ; preds = %21
%31 = load i64, ptr %5, align 8, !tbaa !15
%32 = call i32 @kone_profile_activated(ptr noundef nonnull %9, i64 noundef %31) #3
%33 = load i64, ptr %5, align 8, !tbaa !15
%34 = call i32 @kone_profile_report(ptr noundef nonnull %9, i64 noundef %33) #3
%35 = call i32 @mutex_unlock(ptr noundef nonnull %9) #3
%36 = trunc i64 %3 to i32
br label %37
37: ; preds = %4, %30, %28, %18
%38 = phi i32 [ %20, %18 ], [ %26, %28 ], [ %36, %30 ], [ %12, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %38
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @hid_get_drvdata(i32 noundef) local_unnamed_addr #2
declare i32 @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare ptr @interface_to_usbdev(i32 noundef) local_unnamed_addr #2
declare i32 @to_usb_interface(ptr noundef) local_unnamed_addr #2
declare i32 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @kone_set_settings_checksum(ptr noundef) local_unnamed_addr #2
declare i32 @kone_set_settings(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @kone_profile_activated(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @kone_profile_report(ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_4__", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!18, !16, i64 8}
!18 = !{!"kone_device", !14, i64 0, !19, i64 8}
!19 = !{!"TYPE_5__", !16, i64 0}
| linux_drivers_hid_extr_hid-roccat-kone.c_kone_sysfs_set_startup_profile |
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-viperboard.c_vprbrd_i2c_receive.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-viperboard.c_vprbrd_i2c_receive.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@VPRBRD_EP_OUT = dso_local local_unnamed_addr global i32 0, align 4
@VPRBRD_USB_TIMEOUT_MS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"failure transmitting usb\0A\00", align 1
@EREMOTEIO = dso_local local_unnamed_addr global i32 0, align 4
@VPRBRD_EP_IN = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"failure receiving usb\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @vprbrd_i2c_receive], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vprbrd_i2c_receive(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @VPRBRD_EP_OUT, align 4, !tbaa !5
%6 = tail call i32 @usb_sndbulkpipe(ptr noundef %0, i32 noundef %5) #3
%7 = load i32, ptr @VPRBRD_USB_TIMEOUT_MS, align 4, !tbaa !5
%8 = call i32 @usb_bulk_msg(ptr noundef %0, i32 noundef %6, ptr noundef %1, i32 noundef 4, ptr noundef nonnull %4, i32 noundef %7) #3
%9 = icmp slt i32 %8, 0
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 4
%12 = select i1 %9, i1 true, i1 %11
br i1 %12, label %13, label %17
13: ; preds = %3
%14 = call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #3
%15 = load i32, ptr @EREMOTEIO, align 4, !tbaa !5
%16 = sub nsw i32 0, %15
br label %17
17: ; preds = %3, %13
%18 = phi i32 [ %16, %13 ], [ 0, %3 ]
%19 = load i32, ptr @VPRBRD_EP_IN, align 4, !tbaa !5
%20 = call i32 @usb_rcvbulkpipe(ptr noundef %0, i32 noundef %19) #3
%21 = load i32, ptr @VPRBRD_USB_TIMEOUT_MS, align 4, !tbaa !5
%22 = call i32 @usb_bulk_msg(ptr noundef %0, i32 noundef %20, ptr noundef %1, i32 noundef %2, ptr noundef nonnull %4, i32 noundef %21) #3
%23 = icmp sgt i32 %22, -1
%24 = load i32, ptr %4, align 4
%25 = icmp eq i32 %24, %2
%26 = select i1 %23, i1 %25, i1 false
br i1 %26, label %31, label %27
27: ; preds = %17
%28 = call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1) #3
%29 = load i32, ptr @EREMOTEIO, align 4, !tbaa !5
%30 = sub nsw i32 0, %29
br label %31
31: ; preds = %17, %27
%32 = phi i32 [ %30, %27 ], [ %18, %17 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %32
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @usb_bulk_msg(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @usb_sndbulkpipe(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @usb_rcvbulkpipe(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/i2c/busses/extr_i2c-viperboard.c_vprbrd_i2c_receive.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-viperboard.c_vprbrd_i2c_receive.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VPRBRD_EP_OUT = common local_unnamed_addr global i32 0, align 4
@VPRBRD_USB_TIMEOUT_MS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"failure transmitting usb\0A\00", align 1
@EREMOTEIO = common local_unnamed_addr global i32 0, align 4
@VPRBRD_EP_IN = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"failure receiving usb\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @vprbrd_i2c_receive], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @vprbrd_i2c_receive(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @VPRBRD_EP_OUT, align 4, !tbaa !6
%6 = tail call i32 @usb_sndbulkpipe(ptr noundef %0, i32 noundef %5) #3
%7 = load i32, ptr @VPRBRD_USB_TIMEOUT_MS, align 4, !tbaa !6
%8 = call i32 @usb_bulk_msg(ptr noundef %0, i32 noundef %6, ptr noundef %1, i32 noundef 4, ptr noundef nonnull %4, i32 noundef %7) #3
%9 = icmp slt i32 %8, 0
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 4
%12 = select i1 %9, i1 true, i1 %11
br i1 %12, label %13, label %17
13: ; preds = %3
%14 = call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #3
%15 = load i32, ptr @EREMOTEIO, align 4, !tbaa !6
%16 = sub nsw i32 0, %15
br label %17
17: ; preds = %3, %13
%18 = phi i32 [ %16, %13 ], [ 0, %3 ]
%19 = load i32, ptr @VPRBRD_EP_IN, align 4, !tbaa !6
%20 = call i32 @usb_rcvbulkpipe(ptr noundef %0, i32 noundef %19) #3
%21 = load i32, ptr @VPRBRD_USB_TIMEOUT_MS, align 4, !tbaa !6
%22 = call i32 @usb_bulk_msg(ptr noundef %0, i32 noundef %20, ptr noundef %1, i32 noundef %2, ptr noundef nonnull %4, i32 noundef %21) #3
%23 = icmp sgt i32 %22, -1
%24 = load i32, ptr %4, align 4
%25 = icmp eq i32 %24, %2
%26 = select i1 %23, i1 %25, i1 false
br i1 %26, label %31, label %27
27: ; preds = %17
%28 = call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1) #3
%29 = load i32, ptr @EREMOTEIO, align 4, !tbaa !6
%30 = sub nsw i32 0, %29
br label %31
31: ; preds = %17, %27
%32 = phi i32 [ %30, %27 ], [ %18, %17 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %32
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @usb_bulk_msg(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @usb_sndbulkpipe(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @usb_rcvbulkpipe(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_i2c_busses_extr_i2c-viperboard.c_vprbrd_i2c_receive |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_random.c_randomize_range.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_random.c_randomize_range.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i64 @randomize_range(i64 noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = add i64 %2, %0
%5 = icmp ult i64 %4, %1
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = sub i64 %1, %4
%8 = tail call i64 (...) @get_random_int() #2
%9 = urem i64 %8, %7
%10 = add i64 %9, %0
%11 = tail call i64 @PAGE_ALIGN(i64 noundef %10) #2
br label %12
12: ; preds = %3, %6
%13 = phi i64 [ %11, %6 ], [ 0, %3 ]
ret i64 %13
}
declare i64 @PAGE_ALIGN(i64 noundef) local_unnamed_addr #1
declare i64 @get_random_int(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_random.c_randomize_range.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_random.c_randomize_range.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @randomize_range(i64 noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = add i64 %2, %0
%5 = icmp ult i64 %4, %1
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = sub i64 %1, %4
%8 = tail call i64 @get_random_int() #2
%9 = urem i64 %8, %7
%10 = add i64 %9, %0
%11 = tail call i64 @PAGE_ALIGN(i64 noundef %10) #2
br label %12
12: ; preds = %3, %6
%13 = phi i64 [ %11, %6 ], [ 0, %3 ]
ret i64 %13
}
declare i64 @PAGE_ALIGN(i64 noundef) local_unnamed_addr #1
declare i64 @get_random_int(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_char_extr_random.c_randomize_range |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sprite.h_icl_is_nv12_y_plane.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sprite.h_icl_is_nv12_y_plane.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PLANE_SPRITE4 = dso_local local_unnamed_addr global i32 0, align 4
@PLANE_SPRITE5 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @icl_is_nv12_y_plane], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @icl_is_nv12_y_plane(i32 noundef %0) #0 {
%2 = load i32, ptr @PLANE_SPRITE4, align 4, !tbaa !5
%3 = icmp eq i32 %2, %0
%4 = load i32, ptr @PLANE_SPRITE5, align 4
%5 = icmp eq i32 %4, %0
%6 = select i1 %3, i1 true, i1 %5
%7 = zext i1 %6 to i32
ret i32 %7
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sprite.h_icl_is_nv12_y_plane.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sprite.h_icl_is_nv12_y_plane.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PLANE_SPRITE4 = common local_unnamed_addr global i32 0, align 4
@PLANE_SPRITE5 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @icl_is_nv12_y_plane], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @icl_is_nv12_y_plane(i32 noundef %0) #0 {
%2 = load i32, ptr @PLANE_SPRITE4, align 4, !tbaa !6
%3 = icmp eq i32 %2, %0
%4 = load i32, ptr @PLANE_SPRITE5, align 4
%5 = icmp eq i32 %4, %0
%6 = select i1 %3, i1 true, i1 %5
%7 = zext i1 %6 to i32
ret i32 %7
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_i915_display_extr_intel_sprite.h_icl_is_nv12_y_plane |
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-packet.c_tnt_8.c'
source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-packet.c_tnt_8.c"
target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_5__, i32 }
%struct.TYPE_5__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32, i32 }
@ppt_tnt_8 = dso_local local_unnamed_addr global i32 0, align 4
@pfix_test = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tnt_8], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tnt_8(ptr noundef %0) #0 {
%2 = load i32, ptr @ppt_tnt_8, align 4, !tbaa !5
%3 = load ptr, ptr %0, align 8, !tbaa !9
%4 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1
store i32 %2, ptr %4, align 4, !tbaa !12
store i32 4, ptr %3, align 4, !tbaa !16
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 0, i32 1
store i32 5, ptr %5, align 4, !tbaa !17
%6 = load i32, ptr @pfix_test, align 4, !tbaa !5
%7 = tail call i32 @ptu_test(i32 noundef %6, ptr noundef nonnull %0) #2
%8 = tail call i32 (...) @ptu_passed() #2
ret i32 %8
}
declare i32 @ptu_test(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ptu_passed(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"packet_fixture", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 8}
!13 = !{!"TYPE_6__", !14, i64 0, !6, i64 8}
!14 = !{!"TYPE_5__", !15, i64 0}
!15 = !{!"TYPE_4__", !6, i64 0, !6, i64 4}
!16 = !{!13, !6, i64 0}
!17 = !{!13, !6, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-packet.c_tnt_8.c'
source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-packet.c_tnt_8.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ppt_tnt_8 = common local_unnamed_addr global i32 0, align 4
@pfix_test = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tnt_8], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @tnt_8(ptr noundef %0) #0 {
%2 = load i32, ptr @ppt_tnt_8, align 4, !tbaa !6
%3 = load ptr, ptr %0, align 8, !tbaa !10
%4 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %2, ptr %4, align 4, !tbaa !13
store <2 x i32> <i32 4, i32 5>, ptr %3, align 4, !tbaa !6
%5 = load i32, ptr @pfix_test, align 4, !tbaa !6
%6 = tail call i32 @ptu_test(i32 noundef %5, ptr noundef nonnull %0) #2
%7 = tail call i32 @ptu_passed() #2
ret i32 %7
}
declare i32 @ptu_test(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ptu_passed(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"packet_fixture", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 8}
!14 = !{!"TYPE_6__", !15, i64 0, !7, i64 8}
!15 = !{!"TYPE_5__", !16, i64 0}
!16 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
| freebsd_contrib_processor-trace_libipt_test_src_extr_ptunit-packet.c_tnt_8 |
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_comedi_parport.c_parport_intr_cancel.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_comedi_parport.c_parport_intr_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"
@PARPORT_CTRL_REG = dso_local local_unnamed_addr global i64 0, align 8
@PARPORT_CTRL_IRQ_ENA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @parport_intr_cancel], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @parport_intr_cancel(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr @PARPORT_CTRL_REG, align 8, !tbaa !10
%5 = add nsw i64 %4, %3
%6 = tail call i32 @inb(i64 noundef %5) #2
%7 = load i32, ptr @PARPORT_CTRL_IRQ_ENA, align 4, !tbaa !11
%8 = xor i32 %7, -1
%9 = and i32 %6, %8
%10 = load i64, ptr %0, align 8, !tbaa !5
%11 = load i64, ptr @PARPORT_CTRL_REG, align 8, !tbaa !10
%12 = add nsw i64 %11, %10
%13 = tail call i32 @outb(i32 noundef %9, i64 noundef %12) #2
ret i32 0
}
declare i32 @inb(i64 noundef) local_unnamed_addr #1
declare i32 @outb(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 = !{!"comedi_device", !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}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_comedi_parport.c_parport_intr_cancel.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_comedi_parport.c_parport_intr_cancel.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PARPORT_CTRL_REG = common local_unnamed_addr global i64 0, align 8
@PARPORT_CTRL_IRQ_ENA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @parport_intr_cancel], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @parport_intr_cancel(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr @PARPORT_CTRL_REG, align 8, !tbaa !11
%5 = add nsw i64 %4, %3
%6 = tail call i32 @inb(i64 noundef %5) #2
%7 = load i32, ptr @PARPORT_CTRL_IRQ_ENA, align 4, !tbaa !12
%8 = xor i32 %7, -1
%9 = and i32 %6, %8
%10 = load i64, ptr %0, align 8, !tbaa !6
%11 = load i64, ptr @PARPORT_CTRL_REG, align 8, !tbaa !11
%12 = add nsw i64 %11, %10
%13 = tail call i32 @outb(i32 noundef %9, i64 noundef %12) #2
ret i32 0
}
declare i32 @inb(i64 noundef) local_unnamed_addr #1
declare i32 @outb(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 = !{!"comedi_device", !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}
| linux_drivers_staging_comedi_drivers_extr_comedi_parport.c_parport_intr_cancel |
; ModuleID = 'AnghaBench/citus/src/backend/distributed/transaction/extr_backend_data.c_UnSetDistributedTransactionId.c'
source_filename = "AnghaBench/citus/src/backend/distributed/transaction/extr_backend_data.c_UnSetDistributedTransactionId.c"
target datalayout = "e-m:e-p270:32:32-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, %struct.TYPE_5__, %struct.TYPE_4__, i64, i64 }
%struct.TYPE_5__ = type { i32, i32 }
%struct.TYPE_4__ = type { i32, i64, i64, i64 }
@MyBackendData = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @UnSetDistributedTransactionId() local_unnamed_addr #0 {
%1 = load ptr, ptr @MyBackendData, align 8, !tbaa !5
%2 = icmp eq ptr %1, null
br i1 %2, label %11, label %3
3: ; preds = %0
%4 = tail call i32 @SpinLockAcquire(ptr noundef nonnull %1) #3
%5 = load ptr, ptr @MyBackendData, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 2
store i32 0, ptr %6, align 8, !tbaa !9
%7 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 2, i32 1
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %7, i8 0, i64 40, i1 false)
store i32 -1, ptr %8, align 4, !tbaa !15
%9 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 1, i32 1
store i32 0, ptr %9, align 4, !tbaa !16
%10 = tail call i32 @SpinLockRelease(ptr noundef %5) #3
br label %11
11: ; preds = %3, %0
ret void
}
declare i32 @SpinLockAcquire(ptr noundef) local_unnamed_addr #1
declare i32 @SpinLockRelease(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"TYPE_6__", !11, i64 0, !12, i64 4, !13, i64 16, !14, i64 48, !14, i64 56}
!11 = !{!"int", !7, i64 0}
!12 = !{!"TYPE_5__", !11, i64 0, !11, i64 4}
!13 = !{!"TYPE_4__", !11, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!14 = !{!"long", !7, i64 0}
!15 = !{!10, !11, i64 4}
!16 = !{!10, !11, i64 8}
| ; ModuleID = 'AnghaBench/citus/src/backend/distributed/transaction/extr_backend_data.c_UnSetDistributedTransactionId.c'
source_filename = "AnghaBench/citus/src/backend/distributed/transaction/extr_backend_data.c_UnSetDistributedTransactionId.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MyBackendData = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @UnSetDistributedTransactionId() local_unnamed_addr #0 {
%1 = load ptr, ptr @MyBackendData, align 8, !tbaa !6
%2 = icmp eq ptr %1, null
br i1 %2, label %10, label %3
3: ; preds = %0
%4 = tail call i32 @SpinLockAcquire(ptr noundef nonnull %1) #3
%5 = load ptr, ptr @MyBackendData, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %5, i64 16
store i32 0, ptr %6, align 8, !tbaa !10
%7 = getelementptr inbounds i8, ptr %5, i64 24
%8 = getelementptr inbounds i8, ptr %5, i64 4
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %7, i8 0, i64 40, i1 false)
store <2 x i32> <i32 -1, i32 0>, ptr %8, align 4, !tbaa !16
%9 = tail call i32 @SpinLockRelease(ptr noundef %5) #3
br label %10
10: ; preds = %3, %0
ret void
}
declare i32 @SpinLockAcquire(ptr noundef) local_unnamed_addr #1
declare i32 @SpinLockRelease(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 16}
!11 = !{!"TYPE_6__", !12, i64 0, !13, i64 4, !14, i64 16, !15, i64 48, !15, i64 56}
!12 = !{!"int", !8, i64 0}
!13 = !{!"TYPE_5__", !12, i64 0, !12, i64 4}
!14 = !{!"TYPE_4__", !12, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!15 = !{!"long", !8, i64 0}
!16 = !{!12, !12, i64 0}
| citus_src_backend_distributed_transaction_extr_backend_data.c_UnSetDistributedTransactionId |
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_stv0288.c_stv0288_attach.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_stv0288.c_stv0288_attach.c"
target datalayout = "e-m:e-p270:32:32-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.stv0288_state = type { %struct.dvb_frontend, i32, i64, i64, i64, i64, ptr, ptr }
%struct.dvb_frontend = type { ptr, i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@STATUS_BER = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"stv0288 id %x\0A\00", align 1
@stv0288_ops = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @stv0288_attach(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%4 = tail call ptr @kzalloc(i32 noundef 72, i32 noundef %3) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %20, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.stv0288_state, ptr %4, i64 0, i32 7
store ptr %0, ptr %7, align 8, !tbaa !9
%8 = getelementptr inbounds %struct.stv0288_state, ptr %4, i64 0, i32 6
store ptr %1, ptr %8, align 8, !tbaa !14
%9 = getelementptr inbounds %struct.stv0288_state, ptr %4, i64 0, i32 2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 0, i64 32, i1 false)
%10 = load i32, ptr @STATUS_BER, align 4, !tbaa !5
%11 = getelementptr inbounds %struct.stv0288_state, ptr %4, i64 0, i32 1
store i32 %10, ptr %11, align 8, !tbaa !15
%12 = tail call i32 @stv0288_writeregI(ptr noundef nonnull %4, i32 noundef 65, i32 noundef 4) #3
%13 = tail call i32 @msleep(i32 noundef 200) #3
%14 = tail call i32 @stv0288_readreg(ptr noundef nonnull %4, i32 noundef 0) #3
%15 = tail call i32 @dprintk(ptr noundef nonnull @.str, i32 noundef %14) #3
%16 = icmp eq i32 %14, 17
br i1 %16, label %17, label %20
17: ; preds = %6
%18 = getelementptr inbounds %struct.dvb_frontend, ptr %4, i64 0, i32 1
%19 = tail call i32 @memcpy(ptr noundef nonnull %18, ptr noundef nonnull @stv0288_ops, i32 noundef 4) #3
store ptr %4, ptr %4, align 8, !tbaa !16
br label %22
20: ; preds = %6, %2
%21 = tail call i32 @kfree(ptr noundef %4) #3
br label %22
22: ; preds = %20, %17
%23 = phi ptr [ null, %20 ], [ %4, %17 ]
ret ptr %23
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @stv0288_writeregI(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @stv0288_readreg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dprintk(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 64}
!10 = !{!"stv0288_state", !11, i64 0, !6, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !12, i64 56, !12, i64 64}
!11 = !{!"dvb_frontend", !12, i64 0, !6, i64 8}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!10, !12, i64 56}
!15 = !{!10, !6, i64 16}
!16 = !{!10, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_stv0288.c_stv0288_attach.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_stv0288.c_stv0288_attach.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
@STATUS_BER = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"stv0288 id %x\0A\00", align 1
@stv0288_ops = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @stv0288_attach(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%4 = tail call ptr @kzalloc(i32 noundef 72, i32 noundef %3) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %20, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %4, i64 64
store ptr %0, ptr %7, align 8, !tbaa !10
%8 = getelementptr inbounds i8, ptr %4, i64 56
store ptr %1, ptr %8, align 8, !tbaa !15
%9 = getelementptr inbounds i8, ptr %4, i64 24
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 0, i64 32, i1 false)
%10 = load i32, ptr @STATUS_BER, align 4, !tbaa !6
%11 = getelementptr inbounds i8, ptr %4, i64 16
store i32 %10, ptr %11, align 8, !tbaa !16
%12 = tail call i32 @stv0288_writeregI(ptr noundef nonnull %4, i32 noundef 65, i32 noundef 4) #3
%13 = tail call i32 @msleep(i32 noundef 200) #3
%14 = tail call i32 @stv0288_readreg(ptr noundef nonnull %4, i32 noundef 0) #3
%15 = tail call i32 @dprintk(ptr noundef nonnull @.str, i32 noundef %14) #3
%16 = icmp eq i32 %14, 17
br i1 %16, label %17, label %20
17: ; preds = %6
%18 = getelementptr inbounds i8, ptr %4, i64 8
%19 = tail call i32 @memcpy(ptr noundef nonnull %18, ptr noundef nonnull @stv0288_ops, i32 noundef 4) #3
store ptr %4, ptr %4, align 8, !tbaa !17
br label %22
20: ; preds = %6, %2
%21 = tail call i32 @kfree(ptr noundef %4) #3
br label %22
22: ; preds = %20, %17
%23 = phi ptr [ null, %20 ], [ %4, %17 ]
ret ptr %23
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @stv0288_writeregI(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @stv0288_readreg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dprintk(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 64}
!11 = !{!"stv0288_state", !12, i64 0, !7, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !13, i64 56, !13, i64 64}
!12 = !{!"dvb_frontend", !13, i64 0, !7, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !13, i64 56}
!16 = !{!11, !7, i64 16}
!17 = !{!11, !13, i64 0}
| linux_drivers_media_dvb-frontends_extr_stv0288.c_stv0288_attach |
; ModuleID = 'AnghaBench/git/builtin/extr_stash.c_assert_stash_like.c'
source_filename = "AnghaBench/git/builtin/extr_stash.c_assert_stash_like.c"
target datalayout = "e-m:e-p270:32:32-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.stash_info = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [5 x i8] c"%s^1\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s:\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%s^1:\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s^2:\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"'%s' is not a stash-like commit\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @assert_stash_like], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @assert_stash_like(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.stash_info, ptr %0, i64 0, i32 3
%4 = tail call i64 @get_oidf(ptr noundef nonnull %3, ptr noundef nonnull @.str, ptr noundef %1) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %17
6: ; preds = %2
%7 = getelementptr inbounds %struct.stash_info, ptr %0, i64 0, i32 2
%8 = tail call i64 @get_oidf(ptr noundef nonnull %7, ptr noundef nonnull @.str.1, ptr noundef %1) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %17
10: ; preds = %6
%11 = getelementptr inbounds %struct.stash_info, ptr %0, i64 0, i32 1
%12 = tail call i64 @get_oidf(ptr noundef nonnull %11, ptr noundef nonnull @.str.2, ptr noundef %1) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = tail call i64 @get_oidf(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef %1) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %14, %10, %6, %2
%18 = tail call i32 @_(ptr noundef nonnull @.str.4) #2
%19 = tail call i32 @die(i32 noundef %18, ptr noundef %1) #2
br label %20
20: ; preds = %17, %14
ret void
}
declare i64 @get_oidf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @die(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/git/builtin/extr_stash.c_assert_stash_like.c'
source_filename = "AnghaBench/git/builtin/extr_stash.c_assert_stash_like.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [5 x i8] c"%s^1\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s:\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%s^1:\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s^2:\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"'%s' is not a stash-like commit\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @assert_stash_like], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @assert_stash_like(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 12
%4 = tail call i64 @get_oidf(ptr noundef nonnull %3, ptr noundef nonnull @.str, ptr noundef %1) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %17
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = tail call i64 @get_oidf(ptr noundef nonnull %7, ptr noundef nonnull @.str.1, ptr noundef %1) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %17
10: ; preds = %6
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = tail call i64 @get_oidf(ptr noundef nonnull %11, ptr noundef nonnull @.str.2, ptr noundef %1) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = tail call i64 @get_oidf(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef %1) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %14, %10, %6, %2
%18 = tail call i32 @_(ptr noundef nonnull @.str.4) #2
%19 = tail call i32 @die(i32 noundef %18, ptr noundef %1) #2
br label %20
20: ; preds = %17, %14
ret void
}
declare i64 @get_oidf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @die(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| git_builtin_extr_stash.c_assert_stash_like |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_i386_vm_init.c_pmap_next_page_hi.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_i386_vm_init.c_pmap_next_page_hi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i64 }
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@avail_remaining = dso_local local_unnamed_addr global i64 0, align 8
@pmap_memory_region_count = dso_local local_unnamed_addr global i32 0, align 4
@pmap_memory_regions = dso_local local_unnamed_addr global ptr null, align 8
@max_ppnum = dso_local local_unnamed_addr global i64 0, align 8
@lowest_lo = dso_local local_unnamed_addr global i64 0, align 8
@lowest_hi = dso_local local_unnamed_addr global i64 0, align 8
@highest_hi = dso_local local_unnamed_addr global i64 0, align 8
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @pmap_next_page_hi(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @pmap_next_page_reserved(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %52
4: ; preds = %1
%5 = load i64, ptr @avail_remaining, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %52, label %7
7: ; preds = %4
%8 = load i32, ptr @pmap_memory_region_count, align 4, !tbaa !9
%9 = load ptr, ptr @pmap_memory_regions, align 8
%10 = zext i32 %8 to i64
br label %11
11: ; preds = %15, %7
%12 = phi i64 [ %16, %15 ], [ %10, %7 ]
%13 = trunc i64 %12 to i32
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %52
15: ; preds = %11
%16 = add nsw i64 %12, -1
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i64 %16
%18 = load i64, ptr %17, align 8, !tbaa !11
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i64 %16, i32 1
%20 = load i64, ptr %19, align 8, !tbaa !13
%21 = icmp slt i64 %18, %20
br i1 %21, label %11, label %22, !llvm.loop !14
22: ; preds = %15
%23 = add nsw i64 %18, -1
store i64 %23, ptr %17, align 8, !tbaa !11
store i64 %18, ptr %0, align 8, !tbaa !5
%24 = load i64, ptr @avail_remaining, align 8, !tbaa !5
%25 = add nsw i64 %24, -1
store i64 %25, ptr @avail_remaining, align 8, !tbaa !5
%26 = load i64, ptr %0, align 8, !tbaa !5
%27 = load i64, ptr @max_ppnum, align 8, !tbaa !5
%28 = icmp sgt i64 %26, %27
br i1 %28, label %29, label %31
29: ; preds = %22
store i64 %26, ptr @max_ppnum, align 8, !tbaa !5
%30 = load i64, ptr %0, align 8, !tbaa !5
br label %31
31: ; preds = %29, %22
%32 = phi i64 [ %30, %29 ], [ %26, %22 ]
%33 = load i64, ptr @lowest_lo, align 8, !tbaa !5
%34 = icmp eq i64 %33, 0
%35 = icmp slt i64 %32, %33
%36 = select i1 %34, i1 true, i1 %35
br i1 %36, label %37, label %39
37: ; preds = %31
store i64 %32, ptr @lowest_lo, align 8, !tbaa !5
%38 = load i64, ptr %0, align 8, !tbaa !5
br label %39
39: ; preds = %31, %37
%40 = phi i64 [ %38, %37 ], [ %32, %31 ]
%41 = load i64, ptr @lowest_hi, align 8, !tbaa !5
%42 = icmp eq i64 %41, 0
%43 = icmp slt i64 %40, %41
%44 = select i1 %42, i1 true, i1 %43
br i1 %44, label %45, label %47
45: ; preds = %39
store i64 %40, ptr @lowest_hi, align 8, !tbaa !5
%46 = load i64, ptr %0, align 8, !tbaa !5
br label %47
47: ; preds = %39, %45
%48 = phi i64 [ %46, %45 ], [ %40, %39 ]
%49 = load i64, ptr @highest_hi, align 8, !tbaa !5
%50 = icmp sgt i64 %48, %49
br i1 %50, label %51, label %52
51: ; preds = %47
store i64 %48, ptr @highest_hi, align 8, !tbaa !5
br label %52
52: ; preds = %11, %4, %47, %51, %1
%53 = phi ptr [ @TRUE, %1 ], [ @TRUE, %51 ], [ @TRUE, %47 ], [ @FALSE, %4 ], [ @FALSE, %11 ]
%54 = load i32, ptr %53, align 4, !tbaa !9
ret i32 %54
}
declare i64 @pmap_next_page_reserved(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}
!11 = !{!12, !6, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0, !6, i64 8}
!13 = !{!12, !6, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_i386_vm_init.c_pmap_next_page_hi.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_i386_vm_init.c_pmap_next_page_hi.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i64, i64 }
@TRUE = common local_unnamed_addr global i32 0, align 4
@avail_remaining = common local_unnamed_addr global i64 0, align 8
@pmap_memory_region_count = common local_unnamed_addr global i32 0, align 4
@pmap_memory_regions = common local_unnamed_addr global ptr null, align 8
@max_ppnum = common local_unnamed_addr global i64 0, align 8
@lowest_lo = common local_unnamed_addr global i64 0, align 8
@lowest_hi = common local_unnamed_addr global i64 0, align 8
@highest_hi = common local_unnamed_addr global i64 0, align 8
@FALSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @pmap_next_page_hi(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @pmap_next_page_reserved(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %52
4: ; preds = %1
%5 = load i64, ptr @avail_remaining, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %52, label %7
7: ; preds = %4
%8 = load i32, ptr @pmap_memory_region_count, align 4, !tbaa !10
%9 = load ptr, ptr @pmap_memory_regions, align 8
%10 = zext i32 %8 to i64
br label %11
11: ; preds = %15, %7
%12 = phi i64 [ %16, %15 ], [ %10, %7 ]
%13 = trunc nuw i64 %12 to i32
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %52
15: ; preds = %11
%16 = add nsw i64 %12, -1
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i64 %16
%18 = load i64, ptr %17, align 8, !tbaa !12
%19 = getelementptr inbounds i8, ptr %17, i64 8
%20 = load i64, ptr %19, align 8, !tbaa !14
%21 = icmp slt i64 %18, %20
br i1 %21, label %11, label %22, !llvm.loop !15
22: ; preds = %15
%23 = add nsw i64 %18, -1
store i64 %23, ptr %17, align 8, !tbaa !12
store i64 %18, ptr %0, align 8, !tbaa !6
%24 = load i64, ptr @avail_remaining, align 8, !tbaa !6
%25 = add nsw i64 %24, -1
store i64 %25, ptr @avail_remaining, align 8, !tbaa !6
%26 = load i64, ptr %0, align 8, !tbaa !6
%27 = load i64, ptr @max_ppnum, align 8, !tbaa !6
%28 = icmp sgt i64 %26, %27
br i1 %28, label %29, label %31
29: ; preds = %22
store i64 %26, ptr @max_ppnum, align 8, !tbaa !6
%30 = load i64, ptr %0, align 8, !tbaa !6
br label %31
31: ; preds = %29, %22
%32 = phi i64 [ %30, %29 ], [ %26, %22 ]
%33 = load i64, ptr @lowest_lo, align 8, !tbaa !6
%34 = icmp eq i64 %33, 0
%35 = icmp slt i64 %32, %33
%36 = select i1 %34, i1 true, i1 %35
br i1 %36, label %37, label %39
37: ; preds = %31
store i64 %32, ptr @lowest_lo, align 8, !tbaa !6
%38 = load i64, ptr %0, align 8, !tbaa !6
br label %39
39: ; preds = %31, %37
%40 = phi i64 [ %38, %37 ], [ %32, %31 ]
%41 = load i64, ptr @lowest_hi, align 8, !tbaa !6
%42 = icmp eq i64 %41, 0
%43 = icmp slt i64 %40, %41
%44 = select i1 %42, i1 true, i1 %43
br i1 %44, label %45, label %47
45: ; preds = %39
store i64 %40, ptr @lowest_hi, align 8, !tbaa !6
%46 = load i64, ptr %0, align 8, !tbaa !6
br label %47
47: ; preds = %39, %45
%48 = phi i64 [ %46, %45 ], [ %40, %39 ]
%49 = load i64, ptr @highest_hi, align 8, !tbaa !6
%50 = icmp sgt i64 %48, %49
br i1 %50, label %51, label %52
51: ; preds = %47
store i64 %48, ptr @highest_hi, align 8, !tbaa !6
br label %52
52: ; preds = %11, %4, %47, %51, %1
%53 = phi ptr [ @TRUE, %1 ], [ @TRUE, %51 ], [ @TRUE, %47 ], [ @FALSE, %4 ], [ @FALSE, %11 ]
%54 = load i32, ptr %53, align 4, !tbaa !10
ret i32 %54
}
declare i64 @pmap_next_page_reserved(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}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0, !7, i64 8}
!14 = !{!13, !7, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| darwin-xnu_osfmk_i386_extr_i386_vm_init.c_pmap_next_page_hi |
; ModuleID = 'AnghaBench/freebsd/sys/arm64/rockchip/clk/extr_rk_clk_armclk.c_rk_clk_armclk_recalc.c'
source_filename = "AnghaBench/freebsd/sys/arm64/rockchip/clk/extr_rk_clk_armclk.c_rk_clk_armclk_recalc.c"
target datalayout = "e-m:e-p270:32:32-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.rk_clk_armclk_sc = type { i32, i32, i32 }
@.str = private unnamed_addr constant [32 x i8] c"Read: muxdiv_offset=%x, val=%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"parent_freq=%ju, div=%u\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @rk_clk_armclk_recalc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @rk_clk_armclk_recalc(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = tail call ptr @clknode_get_softc(ptr noundef %0) #3
%5 = tail call i32 @DEVICE_LOCK(ptr noundef %0) #3
%6 = load i32, ptr %4, align 4, !tbaa !5
%7 = call i32 @READ4(ptr noundef %0, i32 noundef %6, ptr noundef nonnull %3) #3
%8 = load i32, ptr %4, align 4, !tbaa !5
%9 = load i32, ptr %3, align 4, !tbaa !10
%10 = call i32 @dprintf(ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %9) #3
%11 = call i32 @DEVICE_UNLOCK(ptr noundef %0) #3
%12 = load i32, ptr %3, align 4, !tbaa !10
%13 = getelementptr inbounds %struct.rk_clk_armclk_sc, ptr %4, i64 0, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !11
%15 = and i32 %14, %12
%16 = getelementptr inbounds %struct.rk_clk_armclk_sc, ptr %4, i64 0, i32 2
%17 = load i32, ptr %16, align 4, !tbaa !12
%18 = ashr i32 %15, %17
%19 = add nsw i32 %18, 1
%20 = load i32, ptr %1, align 4, !tbaa !10
%21 = call i32 @dprintf(ptr noundef nonnull @.str.1, i32 noundef %20, i32 noundef %19) #3
%22 = load i32, ptr %1, align 4, !tbaa !10
%23 = sdiv i32 %22, %19
store i32 %23, ptr %1, align 4, !tbaa !10
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 ptr @clknode_get_softc(ptr noundef) local_unnamed_addr #2
declare i32 @DEVICE_LOCK(ptr noundef) local_unnamed_addr #2
declare i32 @READ4(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dprintf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @DEVICE_UNLOCK(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 = !{!"rk_clk_armclk_sc", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm64/rockchip/clk/extr_rk_clk_armclk.c_rk_clk_armclk_recalc.c'
source_filename = "AnghaBench/freebsd/sys/arm64/rockchip/clk/extr_rk_clk_armclk.c_rk_clk_armclk_recalc.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 [32 x i8] c"Read: muxdiv_offset=%x, val=%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"parent_freq=%ju, div=%u\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @rk_clk_armclk_recalc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @rk_clk_armclk_recalc(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = tail call ptr @clknode_get_softc(ptr noundef %0) #3
%5 = tail call i32 @DEVICE_LOCK(ptr noundef %0) #3
%6 = load i32, ptr %4, align 4, !tbaa !6
%7 = call i32 @READ4(ptr noundef %0, i32 noundef %6, ptr noundef nonnull %3) #3
%8 = load i32, ptr %4, align 4, !tbaa !6
%9 = load i32, ptr %3, align 4, !tbaa !11
%10 = call i32 @dprintf(ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %9) #3
%11 = call i32 @DEVICE_UNLOCK(ptr noundef %0) #3
%12 = load i32, ptr %3, align 4, !tbaa !11
%13 = getelementptr inbounds i8, ptr %4, i64 4
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = and i32 %14, %12
%16 = getelementptr inbounds i8, ptr %4, i64 8
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = ashr i32 %15, %17
%19 = add nsw i32 %18, 1
%20 = load i32, ptr %1, align 4, !tbaa !11
%21 = call i32 @dprintf(ptr noundef nonnull @.str.1, i32 noundef %20, i32 noundef %19) #3
%22 = load i32, ptr %1, align 4, !tbaa !11
%23 = sdiv i32 %22, %19
store i32 %23, ptr %1, align 4, !tbaa !11
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 ptr @clknode_get_softc(ptr noundef) local_unnamed_addr #2
declare i32 @DEVICE_LOCK(ptr noundef) local_unnamed_addr #2
declare i32 @READ4(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dprintf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @DEVICE_UNLOCK(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 = !{!"rk_clk_armclk_sc", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 8}
| freebsd_sys_arm64_rockchip_clk_extr_rk_clk_armclk.c_rk_clk_armclk_recalc |
; ModuleID = 'AnghaBench/freebsd/stand/libsa/extr_dosfs.c_dos_checksum.c'
source_filename = "AnghaBench/freebsd/stand/libsa/extr_dosfs.c_dos_checksum.c"
target datalayout = "e-m:e-p270:32:32-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 @dos_checksum], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dos_checksum(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca [11 x i8], align 1
call void @llvm.lifetime.start.p0(i64 11, ptr nonnull %3) #4
%4 = call i32 @bcopy(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 8) #4
%5 = getelementptr inbounds i8, ptr %3, i64 8
%6 = call i32 @bcopy(ptr noundef %1, ptr noundef nonnull %5, i32 noundef 3) #4
%7 = load i8, ptr %3, align 1, !tbaa !5
%8 = call i8 @llvm.fshl.i8(i8 %7, i8 %7, i8 7)
%9 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 1
%10 = load i8, ptr %9, align 1, !tbaa !5
%11 = add i8 %10, %8
%12 = call i8 @llvm.fshl.i8(i8 %11, i8 %11, i8 7)
%13 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 2
%14 = load i8, ptr %13, align 1, !tbaa !5
%15 = add i8 %14, %12
%16 = call i8 @llvm.fshl.i8(i8 %15, i8 %15, i8 7)
%17 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 3
%18 = load i8, ptr %17, align 1, !tbaa !5
%19 = add i8 %18, %16
%20 = call i8 @llvm.fshl.i8(i8 %19, i8 %19, i8 7)
%21 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 4
%22 = load i8, ptr %21, align 1, !tbaa !5
%23 = add i8 %22, %20
%24 = call i8 @llvm.fshl.i8(i8 %23, i8 %23, i8 7)
%25 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 5
%26 = load i8, ptr %25, align 1, !tbaa !5
%27 = add i8 %26, %24
%28 = call i8 @llvm.fshl.i8(i8 %27, i8 %27, i8 7)
%29 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 6
%30 = load i8, ptr %29, align 1, !tbaa !5
%31 = add i8 %30, %28
%32 = call i8 @llvm.fshl.i8(i8 %31, i8 %31, i8 7)
%33 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 7
%34 = load i8, ptr %33, align 1, !tbaa !5
%35 = add i8 %34, %32
%36 = call i8 @llvm.fshl.i8(i8 %35, i8 %35, i8 7)
%37 = load i8, ptr %5, align 1, !tbaa !5
%38 = add i8 %37, %36
%39 = call i8 @llvm.fshl.i8(i8 %38, i8 %38, i8 7)
%40 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 9
%41 = load i8, ptr %40, align 1, !tbaa !5
%42 = add i8 %41, %39
%43 = call i8 @llvm.fshl.i8(i8 %42, i8 %42, i8 7)
%44 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 10
%45 = load i8, ptr %44, align 1, !tbaa !5
%46 = add i8 %45, %43
%47 = zext i8 %46 to i32
call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %3) #4
ret i32 %47
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i8 @llvm.fshl.i8(i8, i8, i8) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/stand/libsa/extr_dosfs.c_dos_checksum.c'
source_filename = "AnghaBench/freebsd/stand/libsa/extr_dosfs.c_dos_checksum.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 @dos_checksum], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 256) i32 @dos_checksum(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca [11 x i8], align 1
call void @llvm.lifetime.start.p0(i64 11, ptr nonnull %3) #4
%4 = call i32 @bcopy(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 8) #4
%5 = getelementptr inbounds i8, ptr %3, i64 8
%6 = call i32 @bcopy(ptr noundef %1, ptr noundef nonnull %5, i32 noundef 3) #4
%7 = load i8, ptr %3, align 1, !tbaa !6
%8 = call i8 @llvm.fshl.i8(i8 %7, i8 %7, i8 7)
%9 = getelementptr inbounds i8, ptr %3, i64 1
%10 = load i8, ptr %9, align 1, !tbaa !6
%11 = add i8 %10, %8
%12 = call i8 @llvm.fshl.i8(i8 %11, i8 %11, i8 7)
%13 = getelementptr inbounds i8, ptr %3, i64 2
%14 = load i8, ptr %13, align 1, !tbaa !6
%15 = add i8 %14, %12
%16 = call i8 @llvm.fshl.i8(i8 %15, i8 %15, i8 7)
%17 = getelementptr inbounds i8, ptr %3, i64 3
%18 = load i8, ptr %17, align 1, !tbaa !6
%19 = add i8 %18, %16
%20 = call i8 @llvm.fshl.i8(i8 %19, i8 %19, i8 7)
%21 = getelementptr inbounds i8, ptr %3, i64 4
%22 = load i8, ptr %21, align 1, !tbaa !6
%23 = add i8 %22, %20
%24 = call i8 @llvm.fshl.i8(i8 %23, i8 %23, i8 7)
%25 = getelementptr inbounds i8, ptr %3, i64 5
%26 = load i8, ptr %25, align 1, !tbaa !6
%27 = add i8 %26, %24
%28 = call i8 @llvm.fshl.i8(i8 %27, i8 %27, i8 7)
%29 = getelementptr inbounds i8, ptr %3, i64 6
%30 = load i8, ptr %29, align 1, !tbaa !6
%31 = add i8 %30, %28
%32 = call i8 @llvm.fshl.i8(i8 %31, i8 %31, i8 7)
%33 = getelementptr inbounds i8, ptr %3, i64 7
%34 = load i8, ptr %33, align 1, !tbaa !6
%35 = add i8 %34, %32
%36 = call i8 @llvm.fshl.i8(i8 %35, i8 %35, i8 7)
%37 = load i8, ptr %5, align 1, !tbaa !6
%38 = add i8 %37, %36
%39 = call i8 @llvm.fshl.i8(i8 %38, i8 %38, i8 7)
%40 = getelementptr inbounds i8, ptr %3, i64 9
%41 = load i8, ptr %40, align 1, !tbaa !6
%42 = add i8 %41, %39
%43 = call i8 @llvm.fshl.i8(i8 %42, i8 %42, i8 7)
%44 = getelementptr inbounds i8, ptr %3, i64 10
%45 = load i8, ptr %44, align 1, !tbaa !6
%46 = add i8 %45, %43
%47 = zext i8 %46 to i32
call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %3) #4
ret i32 %47
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i8 @llvm.fshl.i8(i8, i8, i8) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| freebsd_stand_libsa_extr_dosfs.c_dos_checksum |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_enet.c_hns_assemble_skb.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_enet.c_hns_assemble_skb.c"
target datalayout = "e-m:e-p270:32:32-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.sk_buff = type { i32, i32, ptr, ptr }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ETH_P_IP = dso_local local_unnamed_addr global i32 0, align 4
@HNS_LB_TX_RING = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hns_assemble_skb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @hns_assemble_skb(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%3 = tail call ptr @alloc_skb(i32 noundef 64, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %24, label %5
5: ; preds = %1
%6 = tail call i32 @skb_put(ptr noundef nonnull %3, i32 noundef 64) #2
%7 = getelementptr inbounds %struct.sk_buff, ptr %3, i64 0, i32 3
store ptr %0, ptr %7, align 8, !tbaa !9
%8 = getelementptr inbounds %struct.sk_buff, ptr %3, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = load i32, ptr %3, align 8, !tbaa !13
%11 = tail call i32 @memset(ptr noundef %9, i32 noundef 255, i32 noundef %10) #2
%12 = load ptr, ptr %8, align 8, !tbaa !12
%13 = load i32, ptr @ETH_P_IP, align 4, !tbaa !5
%14 = tail call i32 @htons(i32 noundef %13) #2
store i32 %14, ptr %12, align 4, !tbaa !14
%15 = load i32, ptr %3, align 8, !tbaa !13
%16 = load ptr, ptr %8, align 8, !tbaa !12
%17 = ashr i32 %15, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = add nsw i32 %17, -1
%21 = tail call i32 @memset(ptr noundef %19, i32 noundef 170, i32 noundef %20) #2
%22 = load i32, ptr @HNS_LB_TX_RING, align 4, !tbaa !5
%23 = getelementptr inbounds %struct.sk_buff, ptr %3, i64 0, i32 1
store i32 %22, ptr %23, align 4, !tbaa !16
br label %24
24: ; preds = %1, %5
ret ptr %3
}
declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @htons(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 16}
!10 = !{!"sk_buff", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!10, !6, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"ethhdr", !6, i64 0}
!16 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_enet.c_hns_assemble_skb.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_enet.c_hns_assemble_skb.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
@ETH_P_IP = common local_unnamed_addr global i32 0, align 4
@HNS_LB_TX_RING = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hns_assemble_skb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @hns_assemble_skb(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%3 = tail call ptr @alloc_skb(i32 noundef 64, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %24, label %5
5: ; preds = %1
%6 = tail call i32 @skb_put(ptr noundef nonnull %3, i32 noundef 64) #2
%7 = getelementptr inbounds i8, ptr %3, i64 16
store ptr %0, ptr %7, align 8, !tbaa !10
%8 = getelementptr inbounds i8, ptr %3, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = load i32, ptr %3, align 8, !tbaa !14
%11 = tail call i32 @memset(ptr noundef %9, i32 noundef 255, i32 noundef %10) #2
%12 = load ptr, ptr %8, align 8, !tbaa !13
%13 = load i32, ptr @ETH_P_IP, align 4, !tbaa !6
%14 = tail call i32 @htons(i32 noundef %13) #2
store i32 %14, ptr %12, align 4, !tbaa !15
%15 = load i32, ptr %3, align 8, !tbaa !14
%16 = load ptr, ptr %8, align 8, !tbaa !13
%17 = ashr i32 %15, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = add nsw i32 %17, -1
%21 = tail call i32 @memset(ptr noundef %19, i32 noundef 170, i32 noundef %20) #2
%22 = load i32, ptr @HNS_LB_TX_RING, align 4, !tbaa !6
%23 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %22, ptr %23, align 4, !tbaa !17
br label %24
24: ; preds = %1, %5
ret ptr %3
}
declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @htons(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 16}
!11 = !{!"sk_buff", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!11, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"ethhdr", !7, i64 0}
!17 = !{!11, !7, i64 4}
| linux_drivers_net_ethernet_hisilicon_hns_extr_hns_enet.c_hns_assemble_skb |
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_stp_remote_device.c_scic_sds_stp_remote_device_ready_substate_start_request_handler.c'
source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_stp_remote_device.c_scic_sds_stp_remote_device_ready_substate_start_request_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"
%struct.TYPE_17__ = type { i32, i32, ptr, ptr }
@SCI_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_CMD = dso_local local_unnamed_addr global i32 0, align 4
@SCI_SOFTWARE_SUSPENSION = dso_local local_unnamed_addr global i32 0, align 4
@scic_sds_remote_device_continue_request = dso_local local_unnamed_addr global i64 0, align 8
@SCI_FAILURE_RESET_DEVICE_PARTIAL_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @scic_sds_stp_remote_device_ready_substate_start_request_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @scic_sds_stp_remote_device_ready_substate_start_request_handler(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = tail call i64 %6(ptr noundef nonnull %4, ptr noundef %0, ptr noundef %1) #2
%8 = load i64, ptr @SCI_SUCCESS, align 8, !tbaa !15
%9 = icmp eq i64 %8, %7
br i1 %9, label %10, label %39
10: ; preds = %2
%11 = load i32, ptr %0, align 8, !tbaa !17
%12 = tail call i64 @scic_sds_remote_node_context_start_task(i32 noundef %11, ptr noundef %1) #2
%13 = load i64, ptr @SCI_SUCCESS, align 8, !tbaa !15
%14 = icmp eq i64 %13, %12
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = load ptr, ptr %1, align 8, !tbaa !18
%17 = load ptr, ptr %16, align 8, !tbaa !20
%18 = tail call i64 %17(ptr noundef nonnull %1) #2
%19 = load i64, ptr @SCI_SUCCESS, align 8, !tbaa !15
br label %20
20: ; preds = %15, %10
%21 = phi i64 [ %19, %15 ], [ %13, %10 ]
%22 = phi i64 [ %18, %15 ], [ %12, %10 ]
%23 = icmp eq i64 %22, %21
br i1 %23, label %24, label %36
24: ; preds = %20
%25 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 2
store ptr %1, ptr %25, align 8, !tbaa !23
%26 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 1
%27 = load i32, ptr @SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_CMD, align 4, !tbaa !24
%28 = tail call i32 @sci_base_state_machine_change_state(ptr noundef nonnull %26, i32 noundef %27) #2
%29 = load i32, ptr %0, align 8, !tbaa !17
%30 = load i32, ptr @SCI_SOFTWARE_SUSPENSION, align 4, !tbaa !24
%31 = tail call i32 @scic_sds_remote_node_context_suspend(i32 noundef %29, i32 noundef %30, ptr noundef null, ptr noundef null) #2
%32 = load i32, ptr %0, align 8, !tbaa !17
%33 = load i64, ptr @scic_sds_remote_device_continue_request, align 8, !tbaa !15
%34 = trunc i64 %33 to i32
%35 = tail call i32 @scic_sds_remote_node_context_resume(i32 noundef %32, i32 noundef %34, ptr noundef nonnull %0) #2
br label %36
36: ; preds = %24, %20
%37 = tail call i32 @scic_sds_remote_device_start_request(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %22) #2
%38 = load i64, ptr @SCI_FAILURE_RESET_DEVICE_PARTIAL_SUCCESS, align 8, !tbaa !15
br label %39
39: ; preds = %2, %36
%40 = phi i64 [ %38, %36 ], [ %7, %2 ]
ret i64 %40
}
declare i64 @scic_sds_remote_node_context_start_task(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sci_base_state_machine_change_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @scic_sds_remote_node_context_suspend(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @scic_sds_remote_node_context_resume(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @scic_sds_remote_device_start_request(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"TYPE_17__", !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 = !{!12, !10, i64 0}
!12 = !{!"TYPE_18__", !10, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_13__", !10, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!6, !7, i64 0}
!18 = !{!19, !10, i64 0}
!19 = !{!"TYPE_16__", !10, i64 0}
!20 = !{!21, !10, i64 0}
!21 = !{!"TYPE_15__", !22, i64 0}
!22 = !{!"TYPE_14__", !10, i64 0}
!23 = !{!6, !10, i64 8}
!24 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_stp_remote_device.c_scic_sds_stp_remote_device_ready_substate_start_request_handler.c'
source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_stp_remote_device.c_scic_sds_stp_remote_device_ready_substate_start_request_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SCI_SUCCESS = common local_unnamed_addr global i64 0, align 8
@SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_CMD = common local_unnamed_addr global i32 0, align 4
@SCI_SOFTWARE_SUSPENSION = common local_unnamed_addr global i32 0, align 4
@scic_sds_remote_device_continue_request = common local_unnamed_addr global i64 0, align 8
@SCI_FAILURE_RESET_DEVICE_PARTIAL_SUCCESS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @scic_sds_stp_remote_device_ready_substate_start_request_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @scic_sds_stp_remote_device_ready_substate_start_request_handler(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load ptr, ptr %5, align 8, !tbaa !14
%7 = tail call i64 %6(ptr noundef nonnull %4, ptr noundef %0, ptr noundef %1) #2
%8 = load i64, ptr @SCI_SUCCESS, align 8, !tbaa !16
%9 = icmp eq i64 %8, %7
br i1 %9, label %10, label %39
10: ; preds = %2
%11 = load i32, ptr %0, align 8, !tbaa !18
%12 = tail call i64 @scic_sds_remote_node_context_start_task(i32 noundef %11, ptr noundef %1) #2
%13 = load i64, ptr @SCI_SUCCESS, align 8, !tbaa !16
%14 = icmp eq i64 %13, %12
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = load ptr, ptr %1, align 8, !tbaa !19
%17 = load ptr, ptr %16, align 8, !tbaa !21
%18 = tail call i64 %17(ptr noundef nonnull %1) #2
%19 = load i64, ptr @SCI_SUCCESS, align 8, !tbaa !16
br label %20
20: ; preds = %15, %10
%21 = phi i64 [ %19, %15 ], [ %13, %10 ]
%22 = phi i64 [ %18, %15 ], [ %12, %10 ]
%23 = icmp eq i64 %22, %21
br i1 %23, label %24, label %36
24: ; preds = %20
%25 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %1, ptr %25, align 8, !tbaa !24
%26 = getelementptr inbounds i8, ptr %0, i64 4
%27 = load i32, ptr @SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_CMD, align 4, !tbaa !25
%28 = tail call i32 @sci_base_state_machine_change_state(ptr noundef nonnull %26, i32 noundef %27) #2
%29 = load i32, ptr %0, align 8, !tbaa !18
%30 = load i32, ptr @SCI_SOFTWARE_SUSPENSION, align 4, !tbaa !25
%31 = tail call i32 @scic_sds_remote_node_context_suspend(i32 noundef %29, i32 noundef %30, ptr noundef null, ptr noundef null) #2
%32 = load i32, ptr %0, align 8, !tbaa !18
%33 = load i64, ptr @scic_sds_remote_device_continue_request, align 8, !tbaa !16
%34 = trunc i64 %33 to i32
%35 = tail call i32 @scic_sds_remote_node_context_resume(i32 noundef %32, i32 noundef %34, ptr noundef nonnull %0) #2
br label %36
36: ; preds = %24, %20
%37 = tail call i32 @scic_sds_remote_device_start_request(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %22) #2
%38 = load i64, ptr @SCI_FAILURE_RESET_DEVICE_PARTIAL_SUCCESS, align 8, !tbaa !16
br label %39
39: ; preds = %2, %36
%40 = phi i64 [ %38, %36 ], [ %7, %2 ]
ret i64 %40
}
declare i64 @scic_sds_remote_node_context_start_task(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sci_base_state_machine_change_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @scic_sds_remote_node_context_suspend(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @scic_sds_remote_node_context_resume(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @scic_sds_remote_device_start_request(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"TYPE_17__", !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 = !{!13, !11, i64 0}
!13 = !{!"TYPE_18__", !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_13__", !11, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!7, !8, i64 0}
!19 = !{!20, !11, i64 0}
!20 = !{!"TYPE_16__", !11, i64 0}
!21 = !{!22, !11, i64 0}
!22 = !{!"TYPE_15__", !23, i64 0}
!23 = !{!"TYPE_14__", !11, i64 0}
!24 = !{!7, !11, i64 8}
!25 = !{!8, !8, i64 0}
| freebsd_sys_dev_isci_scil_extr_scic_sds_stp_remote_device.c_scic_sds_stp_remote_device_ready_substate_start_request_handler |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/echoaudio/extr_layla24_dsp.c_switch_asic.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/echoaudio/extr_layla24_dsp.c_switch_asic.c"
target datalayout = "e-m:e-p270:32:32-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.echoaudio = type { ptr, ptr }
@MONITOR_ARRAY_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@ECHOGAIN_MUTED = dso_local local_unnamed_addr global i32 0, align 4
@DSP_FNC_LOAD_LAYLA24_EXTERNAL_ASIC = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @switch_asic], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @switch_asic(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.echoaudio, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq ptr %4, %1
br i1 %5, label %39, label %6
6: ; preds = %2
%7 = load ptr, ptr %0, align 8, !tbaa !10
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = load i32, ptr @MONITOR_ARRAY_SIZE, align 4, !tbaa !14
%10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !14
%11 = tail call ptr @kmemdup(i32 noundef %8, i32 noundef %9, i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %6
%14 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%15 = sub nsw i32 0, %14
br label %39
16: ; preds = %6
%17 = load ptr, ptr %0, align 8, !tbaa !10
%18 = load i32, ptr %17, align 4, !tbaa !11
%19 = load i32, ptr @ECHOGAIN_MUTED, align 4, !tbaa !14
%20 = load i32, ptr @MONITOR_ARRAY_SIZE, align 4, !tbaa !14
%21 = tail call i32 @memset(i32 noundef %18, i32 noundef %19, i32 noundef %20) #2
%22 = load i32, ptr @DSP_FNC_LOAD_LAYLA24_EXTERNAL_ASIC, align 4, !tbaa !14
%23 = tail call i64 @load_asic_generic(ptr noundef nonnull %0, i32 noundef %22, ptr noundef %1) #2
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %33
25: ; preds = %16
%26 = load ptr, ptr %0, align 8, !tbaa !10
%27 = load i32, ptr %26, align 4, !tbaa !11
%28 = load i32, ptr @MONITOR_ARRAY_SIZE, align 4, !tbaa !14
%29 = tail call i32 @memcpy(i32 noundef %27, ptr noundef nonnull %11, i32 noundef %28) #2
%30 = tail call i32 @kfree(ptr noundef nonnull %11) #2
%31 = load i32, ptr @EIO, align 4, !tbaa !14
%32 = sub nsw i32 0, %31
br label %39
33: ; preds = %16
store ptr %1, ptr %3, align 8, !tbaa !5
%34 = load ptr, ptr %0, align 8, !tbaa !10
%35 = load i32, ptr %34, align 4, !tbaa !11
%36 = load i32, ptr @MONITOR_ARRAY_SIZE, align 4, !tbaa !14
%37 = tail call i32 @memcpy(i32 noundef %35, ptr noundef nonnull %11, i32 noundef %36) #2
%38 = tail call i32 @kfree(ptr noundef nonnull %11) #2
br label %39
39: ; preds = %2, %33, %25, %13
%40 = phi i32 [ %32, %25 ], [ %15, %13 ], [ 0, %33 ], [ 0, %2 ]
ret i32 %40
}
declare ptr @kmemdup(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @load_asic_generic(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"echoaudio", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!13, !13, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/echoaudio/extr_layla24_dsp.c_switch_asic.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/echoaudio/extr_layla24_dsp.c_switch_asic.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MONITOR_ARRAY_SIZE = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@ECHOGAIN_MUTED = common local_unnamed_addr global i32 0, align 4
@DSP_FNC_LOAD_LAYLA24_EXTERNAL_ASIC = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @switch_asic], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @switch_asic(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq ptr %4, %1
br i1 %5, label %39, label %6
6: ; preds = %2
%7 = load ptr, ptr %0, align 8, !tbaa !11
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = load i32, ptr @MONITOR_ARRAY_SIZE, align 4, !tbaa !15
%10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !15
%11 = tail call ptr @kmemdup(i32 noundef %8, i32 noundef %9, i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %6
%14 = load i32, ptr @ENOMEM, align 4, !tbaa !15
%15 = sub nsw i32 0, %14
br label %39
16: ; preds = %6
%17 = load ptr, ptr %0, align 8, !tbaa !11
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = load i32, ptr @ECHOGAIN_MUTED, align 4, !tbaa !15
%20 = load i32, ptr @MONITOR_ARRAY_SIZE, align 4, !tbaa !15
%21 = tail call i32 @memset(i32 noundef %18, i32 noundef %19, i32 noundef %20) #2
%22 = load i32, ptr @DSP_FNC_LOAD_LAYLA24_EXTERNAL_ASIC, align 4, !tbaa !15
%23 = tail call i64 @load_asic_generic(ptr noundef nonnull %0, i32 noundef %22, ptr noundef %1) #2
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %33
25: ; preds = %16
%26 = load ptr, ptr %0, align 8, !tbaa !11
%27 = load i32, ptr %26, align 4, !tbaa !12
%28 = load i32, ptr @MONITOR_ARRAY_SIZE, align 4, !tbaa !15
%29 = tail call i32 @memcpy(i32 noundef %27, ptr noundef nonnull %11, i32 noundef %28) #2
%30 = tail call i32 @kfree(ptr noundef nonnull %11) #2
%31 = load i32, ptr @EIO, align 4, !tbaa !15
%32 = sub nsw i32 0, %31
br label %39
33: ; preds = %16
store ptr %1, ptr %3, align 8, !tbaa !6
%34 = load ptr, ptr %0, align 8, !tbaa !11
%35 = load i32, ptr %34, align 4, !tbaa !12
%36 = load i32, ptr @MONITOR_ARRAY_SIZE, align 4, !tbaa !15
%37 = tail call i32 @memcpy(i32 noundef %35, ptr noundef nonnull %11, i32 noundef %36) #2
%38 = tail call i32 @kfree(ptr noundef nonnull %11) #2
br label %39
39: ; preds = %2, %33, %25, %13
%40 = phi i32 [ %32, %25 ], [ %15, %13 ], [ 0, %33 ], [ 0, %2 ]
ret i32 %40
}
declare ptr @kmemdup(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @load_asic_generic(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"echoaudio", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!14, !14, i64 0}
| fastsocket_kernel_sound_pci_echoaudio_extr_layla24_dsp.c_switch_asic |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov5640.c_ov5640_enum_frame_size.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov5640.c_ov5640_enum_frame_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.v4l2_subdev_frame_size_enum = type { i64, i64, i32, i32, i32, i32 }
%struct.TYPE_2__ = type { i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@OV5640_NUM_MODES = dso_local local_unnamed_addr global i64 0, align 8
@ov5640_mode_data = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ov5640_enum_frame_size], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal i32 @ov5640_enum_frame_size(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture noundef %2) #0 {
%4 = load i64, ptr %2, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i32, ptr @EINVAL, align 4, !tbaa !11
%8 = sub nsw i32 0, %7
br label %23
9: ; preds = %3
%10 = getelementptr inbounds %struct.v4l2_subdev_frame_size_enum, ptr %2, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !12
%12 = load i64, ptr @OV5640_NUM_MODES, align 8, !tbaa !13
%13 = icmp ult i64 %11, %12
br i1 %13, label %17, label %14
14: ; preds = %9
%15 = load i32, ptr @EINVAL, align 4, !tbaa !11
%16 = sub nsw i32 0, %15
br label %23
17: ; preds = %9
%18 = load ptr, ptr @ov5640_mode_data, align 8, !tbaa !14
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %11
%20 = getelementptr inbounds %struct.v4l2_subdev_frame_size_enum, ptr %2, i64 0, i32 2
%21 = load <2 x i32>, ptr %19, align 4, !tbaa !11
%22 = shufflevector <2 x i32> %21, <2 x i32> poison, <4 x i32> <i32 0, i32 0, i32 1, i32 1>
store <4 x i32> %22, ptr %20, align 8, !tbaa !11
br label %23
23: ; preds = %17, %14, %6
%24 = phi i32 [ %8, %6 ], [ %16, %14 ], [ 0, %17 ]
ret i32 %24
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"v4l2_subdev_frame_size_enum", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov5640.c_ov5640_enum_frame_size.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov5640.c_ov5640_enum_frame_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32, i32 }
@EINVAL = common local_unnamed_addr global i32 0, align 4
@OV5640_NUM_MODES = common local_unnamed_addr global i64 0, align 8
@ov5640_mode_data = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @ov5640_enum_frame_size], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @ov5640_enum_frame_size(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture noundef %2) #0 {
%4 = load i64, ptr %2, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i32, ptr @EINVAL, align 4, !tbaa !12
%8 = sub nsw i32 0, %7
br label %23
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %2, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = load i64, ptr @OV5640_NUM_MODES, align 8, !tbaa !14
%13 = icmp ult i64 %11, %12
br i1 %13, label %17, label %14
14: ; preds = %9
%15 = load i32, ptr @EINVAL, align 4, !tbaa !12
%16 = sub nsw i32 0, %15
br label %23
17: ; preds = %9
%18 = load ptr, ptr @ov5640_mode_data, align 8, !tbaa !15
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %11
%20 = getelementptr inbounds i8, ptr %2, i64 16
%21 = load <2 x i32>, ptr %19, align 4, !tbaa !12
%22 = shufflevector <2 x i32> %21, <2 x i32> poison, <4 x i32> <i32 0, i32 0, i32 1, i32 1>
store <4 x i32> %22, ptr %20, align 8, !tbaa !12
br label %23
23: ; preds = %17, %14, %6
%24 = phi i32 [ %8, %6 ], [ %16, %14 ], [ 0, %17 ]
ret i32 %24
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"v4l2_subdev_frame_size_enum", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !8, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !9, i64 0}
| linux_drivers_media_i2c_extr_ov5640.c_ov5640_enum_frame_size |
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm_adsp.c_wm_adsp_compr_get_caps.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm_adsp.c_wm_adsp_compr_get_caps.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, i32, ptr }
%struct.snd_compr_caps = type { i32, i32, i32, i32, i32, i32, ptr }
%struct.TYPE_7__ = type { i32 }
@wm_adsp_fw = dso_local local_unnamed_addr global ptr null, align 8
@WM_ADSP_MIN_FRAGMENT_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@WM_ADSP_MAX_FRAGMENT_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@WM_ADSP_MIN_FRAGMENTS = dso_local local_unnamed_addr global i32 0, align 4
@WM_ADSP_MAX_FRAGMENTS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local noundef i32 @wm_adsp_compr_get_caps(ptr nocapture noundef readonly %0, ptr nocapture 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 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load i32, ptr %5, align 4, !tbaa !14
%7 = load ptr, ptr @wm_adsp_fw, align 8, !tbaa !17
%8 = sext i32 %6 to i64
%9 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 %8, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !18
%11 = icmp eq ptr %10, null
br i1 %11, label %43, label %12
12: ; preds = %2
%13 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 %8
%14 = load i32, ptr %13, align 8, !tbaa !20
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %30
16: ; preds = %12
%17 = getelementptr inbounds %struct.snd_compr_caps, ptr %1, i64 0, i32 6
%18 = load ptr, ptr %17, align 8, !tbaa !21
br label %19
19: ; preds = %16, %19
%20 = phi i64 [ 0, %16 ], [ %24, %19 ]
%21 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i64 %20
%22 = load i32, ptr %21, align 4, !tbaa !23
%23 = getelementptr inbounds i32, ptr %18, i64 %20
store i32 %22, ptr %23, align 4, !tbaa !25
%24 = add nuw nsw i64 %20, 1
%25 = load i32, ptr %13, align 8, !tbaa !20
%26 = sext i32 %25 to i64
%27 = icmp slt i64 %24, %26
br i1 %27, label %19, label %28, !llvm.loop !26
28: ; preds = %19
%29 = trunc i64 %24 to i32
br label %30
30: ; preds = %28, %12
%31 = phi i32 [ 0, %12 ], [ %29, %28 ]
store i32 %31, ptr %1, align 8, !tbaa !28
%32 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 %8, i32 1
%33 = load i32, ptr %32, align 4, !tbaa !29
%34 = getelementptr inbounds %struct.snd_compr_caps, ptr %1, i64 0, i32 5
store i32 %33, ptr %34, align 4, !tbaa !30
%35 = load i32, ptr @WM_ADSP_MIN_FRAGMENT_SIZE, align 4, !tbaa !25
%36 = getelementptr inbounds %struct.snd_compr_caps, ptr %1, i64 0, i32 4
store i32 %35, ptr %36, align 8, !tbaa !31
%37 = load i32, ptr @WM_ADSP_MAX_FRAGMENT_SIZE, align 4, !tbaa !25
%38 = getelementptr inbounds %struct.snd_compr_caps, ptr %1, i64 0, i32 3
store i32 %37, ptr %38, align 4, !tbaa !32
%39 = load i32, ptr @WM_ADSP_MIN_FRAGMENTS, align 4, !tbaa !25
%40 = getelementptr inbounds %struct.snd_compr_caps, ptr %1, i64 0, i32 2
store i32 %39, ptr %40, align 8, !tbaa !33
%41 = load i32, ptr @WM_ADSP_MAX_FRAGMENTS, align 4, !tbaa !25
%42 = getelementptr inbounds %struct.snd_compr_caps, ptr %1, i64 0, i32 1
store i32 %41, ptr %42, align 4, !tbaa !34
br label %43
43: ; preds = %30, %2
ret i32 0
}
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, !7, i64 0}
!6 = !{!"snd_compr_stream", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"wm_adsp_compr", !7, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_6__", !16, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !7, i64 8}
!19 = !{!"TYPE_8__", !16, i64 0, !16, i64 4, !7, i64 8}
!20 = !{!19, !16, i64 0}
!21 = !{!22, !7, i64 24}
!22 = !{!"snd_compr_caps", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !7, i64 24}
!23 = !{!24, !16, i64 0}
!24 = !{!"TYPE_7__", !16, i64 0}
!25 = !{!16, !16, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!22, !16, i64 0}
!29 = !{!19, !16, i64 4}
!30 = !{!22, !16, i64 20}
!31 = !{!22, !16, i64 16}
!32 = !{!22, !16, i64 12}
!33 = !{!22, !16, i64 8}
!34 = !{!22, !16, i64 4}
| ; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm_adsp.c_wm_adsp_compr_get_caps.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm_adsp.c_wm_adsp_compr_get_caps.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { i32, i32, ptr }
%struct.TYPE_7__ = type { i32 }
@wm_adsp_fw = common local_unnamed_addr global ptr null, align 8
@WM_ADSP_MIN_FRAGMENT_SIZE = common local_unnamed_addr global i32 0, align 4
@WM_ADSP_MAX_FRAGMENT_SIZE = common local_unnamed_addr global i32 0, align 4
@WM_ADSP_MIN_FRAGMENTS = common local_unnamed_addr global i32 0, align 4
@WM_ADSP_MAX_FRAGMENTS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync)
define noundef i32 @wm_adsp_compr_get_caps(ptr nocapture noundef readonly %0, ptr nocapture 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 = load ptr, ptr %4, align 8, !tbaa !13
%6 = load i32, ptr %5, align 4, !tbaa !15
%7 = load ptr, ptr @wm_adsp_fw, align 8, !tbaa !18
%8 = sext i32 %6 to i64
%9 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 %8, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !19
%11 = icmp eq ptr %10, null
br i1 %11, label %43, label %12
12: ; preds = %2
%13 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 %8
%14 = load i32, ptr %13, align 8, !tbaa !21
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %30
16: ; preds = %12
%17 = getelementptr inbounds i8, ptr %1, i64 24
%18 = load ptr, ptr %17, align 8, !tbaa !22
br label %19
19: ; preds = %16, %19
%20 = phi i64 [ 0, %16 ], [ %24, %19 ]
%21 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i64 %20
%22 = load i32, ptr %21, align 4, !tbaa !24
%23 = getelementptr inbounds i32, ptr %18, i64 %20
store i32 %22, ptr %23, align 4, !tbaa !26
%24 = add nuw nsw i64 %20, 1
%25 = load i32, ptr %13, align 8, !tbaa !21
%26 = sext i32 %25 to i64
%27 = icmp slt i64 %24, %26
br i1 %27, label %19, label %28, !llvm.loop !27
28: ; preds = %19
%29 = trunc nuw nsw i64 %24 to i32
br label %30
30: ; preds = %28, %12
%31 = phi i32 [ 0, %12 ], [ %29, %28 ]
store i32 %31, ptr %1, align 8, !tbaa !29
%32 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 %8, i32 1
%33 = load i32, ptr %32, align 4, !tbaa !30
%34 = getelementptr inbounds i8, ptr %1, i64 20
store i32 %33, ptr %34, align 4, !tbaa !31
%35 = load i32, ptr @WM_ADSP_MIN_FRAGMENT_SIZE, align 4, !tbaa !26
%36 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %35, ptr %36, align 8, !tbaa !32
%37 = load i32, ptr @WM_ADSP_MAX_FRAGMENT_SIZE, align 4, !tbaa !26
%38 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %37, ptr %38, align 4, !tbaa !33
%39 = load i32, ptr @WM_ADSP_MIN_FRAGMENTS, align 4, !tbaa !26
%40 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %39, ptr %40, align 8, !tbaa !34
%41 = load i32, ptr @WM_ADSP_MAX_FRAGMENTS, align 4, !tbaa !26
%42 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %41, ptr %42, align 4, !tbaa !35
br label %43
43: ; preds = %30, %2
ret i32 0
}
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, !8, i64 0}
!7 = !{!"snd_compr_stream", !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}
!13 = !{!14, !8, i64 0}
!14 = !{!"wm_adsp_compr", !8, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"TYPE_6__", !17, i64 0}
!17 = !{!"int", !9, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!20, !8, i64 8}
!20 = !{!"TYPE_8__", !17, i64 0, !17, i64 4, !8, i64 8}
!21 = !{!20, !17, i64 0}
!22 = !{!23, !8, i64 24}
!23 = !{!"snd_compr_caps", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !8, i64 24}
!24 = !{!25, !17, i64 0}
!25 = !{!"TYPE_7__", !17, i64 0}
!26 = !{!17, !17, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!23, !17, i64 0}
!30 = !{!20, !17, i64 4}
!31 = !{!23, !17, i64 20}
!32 = !{!23, !17, i64 16}
!33 = !{!23, !17, i64 12}
!34 = !{!23, !17, i64 8}
!35 = !{!23, !17, i64 4}
| linux_sound_soc_codecs_extr_wm_adsp.c_wm_adsp_compr_get_caps |
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-wiimote-core.c_handler_generic_K.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-wiimote-core.c_handler_generic_K.c"
target datalayout = "e-m:e-p270:32:32-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 @handler_generic_K], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @handler_generic_K(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @handler_keys(ptr noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @handler_keys(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/drivers/hid/extr_hid-wiimote-core.c_handler_generic_K.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-wiimote-core.c_handler_generic_K.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 @handler_generic_K], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @handler_generic_K(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @handler_keys(ptr noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @handler_keys(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_drivers_hid_extr_hid-wiimote-core.c_handler_generic_K |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libfdt/extr_fdt_rw.c_fdt_blocks_misordered_.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libfdt/extr_fdt_rw.c_fdt_blocks_misordered_.c"
target datalayout = "e-m:e-p270:32:32-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 @fdt_blocks_misordered_], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fdt_blocks_misordered_(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 @fdt_off_mem_rsvmap(ptr noundef %0) #2
%5 = tail call i64 @FDT_ALIGN(i32 noundef 4, i32 noundef 8) #2
%6 = icmp slt i64 %4, %5
br i1 %6, label %26, label %7
7: ; preds = %3
%8 = tail call i64 @fdt_off_dt_struct(ptr noundef %0) #2
%9 = tail call i64 @fdt_off_mem_rsvmap(ptr noundef %0) #2
%10 = sext i32 %1 to i64
%11 = add nsw i64 %9, %10
%12 = icmp slt i64 %8, %11
br i1 %12, label %26, label %13
13: ; preds = %7
%14 = tail call i64 @fdt_off_dt_strings(ptr noundef %0) #2
%15 = tail call i64 @fdt_off_dt_struct(ptr noundef %0) #2
%16 = sext i32 %2 to i64
%17 = add nsw i64 %15, %16
%18 = icmp slt i64 %14, %17
br i1 %18, label %26, label %19
19: ; preds = %13
%20 = tail call i64 @fdt_totalsize(ptr noundef %0) #2
%21 = tail call i64 @fdt_off_dt_strings(ptr noundef %0) #2
%22 = tail call i64 @fdt_size_dt_strings(ptr noundef %0) #2
%23 = add nsw i64 %22, %21
%24 = icmp slt i64 %20, %23
%25 = zext i1 %24 to i32
br label %26
26: ; preds = %19, %13, %7, %3
%27 = phi i32 [ 1, %13 ], [ 1, %7 ], [ 1, %3 ], [ %25, %19 ]
ret i32 %27
}
declare i64 @fdt_off_mem_rsvmap(ptr noundef) local_unnamed_addr #1
declare i64 @FDT_ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @fdt_off_dt_struct(ptr noundef) local_unnamed_addr #1
declare i64 @fdt_off_dt_strings(ptr noundef) local_unnamed_addr #1
declare i64 @fdt_totalsize(ptr noundef) local_unnamed_addr #1
declare i64 @fdt_size_dt_strings(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/libfdt/extr_fdt_rw.c_fdt_blocks_misordered_.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libfdt/extr_fdt_rw.c_fdt_blocks_misordered_.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 @fdt_blocks_misordered_], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @fdt_blocks_misordered_(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 @fdt_off_mem_rsvmap(ptr noundef %0) #2
%5 = tail call i64 @FDT_ALIGN(i32 noundef 4, i32 noundef 8) #2
%6 = icmp slt i64 %4, %5
br i1 %6, label %26, label %7
7: ; preds = %3
%8 = tail call i64 @fdt_off_dt_struct(ptr noundef %0) #2
%9 = tail call i64 @fdt_off_mem_rsvmap(ptr noundef %0) #2
%10 = sext i32 %1 to i64
%11 = add nsw i64 %9, %10
%12 = icmp slt i64 %8, %11
br i1 %12, label %26, label %13
13: ; preds = %7
%14 = tail call i64 @fdt_off_dt_strings(ptr noundef %0) #2
%15 = tail call i64 @fdt_off_dt_struct(ptr noundef %0) #2
%16 = sext i32 %2 to i64
%17 = add nsw i64 %15, %16
%18 = icmp slt i64 %14, %17
br i1 %18, label %26, label %19
19: ; preds = %13
%20 = tail call i64 @fdt_totalsize(ptr noundef %0) #2
%21 = tail call i64 @fdt_off_dt_strings(ptr noundef %0) #2
%22 = tail call i64 @fdt_size_dt_strings(ptr noundef %0) #2
%23 = add nsw i64 %22, %21
%24 = icmp slt i64 %20, %23
%25 = zext i1 %24 to i32
br label %26
26: ; preds = %19, %13, %7, %3
%27 = phi i32 [ 1, %13 ], [ 1, %7 ], [ 1, %3 ], [ %25, %19 ]
ret i32 %27
}
declare i64 @fdt_off_mem_rsvmap(ptr noundef) local_unnamed_addr #1
declare i64 @FDT_ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @fdt_off_dt_struct(ptr noundef) local_unnamed_addr #1
declare i64 @fdt_off_dt_strings(ptr noundef) local_unnamed_addr #1
declare i64 @fdt_totalsize(ptr noundef) local_unnamed_addr #1
declare i64 @fdt_size_dt_strings(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_contrib_libfdt_extr_fdt_rw.c_fdt_blocks_misordered_ |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svnrdump/extr_load_editor.c_close_node.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svnrdump/extr_load_editor.c_close_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.node_baton = type { i32, ptr, i64, i32 }
%struct.TYPE_8__ = type { ptr, ptr, ptr }
%struct.svn_delta_editor_t = type { ptr, ptr, ptr }
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @close_node], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @close_node(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.node_baton, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load ptr, ptr %5, align 8, !tbaa !14
%7 = load ptr, ptr %3, align 8, !tbaa !16
%8 = getelementptr inbounds %struct.node_baton, ptr %0, i64 0, i32 3
%9 = load i32, ptr %8, align 8, !tbaa !17
%10 = tail call ptr @apr_hash_first(ptr noundef %7, i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %40, label %12
12: ; preds = %1
%13 = getelementptr inbounds %struct.svn_delta_editor_t, ptr %6, i64 0, i32 1
%14 = getelementptr inbounds %struct.svn_delta_editor_t, ptr %6, i64 0, i32 2
%15 = getelementptr inbounds %struct.node_baton, ptr %0, i64 0, i32 2
br label %16
16: ; preds = %12, %37
%17 = phi ptr [ %10, %12 ], [ %38, %37 ]
%18 = tail call ptr @apr_hash_this_key(ptr noundef nonnull %17) #2
%19 = tail call ptr @apr_hash_this_val(ptr noundef nonnull %17) #2
%20 = load i32, ptr %0, align 8, !tbaa !18
switch i32 %20, label %37 [
i32 128, label %21
i32 129, label %26
]
21: ; preds = %16
%22 = load ptr, ptr %14, align 8, !tbaa !19
%23 = load i64, ptr %15, align 8, !tbaa !21
%24 = load i32, ptr %19, align 4, !tbaa !22
%25 = tail call i32 %22(i64 noundef %23, ptr noundef %18, i32 noundef %24, ptr noundef %7) #2
br label %34
26: ; preds = %16
%27 = load ptr, ptr %13, align 8, !tbaa !24
%28 = load ptr, ptr %2, align 8, !tbaa !5
%29 = getelementptr inbounds %struct.TYPE_8__, ptr %28, i64 0, i32 1
%30 = load ptr, ptr %29, align 8, !tbaa !25
%31 = load i32, ptr %30, align 4, !tbaa !26
%32 = load i32, ptr %19, align 4, !tbaa !22
%33 = tail call i32 %27(i32 noundef %31, ptr noundef %18, i32 noundef %32, ptr noundef %7) #2
br label %34
34: ; preds = %21, %26
%35 = phi i32 [ %33, %26 ], [ %25, %21 ]
%36 = tail call i32 @SVN_ERR(i32 noundef %35) #2
br label %37
37: ; preds = %34, %16
%38 = tail call ptr @apr_hash_next(ptr noundef nonnull %17) #2
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %16, !llvm.loop !28
40: ; preds = %37, %1
%41 = load i32, ptr %0, align 8, !tbaa !18
%42 = icmp eq i32 %41, 128
br i1 %42, label %43, label %53
43: ; preds = %40
%44 = getelementptr inbounds %struct.node_baton, ptr %0, i64 0, i32 2
%45 = load i64, ptr %44, align 8, !tbaa !21
%46 = icmp eq i64 %45, 0
br i1 %46, label %53, label %47
47: ; preds = %43
%48 = load ptr, ptr %6, align 8, !tbaa !30
%49 = load ptr, ptr %2, align 8, !tbaa !5
%50 = load ptr, ptr %49, align 8, !tbaa !16
%51 = tail call i32 %48(i64 noundef %45, ptr noundef null, ptr noundef %50) #2
%52 = tail call i32 @SVN_ERR(i32 noundef %51) #2
br label %53
53: ; preds = %47, %43, %40
%54 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !31
ret ptr %54
}
declare ptr @apr_hash_first(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @apr_hash_this_key(ptr noundef) local_unnamed_addr #1
declare ptr @apr_hash_this_val(ptr noundef) local_unnamed_addr #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
declare ptr @apr_hash_next(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"node_baton", !7, i64 0, !10, i64 8, !11, 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 = !{!"long", !8, i64 0}
!12 = !{!13, !10, i64 16}
!13 = !{!"TYPE_8__", !10, i64 0, !10, i64 8, !10, i64 16}
!14 = !{!15, !10, i64 0}
!15 = !{!"TYPE_6__", !10, i64 0}
!16 = !{!13, !10, i64 0}
!17 = !{!6, !7, i64 24}
!18 = !{!6, !7, i64 0}
!19 = !{!20, !10, i64 16}
!20 = !{!"svn_delta_editor_t", !10, i64 0, !10, i64 8, !10, i64 16}
!21 = !{!6, !11, i64 16}
!22 = !{!23, !7, i64 0}
!23 = !{!"TYPE_9__", !7, i64 0}
!24 = !{!20, !10, i64 8}
!25 = !{!13, !10, i64 8}
!26 = !{!27, !7, i64 0}
!27 = !{!"TYPE_7__", !7, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!20, !10, i64 0}
!31 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svnrdump/extr_load_editor.c_close_node.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svnrdump/extr_load_editor.c_close_node.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @close_node], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @close_node(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = load ptr, ptr %5, align 8, !tbaa !15
%7 = load ptr, ptr %3, align 8, !tbaa !17
%8 = getelementptr inbounds i8, ptr %0, i64 24
%9 = load i32, ptr %8, align 8, !tbaa !18
%10 = tail call ptr @apr_hash_first(ptr noundef %7, i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %40, label %12
12: ; preds = %1
%13 = getelementptr inbounds i8, ptr %6, i64 8
%14 = getelementptr inbounds i8, ptr %6, i64 16
%15 = getelementptr inbounds i8, ptr %0, i64 16
br label %16
16: ; preds = %12, %37
%17 = phi ptr [ %10, %12 ], [ %38, %37 ]
%18 = tail call ptr @apr_hash_this_key(ptr noundef nonnull %17) #2
%19 = tail call ptr @apr_hash_this_val(ptr noundef nonnull %17) #2
%20 = load i32, ptr %0, align 8, !tbaa !19
switch i32 %20, label %37 [
i32 128, label %21
i32 129, label %26
]
21: ; preds = %16
%22 = load ptr, ptr %14, align 8, !tbaa !20
%23 = load i64, ptr %15, align 8, !tbaa !22
%24 = load i32, ptr %19, align 4, !tbaa !23
%25 = tail call i32 %22(i64 noundef %23, ptr noundef %18, i32 noundef %24, ptr noundef %7) #2
br label %34
26: ; preds = %16
%27 = load ptr, ptr %13, align 8, !tbaa !25
%28 = load ptr, ptr %2, align 8, !tbaa !6
%29 = getelementptr inbounds i8, ptr %28, i64 8
%30 = load ptr, ptr %29, align 8, !tbaa !26
%31 = load i32, ptr %30, align 4, !tbaa !27
%32 = load i32, ptr %19, align 4, !tbaa !23
%33 = tail call i32 %27(i32 noundef %31, ptr noundef %18, i32 noundef %32, ptr noundef %7) #2
br label %34
34: ; preds = %21, %26
%35 = phi i32 [ %33, %26 ], [ %25, %21 ]
%36 = tail call i32 @SVN_ERR(i32 noundef %35) #2
br label %37
37: ; preds = %34, %16
%38 = tail call ptr @apr_hash_next(ptr noundef nonnull %17) #2
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %16, !llvm.loop !29
40: ; preds = %37, %1
%41 = load i32, ptr %0, align 8, !tbaa !19
%42 = icmp eq i32 %41, 128
br i1 %42, label %43, label %53
43: ; preds = %40
%44 = getelementptr inbounds i8, ptr %0, i64 16
%45 = load i64, ptr %44, align 8, !tbaa !22
%46 = icmp eq i64 %45, 0
br i1 %46, label %53, label %47
47: ; preds = %43
%48 = load ptr, ptr %6, align 8, !tbaa !31
%49 = load ptr, ptr %2, align 8, !tbaa !6
%50 = load ptr, ptr %49, align 8, !tbaa !17
%51 = tail call i32 %48(i64 noundef %45, ptr noundef null, ptr noundef %50) #2
%52 = tail call i32 @SVN_ERR(i32 noundef %51) #2
br label %53
53: ; preds = %47, %43, %40
%54 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !32
ret ptr %54
}
declare ptr @apr_hash_first(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @apr_hash_this_key(ptr noundef) local_unnamed_addr #1
declare ptr @apr_hash_this_val(ptr noundef) local_unnamed_addr #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
declare ptr @apr_hash_next(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"node_baton", !8, i64 0, !11, i64 8, !12, 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 = !{!"long", !9, i64 0}
!13 = !{!14, !11, i64 16}
!14 = !{!"TYPE_8__", !11, i64 0, !11, i64 8, !11, i64 16}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_6__", !11, i64 0}
!17 = !{!14, !11, i64 0}
!18 = !{!7, !8, i64 24}
!19 = !{!7, !8, i64 0}
!20 = !{!21, !11, i64 16}
!21 = !{!"svn_delta_editor_t", !11, i64 0, !11, i64 8, !11, i64 16}
!22 = !{!7, !12, i64 16}
!23 = !{!24, !8, i64 0}
!24 = !{!"TYPE_9__", !8, i64 0}
!25 = !{!21, !11, i64 8}
!26 = !{!14, !11, i64 8}
!27 = !{!28, !8, i64 0}
!28 = !{!"TYPE_7__", !8, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!21, !11, i64 0}
!32 = !{!11, !11, i64 0}
| freebsd_contrib_subversion_subversion_svnrdump_extr_load_editor.c_close_node |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ths8200.c_htotal.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ths8200.c_htotal.c"
target datalayout = "e-m:e-p270:32:32-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 @htotal], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @htotal(ptr noundef %0) #0 {
%2 = tail call i32 @V4L2_DV_BT_FRAME_WIDTH(ptr noundef %0) #2
ret i32 %2
}
declare i32 @V4L2_DV_BT_FRAME_WIDTH(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ths8200.c_htotal.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ths8200.c_htotal.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 @htotal], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @htotal(ptr noundef %0) #0 {
%2 = tail call i32 @V4L2_DV_BT_FRAME_WIDTH(ptr noundef %0) #2
ret i32 %2
}
declare i32 @V4L2_DV_BT_FRAME_WIDTH(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_media_i2c_extr_ths8200.c_htotal |
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpio-lp87565.c_lp87565_gpio_request.c'
source_filename = "AnghaBench/linux/drivers/gpio/extr_gpio-lp87565.c_lp87565_gpio_request.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LP87565_REG_PIN_FUNCTION = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lp87565_gpio_request], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @lp87565_gpio_request(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @gpiochip_get_data(ptr noundef %0) #2
%4 = icmp ult i32 %1, 3
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = load i32, ptr %3, align 4, !tbaa !5
%7 = load i32, ptr @LP87565_REG_PIN_FUNCTION, align 4, !tbaa !10
%8 = tail call i32 @BIT(i32 noundef %1) #2
%9 = tail call i32 @BIT(i32 noundef %1) #2
%10 = tail call i32 @regmap_update_bits(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) #2
br label %14
11: ; preds = %2
%12 = load i32, ptr @EINVAL, align 4, !tbaa !10
%13 = sub nsw i32 0, %12
br label %14
14: ; preds = %5, %11
%15 = phi i32 [ %13, %11 ], [ %10, %5 ]
ret i32 %15
}
declare ptr @gpiochip_get_data(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BIT(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 = !{!"lp87565_gpio", !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/gpio/extr_gpio-lp87565.c_lp87565_gpio_request.c'
source_filename = "AnghaBench/linux/drivers/gpio/extr_gpio-lp87565.c_lp87565_gpio_request.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LP87565_REG_PIN_FUNCTION = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lp87565_gpio_request], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @lp87565_gpio_request(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @gpiochip_get_data(ptr noundef %0) #2
%4 = icmp ult i32 %1, 3
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = load i32, ptr %3, align 4, !tbaa !6
%7 = load i32, ptr @LP87565_REG_PIN_FUNCTION, align 4, !tbaa !11
%8 = tail call i32 @BIT(i32 noundef %1) #2
%9 = tail call i32 @BIT(i32 noundef %1) #2
%10 = tail call i32 @regmap_update_bits(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) #2
br label %14
11: ; preds = %2
%12 = load i32, ptr @EINVAL, align 4, !tbaa !11
%13 = sub nsw i32 0, %12
br label %14
14: ; preds = %5, %11
%15 = phi i32 [ %13, %11 ], [ %10, %5 ]
ret i32 %15
}
declare ptr @gpiochip_get_data(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BIT(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 = !{!"lp87565_gpio", !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_gpio_extr_gpio-lp87565.c_lp87565_gpio_request |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/ttpci/extr_av7110_av.c_play_video_cb.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/ttpci/extr_av7110_av.c_play_video_cb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.av7110 = type { i32, i32 }
@.str = private unnamed_addr constant [13 x i8] c"av7110:%p, \0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @play_video_cb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @play_video_cb(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @dprintk(i32 noundef 2, ptr noundef nonnull @.str, ptr noundef %2) #2
%5 = getelementptr inbounds i32, ptr %0, i64 3
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = and i32 %6, 224
%8 = icmp eq i32 %7, 224
br i1 %8, label %9, label %13
9: ; preds = %3
%10 = tail call i32 @get_video_format(ptr noundef %2, ptr noundef nonnull %0, i32 noundef %1) #2
%11 = getelementptr inbounds %struct.av7110, ptr %2, i64 0, i32 1
%12 = tail call i32 @aux_ring_buffer_write(ptr noundef nonnull %11, ptr noundef nonnull %0, i32 noundef %1) #2
br label %15
13: ; preds = %3
%14 = tail call i32 @aux_ring_buffer_write(ptr noundef %2, ptr noundef nonnull %0, i32 noundef %1) #2
br label %15
15: ; preds = %13, %9
ret void
}
declare i32 @dprintk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @get_video_format(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @aux_ring_buffer_write(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/media/dvb/ttpci/extr_av7110_av.c_play_video_cb.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/ttpci/extr_av7110_av.c_play_video_cb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [13 x i8] c"av7110:%p, \0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @play_video_cb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @play_video_cb(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @dprintk(i32 noundef 2, ptr noundef nonnull @.str, ptr noundef %2) #2
%5 = getelementptr inbounds i8, ptr %0, i64 12
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = and i32 %6, 224
%8 = icmp eq i32 %7, 224
br i1 %8, label %9, label %13
9: ; preds = %3
%10 = tail call i32 @get_video_format(ptr noundef %2, ptr noundef nonnull %0, i32 noundef %1) #2
%11 = getelementptr inbounds i8, ptr %2, i64 4
%12 = tail call i32 @aux_ring_buffer_write(ptr noundef nonnull %11, ptr noundef nonnull %0, i32 noundef %1) #2
br label %15
13: ; preds = %3
%14 = tail call i32 @aux_ring_buffer_write(ptr noundef %2, ptr noundef nonnull %0, i32 noundef %1) #2
br label %15
15: ; preds = %13, %9
ret void
}
declare i32 @dprintk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @get_video_format(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @aux_ring_buffer_write(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_media_dvb_ttpci_extr_av7110_av.c_play_video_cb |
; ModuleID = 'AnghaBench/linux/sound/core/seq/oss/extr_seq_oss_timer.h_snd_seq_oss_timer_cur_tick.c'
source_filename = "AnghaBench/linux/sound/core/seq/oss/extr_seq_oss_timer.h_snd_seq_oss_timer_cur_tick.c"
target datalayout = "e-m:e-p270:32:32-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_seq_oss_timer_cur_tick], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @snd_seq_oss_timer_cur_tick(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
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 = !{!"seq_oss_timer", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/sound/core/seq/oss/extr_seq_oss_timer.h_snd_seq_oss_timer_cur_tick.c'
source_filename = "AnghaBench/linux/sound/core/seq/oss/extr_seq_oss_timer.h_snd_seq_oss_timer_cur_tick.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_seq_oss_timer_cur_tick], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i32 @snd_seq_oss_timer_cur_tick(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
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 = !{!"seq_oss_timer", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_sound_core_seq_oss_extr_seq_oss_timer.h_snd_seq_oss_timer_cur_tick |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/doro67/regular/extr_regular.c_matrix_scan_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/doro67/regular/extr_regular.c_matrix_scan_kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @matrix_scan_kb() local_unnamed_addr #0 {
%1 = tail call i32 (...) @matrix_scan_user() #2
ret void
}
declare i32 @matrix_scan_user(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/doro67/regular/extr_regular.c_matrix_scan_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/doro67/regular/extr_regular.c_matrix_scan_kb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @matrix_scan_kb() local_unnamed_addr #0 {
%1 = tail call i32 @matrix_scan_user() #2
ret void
}
declare i32 @matrix_scan_user(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| qmk_firmware_keyboards_doro67_regular_extr_regular.c_matrix_scan_kb |
; ModuleID = 'AnghaBench/freebsd/contrib/libgnuregex/extr_regcomp.c_lower_subexps.c'
source_filename = "AnghaBench/freebsd/contrib/libgnuregex/extr_regcomp.c_lower_subexps.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
%struct.TYPE_7__ = type { ptr, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i64 }
@REG_NOERROR = dso_local local_unnamed_addr global i32 0, align 4
@SUBEXP = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @lower_subexps], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @lower_subexps(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @REG_NOERROR, align 4, !tbaa !5
store i32 %4, ptr %3, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !9
%7 = icmp eq ptr %6, null
br i1 %7, label %17, label %8
8: ; preds = %2
%9 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 1
%10 = load i64, ptr %9, align 8, !tbaa !12
%11 = load i64, ptr @SUBEXP, align 8, !tbaa !16
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %8
%14 = call ptr @lower_subexp(ptr noundef nonnull %3, ptr noundef %0, ptr noundef nonnull %6) #3
store ptr %14, ptr %5, align 8, !tbaa !9
%15 = icmp eq ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %13
store ptr %1, ptr %14, align 8, !tbaa !17
br label %17
17: ; preds = %13, %16, %8, %2
%18 = load ptr, ptr %1, align 8, !tbaa !18
%19 = icmp eq ptr %18, null
br i1 %19, label %29, label %20
20: ; preds = %17
%21 = getelementptr inbounds %struct.TYPE_7__, ptr %18, i64 0, i32 1
%22 = load i64, ptr %21, align 8, !tbaa !12
%23 = load i64, ptr @SUBEXP, align 8, !tbaa !16
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %29
25: ; preds = %20
%26 = call ptr @lower_subexp(ptr noundef nonnull %3, ptr noundef %0, ptr noundef nonnull %18) #3
store ptr %26, ptr %1, align 8, !tbaa !18
%27 = icmp eq ptr %26, null
br i1 %27, label %29, label %28
28: ; preds = %25
store ptr %1, ptr %26, align 8, !tbaa !17
br label %29
29: ; preds = %25, %28, %20, %17
%30 = load i32, ptr %3, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @lower_subexp(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"TYPE_6__", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !15, i64 8}
!13 = !{!"TYPE_7__", !11, i64 0, !14, i64 8}
!14 = !{!"TYPE_5__", !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!13, !11, i64 0}
!18 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libgnuregex/extr_regcomp.c_lower_subexps.c'
source_filename = "AnghaBench/freebsd/contrib/libgnuregex/extr_regcomp.c_lower_subexps.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REG_NOERROR = common local_unnamed_addr global i32 0, align 4
@SUBEXP = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @lower_subexps], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @lower_subexps(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @REG_NOERROR, align 4, !tbaa !6
store i32 %4, ptr %3, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = icmp eq ptr %6, null
br i1 %7, label %17, label %8
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %6, i64 8
%10 = load i64, ptr %9, align 8, !tbaa !13
%11 = load i64, ptr @SUBEXP, align 8, !tbaa !17
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %8
%14 = call ptr @lower_subexp(ptr noundef nonnull %3, ptr noundef %0, ptr noundef nonnull %6) #3
store ptr %14, ptr %5, align 8, !tbaa !10
%15 = icmp eq ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %13
store ptr %1, ptr %14, align 8, !tbaa !18
br label %17
17: ; preds = %13, %16, %8, %2
%18 = load ptr, ptr %1, align 8, !tbaa !19
%19 = icmp eq ptr %18, null
br i1 %19, label %29, label %20
20: ; preds = %17
%21 = getelementptr inbounds i8, ptr %18, i64 8
%22 = load i64, ptr %21, align 8, !tbaa !13
%23 = load i64, ptr @SUBEXP, align 8, !tbaa !17
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %29
25: ; preds = %20
%26 = call ptr @lower_subexp(ptr noundef nonnull %3, ptr noundef %0, ptr noundef nonnull %18) #3
store ptr %26, ptr %1, align 8, !tbaa !19
%27 = icmp eq ptr %26, null
br i1 %27, label %29, label %28
28: ; preds = %25
store ptr %1, ptr %26, align 8, !tbaa !18
br label %29
29: ; preds = %25, %28, %20, %17
%30 = load i32, ptr %3, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @lower_subexp(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_6__", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !16, i64 8}
!14 = !{!"TYPE_7__", !12, i64 0, !15, i64 8}
!15 = !{!"TYPE_5__", !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!14, !12, i64 0}
!19 = !{!11, !12, i64 0}
| freebsd_contrib_libgnuregex_extr_regcomp.c_lower_subexps |
; ModuleID = 'AnghaBench/postgres/src/backend/replication/extr_walreceiver.c_XLogWalRcvProcessMsg.c'
source_filename = "AnghaBench/postgres/src/backend/replication/extr_walreceiver.c_XLogWalRcvProcessMsg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@incoming_message = dso_local global i32 0, align 4
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ERRCODE_PROTOCOL_VIOLATION = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"invalid WAL message received from primary\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"invalid keepalive message received from primary\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"invalid replication message type %d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @XLogWalRcvProcessMsg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @XLogWalRcvProcessMsg(i8 noundef zeroext %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @resetStringInfo(ptr noundef nonnull @incoming_message) #2
switch i8 %0, label %39 [
i8 119, label %5
i8 107, label %22
]
5: ; preds = %3
%6 = icmp slt i32 %2, 12
br i1 %6, label %7, label %13
7: ; preds = %5
%8 = load i32, ptr @ERROR, align 4, !tbaa !5
%9 = load i32, ptr @ERRCODE_PROTOCOL_VIOLATION, align 4, !tbaa !5
%10 = tail call i32 @errcode(i32 noundef %9) #2
%11 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str) #2
%12 = tail call i32 @ereport(i32 noundef %8, i32 noundef %11) #2
br label %13
13: ; preds = %7, %5
%14 = tail call i32 @appendBinaryStringInfo(ptr noundef nonnull @incoming_message, ptr noundef %1, i32 noundef 12) #2
%15 = tail call ptr @pq_getmsgint64(ptr noundef nonnull @incoming_message) #2
%16 = tail call ptr @pq_getmsgint64(ptr noundef nonnull @incoming_message) #2
%17 = tail call ptr @pq_getmsgint64(ptr noundef nonnull @incoming_message) #2
%18 = tail call i32 @ProcessWalSndrMessage(ptr noundef %16, ptr noundef %17) #2
%19 = getelementptr inbounds i8, ptr %1, i64 12
%20 = add nsw i32 %2, -12
%21 = tail call i32 @XLogWalRcvWrite(ptr noundef nonnull %19, i32 noundef %20, ptr noundef %15) #2
br label %46
22: ; preds = %3
%23 = icmp eq i32 %2, 9
br i1 %23, label %30, label %24
24: ; preds = %22
%25 = load i32, ptr @ERROR, align 4, !tbaa !5
%26 = load i32, ptr @ERRCODE_PROTOCOL_VIOLATION, align 4, !tbaa !5
%27 = tail call i32 @errcode(i32 noundef %26) #2
%28 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.1) #2
%29 = tail call i32 @ereport(i32 noundef %25, i32 noundef %28) #2
br label %30
30: ; preds = %24, %22
%31 = tail call i32 @appendBinaryStringInfo(ptr noundef nonnull @incoming_message, ptr noundef %1, i32 noundef 9) #2
%32 = tail call ptr @pq_getmsgint64(ptr noundef nonnull @incoming_message) #2
%33 = tail call ptr @pq_getmsgint64(ptr noundef nonnull @incoming_message) #2
%34 = tail call i32 @pq_getmsgbyte(ptr noundef nonnull @incoming_message) #2
%35 = tail call i32 @ProcessWalSndrMessage(ptr noundef %32, ptr noundef %33) #2
%36 = icmp eq i32 %34, 0
br i1 %36, label %46, label %37
37: ; preds = %30
%38 = tail call i32 @XLogWalRcvSendReply(i32 noundef 1, i32 noundef 0) #2
br label %46
39: ; preds = %3
%40 = zext i8 %0 to i32
%41 = load i32, ptr @ERROR, align 4, !tbaa !5
%42 = load i32, ptr @ERRCODE_PROTOCOL_VIOLATION, align 4, !tbaa !5
%43 = tail call i32 @errcode(i32 noundef %42) #2
%44 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.2, i32 noundef %40) #2
%45 = tail call i32 @ereport(i32 noundef %41, i32 noundef %44) #2
br label %46
46: ; preds = %30, %37, %39, %13
ret void
}
declare i32 @resetStringInfo(ptr noundef) local_unnamed_addr #1
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @errcode(i32 noundef) local_unnamed_addr #1
declare i32 @errmsg_internal(ptr noundef, ...) local_unnamed_addr #1
declare i32 @appendBinaryStringInfo(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @pq_getmsgint64(ptr noundef) local_unnamed_addr #1
declare i32 @ProcessWalSndrMessage(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @XLogWalRcvWrite(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pq_getmsgbyte(ptr noundef) local_unnamed_addr #1
declare i32 @XLogWalRcvSendReply(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/postgres/src/backend/replication/extr_walreceiver.c_XLogWalRcvProcessMsg.c'
source_filename = "AnghaBench/postgres/src/backend/replication/extr_walreceiver.c_XLogWalRcvProcessMsg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@incoming_message = common global i32 0, align 4
@ERROR = common local_unnamed_addr global i32 0, align 4
@ERRCODE_PROTOCOL_VIOLATION = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"invalid WAL message received from primary\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"invalid keepalive message received from primary\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"invalid replication message type %d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @XLogWalRcvProcessMsg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @XLogWalRcvProcessMsg(i8 noundef zeroext %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @resetStringInfo(ptr noundef nonnull @incoming_message) #2
switch i8 %0, label %39 [
i8 119, label %5
i8 107, label %22
]
5: ; preds = %3
%6 = icmp slt i32 %2, 12
br i1 %6, label %7, label %13
7: ; preds = %5
%8 = load i32, ptr @ERROR, align 4, !tbaa !6
%9 = load i32, ptr @ERRCODE_PROTOCOL_VIOLATION, align 4, !tbaa !6
%10 = tail call i32 @errcode(i32 noundef %9) #2
%11 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str) #2
%12 = tail call i32 @ereport(i32 noundef %8, i32 noundef %11) #2
br label %13
13: ; preds = %7, %5
%14 = tail call i32 @appendBinaryStringInfo(ptr noundef nonnull @incoming_message, ptr noundef %1, i32 noundef 12) #2
%15 = tail call ptr @pq_getmsgint64(ptr noundef nonnull @incoming_message) #2
%16 = tail call ptr @pq_getmsgint64(ptr noundef nonnull @incoming_message) #2
%17 = tail call ptr @pq_getmsgint64(ptr noundef nonnull @incoming_message) #2
%18 = tail call i32 @ProcessWalSndrMessage(ptr noundef %16, ptr noundef %17) #2
%19 = getelementptr inbounds i8, ptr %1, i64 12
%20 = add nsw i32 %2, -12
%21 = tail call i32 @XLogWalRcvWrite(ptr noundef nonnull %19, i32 noundef %20, ptr noundef %15) #2
br label %46
22: ; preds = %3
%23 = icmp eq i32 %2, 9
br i1 %23, label %30, label %24
24: ; preds = %22
%25 = load i32, ptr @ERROR, align 4, !tbaa !6
%26 = load i32, ptr @ERRCODE_PROTOCOL_VIOLATION, align 4, !tbaa !6
%27 = tail call i32 @errcode(i32 noundef %26) #2
%28 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.1) #2
%29 = tail call i32 @ereport(i32 noundef %25, i32 noundef %28) #2
br label %30
30: ; preds = %24, %22
%31 = tail call i32 @appendBinaryStringInfo(ptr noundef nonnull @incoming_message, ptr noundef %1, i32 noundef 9) #2
%32 = tail call ptr @pq_getmsgint64(ptr noundef nonnull @incoming_message) #2
%33 = tail call ptr @pq_getmsgint64(ptr noundef nonnull @incoming_message) #2
%34 = tail call i32 @pq_getmsgbyte(ptr noundef nonnull @incoming_message) #2
%35 = tail call i32 @ProcessWalSndrMessage(ptr noundef %32, ptr noundef %33) #2
%36 = icmp eq i32 %34, 0
br i1 %36, label %46, label %37
37: ; preds = %30
%38 = tail call i32 @XLogWalRcvSendReply(i32 noundef 1, i32 noundef 0) #2
br label %46
39: ; preds = %3
%40 = zext i8 %0 to i32
%41 = load i32, ptr @ERROR, align 4, !tbaa !6
%42 = load i32, ptr @ERRCODE_PROTOCOL_VIOLATION, align 4, !tbaa !6
%43 = tail call i32 @errcode(i32 noundef %42) #2
%44 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.2, i32 noundef %40) #2
%45 = tail call i32 @ereport(i32 noundef %41, i32 noundef %44) #2
br label %46
46: ; preds = %30, %37, %39, %13
ret void
}
declare i32 @resetStringInfo(ptr noundef) local_unnamed_addr #1
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @errcode(i32 noundef) local_unnamed_addr #1
declare i32 @errmsg_internal(ptr noundef, ...) local_unnamed_addr #1
declare i32 @appendBinaryStringInfo(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @pq_getmsgint64(ptr noundef) local_unnamed_addr #1
declare i32 @ProcessWalSndrMessage(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @XLogWalRcvWrite(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pq_getmsgbyte(ptr noundef) local_unnamed_addr #1
declare i32 @XLogWalRcvSendReply(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"}
| postgres_src_backend_replication_extr_walreceiver.c_XLogWalRcvProcessMsg |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/extr_dm_common.c_rtl92c_dm_txpower_tracking_directcall.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/extr_dm_common.c_rtl92c_dm_txpower_tracking_directcall.c"
target datalayout = "e-m:e-p270:32:32-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 @rtl92c_dm_txpower_tracking_directcall], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rtl92c_dm_txpower_tracking_directcall(ptr noundef %0) #0 {
%2 = tail call i32 @rtl92c_dm_txpower_tracking_callback_thermalmeter(ptr noundef %0) #2
ret void
}
declare i32 @rtl92c_dm_txpower_tracking_callback_thermalmeter(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/extr_dm_common.c_rtl92c_dm_txpower_tracking_directcall.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/extr_dm_common.c_rtl92c_dm_txpower_tracking_directcall.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 @rtl92c_dm_txpower_tracking_directcall], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rtl92c_dm_txpower_tracking_directcall(ptr noundef %0) #0 {
%2 = tail call i32 @rtl92c_dm_txpower_tracking_callback_thermalmeter(ptr noundef %0) #2
ret void
}
declare i32 @rtl92c_dm_txpower_tracking_callback_thermalmeter(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_wireless_realtek_rtlwifi_rtl8192c_extr_dm_common.c_rtl92c_dm_txpower_tracking_directcall |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_main.c_b43legacy_switch_analog.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_main.c_b43legacy_switch_analog.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@B43legacy_MMIO_PHY0 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @b43legacy_switch_analog], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @b43legacy_switch_analog(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @B43legacy_MMIO_PHY0, align 4, !tbaa !5
%4 = icmp eq i32 %1, 0
%5 = select i1 %4, i32 244, i32 0
%6 = tail call i32 @b43legacy_write16(ptr noundef %0, i32 noundef %3, i32 noundef %5) #2
ret void
}
declare i32 @b43legacy_write16(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/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_main.c_b43legacy_switch_analog.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_main.c_b43legacy_switch_analog.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@B43legacy_MMIO_PHY0 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @b43legacy_switch_analog], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @b43legacy_switch_analog(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @B43legacy_MMIO_PHY0, align 4, !tbaa !6
%4 = icmp eq i32 %1, 0
%5 = select i1 %4, i32 244, i32 0
%6 = tail call i32 @b43legacy_write16(ptr noundef %0, i32 noundef %3, i32 noundef %5) #2
ret void
}
declare i32 @b43legacy_write16(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"}
| fastsocket_kernel_drivers_net_wireless_b43legacy_extr_main.c_b43legacy_switch_analog |
; ModuleID = 'AnghaBench/Cinder/src/glload/extr_gl_load.c_LoadExt_EXT_texture_integer.c'
source_filename = "AnghaBench/Cinder/src/glload/extr_gl_load.c_LoadExt_EXT_texture_integer.c"
target datalayout = "e-m:e-p270:32:32-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 [18 x i8] c"glClearColorIiEXT\00", align 1
@_funcptr_glClearColorIiEXT = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [19 x i8] c"glClearColorIuiEXT\00", align 1
@_funcptr_glClearColorIuiEXT = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [24 x i8] c"glGetTexParameterIivEXT\00", align 1
@_funcptr_glGetTexParameterIivEXT = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [25 x i8] c"glGetTexParameterIuivEXT\00", align 1
@_funcptr_glGetTexParameterIuivEXT = dso_local local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [21 x i8] c"glTexParameterIivEXT\00", align 1
@_funcptr_glTexParameterIivEXT = dso_local local_unnamed_addr global i64 0, align 8
@.str.5 = private unnamed_addr constant [22 x i8] c"glTexParameterIuivEXT\00", align 1
@_funcptr_glTexParameterIuivEXT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @LoadExt_EXT_texture_integer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @LoadExt_EXT_texture_integer() #0 {
%1 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str) #2
store i64 %1, ptr @_funcptr_glClearColorIiEXT, align 8, !tbaa !5
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.1) #2
store i64 %4, ptr @_funcptr_glClearColorIuiEXT, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
%6 = select i1 %2, i32 2, i32 1
%7 = select i1 %5, i32 %6, i32 %3
%8 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.2) #2
store i64 %8, ptr @_funcptr_glGetTexParameterIivEXT, align 8, !tbaa !5
%9 = icmp eq i64 %8, 0
%10 = zext i1 %9 to i32
%11 = add nuw nsw i32 %7, %10
%12 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.3) #2
store i64 %12, ptr @_funcptr_glGetTexParameterIuivEXT, align 8, !tbaa !5
%13 = icmp eq i64 %12, 0
%14 = zext i1 %13 to i32
%15 = add nuw nsw i32 %11, %14
%16 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.4) #2
store i64 %16, ptr @_funcptr_glTexParameterIivEXT, align 8, !tbaa !5
%17 = icmp eq i64 %16, 0
%18 = zext i1 %17 to i32
%19 = add nuw nsw i32 %15, %18
%20 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.5) #2
store i64 %20, ptr @_funcptr_glTexParameterIuivEXT, align 8, !tbaa !5
%21 = icmp eq i64 %20, 0
%22 = zext i1 %21 to i32
%23 = add nuw nsw i32 %19, %22
ret i32 %23
}
declare i64 @IntGetProcAddress(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Cinder/src/glload/extr_gl_load.c_LoadExt_EXT_texture_integer.c'
source_filename = "AnghaBench/Cinder/src/glload/extr_gl_load.c_LoadExt_EXT_texture_integer.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 [18 x i8] c"glClearColorIiEXT\00", align 1
@_funcptr_glClearColorIiEXT = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [19 x i8] c"glClearColorIuiEXT\00", align 1
@_funcptr_glClearColorIuiEXT = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [24 x i8] c"glGetTexParameterIivEXT\00", align 1
@_funcptr_glGetTexParameterIivEXT = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [25 x i8] c"glGetTexParameterIuivEXT\00", align 1
@_funcptr_glGetTexParameterIuivEXT = common local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [21 x i8] c"glTexParameterIivEXT\00", align 1
@_funcptr_glTexParameterIivEXT = common local_unnamed_addr global i64 0, align 8
@.str.5 = private unnamed_addr constant [22 x i8] c"glTexParameterIuivEXT\00", align 1
@_funcptr_glTexParameterIuivEXT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @LoadExt_EXT_texture_integer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 7) i32 @LoadExt_EXT_texture_integer() #0 {
%1 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str) #2
store i64 %1, ptr @_funcptr_glClearColorIiEXT, align 8, !tbaa !6
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.1) #2
store i64 %4, ptr @_funcptr_glClearColorIuiEXT, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
%6 = select i1 %2, i32 2, i32 1
%7 = select i1 %5, i32 %6, i32 %3
%8 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.2) #2
store i64 %8, ptr @_funcptr_glGetTexParameterIivEXT, align 8, !tbaa !6
%9 = icmp eq i64 %8, 0
%10 = zext i1 %9 to i32
%11 = add nuw nsw i32 %7, %10
%12 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.3) #2
store i64 %12, ptr @_funcptr_glGetTexParameterIuivEXT, align 8, !tbaa !6
%13 = icmp eq i64 %12, 0
%14 = zext i1 %13 to i32
%15 = add nuw nsw i32 %11, %14
%16 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.4) #2
store i64 %16, ptr @_funcptr_glTexParameterIivEXT, align 8, !tbaa !6
%17 = icmp eq i64 %16, 0
%18 = zext i1 %17 to i32
%19 = add nuw nsw i32 %15, %18
%20 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.5) #2
store i64 %20, ptr @_funcptr_glTexParameterIuivEXT, align 8, !tbaa !6
%21 = icmp eq i64 %20, 0
%22 = zext i1 %21 to i32
%23 = add nuw nsw i32 %19, %22
ret i32 %23
}
declare i64 @IntGetProcAddress(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"}
| Cinder_src_glload_extr_gl_load.c_LoadExt_EXT_texture_integer |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/extr_x_tables.c_xt_request_find_target.c'
source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/extr_x_tables.c_xt_request_find_target.c"
target datalayout = "e-m:e-p270:32:32-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"%st_%s\00", align 1
@xt_prefix = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @xt_request_find_target(i64 noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @xt_find_target(i64 noundef %0, ptr noundef %1, i64 noundef %2) #2
%5 = load ptr, ptr @xt_prefix, align 8, !tbaa !5
%6 = getelementptr inbounds i32, ptr %5, i64 %0
%7 = load i32, ptr %6, align 4, !tbaa !9
%8 = tail call ptr @try_then_request_module(i32 noundef %4, ptr noundef nonnull @.str, i32 noundef %7, ptr noundef %1) #2
%9 = tail call i64 @IS_ERR(ptr noundef %8) #2
%10 = icmp eq i64 %9, 0
%11 = select i1 %10, ptr %8, ptr null
ret ptr %11
}
declare ptr @try_then_request_module(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @xt_find_target(i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/extr_x_tables.c_xt_request_find_target.c'
source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/extr_x_tables.c_xt_request_find_target.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"%st_%s\00", align 1
@xt_prefix = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @xt_request_find_target(i64 noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @xt_find_target(i64 noundef %0, ptr noundef %1, i64 noundef %2) #2
%5 = load ptr, ptr @xt_prefix, align 8, !tbaa !6
%6 = getelementptr inbounds i32, ptr %5, i64 %0
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = tail call ptr @try_then_request_module(i32 noundef %4, ptr noundef nonnull @.str, i32 noundef %7, ptr noundef %1) #2
%9 = tail call i64 @IS_ERR(ptr noundef %8) #2
%10 = icmp eq i64 %9, 0
%11 = select i1 %10, ptr %8, ptr null
ret ptr %11
}
declare ptr @try_then_request_module(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @xt_find_target(i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| fastsocket_kernel_net_netfilter_extr_x_tables.c_xt_request_find_target |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_erst.c_erst_exec_load_var1.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_erst.c_erst_exec_load_var1.c"
target datalayout = "e-m:e-p270:32:32-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 @erst_exec_load_var1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @erst_exec_load_var1(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @__apei_exec_read_register(ptr noundef %1, ptr noundef %0) #2
ret i32 %3
}
declare i32 @__apei_exec_read_register(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_erst.c_erst_exec_load_var1.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_erst.c_erst_exec_load_var1.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 @erst_exec_load_var1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @erst_exec_load_var1(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @__apei_exec_read_register(ptr noundef %1, ptr noundef %0) #2
ret i32 %3
}
declare i32 @__apei_exec_read_register(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_acpi_apei_extr_erst.c_erst_exec_load_var1 |
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_svm.c_svm_vcpu_reset.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/extr_svm.c_svm_vcpu_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.vcpu_svm = type { %struct.TYPE_6__, i64, i64 }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
@APIC_DEFAULT_PHYS_BASE = dso_local local_unnamed_addr global i32 0, align 4
@MSR_IA32_APICBASE_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@MSR_IA32_APICBASE_BSP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @svm_vcpu_reset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @svm_vcpu_reset(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = tail call ptr @to_svm(ptr noundef %0) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
store i32 1, ptr %4, align 4, !tbaa !5
store i32 16777317, ptr %0, align 4, !tbaa !9
%6 = getelementptr inbounds %struct.vcpu_svm, ptr %5, i64 0, i32 1
%7 = icmp ne i32 %1, 0
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
br i1 %7, label %18, label %8
8: ; preds = %2
%9 = load i32, ptr @APIC_DEFAULT_PHYS_BASE, align 4, !tbaa !5
%10 = load i32, ptr @MSR_IA32_APICBASE_ENABLE, align 4, !tbaa !5
%11 = or i32 %10, %9
store i32 %11, ptr %5, align 8, !tbaa !12
%12 = tail call i64 @kvm_vcpu_is_reset_bsp(ptr noundef nonnull %5) #4
%13 = icmp eq i64 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %8
%15 = load i32, ptr @MSR_IA32_APICBASE_BSP, align 4, !tbaa !5
%16 = load i32, ptr %5, align 8, !tbaa !12
%17 = or i32 %16, %15
store i32 %17, ptr %5, align 8, !tbaa !12
br label %18
18: ; preds = %8, %14, %2
%19 = tail call i32 @init_vmcb(ptr noundef nonnull %5) #4
%20 = call i32 @kvm_cpuid(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %3, ptr noundef nonnull %3, i32 noundef 1) #4
%21 = load i32, ptr %4, align 4, !tbaa !5
%22 = call i32 @kvm_rdx_write(ptr noundef nonnull %0, i32 noundef %21) #4
%23 = call i64 @kvm_vcpu_apicv_active(ptr noundef nonnull %0) #4
%24 = icmp eq i64 %23, 0
%25 = or i1 %7, %24
br i1 %25, label %29, label %26
26: ; preds = %18
%27 = load i32, ptr @APIC_DEFAULT_PHYS_BASE, align 4, !tbaa !5
%28 = call i32 @avic_update_vapic_bar(ptr noundef nonnull %5, i32 noundef %27) #4
br label %29
29: ; preds = %26, %18
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_svm(ptr noundef) local_unnamed_addr #2
declare i64 @kvm_vcpu_is_reset_bsp(ptr noundef) local_unnamed_addr #2
declare i32 @init_vmcb(ptr noundef) local_unnamed_addr #2
declare i32 @kvm_cpuid(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kvm_rdx_write(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @kvm_vcpu_apicv_active(ptr noundef) local_unnamed_addr #2
declare i32 @avic_update_vapic_bar(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"kvm_vcpu", !11, i64 0}
!11 = !{!"TYPE_4__", !6, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"vcpu_svm", !14, i64 0, !16, i64 8, !16, i64 16}
!14 = !{!"TYPE_6__", !15, i64 0}
!15 = !{!"TYPE_5__", !6, i64 0}
!16 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_svm.c_svm_vcpu_reset.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/extr_svm.c_svm_vcpu_reset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@APIC_DEFAULT_PHYS_BASE = common local_unnamed_addr global i32 0, align 4
@MSR_IA32_APICBASE_ENABLE = common local_unnamed_addr global i32 0, align 4
@MSR_IA32_APICBASE_BSP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @svm_vcpu_reset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @svm_vcpu_reset(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = tail call ptr @to_svm(ptr noundef %0) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
store i32 1, ptr %4, align 4, !tbaa !6
store i32 16777317, ptr %0, align 4, !tbaa !10
%6 = getelementptr inbounds i8, ptr %5, i64 8
%7 = icmp ne i32 %1, 0
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
br i1 %7, label %18, label %8
8: ; preds = %2
%9 = load i32, ptr @APIC_DEFAULT_PHYS_BASE, align 4, !tbaa !6
%10 = load i32, ptr @MSR_IA32_APICBASE_ENABLE, align 4, !tbaa !6
%11 = or i32 %10, %9
store i32 %11, ptr %5, align 8, !tbaa !13
%12 = tail call i64 @kvm_vcpu_is_reset_bsp(ptr noundef nonnull %5) #4
%13 = icmp eq i64 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %8
%15 = load i32, ptr @MSR_IA32_APICBASE_BSP, align 4, !tbaa !6
%16 = load i32, ptr %5, align 8, !tbaa !13
%17 = or i32 %16, %15
store i32 %17, ptr %5, align 8, !tbaa !13
br label %18
18: ; preds = %8, %14, %2
%19 = tail call i32 @init_vmcb(ptr noundef nonnull %5) #4
%20 = call i32 @kvm_cpuid(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %3, ptr noundef nonnull %3, i32 noundef 1) #4
%21 = load i32, ptr %4, align 4, !tbaa !6
%22 = call i32 @kvm_rdx_write(ptr noundef nonnull %0, i32 noundef %21) #4
%23 = call i64 @kvm_vcpu_apicv_active(ptr noundef nonnull %0) #4
%24 = icmp eq i64 %23, 0
%25 = or i1 %7, %24
br i1 %25, label %29, label %26
26: ; preds = %18
%27 = load i32, ptr @APIC_DEFAULT_PHYS_BASE, align 4, !tbaa !6
%28 = call i32 @avic_update_vapic_bar(ptr noundef nonnull %5, i32 noundef %27) #4
br label %29
29: ; preds = %26, %18
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_svm(ptr noundef) local_unnamed_addr #2
declare i64 @kvm_vcpu_is_reset_bsp(ptr noundef) local_unnamed_addr #2
declare i32 @init_vmcb(ptr noundef) local_unnamed_addr #2
declare i32 @kvm_cpuid(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kvm_rdx_write(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @kvm_vcpu_apicv_active(ptr noundef) local_unnamed_addr #2
declare i32 @avic_update_vapic_bar(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"kvm_vcpu", !12, i64 0}
!12 = !{!"TYPE_4__", !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"vcpu_svm", !15, i64 0, !17, i64 8, !17, i64 16}
!15 = !{!"TYPE_6__", !16, i64 0}
!16 = !{!"TYPE_5__", !7, i64 0}
!17 = !{!"long", !8, i64 0}
| linux_arch_x86_kvm_extr_svm.c_svm_vcpu_reset |
; ModuleID = 'AnghaBench/libgit2/src/extr_blame.c_paths_cmp.c'
source_filename = "AnghaBench/libgit2/src/extr_blame.c_paths_cmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @paths_cmp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @paths_cmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @git__strcmp(ptr noundef %0, ptr noundef %1) #2
ret i32 %3
}
declare i32 @git__strcmp(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/libgit2/src/extr_blame.c_paths_cmp.c'
source_filename = "AnghaBench/libgit2/src/extr_blame.c_paths_cmp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @paths_cmp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @paths_cmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @git__strcmp(ptr noundef %0, ptr noundef %1) #2
ret i32 %3
}
declare i32 @git__strcmp(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)"}
| libgit2_src_extr_blame.c_paths_cmp |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/iucv/extr_iucv.c_iucv_path_resume.c'
source_filename = "AnghaBench/fastsocket/kernel/net/iucv/extr_iucv.c_iucv_path_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"
%struct.TYPE_2__ = type { i32, i32 }
@iucv_buffer_cpumask = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@iucv_param = dso_local local_unnamed_addr global ptr null, align 8
@IUCV_RESUME = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @iucv_path_resume(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @local_bh_disable() #2
%4 = load i32, ptr @iucv_buffer_cpumask, align 4, !tbaa !5
%5 = tail call i64 @cpus_empty(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = load i32, ptr @EIO, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %25
10: ; preds = %2
%11 = load ptr, ptr @iucv_param, align 8, !tbaa !9
%12 = tail call i64 (...) @smp_processor_id() #2
%13 = getelementptr inbounds ptr, ptr %11, i64 %12
%14 = load ptr, ptr %13, align 8, !tbaa !9
%15 = tail call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 8) #2
%16 = icmp eq ptr %1, null
br i1 %16, label %21, label %17
17: ; preds = %10
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !11
%20 = tail call i32 @memcpy(i32 noundef %19, ptr noundef nonnull %1, i32 noundef 4) #2
br label %21
21: ; preds = %17, %10
%22 = load i32, ptr %0, align 4, !tbaa !12
store i32 %22, ptr %14, align 4, !tbaa !11
%23 = load i32, ptr @IUCV_RESUME, align 4, !tbaa !5
%24 = tail call i32 @iucv_call_b2f0(i32 noundef %23, ptr noundef nonnull %14) #2
br label %25
25: ; preds = %21, %7
%26 = phi i32 [ %9, %7 ], [ %24, %21 ]
%27 = tail call i32 (...) @local_bh_enable() #2
ret i32 %26
}
declare i32 @local_bh_disable(...) local_unnamed_addr #1
declare i64 @cpus_empty(i32 noundef) local_unnamed_addr #1
declare i64 @smp_processor_id(...) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iucv_call_b2f0(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @local_bh_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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"iucv_path", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/iucv/extr_iucv.c_iucv_path_resume.c'
source_filename = "AnghaBench/fastsocket/kernel/net/iucv/extr_iucv.c_iucv_path_resume.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@iucv_buffer_cpumask = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@iucv_param = common local_unnamed_addr global ptr null, align 8
@IUCV_RESUME = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @iucv_path_resume(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @local_bh_disable() #2
%4 = load i32, ptr @iucv_buffer_cpumask, align 4, !tbaa !6
%5 = tail call i64 @cpus_empty(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = load i32, ptr @EIO, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %25
10: ; preds = %2
%11 = load ptr, ptr @iucv_param, align 8, !tbaa !10
%12 = tail call i64 @smp_processor_id() #2
%13 = getelementptr inbounds ptr, ptr %11, i64 %12
%14 = load ptr, ptr %13, align 8, !tbaa !10
%15 = tail call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 8) #2
%16 = icmp eq ptr %1, null
br i1 %16, label %21, label %17
17: ; preds = %10
%18 = getelementptr inbounds i8, ptr %14, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !12
%20 = tail call i32 @memcpy(i32 noundef %19, ptr noundef nonnull %1, i32 noundef 4) #2
br label %21
21: ; preds = %17, %10
%22 = load i32, ptr %0, align 4, !tbaa !13
store i32 %22, ptr %14, align 4, !tbaa !12
%23 = load i32, ptr @IUCV_RESUME, align 4, !tbaa !6
%24 = tail call i32 @iucv_call_b2f0(i32 noundef %23, ptr noundef nonnull %14) #2
br label %25
25: ; preds = %21, %7
%26 = phi i32 [ %9, %7 ], [ %24, %21 ]
%27 = tail call i32 @local_bh_enable() #2
ret i32 %26
}
declare i32 @local_bh_disable(...) local_unnamed_addr #1
declare i64 @cpus_empty(i32 noundef) local_unnamed_addr #1
declare i64 @smp_processor_id(...) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iucv_call_b2f0(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @local_bh_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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"iucv_path", !7, i64 0}
| fastsocket_kernel_net_iucv_extr_iucv.c_iucv_path_resume |
; ModuleID = 'AnghaBench/obs-studio/deps/lzma/liblzma/delta/extr_delta_decoder.c_delta_decode.c'
source_filename = "AnghaBench/obs-studio/deps/lzma/liblzma/delta/extr_delta_decoder.c_delta_decode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @delta_decode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @delta_decode(ptr noundef %0, ptr noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i64 noundef %4, ptr noalias noundef %5, ptr noalias noundef %6, i64 noundef %7, i32 noundef %8) #0 {
%10 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !5
%12 = icmp ne ptr %11, null
%13 = zext i1 %12 to i32
%14 = tail call i32 @assert(i32 noundef %13) #2
%15 = load i64, ptr %6, align 8, !tbaa !12
%16 = load ptr, ptr %10, align 8, !tbaa !5
%17 = load i32, ptr %0, align 8, !tbaa !14
%18 = tail call i32 %16(i32 noundef %17, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef nonnull %6, i64 noundef %7, i32 noundef %8) #2
%19 = getelementptr inbounds i32, ptr %5, i64 %15
%20 = load i64, ptr %6, align 8, !tbaa !12
%21 = sub i64 %20, %15
%22 = tail call i32 @decode_buffer(ptr noundef nonnull %0, ptr noundef %19, i64 noundef %21) #2
ret i32 %18
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @decode_buffer(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 8}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/obs-studio/deps/lzma/liblzma/delta/extr_delta_decoder.c_delta_decode.c'
source_filename = "AnghaBench/obs-studio/deps/lzma/liblzma/delta/extr_delta_decoder.c_delta_decode.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 @delta_decode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @delta_decode(ptr noundef %0, ptr noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i64 noundef %4, ptr noalias noundef %5, ptr noalias noundef %6, i64 noundef %7, i32 noundef %8) #0 {
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !6
%12 = icmp ne ptr %11, null
%13 = zext i1 %12 to i32
%14 = tail call i32 @assert(i32 noundef %13) #2
%15 = load i64, ptr %6, align 8, !tbaa !13
%16 = load ptr, ptr %10, align 8, !tbaa !6
%17 = load i32, ptr %0, align 8, !tbaa !15
%18 = tail call i32 %16(i32 noundef %17, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef nonnull %6, i64 noundef %7, i32 noundef %8) #2
%19 = getelementptr inbounds i32, ptr %5, i64 %15
%20 = load i64, ptr %6, align 8, !tbaa !13
%21 = sub i64 %20, %15
%22 = tail call i32 @decode_buffer(ptr noundef nonnull %0, ptr noundef %19, i64 noundef %21) #2
ret i32 %18
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @decode_buffer(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 8}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !10, i64 0}
!15 = !{!7, !9, i64 0}
| obs-studio_deps_lzma_liblzma_delta_extr_delta_decoder.c_delta_decode |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/rds/extr_bind.c_rds_find_bound.c'
source_filename = "AnghaBench/fastsocket/kernel/net/rds/extr_bind.c_rds_find_bound.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SOCK_DEAD = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"returning rs %p for %pI4:%u\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @rds_find_bound(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4, !tbaa !5
%4 = tail call ptr @rds_bind_lookup(i32 noundef %0, i32 noundef %1, ptr noundef null) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %13, label %6
6: ; preds = %2
%7 = tail call i32 @rds_rs_to_sk(ptr noundef nonnull %4) #2
%8 = load i32, ptr @SOCK_DEAD, align 4, !tbaa !5
%9 = tail call i32 @sock_flag(i32 noundef %7, i32 noundef %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %6
%12 = tail call i32 @rds_sock_addref(ptr noundef nonnull %4) #2
br label %13
13: ; preds = %2, %6, %11
%14 = phi ptr [ %4, %11 ], [ null, %6 ], [ null, %2 ]
%15 = tail call i32 @ntohs(i32 noundef %1) #2
%16 = call i32 @rdsdebug(ptr noundef nonnull @.str, ptr noundef %14, ptr noundef nonnull %3, i32 noundef %15) #2
ret ptr %14
}
declare ptr @rds_bind_lookup(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sock_flag(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rds_rs_to_sk(ptr noundef) local_unnamed_addr #1
declare i32 @rds_sock_addref(ptr noundef) local_unnamed_addr #1
declare i32 @rdsdebug(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntohs(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/net/rds/extr_bind.c_rds_find_bound.c'
source_filename = "AnghaBench/fastsocket/kernel/net/rds/extr_bind.c_rds_find_bound.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SOCK_DEAD = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"returning rs %p for %pI4:%u\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @rds_find_bound(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4, !tbaa !6
%4 = tail call ptr @rds_bind_lookup(i32 noundef %0, i32 noundef %1, ptr noundef null) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %13, label %6
6: ; preds = %2
%7 = tail call i32 @rds_rs_to_sk(ptr noundef nonnull %4) #2
%8 = load i32, ptr @SOCK_DEAD, align 4, !tbaa !6
%9 = tail call i32 @sock_flag(i32 noundef %7, i32 noundef %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %6
%12 = tail call i32 @rds_sock_addref(ptr noundef nonnull %4) #2
br label %13
13: ; preds = %2, %6, %11
%14 = phi ptr [ %4, %11 ], [ null, %6 ], [ null, %2 ]
%15 = tail call i32 @ntohs(i32 noundef %1) #2
%16 = call i32 @rdsdebug(ptr noundef nonnull @.str, ptr noundef %14, ptr noundef nonnull %3, i32 noundef %15) #2
ret ptr %14
}
declare ptr @rds_bind_lookup(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sock_flag(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rds_rs_to_sk(ptr noundef) local_unnamed_addr #1
declare i32 @rds_sock_addref(ptr noundef) local_unnamed_addr #1
declare i32 @rdsdebug(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntohs(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_net_rds_extr_bind.c_rds_find_bound |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_ethtool.c_ixgbevf_get_rxfh_key_size.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_ethtool.c_ixgbevf_get_rxfh_key_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IXGBEVF_RSS_HASH_KEY_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ixgbevf_get_rxfh_key_size], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @ixgbevf_get_rxfh_key_size(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @IXGBEVF_RSS_HASH_KEY_SIZE, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_ethtool.c_ixgbevf_get_rxfh_key_size.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_ethtool.c_ixgbevf_get_rxfh_key_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IXGBEVF_RSS_HASH_KEY_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ixgbevf_get_rxfh_key_size], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @ixgbevf_get_rxfh_key_size(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @IXGBEVF_RSS_HASH_KEY_SIZE, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_intel_ixgbevf_extr_ethtool.c_ixgbevf_get_rxfh_key_size |
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_iommu.c_iommu_group_get.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_iommu.c_iommu_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"
; Function Attrs: nounwind uwtable
define dso_local ptr @iommu_group_get(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 4, !tbaa !10
%6 = tail call i32 @kobject_get(i32 noundef %5) #2
br label %7
7: ; preds = %4, %1
ret ptr %2
}
declare i32 @kobject_get(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"iommu_group", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_iommu.c_iommu_group_get.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_iommu.c_iommu_group_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @iommu_group_get(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 4, !tbaa !11
%6 = tail call i32 @kobject_get(i32 noundef %5) #2
br label %7
7: ; preds = %4, %1
ret ptr %2
}
declare i32 @kobject_get(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"iommu_group", !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_drivers_iommu_extr_iommu.c_iommu_group_get |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_tab.c_lj_tab_getstr.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_tab.c_lj_tab_getstr.c"
target datalayout = "e-m:e-p270:32:32-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 }
; Function Attrs: nounwind uwtable
define dso_local ptr @lj_tab_getstr(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @hashstr(ptr noundef %0, ptr noundef %1) #2
br label %4
4: ; preds = %12, %2
%5 = phi ptr [ %3, %2 ], [ %13, %12 ]
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 1
%7 = tail call i64 @tvisstr(ptr noundef nonnull %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %4
%10 = tail call ptr @strV(ptr noundef nonnull %6) #2
%11 = icmp eq ptr %10, %1
br i1 %11, label %15, label %12
12: ; preds = %4, %9
%13 = tail call ptr @nextnode(ptr noundef %5) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %4, !llvm.loop !5
15: ; preds = %12, %9
%16 = phi ptr [ %5, %9 ], [ null, %12 ]
ret ptr %16
}
declare ptr @hashstr(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @tvisstr(ptr noundef) local_unnamed_addr #1
declare ptr @strV(ptr noundef) local_unnamed_addr #1
declare ptr @nextnode(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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_tab.c_lj_tab_getstr.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_tab.c_lj_tab_getstr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @lj_tab_getstr(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @hashstr(ptr noundef %0, ptr noundef %1) #2
br label %4
4: ; preds = %12, %2
%5 = phi ptr [ %3, %2 ], [ %13, %12 ]
%6 = getelementptr inbounds i8, ptr %5, i64 4
%7 = tail call i64 @tvisstr(ptr noundef nonnull %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %4
%10 = tail call ptr @strV(ptr noundef nonnull %6) #2
%11 = icmp eq ptr %10, %1
br i1 %11, label %15, label %12
12: ; preds = %4, %9
%13 = tail call ptr @nextnode(ptr noundef %5) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %4, !llvm.loop !6
15: ; preds = %12, %9
%16 = phi ptr [ %5, %9 ], [ null, %12 ]
ret ptr %16
}
declare ptr @hashstr(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @tvisstr(ptr noundef) local_unnamed_addr #1
declare ptr @strV(ptr noundef) local_unnamed_addr #1
declare ptr @nextnode(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 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| xLua_build_luajit-2.1.0b3_src_extr_lj_tab.c_lj_tab_getstr |
; ModuleID = 'AnghaBench/linux/drivers/scsi/aacraid/extr_sa.c_aac_sa_start_adapter.c'
source_filename = "AnghaBench/linux/drivers/scsi/aacraid/extr_sa.c_aac_sa_start_adapter.c"
target datalayout = "e-m:e-p270:32:32-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.aac_dev = type { i64, ptr }
@INIT_STRUCT_BASE_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @aac_sa_start_adapter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @aac_sa_start_adapter(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.aac_dev, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = tail call i32 (...) @ktime_get_real_seconds() #2
%5 = tail call i32 @cpu_to_le32(i32 noundef %4) #2
store i32 %5, ptr %3, align 4, !tbaa !11
%6 = load i32, ptr @INIT_STRUCT_BASE_ADDRESS, align 4, !tbaa !12
%7 = load i64, ptr %0, align 8, !tbaa !14
%8 = trunc i64 %7 to i32
%9 = tail call i32 @sa_sync_cmd(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %8, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #2
ret void
}
declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1
declare i32 @ktime_get_real_seconds(...) local_unnamed_addr #1
declare i32 @sa_sync_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, 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, !10, i64 8}
!6 = !{!"aac_dev", !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 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/aacraid/extr_sa.c_aac_sa_start_adapter.c'
source_filename = "AnghaBench/linux/drivers/scsi/aacraid/extr_sa.c_aac_sa_start_adapter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INIT_STRUCT_BASE_ADDRESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @aac_sa_start_adapter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @aac_sa_start_adapter(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @ktime_get_real_seconds() #2
%5 = tail call i32 @cpu_to_le32(i32 noundef %4) #2
store i32 %5, ptr %3, align 4, !tbaa !12
%6 = load i32, ptr @INIT_STRUCT_BASE_ADDRESS, align 4, !tbaa !13
%7 = load i64, ptr %0, align 8, !tbaa !15
%8 = trunc i64 %7 to i32
%9 = tail call i32 @sa_sync_cmd(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %8, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #2
ret void
}
declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1
declare i32 @ktime_get_real_seconds(...) local_unnamed_addr #1
declare i32 @sa_sync_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, 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, !11, i64 8}
!7 = !{!"aac_dev", !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 = !{!9, !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!7, !8, i64 0}
| linux_drivers_scsi_aacraid_extr_sa.c_aac_sa_start_adapter |
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wcd9335.c_wcd9335_set_compander.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wcd9335.c_wcd9335_set_compander.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@WCD9335_HPH_GAIN_SRC_SEL_COMPANDER = dso_local local_unnamed_addr global i32 0, align 4
@WCD9335_HPH_GAIN_SRC_SEL_REGISTER = dso_local local_unnamed_addr global i32 0, align 4
@WCD9335_HPH_L_EN = dso_local local_unnamed_addr global i32 0, align 4
@WCD9335_HPH_GAIN_SRC_SEL_MASK = dso_local local_unnamed_addr global i32 0, align 4
@WCD9335_HPH_R_EN = dso_local local_unnamed_addr global i32 0, align 4
@WCD9335_SE_LO_LO3_GAIN = dso_local local_unnamed_addr global i32 0, align 4
@WCD9335_SE_LO_LO4_GAIN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wcd9335_set_compander], section "llvm.metadata"
@switch.table.wcd9335_set_compander = private unnamed_addr constant [4 x ptr] [ptr @WCD9335_SE_LO_LO4_GAIN, ptr @WCD9335_SE_LO_LO3_GAIN, ptr @WCD9335_HPH_R_EN, ptr @WCD9335_HPH_L_EN], align 8
; Function Attrs: nounwind uwtable
define internal noundef i32 @wcd9335_set_compander(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_soc_kcontrol_component(ptr noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call ptr @dev_get_drvdata(i32 noundef %4) #2
%6 = load i64, ptr %0, align 8, !tbaa !10
%7 = inttoptr i64 %6 to ptr
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = load ptr, ptr %1, align 8, !tbaa !15
%10 = load i32, ptr %9, align 4, !tbaa !20
%11 = load ptr, ptr %5, align 8, !tbaa !21
%12 = sext i32 %8 to i64
%13 = getelementptr inbounds i32, ptr %11, i64 %12
store i32 %10, ptr %13, align 4, !tbaa !20
%14 = add i32 %8, -128
%15 = icmp ult i32 %14, 4
br i1 %15, label %16, label %27
16: ; preds = %2
%17 = icmp eq i32 %10, 0
%18 = load i32, ptr @WCD9335_HPH_GAIN_SRC_SEL_REGISTER, align 4
%19 = load i32, ptr @WCD9335_HPH_GAIN_SRC_SEL_COMPANDER, align 4
%20 = select i1 %17, i32 %18, i32 %19
%21 = zext nneg i32 %14 to i64
%22 = getelementptr inbounds [4 x ptr], ptr @switch.table.wcd9335_set_compander, i64 0, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %23, align 4, !tbaa !20
%25 = load i32, ptr @WCD9335_HPH_GAIN_SRC_SEL_MASK, align 4, !tbaa !20
%26 = tail call i32 @snd_soc_component_update_bits(ptr noundef nonnull %3, i32 noundef %24, i32 noundef %25, i32 noundef %20) #2
br label %27
27: ; preds = %2, %16
ret i32 0
}
declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_soc_component", !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_kcontrol", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"soc_mixer_control", !7, i64 0}
!15 = !{!16, !19, i64 0}
!16 = !{!"snd_ctl_elem_value", !17, i64 0}
!17 = !{!"TYPE_4__", !18, i64 0}
!18 = !{!"TYPE_3__", !19, i64 0}
!19 = !{!"any pointer", !8, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !19, i64 0}
!22 = !{!"wcd9335_codec", !19, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wcd9335.c_wcd9335_set_compander.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wcd9335.c_wcd9335_set_compander.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WCD9335_HPH_GAIN_SRC_SEL_COMPANDER = common local_unnamed_addr global i32 0, align 4
@WCD9335_HPH_GAIN_SRC_SEL_REGISTER = common local_unnamed_addr global i32 0, align 4
@WCD9335_HPH_L_EN = common local_unnamed_addr global i32 0, align 4
@WCD9335_HPH_GAIN_SRC_SEL_MASK = common local_unnamed_addr global i32 0, align 4
@WCD9335_HPH_R_EN = common local_unnamed_addr global i32 0, align 4
@WCD9335_SE_LO_LO3_GAIN = common local_unnamed_addr global i32 0, align 4
@WCD9335_SE_LO_LO4_GAIN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wcd9335_set_compander], section "llvm.metadata"
@switch.table.wcd9335_set_compander = private unnamed_addr constant [4 x ptr] [ptr @WCD9335_SE_LO_LO4_GAIN, ptr @WCD9335_SE_LO_LO3_GAIN, ptr @WCD9335_HPH_R_EN, ptr @WCD9335_HPH_L_EN], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @wcd9335_set_compander(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_soc_kcontrol_component(ptr noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call ptr @dev_get_drvdata(i32 noundef %4) #2
%6 = load i64, ptr %0, align 8, !tbaa !11
%7 = inttoptr i64 %6 to ptr
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = load ptr, ptr %1, align 8, !tbaa !16
%10 = load i32, ptr %9, align 4, !tbaa !21
%11 = load ptr, ptr %5, align 8, !tbaa !22
%12 = sext i32 %8 to i64
%13 = getelementptr inbounds i32, ptr %11, i64 %12
store i32 %10, ptr %13, align 4, !tbaa !21
%14 = add i32 %8, -128
%15 = icmp ult i32 %14, 4
br i1 %15, label %16, label %27
16: ; preds = %2
%17 = icmp eq i32 %10, 0
%18 = load i32, ptr @WCD9335_HPH_GAIN_SRC_SEL_REGISTER, align 4
%19 = load i32, ptr @WCD9335_HPH_GAIN_SRC_SEL_COMPANDER, align 4
%20 = select i1 %17, i32 %18, i32 %19
%21 = zext nneg i32 %14 to i64
%22 = getelementptr inbounds [4 x ptr], ptr @switch.table.wcd9335_set_compander, i64 0, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %23, align 4, !tbaa !21
%25 = load i32, ptr @WCD9335_HPH_GAIN_SRC_SEL_MASK, align 4, !tbaa !21
%26 = tail call i32 @snd_soc_component_update_bits(ptr noundef nonnull %3, i32 noundef %24, i32 noundef %25, i32 noundef %20) #2
br label %27
27: ; preds = %2, %16
ret i32 0
}
declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_soc_component", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"snd_kcontrol", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"soc_mixer_control", !8, i64 0}
!16 = !{!17, !20, i64 0}
!17 = !{!"snd_ctl_elem_value", !18, i64 0}
!18 = !{!"TYPE_4__", !19, i64 0}
!19 = !{!"TYPE_3__", !20, i64 0}
!20 = !{!"any pointer", !9, i64 0}
!21 = !{!8, !8, i64 0}
!22 = !{!23, !20, i64 0}
!23 = !{!"wcd9335_codec", !20, i64 0}
| linux_sound_soc_codecs_extr_wcd9335.c_wcd9335_set_compander |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/objects/extr_obj_dat.c_OBJ_add_object.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/objects/extr_obj_dat.c_OBJ_add_object.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32, ptr, ptr, ptr }
%struct.TYPE_12__ = type { i32, ptr }
@added = dso_local local_unnamed_addr global ptr null, align 8
@ADDED_NID = dso_local local_unnamed_addr global i64 0, align 8
@ADDED_DATA = dso_local local_unnamed_addr global i64 0, align 8
@ADDED_SNAME = dso_local local_unnamed_addr global i64 0, align 8
@ADDED_LNAME = dso_local local_unnamed_addr global i64 0, align 8
@ASN1_OBJECT_FLAG_DYNAMIC = dso_local local_unnamed_addr global i32 0, align 4
@ASN1_OBJECT_FLAG_DYNAMIC_STRINGS = dso_local local_unnamed_addr global i32 0, align 4
@ASN1_OBJECT_FLAG_DYNAMIC_DATA = dso_local local_unnamed_addr global i32 0, align 4
@OBJ_F_OBJ_ADD_OBJECT = dso_local local_unnamed_addr global i32 0, align 4
@ERR_R_MALLOC_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@NID_undef = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @OBJ_add_object(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca [4 x ptr], align 16
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %2, i8 0, i64 32, i1 false)
%3 = load ptr, ptr @added, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = tail call i32 (...) @init_added() #4
%7 = icmp eq i32 %6, 0
br i1 %7, label %102, label %8
8: ; preds = %5, %1
%9 = tail call ptr @OBJ_dup(ptr noundef %0) #4
%10 = icmp eq ptr %9, null
br i1 %10, label %85, label %11
11: ; preds = %8
%12 = tail call ptr @OPENSSL_malloc(i32 noundef 16) #4
%13 = load i64, ptr @ADDED_NID, align 8, !tbaa !9
%14 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %13
store ptr %12, ptr %14, align 8, !tbaa !5
%15 = icmp eq ptr %12, null
br i1 %15, label %81, label %16
16: ; preds = %11
%17 = load i64, ptr %9, align 8, !tbaa !11
%18 = icmp eq i64 %17, 0
br i1 %18, label %28, label %19
19: ; preds = %16
%20 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 5
%21 = load ptr, ptr %20, align 8, !tbaa !14
%22 = icmp eq ptr %21, null
br i1 %22, label %28, label %23
23: ; preds = %19
%24 = tail call ptr @OPENSSL_malloc(i32 noundef 16) #4
%25 = load i64, ptr @ADDED_DATA, align 8, !tbaa !9
%26 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %25
store ptr %24, ptr %26, align 8, !tbaa !5
%27 = icmp eq ptr %24, null
br i1 %27, label %81, label %28
28: ; preds = %23, %19, %16
%29 = getelementptr inbounds %struct.TYPE_11__, ptr %9, i64 0, i32 4
%30 = load ptr, ptr %29, align 8, !tbaa !15
%31 = icmp eq ptr %30, null
br i1 %31, label %37, label %32
32: ; preds = %28
%33 = tail call ptr @OPENSSL_malloc(i32 noundef 16) #4
%34 = load i64, ptr @ADDED_SNAME, align 8, !tbaa !9
%35 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %34
store ptr %33, ptr %35, align 8, !tbaa !5
%36 = icmp eq ptr %33, null
br i1 %36, label %81, label %37
37: ; preds = %32, %28
%38 = getelementptr inbounds %struct.TYPE_11__, ptr %9, i64 0, i32 3
%39 = load ptr, ptr %38, align 8, !tbaa !16
%40 = icmp eq ptr %39, null
br i1 %40, label %46, label %41
41: ; preds = %37
%42 = tail call ptr @OPENSSL_malloc(i32 noundef 16) #4
%43 = load i64, ptr @ADDED_LNAME, align 8, !tbaa !9
%44 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %43
store ptr %42, ptr %44, align 8, !tbaa !5
%45 = icmp eq ptr %42, null
br i1 %45, label %81, label %46
46: ; preds = %41, %37
%47 = load i64, ptr @ADDED_DATA, align 8, !tbaa !9
%48 = shl i64 %47, 32
%49 = ashr exact i64 %48, 32
%50 = load i64, ptr @ADDED_NID, align 8, !tbaa !9
%51 = icmp ult i64 %50, %49
br i1 %51, label %69, label %52
52: ; preds = %46, %65
%53 = phi i64 [ %66, %65 ], [ %50, %46 ]
%54 = phi i64 [ %67, %65 ], [ %49, %46 ]
%55 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %54
%56 = load ptr, ptr %55, align 8, !tbaa !5
%57 = icmp eq ptr %56, null
br i1 %57, label %65, label %58
58: ; preds = %52
%59 = trunc i64 %54 to i32
store i32 %59, ptr %56, align 8, !tbaa !17
%60 = getelementptr inbounds %struct.TYPE_12__, ptr %56, i64 0, i32 1
store ptr %9, ptr %60, align 8, !tbaa !19
%61 = load ptr, ptr @added, align 8, !tbaa !5
%62 = tail call ptr @lh_ADDED_OBJ_insert(ptr noundef %61, ptr noundef nonnull %56) #4
%63 = tail call i32 @OPENSSL_free(ptr noundef %62) #4
%64 = load i64, ptr @ADDED_NID, align 8, !tbaa !9
br label %65
65: ; preds = %52, %58
%66 = phi i64 [ %53, %52 ], [ %64, %58 ]
%67 = add i64 %54, 1
%68 = icmp ult i64 %66, %67
br i1 %68, label %69, label %52, !llvm.loop !20
69: ; preds = %65, %46
%70 = load i32, ptr @ASN1_OBJECT_FLAG_DYNAMIC, align 4, !tbaa !22
%71 = load i32, ptr @ASN1_OBJECT_FLAG_DYNAMIC_STRINGS, align 4, !tbaa !22
%72 = or i32 %71, %70
%73 = load i32, ptr @ASN1_OBJECT_FLAG_DYNAMIC_DATA, align 4, !tbaa !22
%74 = or i32 %72, %73
%75 = xor i32 %74, -1
%76 = getelementptr inbounds %struct.TYPE_11__, ptr %9, i64 0, i32 1
%77 = load i32, ptr %76, align 8, !tbaa !23
%78 = and i32 %77, %75
store i32 %78, ptr %76, align 8, !tbaa !23
%79 = getelementptr inbounds %struct.TYPE_11__, ptr %9, i64 0, i32 2
%80 = load i32, ptr %79, align 4, !tbaa !24
br label %102
81: ; preds = %41, %32, %23, %11
%82 = load i32, ptr @OBJ_F_OBJ_ADD_OBJECT, align 4, !tbaa !22
%83 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !22
%84 = tail call i32 @OBJerr(i32 noundef %82, i32 noundef %83) #4
br label %85
85: ; preds = %8, %81
%86 = load i64, ptr @ADDED_DATA, align 8, !tbaa !9
%87 = shl i64 %86, 32
%88 = ashr exact i64 %87, 32
%89 = load i64, ptr @ADDED_NID, align 8, !tbaa !9
%90 = icmp ult i64 %89, %88
br i1 %90, label %99, label %91
91: ; preds = %85, %91
%92 = phi i64 [ %96, %91 ], [ %88, %85 ]
%93 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %92
%94 = load ptr, ptr %93, align 8, !tbaa !5
%95 = tail call i32 @OPENSSL_free(ptr noundef %94) #4
%96 = add i64 %92, 1
%97 = load i64, ptr @ADDED_NID, align 8, !tbaa !9
%98 = icmp ult i64 %97, %96
br i1 %98, label %99, label %91, !llvm.loop !25
99: ; preds = %91, %85
%100 = tail call i32 @ASN1_OBJECT_free(ptr noundef %9) #4
%101 = load i32, ptr @NID_undef, align 4, !tbaa !22
br label %102
102: ; preds = %5, %99, %69
%103 = phi i32 [ %101, %99 ], [ %80, %69 ], [ 0, %5 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #4
ret i32 %103
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @init_added(...) local_unnamed_addr #3
declare ptr @OBJ_dup(ptr noundef) local_unnamed_addr #3
declare ptr @OPENSSL_malloc(i32 noundef) local_unnamed_addr #3
declare ptr @lh_ADDED_OBJ_insert(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #3
declare i32 @OBJerr(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @ASN1_OBJECT_free(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_11__", !10, i64 0, !13, i64 8, !13, i64 12, !6, i64 16, !6, i64 24, !6, i64 32}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !6, i64 32}
!15 = !{!12, !6, i64 24}
!16 = !{!12, !6, i64 16}
!17 = !{!18, !13, i64 0}
!18 = !{!"TYPE_12__", !13, i64 0, !6, i64 8}
!19 = !{!18, !6, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!13, !13, i64 0}
!23 = !{!12, !13, i64 8}
!24 = !{!12, !13, i64 12}
!25 = distinct !{!25, !21}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/objects/extr_obj_dat.c_OBJ_add_object.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/objects/extr_obj_dat.c_OBJ_add_object.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@added = common local_unnamed_addr global ptr null, align 8
@ADDED_NID = common local_unnamed_addr global i64 0, align 8
@ADDED_DATA = common local_unnamed_addr global i64 0, align 8
@ADDED_SNAME = common local_unnamed_addr global i64 0, align 8
@ADDED_LNAME = common local_unnamed_addr global i64 0, align 8
@ASN1_OBJECT_FLAG_DYNAMIC = common local_unnamed_addr global i32 0, align 4
@ASN1_OBJECT_FLAG_DYNAMIC_STRINGS = common local_unnamed_addr global i32 0, align 4
@ASN1_OBJECT_FLAG_DYNAMIC_DATA = common local_unnamed_addr global i32 0, align 4
@OBJ_F_OBJ_ADD_OBJECT = common local_unnamed_addr global i32 0, align 4
@ERR_R_MALLOC_FAILURE = common local_unnamed_addr global i32 0, align 4
@NID_undef = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @OBJ_add_object(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca [4 x ptr], align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %2, i8 0, i64 32, i1 false)
%3 = load ptr, ptr @added, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = tail call i32 @init_added() #4
%7 = icmp eq i32 %6, 0
br i1 %7, label %102, label %8
8: ; preds = %5, %1
%9 = tail call ptr @OBJ_dup(ptr noundef %0) #4
%10 = icmp eq ptr %9, null
br i1 %10, label %85, label %11
11: ; preds = %8
%12 = tail call ptr @OPENSSL_malloc(i32 noundef 16) #4
%13 = load i64, ptr @ADDED_NID, align 8, !tbaa !10
%14 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %13
store ptr %12, ptr %14, align 8, !tbaa !6
%15 = icmp eq ptr %12, null
br i1 %15, label %81, label %16
16: ; preds = %11
%17 = load i64, ptr %9, align 8, !tbaa !12
%18 = icmp eq i64 %17, 0
br i1 %18, label %28, label %19
19: ; preds = %16
%20 = getelementptr inbounds i8, ptr %0, i64 32
%21 = load ptr, ptr %20, align 8, !tbaa !15
%22 = icmp eq ptr %21, null
br i1 %22, label %28, label %23
23: ; preds = %19
%24 = tail call ptr @OPENSSL_malloc(i32 noundef 16) #4
%25 = load i64, ptr @ADDED_DATA, align 8, !tbaa !10
%26 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %25
store ptr %24, ptr %26, align 8, !tbaa !6
%27 = icmp eq ptr %24, null
br i1 %27, label %81, label %28
28: ; preds = %23, %19, %16
%29 = getelementptr inbounds i8, ptr %9, i64 24
%30 = load ptr, ptr %29, align 8, !tbaa !16
%31 = icmp eq ptr %30, null
br i1 %31, label %37, label %32
32: ; preds = %28
%33 = tail call ptr @OPENSSL_malloc(i32 noundef 16) #4
%34 = load i64, ptr @ADDED_SNAME, align 8, !tbaa !10
%35 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %34
store ptr %33, ptr %35, align 8, !tbaa !6
%36 = icmp eq ptr %33, null
br i1 %36, label %81, label %37
37: ; preds = %32, %28
%38 = getelementptr inbounds i8, ptr %9, i64 16
%39 = load ptr, ptr %38, align 8, !tbaa !17
%40 = icmp eq ptr %39, null
br i1 %40, label %46, label %41
41: ; preds = %37
%42 = tail call ptr @OPENSSL_malloc(i32 noundef 16) #4
%43 = load i64, ptr @ADDED_LNAME, align 8, !tbaa !10
%44 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %43
store ptr %42, ptr %44, align 8, !tbaa !6
%45 = icmp eq ptr %42, null
br i1 %45, label %81, label %46
46: ; preds = %41, %37
%47 = load i64, ptr @ADDED_DATA, align 8, !tbaa !10
%48 = shl i64 %47, 32
%49 = ashr exact i64 %48, 32
%50 = load i64, ptr @ADDED_NID, align 8, !tbaa !10
%51 = icmp ult i64 %50, %49
br i1 %51, label %69, label %52
52: ; preds = %46, %65
%53 = phi i64 [ %66, %65 ], [ %50, %46 ]
%54 = phi i64 [ %67, %65 ], [ %49, %46 ]
%55 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %54
%56 = load ptr, ptr %55, align 8, !tbaa !6
%57 = icmp eq ptr %56, null
br i1 %57, label %65, label %58
58: ; preds = %52
%59 = trunc nsw i64 %54 to i32
store i32 %59, ptr %56, align 8, !tbaa !18
%60 = getelementptr inbounds i8, ptr %56, i64 8
store ptr %9, ptr %60, align 8, !tbaa !20
%61 = load ptr, ptr @added, align 8, !tbaa !6
%62 = tail call ptr @lh_ADDED_OBJ_insert(ptr noundef %61, ptr noundef nonnull %56) #4
%63 = tail call i32 @OPENSSL_free(ptr noundef %62) #4
%64 = load i64, ptr @ADDED_NID, align 8, !tbaa !10
br label %65
65: ; preds = %52, %58
%66 = phi i64 [ %53, %52 ], [ %64, %58 ]
%67 = add nsw i64 %54, 1
%68 = icmp ult i64 %66, %67
br i1 %68, label %69, label %52, !llvm.loop !21
69: ; preds = %65, %46
%70 = load i32, ptr @ASN1_OBJECT_FLAG_DYNAMIC, align 4, !tbaa !23
%71 = load i32, ptr @ASN1_OBJECT_FLAG_DYNAMIC_STRINGS, align 4, !tbaa !23
%72 = or i32 %71, %70
%73 = load i32, ptr @ASN1_OBJECT_FLAG_DYNAMIC_DATA, align 4, !tbaa !23
%74 = or i32 %72, %73
%75 = xor i32 %74, -1
%76 = getelementptr inbounds i8, ptr %9, i64 8
%77 = load i32, ptr %76, align 8, !tbaa !24
%78 = and i32 %77, %75
store i32 %78, ptr %76, align 8, !tbaa !24
%79 = getelementptr inbounds i8, ptr %9, i64 12
%80 = load i32, ptr %79, align 4, !tbaa !25
br label %102
81: ; preds = %41, %32, %23, %11
%82 = load i32, ptr @OBJ_F_OBJ_ADD_OBJECT, align 4, !tbaa !23
%83 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !23
%84 = tail call i32 @OBJerr(i32 noundef %82, i32 noundef %83) #4
br label %85
85: ; preds = %8, %81
%86 = load i64, ptr @ADDED_DATA, align 8, !tbaa !10
%87 = shl i64 %86, 32
%88 = ashr exact i64 %87, 32
%89 = load i64, ptr @ADDED_NID, align 8, !tbaa !10
%90 = icmp ult i64 %89, %88
br i1 %90, label %99, label %91
91: ; preds = %85, %91
%92 = phi i64 [ %96, %91 ], [ %88, %85 ]
%93 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %92
%94 = load ptr, ptr %93, align 8, !tbaa !6
%95 = tail call i32 @OPENSSL_free(ptr noundef %94) #4
%96 = add nsw i64 %92, 1
%97 = load i64, ptr @ADDED_NID, align 8, !tbaa !10
%98 = icmp ult i64 %97, %96
br i1 %98, label %99, label %91, !llvm.loop !26
99: ; preds = %91, %85
%100 = tail call i32 @ASN1_OBJECT_free(ptr noundef %9) #4
%101 = load i32, ptr @NID_undef, align 4, !tbaa !23
br label %102
102: ; preds = %5, %99, %69
%103 = phi i32 [ %101, %99 ], [ %80, %69 ], [ 0, %5 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #4
ret i32 %103
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @init_added(...) local_unnamed_addr #3
declare ptr @OBJ_dup(ptr noundef) local_unnamed_addr #3
declare ptr @OPENSSL_malloc(i32 noundef) local_unnamed_addr #3
declare ptr @lh_ADDED_OBJ_insert(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #3
declare i32 @OBJerr(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @ASN1_OBJECT_free(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_11__", !11, i64 0, !14, i64 8, !14, i64 12, !7, i64 16, !7, i64 24, !7, i64 32}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !7, i64 32}
!16 = !{!13, !7, i64 24}
!17 = !{!13, !7, i64 16}
!18 = !{!19, !14, i64 0}
!19 = !{!"TYPE_12__", !14, i64 0, !7, i64 8}
!20 = !{!19, !7, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!14, !14, i64 0}
!24 = !{!13, !14, i64 8}
!25 = !{!13, !14, i64 12}
!26 = distinct !{!26, !22}
| freebsd_crypto_openssl_crypto_objects_extr_obj_dat.c_OBJ_add_object |
; ModuleID = 'AnghaBench/linux/sound/soc/extr_soc-dapm.c_dapm_widget_update.c'
source_filename = "AnghaBench/linux/sound/soc/extr_soc-dapm.c_dapm_widget_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.snd_soc_dapm_widget_list = type { i32, ptr }
%struct.snd_soc_dapm_widget = type { ptr, i32, i32, ptr }
%struct.snd_soc_dapm_update = type { i32, i32, i32, i32, i64, i32, i32, i32 }
@SND_SOC_DAPM_PRE_REG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"ASoC: %s DAPM pre-event failed: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"ASoC: %s DAPM update failed: %d\0A\00", align 1
@SND_SOC_DAPM_POST_REG = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [37 x i8] c"ASoC: %s DAPM post-event failed: %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dapm_widget_update], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dapm_widget_update(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %115, label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 8, !tbaa !10
%6 = tail call i32 @dapm_kcontrol_is_powered(i32 noundef %5) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %115, label %8
8: ; preds = %4
%9 = load i32, ptr %2, align 8, !tbaa !10
%10 = tail call ptr @dapm_kcontrol_get_wlist(i32 noundef %9) #2
%11 = load i32, ptr %10, align 8, !tbaa !14
%12 = icmp eq i32 %11, 0
br i1 %12, label %115, label %13
13: ; preds = %8
%14 = getelementptr inbounds %struct.snd_soc_dapm_widget_list, ptr %10, i64 0, i32 1
br label %15
15: ; preds = %13, %39
%16 = phi i64 [ 0, %13 ], [ %40, %39 ]
%17 = load ptr, ptr %14, align 8, !tbaa !16
%18 = getelementptr inbounds ptr, ptr %17, i64 %16
%19 = load ptr, ptr %18, align 8, !tbaa !17
%20 = load ptr, ptr %19, align 8, !tbaa !18
%21 = icmp eq ptr %20, null
br i1 %21, label %39, label %22
22: ; preds = %15
%23 = getelementptr inbounds %struct.snd_soc_dapm_widget, ptr %19, i64 0, i32 1
%24 = load i32, ptr %23, align 8, !tbaa !20
%25 = load i32, ptr @SND_SOC_DAPM_PRE_REG, align 4, !tbaa !21
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
br i1 %27, label %39, label %28
28: ; preds = %22
%29 = load i32, ptr %2, align 8, !tbaa !10
%30 = tail call i32 %20(ptr noundef nonnull %19, i32 noundef %29, i32 noundef %25) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %39, label %32
32: ; preds = %28
%33 = getelementptr inbounds %struct.snd_soc_dapm_widget, ptr %19, i64 0, i32 3
%34 = load ptr, ptr %33, align 8, !tbaa !22
%35 = load i32, ptr %34, align 4, !tbaa !23
%36 = getelementptr inbounds %struct.snd_soc_dapm_widget, ptr %19, i64 0, i32 2
%37 = load i32, ptr %36, align 4, !tbaa !25
%38 = tail call i32 @dev_err(i32 noundef %35, ptr noundef nonnull @.str, i32 noundef %37, i32 noundef %30) #2
br label %39
39: ; preds = %15, %22, %32, %28
%40 = add nuw nsw i64 %16, 1
%41 = load i32, ptr %10, align 8, !tbaa !14
%42 = zext i32 %41 to i64
%43 = icmp ult i64 %40, %42
br i1 %43, label %15, label %44, !llvm.loop !26
44: ; preds = %39
%45 = getelementptr inbounds %struct.snd_soc_dapm_widget, ptr %19, i64 0, i32 3
%46 = load ptr, ptr %45, align 8, !tbaa !22
%47 = getelementptr inbounds %struct.snd_soc_dapm_update, ptr %2, i64 0, i32 7
%48 = load i32, ptr %47, align 8, !tbaa !28
%49 = getelementptr inbounds %struct.snd_soc_dapm_update, ptr %2, i64 0, i32 6
%50 = load i32, ptr %49, align 4, !tbaa !29
%51 = getelementptr inbounds %struct.snd_soc_dapm_update, ptr %2, i64 0, i32 5
%52 = load i32, ptr %51, align 8, !tbaa !30
%53 = tail call i32 @soc_dapm_update_bits(ptr noundef %46, i32 noundef %48, i32 noundef %50, i32 noundef %52) #2
%54 = icmp slt i32 %53, 0
br i1 %54, label %55, label %61
55: ; preds = %44
%56 = load ptr, ptr %45, align 8, !tbaa !22
%57 = load i32, ptr %56, align 4, !tbaa !23
%58 = getelementptr inbounds %struct.snd_soc_dapm_widget, ptr %19, i64 0, i32 2
%59 = load i32, ptr %58, align 4, !tbaa !25
%60 = tail call i32 @dev_err(i32 noundef %57, ptr noundef nonnull @.str.1, i32 noundef %59, i32 noundef %53) #2
br label %61
61: ; preds = %55, %44
%62 = getelementptr inbounds %struct.snd_soc_dapm_update, ptr %2, i64 0, i32 4
%63 = load i64, ptr %62, align 8, !tbaa !31
%64 = icmp eq i64 %63, 0
br i1 %64, label %81, label %65
65: ; preds = %61
%66 = load ptr, ptr %45, align 8, !tbaa !22
%67 = getelementptr inbounds %struct.snd_soc_dapm_update, ptr %2, i64 0, i32 3
%68 = load i32, ptr %67, align 4, !tbaa !32
%69 = getelementptr inbounds %struct.snd_soc_dapm_update, ptr %2, i64 0, i32 2
%70 = load i32, ptr %69, align 8, !tbaa !33
%71 = getelementptr inbounds %struct.snd_soc_dapm_update, ptr %2, i64 0, i32 1
%72 = load i32, ptr %71, align 4, !tbaa !34
%73 = tail call i32 @soc_dapm_update_bits(ptr noundef %66, i32 noundef %68, i32 noundef %70, i32 noundef %72) #2
%74 = icmp slt i32 %73, 0
br i1 %74, label %75, label %81
75: ; preds = %65
%76 = load ptr, ptr %45, align 8, !tbaa !22
%77 = load i32, ptr %76, align 4, !tbaa !23
%78 = getelementptr inbounds %struct.snd_soc_dapm_widget, ptr %19, i64 0, i32 2
%79 = load i32, ptr %78, align 4, !tbaa !25
%80 = tail call i32 @dev_err(i32 noundef %77, ptr noundef nonnull @.str.1, i32 noundef %79, i32 noundef %73) #2
br label %81
81: ; preds = %65, %75, %61
%82 = load i32, ptr %10, align 8, !tbaa !14
%83 = icmp eq i32 %82, 0
br i1 %83, label %115, label %84
84: ; preds = %81
%85 = getelementptr inbounds %struct.snd_soc_dapm_widget_list, ptr %10, i64 0, i32 1
br label %86
86: ; preds = %84, %110
%87 = phi i64 [ 0, %84 ], [ %111, %110 ]
%88 = load ptr, ptr %85, align 8, !tbaa !16
%89 = getelementptr inbounds ptr, ptr %88, i64 %87
%90 = load ptr, ptr %89, align 8, !tbaa !17
%91 = load ptr, ptr %90, align 8, !tbaa !18
%92 = icmp eq ptr %91, null
br i1 %92, label %110, label %93
93: ; preds = %86
%94 = getelementptr inbounds %struct.snd_soc_dapm_widget, ptr %90, i64 0, i32 1
%95 = load i32, ptr %94, align 8, !tbaa !20
%96 = load i32, ptr @SND_SOC_DAPM_POST_REG, align 4, !tbaa !21
%97 = and i32 %96, %95
%98 = icmp eq i32 %97, 0
br i1 %98, label %110, label %99
99: ; preds = %93
%100 = load i32, ptr %2, align 8, !tbaa !10
%101 = tail call i32 %91(ptr noundef nonnull %90, i32 noundef %100, i32 noundef %96) #2
%102 = icmp eq i32 %101, 0
br i1 %102, label %110, label %103
103: ; preds = %99
%104 = getelementptr inbounds %struct.snd_soc_dapm_widget, ptr %90, i64 0, i32 3
%105 = load ptr, ptr %104, align 8, !tbaa !22
%106 = load i32, ptr %105, align 4, !tbaa !23
%107 = getelementptr inbounds %struct.snd_soc_dapm_widget, ptr %90, i64 0, i32 2
%108 = load i32, ptr %107, align 4, !tbaa !25
%109 = tail call i32 @dev_err(i32 noundef %106, ptr noundef nonnull @.str.2, i32 noundef %108, i32 noundef %101) #2
br label %110
110: ; preds = %86, %93, %103, %99
%111 = add nuw nsw i64 %87, 1
%112 = load i32, ptr %10, align 8, !tbaa !14
%113 = zext i32 %112 to i64
%114 = icmp ult i64 %111, %113
br i1 %114, label %86, label %115, !llvm.loop !35
115: ; preds = %110, %8, %81, %1, %4
ret void
}
declare i32 @dapm_kcontrol_is_powered(i32 noundef) local_unnamed_addr #1
declare ptr @dapm_kcontrol_get_wlist(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @soc_dapm_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_soc_card", !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 = !{!"snd_soc_dapm_update", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !13, i64 16, !12, i64 24, !12, i64 28, !12, i64 32}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"snd_soc_dapm_widget_list", !12, i64 0, !7, i64 8}
!16 = !{!15, !7, i64 8}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"snd_soc_dapm_widget", !7, i64 0, !12, i64 8, !12, i64 12, !7, i64 16}
!20 = !{!19, !12, i64 8}
!21 = !{!12, !12, i64 0}
!22 = !{!19, !7, i64 16}
!23 = !{!24, !12, i64 0}
!24 = !{!"TYPE_2__", !12, i64 0}
!25 = !{!19, !12, i64 12}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!11, !12, i64 32}
!29 = !{!11, !12, i64 28}
!30 = !{!11, !12, i64 24}
!31 = !{!11, !13, i64 16}
!32 = !{!11, !12, i64 12}
!33 = !{!11, !12, i64 8}
!34 = !{!11, !12, i64 4}
!35 = distinct !{!35, !27}
| ; ModuleID = 'AnghaBench/linux/sound/soc/extr_soc-dapm.c_dapm_widget_update.c'
source_filename = "AnghaBench/linux/sound/soc/extr_soc-dapm.c_dapm_widget_update.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SND_SOC_DAPM_PRE_REG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"ASoC: %s DAPM pre-event failed: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"ASoC: %s DAPM update failed: %d\0A\00", align 1
@SND_SOC_DAPM_POST_REG = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [37 x i8] c"ASoC: %s DAPM post-event failed: %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dapm_widget_update], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dapm_widget_update(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %113, label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 8, !tbaa !11
%6 = tail call i32 @dapm_kcontrol_is_powered(i32 noundef %5) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %113, label %8
8: ; preds = %4
%9 = load i32, ptr %2, align 8, !tbaa !11
%10 = tail call ptr @dapm_kcontrol_get_wlist(i32 noundef %9) #2
%11 = load i32, ptr %10, align 8, !tbaa !15
%12 = icmp eq i32 %11, 0
br i1 %12, label %113, label %13
13: ; preds = %8
%14 = getelementptr inbounds i8, ptr %10, i64 8
br label %15
15: ; preds = %13, %39
%16 = phi i64 [ 0, %13 ], [ %40, %39 ]
%17 = load ptr, ptr %14, align 8, !tbaa !17
%18 = getelementptr inbounds ptr, ptr %17, i64 %16
%19 = load ptr, ptr %18, align 8, !tbaa !18
%20 = load ptr, ptr %19, align 8, !tbaa !19
%21 = icmp eq ptr %20, null
br i1 %21, label %39, label %22
22: ; preds = %15
%23 = getelementptr inbounds i8, ptr %19, i64 8
%24 = load i32, ptr %23, align 8, !tbaa !21
%25 = load i32, ptr @SND_SOC_DAPM_PRE_REG, align 4, !tbaa !22
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
br i1 %27, label %39, label %28
28: ; preds = %22
%29 = load i32, ptr %2, align 8, !tbaa !11
%30 = tail call i32 %20(ptr noundef nonnull %19, i32 noundef %29, i32 noundef %25) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %39, label %32
32: ; preds = %28
%33 = getelementptr inbounds i8, ptr %19, i64 16
%34 = load ptr, ptr %33, align 8, !tbaa !23
%35 = load i32, ptr %34, align 4, !tbaa !24
%36 = getelementptr inbounds i8, ptr %19, i64 12
%37 = load i32, ptr %36, align 4, !tbaa !26
%38 = tail call i32 @dev_err(i32 noundef %35, ptr noundef nonnull @.str, i32 noundef %37, i32 noundef %30) #2
br label %39
39: ; preds = %15, %22, %32, %28
%40 = add nuw nsw i64 %16, 1
%41 = load i32, ptr %10, align 8, !tbaa !15
%42 = zext i32 %41 to i64
%43 = icmp ult i64 %40, %42
br i1 %43, label %15, label %44, !llvm.loop !27
44: ; preds = %39
%45 = getelementptr inbounds i8, ptr %19, i64 16
%46 = load ptr, ptr %45, align 8, !tbaa !23
%47 = getelementptr inbounds i8, ptr %2, i64 32
%48 = load i32, ptr %47, align 8, !tbaa !29
%49 = getelementptr inbounds i8, ptr %2, i64 28
%50 = load i32, ptr %49, align 4, !tbaa !30
%51 = getelementptr inbounds i8, ptr %2, i64 24
%52 = load i32, ptr %51, align 8, !tbaa !31
%53 = tail call i32 @soc_dapm_update_bits(ptr noundef %46, i32 noundef %48, i32 noundef %50, i32 noundef %52) #2
%54 = icmp slt i32 %53, 0
br i1 %54, label %55, label %61
55: ; preds = %44
%56 = load ptr, ptr %45, align 8, !tbaa !23
%57 = load i32, ptr %56, align 4, !tbaa !24
%58 = getelementptr inbounds i8, ptr %19, i64 12
%59 = load i32, ptr %58, align 4, !tbaa !26
%60 = tail call i32 @dev_err(i32 noundef %57, ptr noundef nonnull @.str.1, i32 noundef %59, i32 noundef %53) #2
br label %61
61: ; preds = %55, %44
%62 = getelementptr inbounds i8, ptr %2, i64 16
%63 = load i64, ptr %62, align 8, !tbaa !32
%64 = icmp eq i64 %63, 0
br i1 %64, label %81, label %65
65: ; preds = %61
%66 = load ptr, ptr %45, align 8, !tbaa !23
%67 = getelementptr inbounds i8, ptr %2, i64 12
%68 = load i32, ptr %67, align 4, !tbaa !33
%69 = getelementptr inbounds i8, ptr %2, i64 8
%70 = load i32, ptr %69, align 8, !tbaa !34
%71 = getelementptr inbounds i8, ptr %2, i64 4
%72 = load i32, ptr %71, align 4, !tbaa !35
%73 = tail call i32 @soc_dapm_update_bits(ptr noundef %66, i32 noundef %68, i32 noundef %70, i32 noundef %72) #2
%74 = icmp slt i32 %73, 0
br i1 %74, label %75, label %81
75: ; preds = %65
%76 = load ptr, ptr %45, align 8, !tbaa !23
%77 = load i32, ptr %76, align 4, !tbaa !24
%78 = getelementptr inbounds i8, ptr %19, i64 12
%79 = load i32, ptr %78, align 4, !tbaa !26
%80 = tail call i32 @dev_err(i32 noundef %77, ptr noundef nonnull @.str.1, i32 noundef %79, i32 noundef %73) #2
br label %81
81: ; preds = %65, %75, %61
%82 = load i32, ptr %10, align 8, !tbaa !15
%83 = icmp eq i32 %82, 0
br i1 %83, label %113, label %84
84: ; preds = %81, %108
%85 = phi i64 [ %109, %108 ], [ 0, %81 ]
%86 = load ptr, ptr %14, align 8, !tbaa !17
%87 = getelementptr inbounds ptr, ptr %86, i64 %85
%88 = load ptr, ptr %87, align 8, !tbaa !18
%89 = load ptr, ptr %88, align 8, !tbaa !19
%90 = icmp eq ptr %89, null
br i1 %90, label %108, label %91
91: ; preds = %84
%92 = getelementptr inbounds i8, ptr %88, i64 8
%93 = load i32, ptr %92, align 8, !tbaa !21
%94 = load i32, ptr @SND_SOC_DAPM_POST_REG, align 4, !tbaa !22
%95 = and i32 %94, %93
%96 = icmp eq i32 %95, 0
br i1 %96, label %108, label %97
97: ; preds = %91
%98 = load i32, ptr %2, align 8, !tbaa !11
%99 = tail call i32 %89(ptr noundef nonnull %88, i32 noundef %98, i32 noundef %94) #2
%100 = icmp eq i32 %99, 0
br i1 %100, label %108, label %101
101: ; preds = %97
%102 = getelementptr inbounds i8, ptr %88, i64 16
%103 = load ptr, ptr %102, align 8, !tbaa !23
%104 = load i32, ptr %103, align 4, !tbaa !24
%105 = getelementptr inbounds i8, ptr %88, i64 12
%106 = load i32, ptr %105, align 4, !tbaa !26
%107 = tail call i32 @dev_err(i32 noundef %104, ptr noundef nonnull @.str.2, i32 noundef %106, i32 noundef %99) #2
br label %108
108: ; preds = %84, %91, %101, %97
%109 = add nuw nsw i64 %85, 1
%110 = load i32, ptr %10, align 8, !tbaa !15
%111 = zext i32 %110 to i64
%112 = icmp ult i64 %109, %111
br i1 %112, label %84, label %113, !llvm.loop !36
113: ; preds = %108, %8, %81, %1, %4
ret void
}
declare i32 @dapm_kcontrol_is_powered(i32 noundef) local_unnamed_addr #1
declare ptr @dapm_kcontrol_get_wlist(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @soc_dapm_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_soc_card", !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 = !{!"snd_soc_dapm_update", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !13, i64 24, !13, i64 28, !13, i64 32}
!13 = !{!"int", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"snd_soc_dapm_widget_list", !13, i64 0, !8, i64 8}
!17 = !{!16, !8, i64 8}
!18 = !{!8, !8, i64 0}
!19 = !{!20, !8, i64 0}
!20 = !{!"snd_soc_dapm_widget", !8, i64 0, !13, i64 8, !13, i64 12, !8, i64 16}
!21 = !{!20, !13, i64 8}
!22 = !{!13, !13, i64 0}
!23 = !{!20, !8, i64 16}
!24 = !{!25, !13, i64 0}
!25 = !{!"TYPE_2__", !13, i64 0}
!26 = !{!20, !13, i64 12}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!12, !13, i64 32}
!30 = !{!12, !13, i64 28}
!31 = !{!12, !13, i64 24}
!32 = !{!12, !14, i64 16}
!33 = !{!12, !13, i64 12}
!34 = !{!12, !13, i64 8}
!35 = !{!12, !13, i64 4}
!36 = distinct !{!36, !28}
| linux_sound_soc_extr_soc-dapm.c_dapm_widget_update |
; ModuleID = 'AnghaBench/freebsd/sys/arm/arm/extr_pmap-v6.c_pmap_preboot_vtopte2.c'
source_filename = "AnghaBench/freebsd/sys/arm/arm/extr_pmap-v6.c_pmap_preboot_vtopte2.c"
target datalayout = "e-m:e-p270:32:32-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 @pmap_preboot_vtopte2], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @pmap_preboot_vtopte2(i32 noundef %0) #0 {
%2 = tail call ptr @kern_pte1(i32 noundef %0) #2
%3 = tail call i32 @pte1_load(ptr noundef %2) #2
%4 = tail call i32 @pte1_is_valid(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = tail call i32 @pmap_preboot_pt2_setup(i32 noundef %0) #2
br label %8
8: ; preds = %6, %1
%9 = tail call ptr @pt2map_entry(i32 noundef %0) #2
ret ptr %9
}
declare ptr @kern_pte1(i32 noundef) local_unnamed_addr #1
declare i32 @pte1_is_valid(i32 noundef) local_unnamed_addr #1
declare i32 @pte1_load(ptr noundef) local_unnamed_addr #1
declare i32 @pmap_preboot_pt2_setup(i32 noundef) local_unnamed_addr #1
declare ptr @pt2map_entry(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/arm/extr_pmap-v6.c_pmap_preboot_vtopte2.c'
source_filename = "AnghaBench/freebsd/sys/arm/arm/extr_pmap-v6.c_pmap_preboot_vtopte2.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 @pmap_preboot_vtopte2], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @pmap_preboot_vtopte2(i32 noundef %0) #0 {
%2 = tail call ptr @kern_pte1(i32 noundef %0) #2
%3 = tail call i32 @pte1_load(ptr noundef %2) #2
%4 = tail call i32 @pte1_is_valid(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = tail call i32 @pmap_preboot_pt2_setup(i32 noundef %0) #2
br label %8
8: ; preds = %6, %1
%9 = tail call ptr @pt2map_entry(i32 noundef %0) #2
ret ptr %9
}
declare ptr @kern_pte1(i32 noundef) local_unnamed_addr #1
declare i32 @pte1_is_valid(i32 noundef) local_unnamed_addr #1
declare i32 @pte1_load(ptr noundef) local_unnamed_addr #1
declare i32 @pmap_preboot_pt2_setup(i32 noundef) local_unnamed_addr #1
declare ptr @pt2map_entry(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_arm_arm_extr_pmap-v6.c_pmap_preboot_vtopte2 |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_sriov.c_qed_iov_get_vf_rx_queue_cid.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_sriov.c_qed_iov_get_vf_rx_queue_cid.c"
target datalayout = "e-m:e-p270:32:32-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 }
@MAX_QUEUES_PER_QZONE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qed_iov_get_vf_rx_queue_cid], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal ptr @qed_iov_get_vf_rx_queue_cid(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @MAX_QUEUES_PER_QZONE, align 4, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %19
4: ; preds = %1
%5 = load ptr, ptr %0, align 8, !tbaa !9
%6 = zext nneg i32 %2 to i64
br label %7
7: ; preds = %4, %16
%8 = phi i64 [ 0, %4 ], [ %17, %16 ]
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %8
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = icmp eq ptr %10, null
br i1 %11, label %16, label %12
12: ; preds = %7
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %8, i32 1
%14 = load i32, ptr %13, align 8, !tbaa !14
%15 = icmp eq i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %7, %12
%17 = add nuw nsw i64 %8, 1
%18 = icmp eq i64 %17, %6
br i1 %18, label %19, label %7, !llvm.loop !15
19: ; preds = %12, %16, %1
%20 = phi ptr [ null, %1 ], [ null, %16 ], [ %10, %12 ]
ret ptr %20
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"qed_vf_queue", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0, !6, i64 8}
!14 = !{!13, !6, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_sriov.c_qed_iov_get_vf_rx_queue_cid.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_sriov.c_qed_iov_get_vf_rx_queue_cid.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, i32 }
@MAX_QUEUES_PER_QZONE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qed_iov_get_vf_rx_queue_cid], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal ptr @qed_iov_get_vf_rx_queue_cid(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @MAX_QUEUES_PER_QZONE, align 4, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %19
4: ; preds = %1
%5 = load ptr, ptr %0, align 8, !tbaa !10
%6 = zext nneg i32 %2 to i64
br label %7
7: ; preds = %4, %16
%8 = phi i64 [ 0, %4 ], [ %17, %16 ]
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %8
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = icmp eq ptr %10, null
br i1 %11, label %16, label %12
12: ; preds = %7
%13 = getelementptr inbounds i8, ptr %9, i64 8
%14 = load i32, ptr %13, align 8, !tbaa !15
%15 = icmp eq i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %7, %12
%17 = add nuw nsw i64 %8, 1
%18 = icmp eq i64 %17, %6
br i1 %18, label %19, label %7, !llvm.loop !16
19: ; preds = %12, %16, %1
%20 = phi ptr [ null, %1 ], [ null, %16 ], [ %10, %12 ]
ret ptr %20
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"qed_vf_queue", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_2__", !12, i64 0, !7, i64 8}
!15 = !{!14, !7, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_ethernet_qlogic_qed_extr_qed_sriov.c_qed_iov_get_vf_rx_queue_cid |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sh/boards/mach-snapgear/extr_io.c_snapgear_inl.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sh/boards/mach-snapgear/extr_io.c_snapgear_inl.c"
target datalayout = "e-m:e-p270:32:32-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 @snapgear_inl(i64 noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @PXSEG(i64 noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %8, label %4
4: ; preds = %1
%5 = inttoptr i64 %0 to ptr
%6 = load volatile i64, ptr %5, align 8, !tbaa !5
%7 = trunc i64 %6 to i32
br label %15
8: ; preds = %1
%9 = icmp ugt i64 %0, 8191
br i1 %9, label %10, label %13
10: ; preds = %8
%11 = tail call ptr @port2adr(i64 noundef %0) #2
%12 = load i32, ptr %11, align 4, !tbaa !9
br label %15
13: ; preds = %8
%14 = tail call i32 @maybebadio(i64 noundef %0) #2
br label %15
15: ; preds = %13, %10, %4
%16 = phi i32 [ %7, %4 ], [ %12, %10 ], [ 0, %13 ]
ret i32 %16
}
declare i64 @PXSEG(i64 noundef) local_unnamed_addr #1
declare ptr @port2adr(i64 noundef) local_unnamed_addr #1
declare i32 @maybebadio(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sh/boards/mach-snapgear/extr_io.c_snapgear_inl.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sh/boards/mach-snapgear/extr_io.c_snapgear_inl.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 @snapgear_inl(i64 noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @PXSEG(i64 noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %8, label %4
4: ; preds = %1
%5 = inttoptr i64 %0 to ptr
%6 = load volatile i64, ptr %5, align 8, !tbaa !6
%7 = trunc i64 %6 to i32
br label %15
8: ; preds = %1
%9 = icmp ugt i64 %0, 8191
br i1 %9, label %10, label %13
10: ; preds = %8
%11 = tail call ptr @port2adr(i64 noundef %0) #2
%12 = load i32, ptr %11, align 4, !tbaa !10
br label %15
13: ; preds = %8
%14 = tail call i32 @maybebadio(i64 noundef %0) #2
br label %15
15: ; preds = %13, %10, %4
%16 = phi i32 [ %7, %4 ], [ %12, %10 ], [ 0, %13 ]
ret i32 %16
}
declare i64 @PXSEG(i64 noundef) local_unnamed_addr #1
declare ptr @port2adr(i64 noundef) local_unnamed_addr #1
declare i32 @maybebadio(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| fastsocket_kernel_arch_sh_boards_mach-snapgear_extr_io.c_snapgear_inl |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/meson/extr_meson_venc_cvbs.c_meson_cvbs_connector_get_modes.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/meson/extr_meson_venc_cvbs.c_meson_cvbs_connector_get_modes.c"
target datalayout = "e-m:e-p270:32:32-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.meson_cvbs_mode = type { i32 }
@MESON_CVBS_MODES_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@meson_cvbs_modes = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [37 x i8] c"Failed to create a new display mode\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @meson_cvbs_connector_get_modes], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @meson_cvbs_connector_get_modes(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr @MESON_CVBS_MODES_COUNT, align 4, !tbaa !10
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %21
5: ; preds = %1, %13
%6 = phi i64 [ %15, %13 ], [ 0, %1 ]
%7 = load ptr, ptr @meson_cvbs_modes, align 8, !tbaa !12
%8 = getelementptr inbounds %struct.meson_cvbs_mode, ptr %7, i64 %6
%9 = tail call ptr @drm_mode_duplicate(ptr noundef %2, ptr noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %5
%12 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2
br label %21
13: ; preds = %5
%14 = tail call i32 @drm_mode_probed_add(ptr noundef nonnull %0, ptr noundef nonnull %9) #2
%15 = add nuw nsw i64 %6, 1
%16 = load i32, ptr @MESON_CVBS_MODES_COUNT, align 4, !tbaa !10
%17 = sext i32 %16 to i64
%18 = icmp slt i64 %15, %17
br i1 %18, label %5, label %19, !llvm.loop !13
19: ; preds = %13
%20 = trunc i64 %15 to i32
br label %21
21: ; preds = %19, %1, %11
%22 = phi i32 [ 0, %11 ], [ 0, %1 ], [ %20, %19 ]
ret i32 %22
}
declare ptr @drm_mode_duplicate(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @drm_mode_probed_add(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"drm_connector", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/meson/extr_meson_venc_cvbs.c_meson_cvbs_connector_get_modes.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/meson/extr_meson_venc_cvbs.c_meson_cvbs_connector_get_modes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.meson_cvbs_mode = type { i32 }
@MESON_CVBS_MODES_COUNT = common local_unnamed_addr global i32 0, align 4
@meson_cvbs_modes = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [37 x i8] c"Failed to create a new display mode\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @meson_cvbs_connector_get_modes], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @meson_cvbs_connector_get_modes(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr @MESON_CVBS_MODES_COUNT, align 4, !tbaa !11
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %21
5: ; preds = %1, %13
%6 = phi i64 [ %15, %13 ], [ 0, %1 ]
%7 = load ptr, ptr @meson_cvbs_modes, align 8, !tbaa !13
%8 = getelementptr inbounds %struct.meson_cvbs_mode, ptr %7, i64 %6
%9 = tail call ptr @drm_mode_duplicate(ptr noundef %2, ptr noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %5
%12 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2
br label %21
13: ; preds = %5
%14 = tail call i32 @drm_mode_probed_add(ptr noundef nonnull %0, ptr noundef nonnull %9) #2
%15 = add nuw nsw i64 %6, 1
%16 = load i32, ptr @MESON_CVBS_MODES_COUNT, align 4, !tbaa !11
%17 = sext i32 %16 to i64
%18 = icmp slt i64 %15, %17
br i1 %18, label %5, label %19, !llvm.loop !14
19: ; preds = %13
%20 = trunc nuw nsw i64 %15 to i32
br label %21
21: ; preds = %19, %1, %11
%22 = phi i32 [ 0, %11 ], [ 0, %1 ], [ %20, %19 ]
ret i32 %22
}
declare ptr @drm_mode_duplicate(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @drm_mode_probed_add(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"drm_connector", !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 = !{!8, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| linux_drivers_gpu_drm_meson_extr_meson_venc_cvbs.c_meson_cvbs_connector_get_modes |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_hpread.c_lbrac_unmatched_complaint.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_hpread.c_lbrac_unmatched_complaint.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@symfile_complaints = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"unmatched N_LBRAC before symtab pos %d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @lbrac_unmatched_complaint], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lbrac_unmatched_complaint(i32 noundef %0) #0 {
%2 = tail call i32 @complaint(ptr noundef nonnull @symfile_complaints, ptr noundef nonnull @.str, i32 noundef %0) #2
ret void
}
declare i32 @complaint(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_hpread.c_lbrac_unmatched_complaint.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_hpread.c_lbrac_unmatched_complaint.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@symfile_complaints = common global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"unmatched N_LBRAC before symtab pos %d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @lbrac_unmatched_complaint], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lbrac_unmatched_complaint(i32 noundef %0) #0 {
%2 = tail call i32 @complaint(ptr noundef nonnull @symfile_complaints, ptr noundef nonnull @.str, i32 noundef %0) #2
ret void
}
declare i32 @complaint(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_gdb_gdb_extr_hpread.c_lbrac_unmatched_complaint |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svnlook/extr_svnlook.c_do_dirs_changed.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svnlook/extr_svnlook.c_do_dirs_changed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SVN_INVALID_REVNUM = dso_local local_unnamed_addr global i64 0, align 8
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_dirs_changed], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @do_dirs_changed(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = call i32 @get_root(ptr noundef nonnull %3, ptr noundef %0, ptr noundef %1) #3
%7 = call i32 @SVN_ERR(i32 noundef %6) #3
%8 = call i32 @get_base_rev(ptr noundef nonnull %4, ptr noundef %0, ptr noundef %1) #3
%9 = call i32 @SVN_ERR(i32 noundef %8) #3
%10 = load i64, ptr %4, align 8, !tbaa !5
%11 = load i64, ptr @SVN_INVALID_REVNUM, align 8, !tbaa !5
%12 = icmp eq i64 %10, %11
br i1 %12, label %23, label %13
13: ; preds = %2
%14 = load i32, ptr %0, align 4, !tbaa !9
%15 = load ptr, ptr %3, align 8, !tbaa !12
%16 = call i32 @generate_delta_tree(ptr noundef nonnull %5, i32 noundef %14, ptr noundef %15, i64 noundef %10, ptr noundef %1) #3
%17 = call i32 @SVN_ERR(i32 noundef %16) #3
%18 = load ptr, ptr %5, align 8, !tbaa !12
%19 = icmp eq ptr %18, null
br i1 %19, label %23, label %20
20: ; preds = %13
%21 = call i32 @print_dirs_changed_tree(ptr noundef nonnull %18, ptr noundef nonnull @.str, ptr noundef %1) #3
%22 = call i32 @SVN_ERR(i32 noundef %21) #3
br label %23
23: ; preds = %13, %20, %2
%24 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !12
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %24
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @get_root(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @get_base_rev(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @generate_delta_tree(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @print_dirs_changed_tree(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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svnlook/extr_svnlook.c_do_dirs_changed.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svnlook/extr_svnlook.c_do_dirs_changed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVN_INVALID_REVNUM = common local_unnamed_addr global i64 0, align 8
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@llvm.used = appending global [1 x ptr] [ptr @do_dirs_changed], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @do_dirs_changed(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = call i32 @get_root(ptr noundef nonnull %3, ptr noundef %0, ptr noundef %1) #3
%7 = call i32 @SVN_ERR(i32 noundef %6) #3
%8 = call i32 @get_base_rev(ptr noundef nonnull %4, ptr noundef %0, ptr noundef %1) #3
%9 = call i32 @SVN_ERR(i32 noundef %8) #3
%10 = load i64, ptr %4, align 8, !tbaa !6
%11 = load i64, ptr @SVN_INVALID_REVNUM, align 8, !tbaa !6
%12 = icmp eq i64 %10, %11
br i1 %12, label %23, label %13
13: ; preds = %2
%14 = load i32, ptr %0, align 4, !tbaa !10
%15 = load ptr, ptr %3, align 8, !tbaa !13
%16 = call i32 @generate_delta_tree(ptr noundef nonnull %5, i32 noundef %14, ptr noundef %15, i64 noundef %10, ptr noundef %1) #3
%17 = call i32 @SVN_ERR(i32 noundef %16) #3
%18 = load ptr, ptr %5, align 8, !tbaa !13
%19 = icmp eq ptr %18, null
br i1 %19, label %23, label %20
20: ; preds = %13
%21 = call i32 @print_dirs_changed_tree(ptr noundef nonnull %18, ptr noundef nonnull @.str, ptr noundef %1) #3
%22 = call i32 @SVN_ERR(i32 noundef %21) #3
br label %23
23: ; preds = %13, %20, %2
%24 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !13
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %24
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @get_root(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @get_base_rev(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @generate_delta_tree(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @print_dirs_changed_tree(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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
| freebsd_contrib_subversion_subversion_svnlook_extr_svnlook.c_do_dirs_changed |
; ModuleID = 'AnghaBench/linux/drivers/scsi/libsas/extr_..scsi_priv.h_scsi_dh_add_device.c'
source_filename = "AnghaBench/linux/drivers/scsi/libsas/extr_..scsi_priv.h_scsi_dh_add_device.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @scsi_dh_add_device], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @scsi_dh_add_device(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/libsas/extr_..scsi_priv.h_scsi_dh_add_device.c'
source_filename = "AnghaBench/linux/drivers/scsi/libsas/extr_..scsi_priv.h_scsi_dh_add_device.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @scsi_dh_add_device], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @scsi_dh_add_device(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_scsi_libsas_extr_..scsi_priv.h_scsi_dh_add_device |
; ModuleID = 'AnghaBench/freebsd/contrib/dtc/extr_srcpos.c_fopen_any_on_path.c'
source_filename = "AnghaBench/freebsd/contrib/dtc/extr_srcpos.c_fopen_any_on_path.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.search_path = type { ptr, ptr }
@current_srcfile = dso_local local_unnamed_addr global ptr null, align 8
@search_path_head = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @fopen_any_on_path], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @fopen_any_on_path(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @assert(ptr noundef %1) #2
%4 = load ptr, ptr @current_srcfile, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = load ptr, ptr %4, align 8, !tbaa !9
br label %8
8: ; preds = %6, %2
%9 = phi ptr [ %7, %6 ], [ null, %2 ]
%10 = tail call ptr @try_open(ptr noundef %9, ptr noundef %0, ptr noundef %1) #2
%11 = load ptr, ptr @search_path_head, align 8, !tbaa !5
%12 = load ptr, ptr %1, align 8, !tbaa !5
%13 = icmp eq ptr %12, null
%14 = icmp ne ptr %11, null
%15 = select i1 %13, i1 %14, i1 false
br i1 %15, label %16, label %26
16: ; preds = %8, %16
%17 = phi ptr [ %21, %16 ], [ %11, %8 ]
%18 = load ptr, ptr %17, align 8, !tbaa !11
%19 = tail call ptr @try_open(ptr noundef %18, ptr noundef %0, ptr noundef nonnull %1) #2
%20 = getelementptr inbounds %struct.search_path, ptr %17, i64 0, i32 1
%21 = load ptr, ptr %20, align 8, !tbaa !5
%22 = load ptr, ptr %1, align 8, !tbaa !5
%23 = icmp eq ptr %22, null
%24 = icmp ne ptr %21, null
%25 = select i1 %23, i1 %24, i1 false
br i1 %25, label %16, label %26, !llvm.loop !13
26: ; preds = %16, %8
%27 = phi ptr [ %10, %8 ], [ %19, %16 ]
ret ptr %27
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare ptr @try_open(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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_2__", !6, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"search_path", !6, i64 0, !6, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/dtc/extr_srcpos.c_fopen_any_on_path.c'
source_filename = "AnghaBench/freebsd/contrib/dtc/extr_srcpos.c_fopen_any_on_path.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@current_srcfile = common local_unnamed_addr global ptr null, align 8
@search_path_head = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @fopen_any_on_path], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @fopen_any_on_path(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @assert(ptr noundef %1) #2
%4 = load ptr, ptr @current_srcfile, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = load ptr, ptr %4, align 8, !tbaa !10
br label %8
8: ; preds = %6, %2
%9 = phi ptr [ %7, %6 ], [ null, %2 ]
%10 = tail call ptr @try_open(ptr noundef %9, ptr noundef %0, ptr noundef %1) #2
%11 = load ptr, ptr @search_path_head, align 8, !tbaa !6
%12 = load ptr, ptr %1, align 8, !tbaa !6
%13 = icmp eq ptr %12, null
%14 = icmp ne ptr %11, null
%15 = select i1 %13, i1 %14, i1 false
br i1 %15, label %16, label %26
16: ; preds = %8, %16
%17 = phi ptr [ %21, %16 ], [ %11, %8 ]
%18 = load ptr, ptr %17, align 8, !tbaa !12
%19 = tail call ptr @try_open(ptr noundef %18, ptr noundef %0, ptr noundef nonnull %1) #2
%20 = getelementptr inbounds i8, ptr %17, i64 8
%21 = load ptr, ptr %20, align 8, !tbaa !6
%22 = load ptr, ptr %1, align 8, !tbaa !6
%23 = icmp eq ptr %22, null
%24 = icmp ne ptr %21, null
%25 = select i1 %23, i1 %24, i1 false
br i1 %25, label %16, label %26, !llvm.loop !14
26: ; preds = %16, %8
%27 = phi ptr [ %10, %8 ], [ %19, %16 ]
ret ptr %27
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare ptr @try_open(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 = !{!"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, !7, i64 0}
!13 = !{!"search_path", !7, i64 0, !7, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_dtc_extr_srcpos.c_fopen_any_on_path |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_corefile.c_write_memory_signed_integer.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_corefile.c_write_memory_signed_integer.c"
target datalayout = "e-m:e-p270:32:32-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 @write_memory_signed_integer(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @alloca(i32 noundef %1) #2
%5 = tail call i32 @store_signed_integer(ptr noundef %4, i32 noundef %1, i32 noundef %2) #2
%6 = tail call i32 @write_memory(i32 noundef %0, ptr noundef %4, i32 noundef %1) #2
ret void
}
declare ptr @alloca(i32 noundef) local_unnamed_addr #1
declare i32 @store_signed_integer(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write_memory(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_corefile.c_write_memory_signed_integer.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_corefile.c_write_memory_signed_integer.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 @write_memory_signed_integer(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @alloca(i32 noundef %1) #2
%5 = tail call i32 @store_signed_integer(ptr noundef %4, i32 noundef %1, i32 noundef %2) #2
%6 = tail call i32 @write_memory(i32 noundef %0, ptr noundef %4, i32 noundef %1) #2
ret void
}
declare ptr @alloca(i32 noundef) local_unnamed_addr #1
declare i32 @store_signed_integer(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write_memory(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_gdb_gdb_extr_corefile.c_write_memory_signed_integer |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_luaL_checkinteger.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_luaL_checkinteger.c"
target datalayout = "e-m:e-p270:32:32-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 @luaL_checkinteger], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @luaL_checkinteger(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i64 @lua_tointeger(ptr noundef %0, i32 noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = tail call i32 @lua_isnumber(ptr noundef %0, i32 noundef %1) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = tail call i32 @tag_error(ptr noundef %0, i32 noundef %1, i32 noundef 3) #2
br label %10
10: ; preds = %8, %5, %2
ret i64 %3
}
declare i64 @lua_tointeger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_isnumber(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tag_error(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)"}
| ; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_luaL_checkinteger.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_luaL_checkinteger.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 @luaL_checkinteger], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @luaL_checkinteger(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i64 @lua_tointeger(ptr noundef %0, i32 noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = tail call i32 @lua_isnumber(ptr noundef %0, i32 noundef %1) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = tail call i32 @tag_error(ptr noundef %0, i32 noundef %1, i32 noundef 3) #2
br label %10
10: ; preds = %8, %5, %2
ret i64 %3
}
declare i64 @lua_tointeger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_isnumber(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tag_error(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)"}
| xLua_build_luajit-2.1.0b2_src_host_extr_minilua.c_luaL_checkinteger |
; ModuleID = 'AnghaBench/netdata/daemon/extr_..libnetdatainlined.h_str2ull.c'
source_filename = "AnghaBench/netdata/daemon/extr_..libnetdatainlined.h_str2ull.c"
target datalayout = "e-m:e-p270:32:32-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 @str2ull], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal i64 @str2ull(ptr nocapture noundef readonly %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !5
%3 = add i8 %2, -48
%4 = icmp ult i8 %3, 10
br i1 %4, label %5, label %17
5: ; preds = %1, %5
%6 = phi i8 [ %14, %5 ], [ %2, %1 ]
%7 = phi i64 [ %12, %5 ], [ 0, %1 ]
%8 = phi ptr [ %13, %5 ], [ %0, %1 ]
%9 = mul i64 %7, 10
%10 = and i8 %6, 15
%11 = zext nneg i8 %10 to i64
%12 = add i64 %9, %11
%13 = getelementptr inbounds i8, ptr %8, i64 1
%14 = load i8, ptr %13, align 1, !tbaa !5
%15 = add i8 %14, -48
%16 = icmp ult i8 %15, 10
br i1 %16, label %5, label %17, !llvm.loop !8
17: ; preds = %5, %1
%18 = phi i64 [ 0, %1 ], [ %12, %5 ]
ret i64 %18
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/netdata/daemon/extr_..libnetdatainlined.h_str2ull.c'
source_filename = "AnghaBench/netdata/daemon/extr_..libnetdatainlined.h_str2ull.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 @str2ull], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal i64 @str2ull(ptr nocapture noundef readonly %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !6
%3 = add i8 %2, -48
%4 = icmp ult i8 %3, 10
br i1 %4, label %5, label %17
5: ; preds = %1, %5
%6 = phi i8 [ %14, %5 ], [ %2, %1 ]
%7 = phi i64 [ %12, %5 ], [ 0, %1 ]
%8 = phi ptr [ %13, %5 ], [ %0, %1 ]
%9 = mul i64 %7, 10
%10 = and i8 %6, 15
%11 = zext nneg i8 %10 to i64
%12 = add i64 %9, %11
%13 = getelementptr inbounds i8, ptr %8, i64 1
%14 = load i8, ptr %13, align 1, !tbaa !6
%15 = add i8 %14, -48
%16 = icmp ult i8 %15, 10
br i1 %16, label %5, label %17, !llvm.loop !9
17: ; preds = %5, %1
%18 = phi i64 [ 0, %1 ], [ %12, %5 ]
ret i64 %18
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| netdata_daemon_extr_..libnetdatainlined.h_str2ull |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/frv/kernel/extr_pm.c_sleep_phys_sp.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/frv/kernel/extr_pm.c_sleep_phys_sp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i64 @sleep_phys_sp(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @virt_to_phys(ptr noundef %0) #2
ret i64 %2
}
declare i64 @virt_to_phys(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/frv/kernel/extr_pm.c_sleep_phys_sp.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/frv/kernel/extr_pm.c_sleep_phys_sp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @sleep_phys_sp(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @virt_to_phys(ptr noundef %0) #2
ret i64 %2
}
declare i64 @virt_to_phys(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_arch_frv_kernel_extr_pm.c_sleep_phys_sp |
; ModuleID = 'AnghaBench/radare2/libr/core/extr_panels.c___panel_breakpoint.c'
source_filename = "AnghaBench/radare2/libr/core/extr_panels.c___panel_breakpoint.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PANEL_CMD_DISASSEMBLY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"dbs $$\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @__panel_breakpoint(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call ptr @__get_cur_panel(i32 noundef %2) #2
%4 = load i32, ptr @PANEL_CMD_DISASSEMBLY, align 4, !tbaa !10
%5 = tail call i64 @__check_panel_type(ptr noundef %3, i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %1
%8 = tail call i32 @r_core_cmd(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef 0) #2
%9 = load ptr, ptr %3, align 8, !tbaa !11
store i32 1, ptr %9, align 4, !tbaa !14
br label %10
10: ; preds = %7, %1
ret void
}
declare ptr @__get_cur_panel(i32 noundef) local_unnamed_addr #1
declare i64 @__check_panel_type(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r_core_cmd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_10__", !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, !13, i64 0}
!12 = !{!"TYPE_9__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_8__", !7, i64 0}
| ; ModuleID = 'AnghaBench/radare2/libr/core/extr_panels.c___panel_breakpoint.c'
source_filename = "AnghaBench/radare2/libr/core/extr_panels.c___panel_breakpoint.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PANEL_CMD_DISASSEMBLY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"dbs $$\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @__panel_breakpoint(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call ptr @__get_cur_panel(i32 noundef %2) #2
%4 = load i32, ptr @PANEL_CMD_DISASSEMBLY, align 4, !tbaa !11
%5 = tail call i64 @__check_panel_type(ptr noundef %3, i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %1
%8 = tail call i32 @r_core_cmd(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef 0) #2
%9 = load ptr, ptr %3, align 8, !tbaa !12
store i32 1, ptr %9, align 4, !tbaa !15
br label %10
10: ; preds = %7, %1
ret void
}
declare ptr @__get_cur_panel(i32 noundef) local_unnamed_addr #1
declare i64 @__check_panel_type(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r_core_cmd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_10__", !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, !14, i64 0}
!13 = !{!"TYPE_9__", !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_8__", !8, i64 0}
| radare2_libr_core_extr_panels.c___panel_breakpoint |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/fs_enet/extr_mii-bitbang.c_fs_enet_mdio_probe.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/fs_enet/extr_mii-bitbang.c_fs_enet_mdio_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.bb_info = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { ptr }
%struct.mii_bus = type { ptr, ptr, i32 }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@bb_ops = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"CPM2 Bitbanged MII\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @fs_enet_mdio_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fs_enet_mdio_probe(ptr noundef %0) #0 {
%2 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%3 = sub nsw i32 0, %2
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%5 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %31, label %7
7: ; preds = %1
%8 = getelementptr inbounds %struct.bb_info, ptr %5, i64 0, i32 1
store ptr @bb_ops, ptr %8, align 8, !tbaa !9
%9 = tail call ptr @alloc_mdio_bitbang(ptr noundef nonnull %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %28, label %11
11: ; preds = %7
store ptr @.str, ptr %9, align 8, !tbaa !13
%12 = load i32, ptr %0, align 4, !tbaa !15
%13 = tail call i32 @fs_mii_bitbang_init(ptr noundef nonnull %9, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %25
15: ; preds = %11
%16 = getelementptr inbounds %struct.mii_bus, ptr %9, i64 0, i32 2
store i32 -1, ptr %16, align 8, !tbaa !18
%17 = getelementptr inbounds %struct.mii_bus, ptr %9, i64 0, i32 1
store ptr %0, ptr %17, align 8, !tbaa !19
%18 = tail call i32 @platform_set_drvdata(ptr noundef nonnull %0, ptr noundef nonnull %9) #2
%19 = load i32, ptr %0, align 4, !tbaa !15
%20 = tail call i32 @of_mdiobus_register(ptr noundef nonnull %9, i32 noundef %19) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %31, label %22
22: ; preds = %15
%23 = load i32, ptr %5, align 8, !tbaa !20
%24 = tail call i32 @iounmap(i32 noundef %23) #2
br label %25
25: ; preds = %11, %22
%26 = phi i32 [ %13, %11 ], [ %20, %22 ]
%27 = tail call i32 @free_mdio_bitbang(ptr noundef nonnull %9) #2
br label %28
28: ; preds = %7, %25
%29 = phi i32 [ %26, %25 ], [ %3, %7 ]
%30 = tail call i32 @kfree(ptr noundef nonnull %5) #2
br label %31
31: ; preds = %28, %1, %15
%32 = phi i32 [ 0, %15 ], [ %29, %28 ], [ %3, %1 ]
ret i32 %32
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @alloc_mdio_bitbang(ptr noundef) local_unnamed_addr #1
declare i32 @fs_mii_bitbang_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @of_mdiobus_register(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iounmap(i32 noundef) local_unnamed_addr #1
declare i32 @free_mdio_bitbang(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"bb_info", !6, i64 0, !11, i64 8}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"mii_bus", !12, i64 0, !12, i64 8, !6, i64 16}
!15 = !{!16, !6, i64 0}
!16 = !{!"platform_device", !17, i64 0}
!17 = !{!"TYPE_3__", !6, i64 0}
!18 = !{!14, !6, i64 16}
!19 = !{!14, !12, i64 8}
!20 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/fs_enet/extr_mii-bitbang.c_fs_enet_mdio_probe.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/fs_enet/extr_mii-bitbang.c_fs_enet_mdio_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@bb_ops = common global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"CPM2 Bitbanged MII\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @fs_enet_mdio_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @fs_enet_mdio_probe(ptr noundef %0) #0 {
%2 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%3 = sub nsw i32 0, %2
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%5 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %31, label %7
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %5, i64 8
store ptr @bb_ops, ptr %8, align 8, !tbaa !10
%9 = tail call ptr @alloc_mdio_bitbang(ptr noundef nonnull %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %28, label %11
11: ; preds = %7
store ptr @.str, ptr %9, align 8, !tbaa !14
%12 = load i32, ptr %0, align 4, !tbaa !16
%13 = tail call i32 @fs_mii_bitbang_init(ptr noundef nonnull %9, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %25
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %9, i64 16
store i32 -1, ptr %16, align 8, !tbaa !19
%17 = getelementptr inbounds i8, ptr %9, i64 8
store ptr %0, ptr %17, align 8, !tbaa !20
%18 = tail call i32 @platform_set_drvdata(ptr noundef nonnull %0, ptr noundef nonnull %9) #2
%19 = load i32, ptr %0, align 4, !tbaa !16
%20 = tail call i32 @of_mdiobus_register(ptr noundef nonnull %9, i32 noundef %19) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %31, label %22
22: ; preds = %15
%23 = load i32, ptr %5, align 8, !tbaa !21
%24 = tail call i32 @iounmap(i32 noundef %23) #2
br label %25
25: ; preds = %11, %22
%26 = phi i32 [ %13, %11 ], [ %20, %22 ]
%27 = tail call i32 @free_mdio_bitbang(ptr noundef nonnull %9) #2
br label %28
28: ; preds = %7, %25
%29 = phi i32 [ %26, %25 ], [ %3, %7 ]
%30 = tail call i32 @kfree(ptr noundef nonnull %5) #2
br label %31
31: ; preds = %28, %1, %15
%32 = phi i32 [ 0, %15 ], [ %29, %28 ], [ %3, %1 ]
ret i32 %32
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @alloc_mdio_bitbang(ptr noundef) local_unnamed_addr #1
declare i32 @fs_mii_bitbang_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @of_mdiobus_register(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iounmap(i32 noundef) local_unnamed_addr #1
declare i32 @free_mdio_bitbang(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"bb_info", !7, i64 0, !12, i64 8}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"mii_bus", !13, i64 0, !13, i64 8, !7, i64 16}
!16 = !{!17, !7, i64 0}
!17 = !{!"platform_device", !18, i64 0}
!18 = !{!"TYPE_3__", !7, i64 0}
!19 = !{!15, !7, i64 16}
!20 = !{!15, !13, i64 8}
!21 = !{!11, !7, i64 0}
| linux_drivers_net_ethernet_freescale_fs_enet_extr_mii-bitbang.c_fs_enet_mdio_probe |
; ModuleID = 'AnghaBench/FFmpeg/libswscale/extr_swscale.c_lumRangeToJpeg16_c.c'
source_filename = "AnghaBench/FFmpeg/libswscale/extr_swscale.c_lumRangeToJpeg16_c.c"
target datalayout = "e-m:e-p270:32:32-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 @lumRangeToJpeg16_c], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lumRangeToJpeg16_c(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 0
br i1 %3, label %4, label %16
4: ; preds = %2
%5 = zext nneg i32 %1 to i64
br label %6
6: ; preds = %4, %6
%7 = phi i64 [ 0, %4 ], [ %14, %6 ]
%8 = getelementptr inbounds i32, ptr %0, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !5
%10 = tail call i32 @FFMIN(i32 noundef %9, i32 noundef 483024) #2
%11 = mul i32 %10, 4769
%12 = add i32 %11, -156229444
%13 = ashr i32 %12, 12
store i32 %13, ptr %8, align 4, !tbaa !5
%14 = add nuw nsw i64 %7, 1
%15 = icmp eq i64 %14, %5
br i1 %15, label %16, label %6, !llvm.loop !9
16: ; preds = %6, %2
ret void
}
declare i32 @FFMIN(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/FFmpeg/libswscale/extr_swscale.c_lumRangeToJpeg16_c.c'
source_filename = "AnghaBench/FFmpeg/libswscale/extr_swscale.c_lumRangeToJpeg16_c.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 @lumRangeToJpeg16_c], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lumRangeToJpeg16_c(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 0
br i1 %3, label %4, label %16
4: ; preds = %2
%5 = zext nneg i32 %1 to i64
br label %6
6: ; preds = %4, %6
%7 = phi i64 [ 0, %4 ], [ %14, %6 ]
%8 = getelementptr inbounds i32, ptr %0, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !6
%10 = tail call i32 @FFMIN(i32 noundef %9, i32 noundef 483024) #2
%11 = mul i32 %10, 4769
%12 = add i32 %11, -156229444
%13 = ashr i32 %12, 12
store i32 %13, ptr %8, align 4, !tbaa !6
%14 = add nuw nsw i64 %7, 1
%15 = icmp eq i64 %14, %5
br i1 %15, label %16, label %6, !llvm.loop !10
16: ; preds = %6, %2
ret void
}
declare i32 @FFMIN(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| FFmpeg_libswscale_extr_swscale.c_lumRangeToJpeg16_c |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_processpptables.c_init_overdrive_limits_V2_1.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_processpptables.c_init_overdrive_limits_V2_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i32, i32 }
%struct.TYPE_8__ = type { i64, i64, i64, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @init_overdrive_limits_V2_1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @init_overdrive_limits_V2_1(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = tail call i32 @le16_to_cpu(i64 noundef %4) #3
%6 = icmp ult i32 %5, 8
br i1 %6, label %23, label %7
7: ; preds = %3
%8 = load i64, ptr %1, align 8, !tbaa !10
%9 = icmp eq i64 %8, 0
br i1 %9, label %23, label %10
10: ; preds = %7
%11 = ptrtoint ptr %1 to i64
%12 = tail call i32 @le16_to_cpu(i64 noundef %8) #3
%13 = sext i32 %12 to i64
%14 = add i64 %13, %11
%15 = inttoptr i64 %14 to ptr
%16 = getelementptr inbounds %struct.TYPE_11__, ptr %15, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !12
%18 = tail call ptr @le32_to_cpu(i32 noundef %17) #3
%19 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3
%20 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3, i32 1
store ptr %18, ptr %20, align 8, !tbaa !15
%21 = load i32, ptr %15, align 4, !tbaa !20
%22 = tail call ptr @le32_to_cpu(i32 noundef %21) #3
store ptr %22, ptr %19, align 8, !tbaa !21
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %0, i8 0, i64 24, i1 false)
br label %23
23: ; preds = %7, %3, %10
ret i32 0
}
declare i32 @le16_to_cpu(i64 noundef) local_unnamed_addr #1
declare ptr @le32_to_cpu(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, !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, !7, i64 0}
!11 = !{!"TYPE_9__", !7, i64 0}
!12 = !{!13, !14, i64 4}
!13 = !{!"TYPE_11__", !14, i64 0, !14, i64 4}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !19, i64 32}
!16 = !{!"pp_hwmgr", !17, i64 0}
!17 = !{!"TYPE_8__", !7, i64 0, !7, i64 8, !7, i64 16, !18, i64 24}
!18 = !{!"TYPE_7__", !19, i64 0, !19, i64 8}
!19 = !{!"any pointer", !8, i64 0}
!20 = !{!13, !14, i64 0}
!21 = !{!16, !19, i64 24}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_processpptables.c_init_overdrive_limits_V2_1.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_processpptables.c_init_overdrive_limits_V2_1.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @init_overdrive_limits_V2_1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @init_overdrive_limits_V2_1(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = tail call i32 @le16_to_cpu(i64 noundef %4) #3
%6 = icmp ult i32 %5, 8
br i1 %6, label %23, label %7
7: ; preds = %3
%8 = load i64, ptr %1, align 8, !tbaa !11
%9 = icmp eq i64 %8, 0
br i1 %9, label %23, label %10
10: ; preds = %7
%11 = ptrtoint ptr %1 to i64
%12 = tail call i32 @le16_to_cpu(i64 noundef %8) #3
%13 = sext i32 %12 to i64
%14 = add i64 %13, %11
%15 = inttoptr i64 %14 to ptr
%16 = getelementptr inbounds i8, ptr %15, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = tail call ptr @le32_to_cpu(i32 noundef %17) #3
%19 = getelementptr inbounds i8, ptr %0, i64 24
%20 = getelementptr inbounds i8, ptr %0, i64 32
store ptr %18, ptr %20, align 8, !tbaa !16
%21 = load i32, ptr %15, align 4, !tbaa !21
%22 = tail call ptr @le32_to_cpu(i32 noundef %21) #3
store ptr %22, ptr %19, align 8, !tbaa !22
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %0, i8 0, i64 24, i1 false)
br label %23
23: ; preds = %7, %3, %10
ret i32 0
}
declare i32 @le16_to_cpu(i64 noundef) local_unnamed_addr #1
declare ptr @le32_to_cpu(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, !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, !8, i64 0}
!12 = !{!"TYPE_9__", !8, i64 0}
!13 = !{!14, !15, i64 4}
!14 = !{!"TYPE_11__", !15, i64 0, !15, i64 4}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !20, i64 32}
!17 = !{!"pp_hwmgr", !18, i64 0}
!18 = !{!"TYPE_8__", !8, i64 0, !8, i64 8, !8, i64 16, !19, i64 24}
!19 = !{!"TYPE_7__", !20, i64 0, !20, i64 8}
!20 = !{!"any pointer", !9, i64 0}
!21 = !{!14, !15, i64 0}
!22 = !{!17, !20, i64 24}
| linux_drivers_gpu_drm_amd_powerplay_hwmgr_extr_processpptables.c_init_overdrive_limits_V2_1 |
; ModuleID = 'AnghaBench/openssl/crypto/ec/extr_ecp_mont.c_ec_GFp_mont_field_set_to_one.c'
source_filename = "AnghaBench/openssl/crypto/ec/extr_ecp_mont.c_ec_GFp_mont_field_set_to_one.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EC_F_EC_GFP_MONT_FIELD_SET_TO_ONE = dso_local local_unnamed_addr global i32 0, align 4
@EC_R_NOT_INITIALIZED = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ec_GFp_mont_field_set_to_one(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = load i32, ptr @EC_F_EC_GFP_MONT_FIELD_SET_TO_ONE, align 4, !tbaa !10
%8 = load i32, ptr @EC_R_NOT_INITIALIZED, align 4, !tbaa !10
%9 = tail call i32 @ECerr(i32 noundef %7, i32 noundef %8) #2
br label %14
10: ; preds = %3
%11 = tail call i32 @BN_copy(ptr noundef %1, ptr noundef nonnull %4) #2
%12 = icmp ne i32 %11, 0
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %10, %6
%15 = phi i32 [ 0, %6 ], [ %13, %10 ]
ret i32 %15
}
declare i32 @ECerr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BN_copy(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/openssl/crypto/ec/extr_ecp_mont.c_ec_GFp_mont_field_set_to_one.c'
source_filename = "AnghaBench/openssl/crypto/ec/extr_ecp_mont.c_ec_GFp_mont_field_set_to_one.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EC_F_EC_GFP_MONT_FIELD_SET_TO_ONE = common local_unnamed_addr global i32 0, align 4
@EC_R_NOT_INITIALIZED = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @ec_GFp_mont_field_set_to_one(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = load i32, ptr @EC_F_EC_GFP_MONT_FIELD_SET_TO_ONE, align 4, !tbaa !11
%8 = load i32, ptr @EC_R_NOT_INITIALIZED, align 4, !tbaa !11
%9 = tail call i32 @ECerr(i32 noundef %7, i32 noundef %8) #2
br label %14
10: ; preds = %3
%11 = tail call i32 @BN_copy(ptr noundef %1, ptr noundef nonnull %4) #2
%12 = icmp ne i32 %11, 0
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %10, %6
%15 = phi i32 [ 0, %6 ], [ %13, %10 ]
ret i32 %15
}
declare i32 @ECerr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BN_copy(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| openssl_crypto_ec_extr_ecp_mont.c_ec_GFp_mont_field_set_to_one |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ofw/extr_ofwpci.c_ofw_pci_get_node.c'
source_filename = "AnghaBench/freebsd/sys/dev/ofw/extr_ofwpci.c_ofw_pci_get_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ofw_pci_get_node], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ofw_pci_get_node(i32 noundef %0, i32 %1) #0 {
%3 = tail call ptr @device_get_softc(i32 noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !5
ret i32 %4
}
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 = !{!"ofw_pci_softc", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ofw/extr_ofwpci.c_ofw_pci_get_node.c'
source_filename = "AnghaBench/freebsd/sys/dev/ofw/extr_ofwpci.c_ofw_pci_get_node.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 @ofw_pci_get_node], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ofw_pci_get_node(i32 noundef %0, i32 %1) #0 {
%3 = tail call ptr @device_get_softc(i32 noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !6
ret i32 %4
}
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 = !{!"ofw_pci_softc", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_ofw_extr_ofwpci.c_ofw_pci_get_node |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/sfc/extr_efx.h_efx_rss_active.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/sfc/extr_efx.h_efx_rss_active.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EFX_EF10_RSS_CONTEXT_INVALID = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @efx_rss_active], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @efx_rss_active(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @EFX_EF10_RSS_CONTEXT_INVALID, align 8, !tbaa !10
%4 = icmp ne i64 %2, %3
%5 = zext i1 %4 to i32
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 = !{!"efx_rss_context", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/sfc/extr_efx.h_efx_rss_active.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/sfc/extr_efx.h_efx_rss_active.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EFX_EF10_RSS_CONTEXT_INVALID = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @efx_rss_active], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @efx_rss_active(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @EFX_EF10_RSS_CONTEXT_INVALID, align 8, !tbaa !11
%4 = icmp ne i64 %2, %3
%5 = zext i1 %4 to i32
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 = !{!"efx_rss_context", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_net_ethernet_sfc_extr_efx.h_efx_rss_active |
; ModuleID = 'AnghaBench/linux/arch/arm64/kvm/extr_inject_fault.c_kvm_inject_undefined.c'
source_filename = "AnghaBench/linux/arch/arm64/kvm/extr_inject_fault.c_kvm_inject_undefined.c"
target datalayout = "e-m:e-p270:32:32-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 @kvm_inject_undefined(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @vcpu_el1_is_32bit(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @kvm_inject_undef32(ptr noundef %0) #2
br label %8
6: ; preds = %1
%7 = tail call i32 @inject_undef64(ptr noundef %0) #2
br label %8
8: ; preds = %6, %4
ret void
}
declare i64 @vcpu_el1_is_32bit(ptr noundef) local_unnamed_addr #1
declare i32 @kvm_inject_undef32(ptr noundef) local_unnamed_addr #1
declare i32 @inject_undef64(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_inject_fault.c_kvm_inject_undefined.c'
source_filename = "AnghaBench/linux/arch/arm64/kvm/extr_inject_fault.c_kvm_inject_undefined.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 @kvm_inject_undefined(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @vcpu_el1_is_32bit(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @kvm_inject_undef32(ptr noundef %0) #2
br label %8
6: ; preds = %1
%7 = tail call i32 @inject_undef64(ptr noundef %0) #2
br label %8
8: ; preds = %6, %4
ret void
}
declare i64 @vcpu_el1_is_32bit(ptr noundef) local_unnamed_addr #1
declare i32 @kvm_inject_undef32(ptr noundef) local_unnamed_addr #1
declare i32 @inject_undef64(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_inject_fault.c_kvm_inject_undefined |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ofw/extr_openfirm.c_OF_getencprop_alloc.c'
source_filename = "AnghaBench/freebsd/sys/dev/ofw/extr_openfirm.c_OF_getencprop_alloc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @OF_getencprop_alloc(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @OF_getencprop_alloc_multi(i32 noundef %0, ptr noundef %1, i32 noundef 4, ptr noundef %2) #2
%5 = icmp slt i32 %4, 0
%6 = shl i32 %4, 2
%7 = select i1 %5, i32 %4, i32 %6
ret i32 %7
}
declare i32 @OF_getencprop_alloc_multi(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ofw/extr_openfirm.c_OF_getencprop_alloc.c'
source_filename = "AnghaBench/freebsd/sys/dev/ofw/extr_openfirm.c_OF_getencprop_alloc.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 @OF_getencprop_alloc(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @OF_getencprop_alloc_multi(i32 noundef %0, ptr noundef %1, i32 noundef 4, ptr noundef %2) #2
%5 = icmp slt i32 %4, 0
%6 = shl i32 %4, 2
%7 = select i1 %5, i32 %4, i32 %6
ret i32 %7
}
declare i32 @OF_getencprop_alloc_multi(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_dev_ofw_extr_openfirm.c_OF_getencprop_alloc |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/clocksource/extr_sh_mtu2.c_sh_mtu2_interrupt.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/clocksource/extr_sh_mtu2.c_sh_mtu2_interrupt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TSR = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sh_mtu2_interrupt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sh_mtu2_interrupt(i32 %0, ptr noundef %1) #0 {
%3 = load i32, ptr @TSR, align 4, !tbaa !5
%4 = tail call i32 @sh_mtu2_read(ptr noundef %1, i32 noundef %3) #2
%5 = load i32, ptr @TSR, align 4, !tbaa !5
%6 = tail call i32 @sh_mtu2_write(ptr noundef %1, i32 noundef %5, i32 noundef 254) #2
%7 = load ptr, ptr %1, align 8, !tbaa !9
%8 = tail call i32 %7(ptr noundef nonnull %1) #2
%9 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5
ret i32 %9
}
declare i32 @sh_mtu2_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sh_mtu2_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 0}
!10 = !{!"sh_mtu2_priv", !11, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/clocksource/extr_sh_mtu2.c_sh_mtu2_interrupt.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/clocksource/extr_sh_mtu2.c_sh_mtu2_interrupt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TSR = common local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sh_mtu2_interrupt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sh_mtu2_interrupt(i32 %0, ptr noundef %1) #0 {
%3 = load i32, ptr @TSR, align 4, !tbaa !6
%4 = tail call i32 @sh_mtu2_read(ptr noundef %1, i32 noundef %3) #2
%5 = load i32, ptr @TSR, align 4, !tbaa !6
%6 = tail call i32 @sh_mtu2_write(ptr noundef %1, i32 noundef %5, i32 noundef 254) #2
%7 = load ptr, ptr %1, align 8, !tbaa !10
%8 = tail call i32 %7(ptr noundef nonnull %1) #2
%9 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6
ret i32 %9
}
declare i32 @sh_mtu2_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sh_mtu2_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"sh_mtu2_priv", !12, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
| fastsocket_kernel_drivers_clocksource_extr_sh_mtu2.c_sh_mtu2_interrupt |
; ModuleID = 'AnghaBench/freebsd/sys/sparc64/sparc64/extr_tlb.c_tlb_range_demap.c'
source_filename = "AnghaBench/freebsd/sys/sparc64/sparc64/extr_tlb.c_tlb_range_demap.c"
target datalayout = "e-m:e-p270:32:32-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.pmap = type { ptr, i32 }
@tlb_nrange_demap = dso_local local_unnamed_addr global i32 0, align 4
@cpuid = dso_local local_unnamed_addr global i32 0, align 4
@curcpu = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [32 x i8] c"tlb_range_demap: inactive pmap?\00", align 1
@kernel_pmap = dso_local local_unnamed_addr global ptr null, align 8
@TLB_DEMAP_NUCLEUS = dso_local local_unnamed_addr global i32 0, align 4
@TLB_DEMAP_PAGE = dso_local local_unnamed_addr global i32 0, align 4
@TLB_DEMAP_PRIMARY = dso_local local_unnamed_addr global i32 0, align 4
@ASI_DMMU_DEMAP = dso_local local_unnamed_addr global i32 0, align 4
@ASI_IMMU_DEMAP = dso_local local_unnamed_addr global i32 0, align 4
@KERNBASE = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @tlb_range_demap(ptr noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @tlb_nrange_demap, align 4, !tbaa !5
%5 = tail call i32 @PMAP_STATS_INC(i32 noundef %4) #2
%6 = tail call ptr @ipi_tlb_range_demap(ptr noundef %0, i64 noundef %1, i64 noundef %2) #2
%7 = tail call i32 (...) @intr_disable() #2
%8 = load i32, ptr @cpuid, align 4, !tbaa !5
%9 = tail call i32 @PCPU_GET(i32 noundef %8) #2
%10 = getelementptr inbounds %struct.pmap, ptr %0, i64 0, i32 1
%11 = tail call i64 @CPU_ISSET(i32 noundef %9, ptr noundef nonnull %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %44, label %13
13: ; preds = %3
%14 = load ptr, ptr %0, align 8, !tbaa !9
%15 = load i64, ptr @curcpu, align 8, !tbaa !12
%16 = getelementptr inbounds i32, ptr %14, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !5
%18 = icmp ne i32 %17, -1
%19 = zext i1 %18 to i32
%20 = tail call i32 @KASSERT(i32 noundef %19, ptr noundef nonnull @.str) #2
%21 = load ptr, ptr @kernel_pmap, align 8, !tbaa !14
%22 = icmp eq ptr %21, %0
%23 = load i32, ptr @TLB_DEMAP_PAGE, align 4, !tbaa !5
%24 = load i32, ptr @TLB_DEMAP_NUCLEUS, align 4
%25 = load i32, ptr @TLB_DEMAP_PRIMARY, align 4
%26 = select i1 %22, i32 %24, i32 %25
%27 = or i32 %23, %26
%28 = icmp slt i64 %1, %2
br i1 %28, label %29, label %44
29: ; preds = %13, %29
%30 = phi i64 [ %42, %29 ], [ %1, %13 ]
%31 = tail call i32 @TLB_DEMAP_VA(i64 noundef %30) #2
%32 = or i32 %31, %27
%33 = load i32, ptr @ASI_DMMU_DEMAP, align 4, !tbaa !5
%34 = tail call i32 @stxa(i32 noundef %32, i32 noundef %33, i32 noundef 0) #2
%35 = tail call i32 @TLB_DEMAP_VA(i64 noundef %30) #2
%36 = or i32 %35, %27
%37 = load i32, ptr @ASI_IMMU_DEMAP, align 4, !tbaa !5
%38 = tail call i32 @stxa(i32 noundef %36, i32 noundef %37, i32 noundef 0) #2
%39 = load i32, ptr @KERNBASE, align 4, !tbaa !5
%40 = tail call i32 @flush(i32 noundef %39) #2
%41 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !12
%42 = add nsw i64 %41, %30
%43 = icmp slt i64 %42, %2
br i1 %43, label %29, label %44, !llvm.loop !15
44: ; preds = %29, %13, %3
%45 = tail call i32 @intr_restore(i32 noundef %7) #2
%46 = tail call i32 @ipi_wait(ptr noundef %6) #2
ret void
}
declare i32 @PMAP_STATS_INC(i32 noundef) local_unnamed_addr #1
declare ptr @ipi_tlb_range_demap(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @intr_disable(...) local_unnamed_addr #1
declare i64 @CPU_ISSET(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PCPU_GET(i32 noundef) local_unnamed_addr #1
declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @stxa(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TLB_DEMAP_VA(i64 noundef) local_unnamed_addr #1
declare i32 @flush(i32 noundef) local_unnamed_addr #1
declare i32 @intr_restore(i32 noundef) local_unnamed_addr #1
declare i32 @ipi_wait(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 = !{!"pmap", !11, i64 0, !6, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!11, !11, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/sparc64/sparc64/extr_tlb.c_tlb_range_demap.c'
source_filename = "AnghaBench/freebsd/sys/sparc64/sparc64/extr_tlb.c_tlb_range_demap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tlb_nrange_demap = common local_unnamed_addr global i32 0, align 4
@cpuid = common local_unnamed_addr global i32 0, align 4
@curcpu = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [32 x i8] c"tlb_range_demap: inactive pmap?\00", align 1
@kernel_pmap = common local_unnamed_addr global ptr null, align 8
@TLB_DEMAP_NUCLEUS = common local_unnamed_addr global i32 0, align 4
@TLB_DEMAP_PAGE = common local_unnamed_addr global i32 0, align 4
@TLB_DEMAP_PRIMARY = common local_unnamed_addr global i32 0, align 4
@ASI_DMMU_DEMAP = common local_unnamed_addr global i32 0, align 4
@ASI_IMMU_DEMAP = common local_unnamed_addr global i32 0, align 4
@KERNBASE = common local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @tlb_range_demap(ptr noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @tlb_nrange_demap, align 4, !tbaa !6
%5 = tail call i32 @PMAP_STATS_INC(i32 noundef %4) #2
%6 = tail call ptr @ipi_tlb_range_demap(ptr noundef %0, i64 noundef %1, i64 noundef %2) #2
%7 = tail call i32 @intr_disable() #2
%8 = load i32, ptr @cpuid, align 4, !tbaa !6
%9 = tail call i32 @PCPU_GET(i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = tail call i64 @CPU_ISSET(i32 noundef %9, ptr noundef nonnull %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %44, label %13
13: ; preds = %3
%14 = load ptr, ptr %0, align 8, !tbaa !10
%15 = load i64, ptr @curcpu, align 8, !tbaa !13
%16 = getelementptr inbounds i32, ptr %14, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !6
%18 = icmp ne i32 %17, -1
%19 = zext i1 %18 to i32
%20 = tail call i32 @KASSERT(i32 noundef %19, ptr noundef nonnull @.str) #2
%21 = load ptr, ptr @kernel_pmap, align 8, !tbaa !15
%22 = icmp eq ptr %21, %0
%23 = load i32, ptr @TLB_DEMAP_PAGE, align 4, !tbaa !6
%24 = load i32, ptr @TLB_DEMAP_NUCLEUS, align 4
%25 = load i32, ptr @TLB_DEMAP_PRIMARY, align 4
%26 = select i1 %22, i32 %24, i32 %25
%27 = or i32 %23, %26
%28 = icmp slt i64 %1, %2
br i1 %28, label %29, label %44
29: ; preds = %13, %29
%30 = phi i64 [ %42, %29 ], [ %1, %13 ]
%31 = tail call i32 @TLB_DEMAP_VA(i64 noundef %30) #2
%32 = or i32 %31, %27
%33 = load i32, ptr @ASI_DMMU_DEMAP, align 4, !tbaa !6
%34 = tail call i32 @stxa(i32 noundef %32, i32 noundef %33, i32 noundef 0) #2
%35 = tail call i32 @TLB_DEMAP_VA(i64 noundef %30) #2
%36 = or i32 %35, %27
%37 = load i32, ptr @ASI_IMMU_DEMAP, align 4, !tbaa !6
%38 = tail call i32 @stxa(i32 noundef %36, i32 noundef %37, i32 noundef 0) #2
%39 = load i32, ptr @KERNBASE, align 4, !tbaa !6
%40 = tail call i32 @flush(i32 noundef %39) #2
%41 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !13
%42 = add nsw i64 %41, %30
%43 = icmp slt i64 %42, %2
br i1 %43, label %29, label %44, !llvm.loop !16
44: ; preds = %29, %13, %3
%45 = tail call i32 @intr_restore(i32 noundef %7) #2
%46 = tail call i32 @ipi_wait(ptr noundef %6) #2
ret void
}
declare i32 @PMAP_STATS_INC(i32 noundef) local_unnamed_addr #1
declare ptr @ipi_tlb_range_demap(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @intr_disable(...) local_unnamed_addr #1
declare i64 @CPU_ISSET(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PCPU_GET(i32 noundef) local_unnamed_addr #1
declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @stxa(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TLB_DEMAP_VA(i64 noundef) local_unnamed_addr #1
declare i32 @flush(i32 noundef) local_unnamed_addr #1
declare i32 @intr_restore(i32 noundef) local_unnamed_addr #1
declare i32 @ipi_wait(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 = !{!"pmap", !12, i64 0, !7, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!12, !12, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_sparc64_sparc64_extr_tlb.c_tlb_range_demap |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_pm.c_intel_wm_num_levels.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_pm.c_intel_wm_num_levels.c"
target datalayout = "e-m:e-p270:32:32-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 @intel_wm_num_levels], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @intel_wm_num_levels(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = add nsw i32 %2, 1
ret i32 %3
}
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, !8, i64 0}
!6 = !{!"drm_i915_private", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_pm.c_intel_wm_num_levels.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_pm.c_intel_wm_num_levels.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 @intel_wm_num_levels], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @intel_wm_num_levels(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = add nsw i32 %2, 1
ret i32 %3
}
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, !9, i64 0}
!7 = !{!"drm_i915_private", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_i915_extr_intel_pm.c_intel_wm_num_levels |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_ccwgroup.c_ccwgroup_notifier.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_ccwgroup.c_ccwgroup_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"
@BUS_NOTIFY_UNBIND_DRIVER = dso_local local_unnamed_addr global i64 0, align 8
@ccwgroup_ungroup_callback = dso_local local_unnamed_addr global i32 0, align 4
@NOTIFY_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ccwgroup_notifier], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ccwgroup_notifier(ptr nocapture readnone %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = load i64, ptr @BUS_NOTIFY_UNBIND_DRIVER, align 8, !tbaa !5
%5 = icmp eq i64 %4, %1
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @ccwgroup_ungroup_callback, align 4, !tbaa !9
%8 = tail call i32 @device_schedule_callback(ptr noundef %2, i32 noundef %7) #2
br label %9
9: ; preds = %6, %3
%10 = load i32, ptr @NOTIFY_OK, align 4, !tbaa !9
ret i32 %10
}
declare i32 @device_schedule_callback(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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_ccwgroup.c_ccwgroup_notifier.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_ccwgroup.c_ccwgroup_notifier.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BUS_NOTIFY_UNBIND_DRIVER = common local_unnamed_addr global i64 0, align 8
@ccwgroup_ungroup_callback = common local_unnamed_addr global i32 0, align 4
@NOTIFY_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ccwgroup_notifier], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ccwgroup_notifier(ptr nocapture readnone %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = load i64, ptr @BUS_NOTIFY_UNBIND_DRIVER, align 8, !tbaa !6
%5 = icmp eq i64 %4, %1
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @ccwgroup_ungroup_callback, align 4, !tbaa !10
%8 = tail call i32 @device_schedule_callback(ptr noundef %2, i32 noundef %7) #2
br label %9
9: ; preds = %6, %3
%10 = load i32, ptr @NOTIFY_OK, align 4, !tbaa !10
ret i32 %10
}
declare i32 @device_schedule_callback(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, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| fastsocket_kernel_drivers_s390_cio_extr_ccwgroup.c_ccwgroup_notifier |
; ModuleID = 'AnghaBench/linux/fs/quota/extr_quota_v2.c_v2_qbtos.c'
source_filename = "AnghaBench/linux/fs/quota/extr_quota_v2.c_v2_qbtos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@QUOTABLOCK_BITS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @v2_qbtos], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @v2_qbtos(i32 noundef %0) #0 {
%2 = load i32, ptr @QUOTABLOCK_BITS, align 4, !tbaa !5
%3 = shl i32 %0, %2
ret i32 %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/fs/quota/extr_quota_v2.c_v2_qbtos.c'
source_filename = "AnghaBench/linux/fs/quota/extr_quota_v2.c_v2_qbtos.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@QUOTABLOCK_BITS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @v2_qbtos], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @v2_qbtos(i32 noundef %0) #0 {
%2 = load i32, ptr @QUOTABLOCK_BITS, align 4, !tbaa !6
%3 = shl i32 %0, %2
ret i32 %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_fs_quota_extr_quota_v2.c_v2_qbtos |
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_xattr.c_ocfs2_xattr_user_set.c'
source_filename = "AnghaBench/linux/fs/ocfs2/extr_xattr.c_ocfs2_xattr_user_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OCFS2_MOUNT_NOUSERXATTR = dso_local local_unnamed_addr global i32 0, align 4
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@OCFS2_XATTR_INDEX_USER = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ocfs2_xattr_user_set], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ocfs2_xattr_user_set(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6) #0 {
%8 = load i32, ptr %2, align 4, !tbaa !5
%9 = tail call ptr @OCFS2_SB(i32 noundef %8) #2
%10 = load i32, ptr %9, align 4, !tbaa !10
%11 = load i32, ptr @OCFS2_MOUNT_NOUSERXATTR, align 4, !tbaa !12
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %7
%15 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !12
%16 = sub nsw i32 0, %15
br label %20
17: ; preds = %7
%18 = load i32, ptr @OCFS2_XATTR_INDEX_USER, align 4, !tbaa !12
%19 = tail call i32 @ocfs2_xattr_set(ptr noundef nonnull %2, i32 noundef %18, ptr noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6) #2
br label %20
20: ; preds = %17, %14
%21 = phi i32 [ %16, %14 ], [ %19, %17 ]
ret i32 %21
}
declare ptr @OCFS2_SB(i32 noundef) local_unnamed_addr #1
declare i32 @ocfs2_xattr_set(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"inode", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"ocfs2_super", !7, i64 0}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_xattr.c_ocfs2_xattr_user_set.c'
source_filename = "AnghaBench/linux/fs/ocfs2/extr_xattr.c_ocfs2_xattr_user_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OCFS2_MOUNT_NOUSERXATTR = common local_unnamed_addr global i32 0, align 4
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@OCFS2_XATTR_INDEX_USER = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ocfs2_xattr_user_set], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ocfs2_xattr_user_set(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6) #0 {
%8 = load i32, ptr %2, align 4, !tbaa !6
%9 = tail call ptr @OCFS2_SB(i32 noundef %8) #2
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = load i32, ptr @OCFS2_MOUNT_NOUSERXATTR, align 4, !tbaa !13
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %7
%15 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !13
%16 = sub nsw i32 0, %15
br label %20
17: ; preds = %7
%18 = load i32, ptr @OCFS2_XATTR_INDEX_USER, align 4, !tbaa !13
%19 = tail call i32 @ocfs2_xattr_set(ptr noundef nonnull %2, i32 noundef %18, ptr noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6) #2
br label %20
20: ; preds = %17, %14
%21 = phi i32 [ %16, %14 ], [ %19, %17 ]
ret i32 %21
}
declare ptr @OCFS2_SB(i32 noundef) local_unnamed_addr #1
declare i32 @ocfs2_xattr_set(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"inode", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"ocfs2_super", !8, i64 0}
!13 = !{!8, !8, i64 0}
| linux_fs_ocfs2_extr_xattr.c_ocfs2_xattr_user_set |
; ModuleID = 'AnghaBench/citus/src/backend/distributed/executor/extr_adaptive_executor.c_ExecutionOrderForTask.c'
source_filename = "AnghaBench/citus/src/backend/distributed/executor/extr_adaptive_executor.c_ExecutionOrderForTask.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EXECUTION_ORDER_ANY = dso_local local_unnamed_addr global i32 0, align 4
@ROW_MODIFY_NONCOMMUTATIVE = dso_local local_unnamed_addr global i32 0, align 4
@EXECUTION_ORDER_SEQUENTIAL = dso_local local_unnamed_addr global i32 0, align 4
@EXECUTION_ORDER_PARALLEL = dso_local local_unnamed_addr global i32 0, align 4
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"unsupported task type %d in adaptive executor\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ExecutionOrderForTask], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ExecutionOrderForTask(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
switch i32 %3, label %15 [
i32 129, label %4
i32 130, label %4
i32 131, label %6
i32 136, label %13
i32 128, label %13
]
4: ; preds = %2, %2
%5 = load i32, ptr @EXECUTION_ORDER_ANY, align 4, !tbaa !10
br label %19
6: ; preds = %2
%7 = load i32, ptr @ROW_MODIFY_NONCOMMUTATIVE, align 4, !tbaa !10
%8 = icmp sgt i32 %7, %0
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = load i32, ptr @EXECUTION_ORDER_SEQUENTIAL, align 4, !tbaa !10
br label %19
11: ; preds = %6
%12 = load i32, ptr @EXECUTION_ORDER_PARALLEL, align 4, !tbaa !10
br label %19
13: ; preds = %2, %2
%14 = load i32, ptr @EXECUTION_ORDER_PARALLEL, align 4, !tbaa !10
br label %19
15: ; preds = %2
%16 = load i32, ptr @ERROR, align 4, !tbaa !10
%17 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %3) #2
%18 = tail call i32 @ereport(i32 noundef %16, i32 noundef %17) #2
br label %19
19: ; preds = %4, %9, %11, %13, %15
%20 = phi i32 [ undef, %15 ], [ %14, %13 ], [ %10, %9 ], [ %12, %11 ], [ %5, %4 ]
ret i32 %20
}
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/citus/src/backend/distributed/executor/extr_adaptive_executor.c_ExecutionOrderForTask.c'
source_filename = "AnghaBench/citus/src/backend/distributed/executor/extr_adaptive_executor.c_ExecutionOrderForTask.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EXECUTION_ORDER_ANY = common local_unnamed_addr global i32 0, align 4
@ROW_MODIFY_NONCOMMUTATIVE = common local_unnamed_addr global i32 0, align 4
@EXECUTION_ORDER_SEQUENTIAL = common local_unnamed_addr global i32 0, align 4
@EXECUTION_ORDER_PARALLEL = common local_unnamed_addr global i32 0, align 4
@ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"unsupported task type %d in adaptive executor\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ExecutionOrderForTask], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ExecutionOrderForTask(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
switch i32 %3, label %15 [
i32 129, label %4
i32 130, label %4
i32 131, label %6
i32 136, label %13
i32 128, label %13
]
4: ; preds = %2, %2
%5 = load i32, ptr @EXECUTION_ORDER_ANY, align 4, !tbaa !11
br label %19
6: ; preds = %2
%7 = load i32, ptr @ROW_MODIFY_NONCOMMUTATIVE, align 4, !tbaa !11
%8 = icmp sgt i32 %7, %0
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = load i32, ptr @EXECUTION_ORDER_SEQUENTIAL, align 4, !tbaa !11
br label %19
11: ; preds = %6
%12 = load i32, ptr @EXECUTION_ORDER_PARALLEL, align 4, !tbaa !11
br label %19
13: ; preds = %2, %2
%14 = load i32, ptr @EXECUTION_ORDER_PARALLEL, align 4, !tbaa !11
br label %19
15: ; preds = %2
%16 = load i32, ptr @ERROR, align 4, !tbaa !11
%17 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %3) #2
%18 = tail call i32 @ereport(i32 noundef %16, i32 noundef %17) #2
br label %19
19: ; preds = %4, %9, %11, %13, %15
%20 = phi i32 [ undef, %15 ], [ %14, %13 ], [ %10, %9 ], [ %12, %11 ], [ %5, %4 ]
ret i32 %20
}
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| citus_src_backend_distributed_executor_extr_adaptive_executor.c_ExecutionOrderForTask |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192e/rtl8192e/extr_rtl_dm.c__rtl92e_dm_send_rssi_to_fw.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192e/rtl8192e/extr_rtl_dm.c__rtl92e_dm_send_rssi_to_fw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DRIVER_RSSI = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @_rtl92e_dm_send_rssi_to_fw], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @_rtl92e_dm_send_rssi_to_fw(ptr noundef %0) #0 {
%2 = tail call ptr @rtllib_priv(ptr noundef %0) #2
%3 = load i32, ptr @DRIVER_RSSI, align 4, !tbaa !5
%4 = load i64, ptr %2, align 8, !tbaa !9
%5 = trunc i64 %4 to i32
%6 = tail call i32 @rtl92e_writeb(ptr noundef %0, i32 noundef %3, i32 noundef %5) #2
ret void
}
declare ptr @rtllib_priv(ptr noundef) local_unnamed_addr #1
declare i32 @rtl92e_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"r8192_priv", !11, i64 0}
!11 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192e/rtl8192e/extr_rtl_dm.c__rtl92e_dm_send_rssi_to_fw.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192e/rtl8192e/extr_rtl_dm.c__rtl92e_dm_send_rssi_to_fw.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DRIVER_RSSI = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @_rtl92e_dm_send_rssi_to_fw], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @_rtl92e_dm_send_rssi_to_fw(ptr noundef %0) #0 {
%2 = tail call ptr @rtllib_priv(ptr noundef %0) #2
%3 = load i32, ptr @DRIVER_RSSI, align 4, !tbaa !6
%4 = load i64, ptr %2, align 8, !tbaa !10
%5 = trunc i64 %4 to i32
%6 = tail call i32 @rtl92e_writeb(ptr noundef %0, i32 noundef %3, i32 noundef %5) #2
ret void
}
declare ptr @rtllib_priv(ptr noundef) local_unnamed_addr #1
declare i32 @rtl92e_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"r8192_priv", !12, i64 0}
!12 = !{!"long", !8, i64 0}
| linux_drivers_staging_rtl8192e_rtl8192e_extr_rtl_dm.c__rtl92e_dm_send_rssi_to_fw |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aurora/extr_nb8800.c_nb8800_tx_dma_start_irq.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/aurora/extr_nb8800.c_nb8800_tx_dma_start_irq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @nb8800_tx_dma_start_irq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nb8800_tx_dma_start_irq(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = tail call i32 @spin_lock(ptr noundef %2) #2
%4 = tail call i32 @__nb8800_tx_dma_start(ptr noundef %0) #2
%5 = tail call i32 @spin_unlock(ptr noundef %2) #2
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @__nb8800_tx_dma_start(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aurora/extr_nb8800.c_nb8800_tx_dma_start_irq.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/aurora/extr_nb8800.c_nb8800_tx_dma_start_irq.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 @nb8800_tx_dma_start_irq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nb8800_tx_dma_start_irq(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = tail call i32 @spin_lock(ptr noundef %2) #2
%4 = tail call i32 @__nb8800_tx_dma_start(ptr noundef %0) #2
%5 = tail call i32 @spin_unlock(ptr noundef %2) #2
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @__nb8800_tx_dma_start(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_ethernet_aurora_extr_nb8800.c_nb8800_tx_dma_start_irq |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_lps_logout_comp_cb.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_lps_logout_comp_cb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.bfa_lps_s = type { i32, ptr, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_lps_logout_comp_cb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bfa_lps_logout_comp_cb(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %16, label %4
4: ; preds = %2
%5 = getelementptr inbounds %struct.bfa_lps_s, ptr %0, i64 0, i32 2
%6 = load i64, ptr %5, align 8, !tbaa !5
%7 = icmp eq i64 %6, 0
%8 = getelementptr inbounds %struct.bfa_lps_s, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = load i32, ptr %0, align 8, !tbaa !15
br i1 %7, label %14, label %12
12: ; preds = %4
%13 = tail call i32 @bfa_cb_lps_fdisclogo_comp(i32 noundef %10, i32 noundef %11) #2
br label %16
14: ; preds = %4
%15 = tail call i32 @bfa_cb_lps_flogo_comp(i32 noundef %10, i32 noundef %11) #2
br label %16
16: ; preds = %12, %14, %2
ret void
}
declare i32 @bfa_cb_lps_fdisclogo_comp(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfa_cb_lps_flogo_comp(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"bfa_lps_s", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_lps_logout_comp_cb.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_lps_logout_comp_cb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @bfa_lps_logout_comp_cb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bfa_lps_logout_comp_cb(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %16, label %4
4: ; preds = %2
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load i64, ptr %5, align 8, !tbaa !6
%7 = icmp eq i64 %6, 0
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = load i32, ptr %0, align 8, !tbaa !16
br i1 %7, label %14, label %12
12: ; preds = %4
%13 = tail call i32 @bfa_cb_lps_fdisclogo_comp(i32 noundef %10, i32 noundef %11) #2
br label %16
14: ; preds = %4
%15 = tail call i32 @bfa_cb_lps_flogo_comp(i32 noundef %10, i32 noundef %11) #2
br label %16
16: ; preds = %12, %14, %2
ret void
}
declare i32 @bfa_cb_lps_fdisclogo_comp(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfa_cb_lps_flogo_comp(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"bfa_lps_s", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_2__", !8, i64 0}
!16 = !{!7, !8, i64 0}
| fastsocket_kernel_drivers_scsi_bfa_extr_bfa_svc.c_bfa_lps_logout_comp_cb |
; ModuleID = 'AnghaBench/systemd/src/journal-remote/extr_journal-remote.c_dispatch_raw_connection_event.c'
source_filename = "AnghaBench/systemd/src/journal-remote/extr_journal-remote.c_dispatch_raw_connection_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"raw\00", align 1
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dispatch_raw_connection_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dispatch_raw_connection_event(ptr nocapture readnone %0, i32 noundef %1, i32 %2, ptr noundef %3) #0 {
%5 = alloca %struct.TYPE_3__, align 4
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store i32 4, ptr %5, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1
%8 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !10
store i32 %8, ptr %7, align 4, !tbaa !11
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store ptr null, ptr %6, align 8, !tbaa !12
%9 = call i32 @accept_connection(ptr noundef nonnull @.str, i32 noundef %1, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%10 = load i32, ptr @EAGAIN, align 4, !tbaa !10
%11 = sub nsw i32 0, %10
%12 = icmp eq i32 %9, %11
br i1 %12, label %18, label %13
13: ; preds = %4
%14 = icmp slt i32 %9, 0
br i1 %14, label %18, label %15
15: ; preds = %13
%16 = load ptr, ptr %6, align 8, !tbaa !12
%17 = call i32 @journal_remote_add_source(ptr noundef %3, i32 noundef %9, ptr noundef %16, i32 noundef 1) #3
br label %18
18: ; preds = %13, %4, %15
%19 = phi i32 [ %17, %15 ], [ 0, %4 ], [ %9, %13 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %19
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @accept_connection(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @journal_remote_add_source(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, !7, i64 0}
!6 = !{!"TYPE_3__", !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 4}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/systemd/src/journal-remote/extr_journal-remote.c_dispatch_raw_connection_event.c'
source_filename = "AnghaBench/systemd/src/journal-remote/extr_journal-remote.c_dispatch_raw_connection_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32, i32 }
@SOCK_STREAM = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"raw\00", align 1
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dispatch_raw_connection_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dispatch_raw_connection_event(ptr nocapture readnone %0, i32 noundef %1, i32 %2, ptr noundef %3) #0 {
%5 = alloca %struct.TYPE_3__, align 4
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store i32 4, ptr %5, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %5, i64 4
%8 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !11
store i32 %8, ptr %7, align 4, !tbaa !12
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store ptr null, ptr %6, align 8, !tbaa !13
%9 = call i32 @accept_connection(ptr noundef nonnull @.str, i32 noundef %1, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%10 = load i32, ptr @EAGAIN, align 4, !tbaa !11
%11 = sub nsw i32 0, %10
%12 = icmp eq i32 %9, %11
br i1 %12, label %18, label %13
13: ; preds = %4
%14 = icmp slt i32 %9, 0
br i1 %14, label %18, label %15
15: ; preds = %13
%16 = load ptr, ptr %6, align 8, !tbaa !13
%17 = call i32 @journal_remote_add_source(ptr noundef %3, i32 noundef %9, ptr noundef %16, i32 noundef 1) #3
br label %18
18: ; preds = %13, %4, %15
%19 = phi i32 [ %17, %15 ], [ 0, %4 ], [ %9, %13 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %19
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @accept_connection(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @journal_remote_add_source(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, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
| systemd_src_journal-remote_extr_journal-remote.c_dispatch_raw_connection_event |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/qcommon/extr_vm_ppc_new.c_Constant4.c'
source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_vm_ppc_new.c_Constant4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@code = dso_local local_unnamed_addr global ptr null, align 8
@pc = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @Constant4], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: read, inaccessiblemem: none) uwtable
define internal i32 @Constant4() #0 {
%1 = load ptr, ptr @code, align 8, !tbaa !5
%2 = load i64, ptr @pc, align 8, !tbaa !9
%3 = getelementptr inbounds i32, ptr %1, i64 %2
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = getelementptr i32, ptr %3, i64 1
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = shl i32 %6, 8
%8 = or i32 %7, %4
%9 = getelementptr i32, ptr %3, i64 2
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = shl i32 %10, 16
%12 = or i32 %8, %11
%13 = getelementptr i32, ptr %3, i64 3
%14 = load i32, ptr %13, align 4, !tbaa !11
%15 = shl i32 %14, 24
%16 = or i32 %12, %15
%17 = add i64 %2, 4
store i64 %17, ptr @pc, align 8, !tbaa !9
ret i32 %16
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/qcommon/extr_vm_ppc_new.c_Constant4.c'
source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_vm_ppc_new.c_Constant4.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@code = common local_unnamed_addr global ptr null, align 8
@pc = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @Constant4], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: read, inaccessiblemem: none) uwtable(sync)
define internal i32 @Constant4() #0 {
%1 = load ptr, ptr @code, align 8, !tbaa !6
%2 = load i64, ptr @pc, align 8, !tbaa !10
%3 = getelementptr inbounds i32, ptr %1, i64 %2
%4 = load i32, ptr %3, align 4, !tbaa !12
%5 = getelementptr i8, ptr %3, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = shl i32 %6, 8
%8 = or i32 %7, %4
%9 = getelementptr i8, ptr %3, i64 8
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = shl i32 %10, 16
%12 = or i32 %8, %11
%13 = getelementptr i8, ptr %3, i64 12
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = shl i32 %14, 24
%16 = or i32 %12, %15
%17 = add i64 %2, 4
store i64 %17, ptr @pc, align 8, !tbaa !10
ret i32 %16
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| Quake-III-Arena_code_qcommon_extr_vm_ppc_new.c_Constant4 |
; ModuleID = 'AnghaBench/linux/drivers/input/misc/extr_sgi_btns.c_sgi_buttons_probe.c'
source_filename = "AnghaBench/linux/drivers/input/misc/extr_sgi_btns.c_sgi_buttons_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.buttons_dev = type { ptr, ptr }
%struct.input_polled_dev = type { ptr, i32, i32, ptr }
%struct.input_dev = type { ptr, ptr, i32, i32, i32, i32, ptr, %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { ptr }
%struct.TYPE_3__ = type { i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@sgi_map = dso_local local_unnamed_addr global ptr null, align 8
@handle_buttons = dso_local local_unnamed_addr global i32 0, align 4
@BUTTONS_POLL_INTERVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"SGI buttons\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"sgi/input0\00", align 1
@BUS_HOST = dso_local local_unnamed_addr global i32 0, align 4
@EV_MSC = dso_local local_unnamed_addr global i32 0, align 4
@MSC_SCAN = dso_local local_unnamed_addr global i32 0, align 4
@EV_KEY = dso_local local_unnamed_addr global i32 0, align 4
@KEY_RESERVED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sgi_buttons_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sgi_buttons_probe(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%3 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %2) #2
%4 = tail call ptr (...) @input_allocate_polled_device() #2
%5 = icmp ne ptr %3, null
%6 = icmp ne ptr %4, null
%7 = select i1 %5, i1 %6, i1 false
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%10 = sub nsw i32 0, %9
br label %63
11: ; preds = %1
%12 = getelementptr inbounds %struct.buttons_dev, ptr %3, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !9
%14 = load ptr, ptr @sgi_map, align 8, !tbaa !12
%15 = tail call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef 8) #2
%16 = getelementptr inbounds %struct.input_polled_dev, ptr %4, i64 0, i32 3
store ptr %3, ptr %16, align 8, !tbaa !13
%17 = load i32, ptr @handle_buttons, align 4, !tbaa !5
%18 = getelementptr inbounds %struct.input_polled_dev, ptr %4, i64 0, i32 2
store i32 %17, ptr %18, align 4, !tbaa !15
%19 = load i32, ptr @BUTTONS_POLL_INTERVAL, align 4, !tbaa !5
%20 = getelementptr inbounds %struct.input_polled_dev, ptr %4, i64 0, i32 1
store i32 %19, ptr %20, align 8, !tbaa !16
%21 = load ptr, ptr %4, align 8, !tbaa !17
store ptr @.str, ptr %21, align 8, !tbaa !18
%22 = getelementptr inbounds %struct.input_dev, ptr %21, i64 0, i32 1
store ptr @.str.1, ptr %22, align 8, !tbaa !22
%23 = load i32, ptr @BUS_HOST, align 4, !tbaa !5
%24 = getelementptr inbounds %struct.input_dev, ptr %21, i64 0, i32 8
store i32 %23, ptr %24, align 8, !tbaa !23
%25 = getelementptr inbounds %struct.input_dev, ptr %21, i64 0, i32 7
store ptr %0, ptr %25, align 8, !tbaa !24
%26 = load ptr, ptr %12, align 8, !tbaa !9
%27 = getelementptr inbounds %struct.input_dev, ptr %21, i64 0, i32 6
store ptr %26, ptr %27, align 8, !tbaa !25
%28 = tail call i32 @ARRAY_SIZE(ptr noundef %26) #2
%29 = getelementptr inbounds %struct.input_dev, ptr %21, i64 0, i32 2
store i32 %28, ptr %29, align 8, !tbaa !26
%30 = getelementptr inbounds %struct.input_dev, ptr %21, i64 0, i32 3
store i32 2, ptr %30, align 4, !tbaa !27
%31 = load i32, ptr @EV_MSC, align 4, !tbaa !5
%32 = load i32, ptr @MSC_SCAN, align 4, !tbaa !5
%33 = tail call i32 @input_set_capability(ptr noundef nonnull %21, i32 noundef %31, i32 noundef %32) #2
%34 = load i32, ptr @EV_KEY, align 4, !tbaa !5
%35 = getelementptr inbounds %struct.input_dev, ptr %21, i64 0, i32 5
%36 = load i32, ptr %35, align 4, !tbaa !28
%37 = tail call i32 @__set_bit(i32 noundef %34, i32 noundef %36) #2
%38 = load ptr, ptr @sgi_map, align 8, !tbaa !12
%39 = tail call i32 @ARRAY_SIZE(ptr noundef %38) #2
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %55
41: ; preds = %11
%42 = getelementptr inbounds %struct.input_dev, ptr %21, i64 0, i32 4
br label %43
43: ; preds = %41, %43
%44 = phi i64 [ 0, %41 ], [ %50, %43 ]
%45 = load ptr, ptr %12, align 8, !tbaa !9
%46 = getelementptr inbounds i32, ptr %45, i64 %44
%47 = load i32, ptr %46, align 4, !tbaa !5
%48 = load i32, ptr %42, align 8, !tbaa !29
%49 = tail call i32 @__set_bit(i32 noundef %47, i32 noundef %48) #2
%50 = add nuw nsw i64 %44, 1
%51 = load ptr, ptr @sgi_map, align 8, !tbaa !12
%52 = tail call i32 @ARRAY_SIZE(ptr noundef %51) #2
%53 = sext i32 %52 to i64
%54 = icmp slt i64 %50, %53
br i1 %54, label %43, label %55, !llvm.loop !30
55: ; preds = %43, %11
%56 = load i32, ptr @KEY_RESERVED, align 4, !tbaa !5
%57 = getelementptr inbounds %struct.input_dev, ptr %21, i64 0, i32 4
%58 = load i32, ptr %57, align 8, !tbaa !29
%59 = tail call i32 @__clear_bit(i32 noundef %56, i32 noundef %58) #2
store ptr %4, ptr %3, align 8, !tbaa !32
%60 = tail call i32 @platform_set_drvdata(ptr noundef %0, ptr noundef nonnull %3) #2
%61 = tail call i32 @input_register_polled_device(ptr noundef nonnull %4) #2
%62 = icmp eq i32 %61, 0
br i1 %62, label %67, label %63
63: ; preds = %55, %8
%64 = phi i32 [ %61, %55 ], [ %10, %8 ]
%65 = tail call i32 @input_free_polled_device(ptr noundef %4) #2
%66 = tail call i32 @kfree(ptr noundef %3) #2
br label %67
67: ; preds = %55, %63
%68 = phi i32 [ %64, %63 ], [ 0, %55 ]
ret i32 %68
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @input_allocate_polled_device(...) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @input_set_capability(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @input_register_polled_device(ptr noundef) local_unnamed_addr #1
declare i32 @input_free_polled_device(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"buttons_dev", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !11, i64 16}
!14 = !{!"input_polled_dev", !11, i64 0, !6, i64 8, !6, i64 12, !11, i64 16}
!15 = !{!14, !6, i64 12}
!16 = !{!14, !6, i64 8}
!17 = !{!14, !11, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"input_dev", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !11, i64 32, !20, i64 40, !21, i64 48}
!20 = !{!"TYPE_4__", !11, i64 0}
!21 = !{!"TYPE_3__", !6, i64 0}
!22 = !{!19, !11, i64 8}
!23 = !{!19, !6, i64 48}
!24 = !{!19, !11, i64 40}
!25 = !{!19, !11, i64 32}
!26 = !{!19, !6, i64 16}
!27 = !{!19, !6, i64 20}
!28 = !{!19, !6, i64 28}
!29 = !{!19, !6, i64 24}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/input/misc/extr_sgi_btns.c_sgi_buttons_probe.c'
source_filename = "AnghaBench/linux/drivers/input/misc/extr_sgi_btns.c_sgi_buttons_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
@sgi_map = common local_unnamed_addr global ptr null, align 8
@handle_buttons = common local_unnamed_addr global i32 0, align 4
@BUTTONS_POLL_INTERVAL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"SGI buttons\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"sgi/input0\00", align 1
@BUS_HOST = common local_unnamed_addr global i32 0, align 4
@EV_MSC = common local_unnamed_addr global i32 0, align 4
@MSC_SCAN = common local_unnamed_addr global i32 0, align 4
@EV_KEY = common local_unnamed_addr global i32 0, align 4
@KEY_RESERVED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sgi_buttons_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sgi_buttons_probe(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%3 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %2) #2
%4 = tail call ptr @input_allocate_polled_device() #2
%5 = icmp ne ptr %3, null
%6 = icmp ne ptr %4, null
%7 = select i1 %5, i1 %6, i1 false
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%10 = sub nsw i32 0, %9
br label %63
11: ; preds = %1
%12 = getelementptr inbounds i8, ptr %3, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !10
%14 = load ptr, ptr @sgi_map, align 8, !tbaa !13
%15 = tail call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef 8) #2
%16 = getelementptr inbounds i8, ptr %4, i64 16
store ptr %3, ptr %16, align 8, !tbaa !14
%17 = load i32, ptr @handle_buttons, align 4, !tbaa !6
%18 = getelementptr inbounds i8, ptr %4, i64 12
store i32 %17, ptr %18, align 4, !tbaa !16
%19 = load i32, ptr @BUTTONS_POLL_INTERVAL, align 4, !tbaa !6
%20 = getelementptr inbounds i8, ptr %4, i64 8
store i32 %19, ptr %20, align 8, !tbaa !17
%21 = load ptr, ptr %4, align 8, !tbaa !18
store ptr @.str, ptr %21, align 8, !tbaa !19
%22 = getelementptr inbounds i8, ptr %21, i64 8
store ptr @.str.1, ptr %22, align 8, !tbaa !23
%23 = load i32, ptr @BUS_HOST, align 4, !tbaa !6
%24 = getelementptr inbounds i8, ptr %21, i64 48
store i32 %23, ptr %24, align 8, !tbaa !24
%25 = getelementptr inbounds i8, ptr %21, i64 40
store ptr %0, ptr %25, align 8, !tbaa !25
%26 = load ptr, ptr %12, align 8, !tbaa !10
%27 = getelementptr inbounds i8, ptr %21, i64 32
store ptr %26, ptr %27, align 8, !tbaa !26
%28 = tail call i32 @ARRAY_SIZE(ptr noundef %26) #2
%29 = getelementptr inbounds i8, ptr %21, i64 16
store i32 %28, ptr %29, align 8, !tbaa !27
%30 = getelementptr inbounds i8, ptr %21, i64 20
store i32 2, ptr %30, align 4, !tbaa !28
%31 = load i32, ptr @EV_MSC, align 4, !tbaa !6
%32 = load i32, ptr @MSC_SCAN, align 4, !tbaa !6
%33 = tail call i32 @input_set_capability(ptr noundef nonnull %21, i32 noundef %31, i32 noundef %32) #2
%34 = load i32, ptr @EV_KEY, align 4, !tbaa !6
%35 = getelementptr inbounds i8, ptr %21, i64 28
%36 = load i32, ptr %35, align 4, !tbaa !29
%37 = tail call i32 @__set_bit(i32 noundef %34, i32 noundef %36) #2
%38 = load ptr, ptr @sgi_map, align 8, !tbaa !13
%39 = tail call i32 @ARRAY_SIZE(ptr noundef %38) #2
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %55
41: ; preds = %11
%42 = getelementptr inbounds i8, ptr %21, i64 24
br label %43
43: ; preds = %41, %43
%44 = phi i64 [ 0, %41 ], [ %50, %43 ]
%45 = load ptr, ptr %12, align 8, !tbaa !10
%46 = getelementptr inbounds i32, ptr %45, i64 %44
%47 = load i32, ptr %46, align 4, !tbaa !6
%48 = load i32, ptr %42, align 8, !tbaa !30
%49 = tail call i32 @__set_bit(i32 noundef %47, i32 noundef %48) #2
%50 = add nuw nsw i64 %44, 1
%51 = load ptr, ptr @sgi_map, align 8, !tbaa !13
%52 = tail call i32 @ARRAY_SIZE(ptr noundef %51) #2
%53 = sext i32 %52 to i64
%54 = icmp slt i64 %50, %53
br i1 %54, label %43, label %55, !llvm.loop !31
55: ; preds = %43, %11
%56 = load i32, ptr @KEY_RESERVED, align 4, !tbaa !6
%57 = getelementptr inbounds i8, ptr %21, i64 24
%58 = load i32, ptr %57, align 8, !tbaa !30
%59 = tail call i32 @__clear_bit(i32 noundef %56, i32 noundef %58) #2
store ptr %4, ptr %3, align 8, !tbaa !33
%60 = tail call i32 @platform_set_drvdata(ptr noundef %0, ptr noundef nonnull %3) #2
%61 = tail call i32 @input_register_polled_device(ptr noundef nonnull %4) #2
%62 = icmp eq i32 %61, 0
br i1 %62, label %67, label %63
63: ; preds = %55, %8
%64 = phi i32 [ %61, %55 ], [ %10, %8 ]
%65 = tail call i32 @input_free_polled_device(ptr noundef %4) #2
%66 = tail call i32 @kfree(ptr noundef %3) #2
br label %67
67: ; preds = %55, %63
%68 = phi i32 [ %64, %63 ], [ 0, %55 ]
ret i32 %68
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @input_allocate_polled_device(...) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @input_set_capability(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @input_register_polled_device(ptr noundef) local_unnamed_addr #1
declare i32 @input_free_polled_device(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"buttons_dev", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !12, i64 16}
!15 = !{!"input_polled_dev", !12, i64 0, !7, i64 8, !7, i64 12, !12, i64 16}
!16 = !{!15, !7, i64 12}
!17 = !{!15, !7, i64 8}
!18 = !{!15, !12, i64 0}
!19 = !{!20, !12, i64 0}
!20 = !{!"input_dev", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !12, i64 32, !21, i64 40, !22, i64 48}
!21 = !{!"TYPE_4__", !12, i64 0}
!22 = !{!"TYPE_3__", !7, i64 0}
!23 = !{!20, !12, i64 8}
!24 = !{!20, !7, i64 48}
!25 = !{!20, !12, i64 40}
!26 = !{!20, !12, i64 32}
!27 = !{!20, !7, i64 16}
!28 = !{!20, !7, i64 20}
!29 = !{!20, !7, i64 28}
!30 = !{!20, !7, i64 24}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!11, !12, i64 0}
| linux_drivers_input_misc_extr_sgi_btns.c_sgi_buttons_probe |
; ModuleID = 'AnghaBench/macvim/src/extr_if_py_both.h_RangeDestructor.c'
source_filename = "AnghaBench/macvim/src/extr_if_py_both.h_RangeDestructor.c"
target datalayout = "e-m:e-p270:32:32-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 @RangeDestructor], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @RangeDestructor(ptr noundef %0) #0 {
%2 = tail call i32 @PyObject_GC_UnTrack(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @Py_XDECREF(i32 noundef %3) #2
%5 = tail call i32 @PyObject_GC_Del(ptr noundef nonnull %0) #2
ret void
}
declare i32 @PyObject_GC_UnTrack(ptr noundef) local_unnamed_addr #1
declare i32 @Py_XDECREF(i32 noundef) local_unnamed_addr #1
declare i32 @PyObject_GC_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 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/macvim/src/extr_if_py_both.h_RangeDestructor.c'
source_filename = "AnghaBench/macvim/src/extr_if_py_both.h_RangeDestructor.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 @RangeDestructor], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @RangeDestructor(ptr noundef %0) #0 {
%2 = tail call i32 @PyObject_GC_UnTrack(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @Py_XDECREF(i32 noundef %3) #2
%5 = tail call i32 @PyObject_GC_Del(ptr noundef nonnull %0) #2
ret void
}
declare i32 @PyObject_GC_UnTrack(ptr noundef) local_unnamed_addr #1
declare i32 @Py_XDECREF(i32 noundef) local_unnamed_addr #1
declare i32 @PyObject_GC_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 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| macvim_src_extr_if_py_both.h_RangeDestructor |
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libiberty/extr_strverscmp.c_strverscmp.c'
source_filename = "AnghaBench/freebsd/contrib/gcclibs/libiberty/extr_strverscmp.c_strverscmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@strverscmp.next_state = internal unnamed_addr constant [16 x i32] [i32 129, i32 130, i32 128, i32 129, i32 129, i32 130, i32 130, i32 130, i32 129, i32 131, i32 131, i32 131, i32 129, i32 131, i32 128, i32 128], align 16
@strverscmp.result_type = internal unnamed_addr constant [60 x i32] [i32 133, i32 133, i32 133, i32 133, i32 133, i32 132, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 -1, i32 -1, i32 133, i32 1, i32 132, i32 132, i32 133, i32 1, i32 132, i32 132, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 132, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 1, i32 1, i32 133, i32 -1, i32 133, i32 133, i32 133, i32 -1, i32 133, i32 133, i32 133], align 16
; Function Attrs: nounwind uwtable
define dso_local i32 @strverscmp(ptr noundef readonly %0, ptr noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, %1
br i1 %3, label %81, label %4
4: ; preds = %2
%5 = load i8, ptr %0, align 1, !tbaa !5
%6 = load i8, ptr %1, align 1, !tbaa !5
%7 = icmp eq i8 %5, 48
%8 = zext i1 %7 to i32
%9 = tail call i64 @ISDIGIT(i8 noundef zeroext %5) #2
%10 = icmp ne i64 %9, 0
%11 = zext i1 %10 to i32
%12 = add nuw nsw i32 %11, %8
%13 = or i32 %12, 129
%14 = getelementptr inbounds i8, ptr %1, i64 1
%15 = getelementptr inbounds i8, ptr %0, i64 1
%16 = zext i8 %5 to i32
%17 = zext i8 %6 to i32
%18 = sub nsw i32 %16, %17
%19 = icmp eq i32 %18, 0
%20 = icmp ne i8 %5, 0
%21 = and i1 %20, %19
br i1 %21, label %22, label %46
22: ; preds = %4, %22
%23 = phi ptr [ %39, %22 ], [ %15, %4 ]
%24 = phi ptr [ %38, %22 ], [ %14, %4 ]
%25 = phi i32 [ %37, %22 ], [ %13, %4 ]
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [16 x i32], ptr @strverscmp.next_state, i64 0, i64 %26
%28 = load i32, ptr %27, align 4, !tbaa !8
%29 = load i8, ptr %23, align 1, !tbaa !5
%30 = load i8, ptr %24, align 1, !tbaa !5
%31 = icmp eq i8 %29, 48
%32 = zext i1 %31 to i32
%33 = tail call i64 @ISDIGIT(i8 noundef zeroext %29) #2
%34 = icmp ne i64 %33, 0
%35 = zext i1 %34 to i32
%36 = add nuw nsw i32 %35, %32
%37 = or i32 %36, %28
%38 = getelementptr inbounds i8, ptr %24, i64 1
%39 = getelementptr inbounds i8, ptr %23, i64 1
%40 = zext i8 %29 to i32
%41 = zext i8 %30 to i32
%42 = sub nsw i32 %40, %41
%43 = icmp eq i32 %42, 0
%44 = icmp ne i8 %29, 0
%45 = and i1 %44, %43
br i1 %45, label %22, label %46, !llvm.loop !10
46: ; preds = %22, %4
%47 = phi i8 [ %6, %4 ], [ %30, %22 ]
%48 = phi i32 [ %13, %4 ], [ %37, %22 ]
%49 = phi ptr [ %14, %4 ], [ %38, %22 ]
%50 = phi ptr [ %15, %4 ], [ %39, %22 ]
%51 = phi i32 [ %18, %4 ], [ %42, %22 ]
%52 = shl i32 %48, 2
%53 = icmp eq i8 %47, 48
%54 = zext i1 %53 to i32
%55 = tail call i64 @ISDIGIT(i8 noundef zeroext %47) #2
%56 = icmp ne i64 %55, 0
%57 = zext i1 %56 to i32
%58 = add nuw nsw i32 %57, %54
%59 = or disjoint i32 %58, %52
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [60 x i32], ptr @strverscmp.result_type, i64 0, i64 %60
%62 = load i32, ptr %61, align 4, !tbaa !8
switch i32 %62, label %80 [
i32 133, label %81
i32 132, label %63
]
63: ; preds = %46, %69
%64 = phi ptr [ %70, %69 ], [ %50, %46 ]
%65 = phi ptr [ %71, %69 ], [ %49, %46 ]
%66 = load i8, ptr %64, align 1, !tbaa !5
%67 = tail call i64 @ISDIGIT(i8 noundef zeroext %66) #2
%68 = icmp eq i64 %67, 0
br i1 %68, label %75, label %69
69: ; preds = %63
%70 = getelementptr inbounds i8, ptr %64, i64 1
%71 = getelementptr inbounds i8, ptr %65, i64 1
%72 = load i8, ptr %65, align 1, !tbaa !5
%73 = tail call i64 @ISDIGIT(i8 noundef zeroext %72) #2
%74 = icmp eq i64 %73, 0
br i1 %74, label %81, label %63, !llvm.loop !12
75: ; preds = %63
%76 = load i8, ptr %65, align 1, !tbaa !5
%77 = tail call i64 @ISDIGIT(i8 noundef zeroext %76) #2
%78 = icmp eq i64 %77, 0
%79 = select i1 %78, i32 %51, i32 -1
br label %81
80: ; preds = %46
br label %81
81: ; preds = %69, %46, %2, %80, %75
%82 = phi i32 [ %62, %80 ], [ %79, %75 ], [ 0, %2 ], [ %51, %46 ], [ 1, %69 ]
ret i32 %82
}
declare i64 @ISDIGIT(i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libiberty/extr_strverscmp.c_strverscmp.c'
source_filename = "AnghaBench/freebsd/contrib/gcclibs/libiberty/extr_strverscmp.c_strverscmp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@strverscmp.next_state = internal unnamed_addr constant [16 x i32] [i32 129, i32 130, i32 128, i32 129, i32 129, i32 130, i32 130, i32 130, i32 129, i32 131, i32 131, i32 131, i32 129, i32 131, i32 128, i32 128], align 4
@strverscmp.result_type = internal unnamed_addr constant [60 x i32] [i32 133, i32 133, i32 133, i32 133, i32 133, i32 132, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 -1, i32 -1, i32 133, i32 1, i32 132, i32 132, i32 133, i32 1, i32 132, i32 132, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 132, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 133, i32 1, i32 1, i32 133, i32 -1, i32 133, i32 133, i32 133, i32 -1, i32 133, i32 133, i32 133], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @strverscmp(ptr noundef readonly %0, ptr noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, %1
br i1 %3, label %81, label %4
4: ; preds = %2
%5 = load i8, ptr %0, align 1, !tbaa !6
%6 = load i8, ptr %1, align 1, !tbaa !6
%7 = icmp eq i8 %5, 48
%8 = zext i1 %7 to i32
%9 = tail call i64 @ISDIGIT(i8 noundef zeroext %5) #2
%10 = icmp ne i64 %9, 0
%11 = zext i1 %10 to i32
%12 = add nuw nsw i32 %11, %8
%13 = or i32 %12, 129
%14 = getelementptr inbounds i8, ptr %1, i64 1
%15 = getelementptr inbounds i8, ptr %0, i64 1
%16 = zext i8 %5 to i32
%17 = zext i8 %6 to i32
%18 = sub nsw i32 %16, %17
%19 = icmp eq i32 %18, 0
%20 = icmp ne i8 %5, 0
%21 = and i1 %20, %19
br i1 %21, label %22, label %46
22: ; preds = %4, %22
%23 = phi ptr [ %39, %22 ], [ %15, %4 ]
%24 = phi ptr [ %38, %22 ], [ %14, %4 ]
%25 = phi i32 [ %37, %22 ], [ %13, %4 ]
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [16 x i32], ptr @strverscmp.next_state, i64 0, i64 %26
%28 = load i32, ptr %27, align 4, !tbaa !9
%29 = load i8, ptr %23, align 1, !tbaa !6
%30 = load i8, ptr %24, align 1, !tbaa !6
%31 = icmp eq i8 %29, 48
%32 = zext i1 %31 to i32
%33 = tail call i64 @ISDIGIT(i8 noundef zeroext %29) #2
%34 = icmp ne i64 %33, 0
%35 = zext i1 %34 to i32
%36 = add nuw nsw i32 %35, %32
%37 = or i32 %36, %28
%38 = getelementptr inbounds i8, ptr %24, i64 1
%39 = getelementptr inbounds i8, ptr %23, i64 1
%40 = zext i8 %29 to i32
%41 = zext i8 %30 to i32
%42 = sub nsw i32 %40, %41
%43 = icmp eq i32 %42, 0
%44 = icmp ne i8 %29, 0
%45 = and i1 %44, %43
br i1 %45, label %22, label %46, !llvm.loop !11
46: ; preds = %22, %4
%47 = phi i8 [ %6, %4 ], [ %30, %22 ]
%48 = phi i32 [ %13, %4 ], [ %37, %22 ]
%49 = phi ptr [ %14, %4 ], [ %38, %22 ]
%50 = phi ptr [ %15, %4 ], [ %39, %22 ]
%51 = phi i32 [ %18, %4 ], [ %42, %22 ]
%52 = shl i32 %48, 2
%53 = icmp eq i8 %47, 48
%54 = zext i1 %53 to i32
%55 = tail call i64 @ISDIGIT(i8 noundef zeroext %47) #2
%56 = icmp ne i64 %55, 0
%57 = zext i1 %56 to i32
%58 = add nuw nsw i32 %57, %54
%59 = or disjoint i32 %58, %52
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [60 x i32], ptr @strverscmp.result_type, i64 0, i64 %60
%62 = load i32, ptr %61, align 4, !tbaa !9
switch i32 %62, label %80 [
i32 133, label %81
i32 132, label %63
]
63: ; preds = %46, %69
%64 = phi ptr [ %70, %69 ], [ %50, %46 ]
%65 = phi ptr [ %71, %69 ], [ %49, %46 ]
%66 = load i8, ptr %64, align 1, !tbaa !6
%67 = tail call i64 @ISDIGIT(i8 noundef zeroext %66) #2
%68 = icmp eq i64 %67, 0
br i1 %68, label %75, label %69
69: ; preds = %63
%70 = getelementptr inbounds i8, ptr %64, i64 1
%71 = getelementptr inbounds i8, ptr %65, i64 1
%72 = load i8, ptr %65, align 1, !tbaa !6
%73 = tail call i64 @ISDIGIT(i8 noundef zeroext %72) #2
%74 = icmp eq i64 %73, 0
br i1 %74, label %81, label %63, !llvm.loop !13
75: ; preds = %63
%76 = load i8, ptr %65, align 1, !tbaa !6
%77 = tail call i64 @ISDIGIT(i8 noundef zeroext %76) #2
%78 = icmp eq i64 %77, 0
%79 = select i1 %78, i32 %51, i32 -1
br label %81
80: ; preds = %46
br label %81
81: ; preds = %69, %46, %2, %80, %75
%82 = phi i32 [ %62, %80 ], [ %79, %75 ], [ 0, %2 ], [ %51, %46 ], [ 1, %69 ]
ret i32 %82
}
declare i64 @ISDIGIT(i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
| freebsd_contrib_gcclibs_libiberty_extr_strverscmp.c_strverscmp |
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_ioim_tov.c'
source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_ioim_tov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.bfa_ioim_s = type { i32, i32 }
@BFA_IOIM_SM_IOTOV = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @bfa_ioim_tov(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.bfa_ioim_s, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = tail call i32 @bfa_trc(i32 noundef %3, i32 noundef %4) #2
%6 = load i32, ptr @BFA_IOIM_SM_IOTOV, align 4, !tbaa !11
%7 = tail call i32 @bfa_sm_send_event(ptr noundef nonnull %0, i32 noundef %6) #2
ret void
}
declare i32 @bfa_trc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfa_sm_send_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 4}
!6 = !{!"bfa_ioim_s", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_ioim_tov.c'
source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_ioim_tov.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BFA_IOIM_SM_IOTOV = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @bfa_ioim_tov(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 %0, align 4, !tbaa !11
%5 = tail call i32 @bfa_trc(i32 noundef %3, i32 noundef %4) #2
%6 = load i32, ptr @BFA_IOIM_SM_IOTOV, align 4, !tbaa !12
%7 = tail call i32 @bfa_sm_send_event(ptr noundef nonnull %0, i32 noundef %6) #2
ret void
}
declare i32 @bfa_trc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfa_sm_send_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 4}
!7 = !{!"bfa_ioim_s", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!8, !8, i64 0}
| linux_drivers_scsi_bfa_extr_bfa_fcpim.c_bfa_ioim_tov |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ice/extr_ice_main.c_ice_service_task_stop.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ice/extr_ice_main.c_ice_service_task_stop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ice_pf = type { i32, %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i64 }
%struct.TYPE_3__ = type { i64 }
@__ICE_SERVICE_DIS = dso_local local_unnamed_addr global i32 0, align 4
@__ICE_SERVICE_SCHED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ice_service_task_stop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ice_service_task_stop(ptr noundef %0) #0 {
%2 = load i32, ptr @__ICE_SERVICE_DIS, align 4, !tbaa !5
%3 = load i32, ptr %0, align 8, !tbaa !9
%4 = tail call i32 @set_bit(i32 noundef %2, i32 noundef %3) #2
%5 = getelementptr inbounds %struct.ice_pf, ptr %0, i64 0, i32 2
%6 = load i64, ptr %5, align 8, !tbaa !14
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @del_timer_sync(ptr noundef nonnull %5) #2
br label %10
10: ; preds = %8, %1
%11 = getelementptr inbounds %struct.ice_pf, ptr %0, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !15
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = tail call i32 @cancel_work_sync(ptr noundef nonnull %11) #2
br label %16
16: ; preds = %14, %10
%17 = load i32, ptr @__ICE_SERVICE_SCHED, align 4, !tbaa !5
%18 = load i32, ptr %0, align 8, !tbaa !9
%19 = tail call i32 @clear_bit(i32 noundef %17, i32 noundef %18) #2
ret void
}
declare i32 @set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1
declare i32 @cancel_work_sync(ptr noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"ice_pf", !6, i64 0, !11, i64 8, !13, i64 16}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"TYPE_3__", !12, i64 0}
!14 = !{!10, !12, i64 16}
!15 = !{!10, !12, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ice/extr_ice_main.c_ice_service_task_stop.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ice/extr_ice_main.c_ice_service_task_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__ICE_SERVICE_DIS = common local_unnamed_addr global i32 0, align 4
@__ICE_SERVICE_SCHED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ice_service_task_stop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ice_service_task_stop(ptr noundef %0) #0 {
%2 = load i32, ptr @__ICE_SERVICE_DIS, align 4, !tbaa !6
%3 = load i32, ptr %0, align 8, !tbaa !10
%4 = tail call i32 @set_bit(i32 noundef %2, i32 noundef %3) #2
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load i64, ptr %5, align 8, !tbaa !15
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @del_timer_sync(ptr noundef nonnull %5) #2
br label %10
10: ; preds = %8, %1
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !16
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = tail call i32 @cancel_work_sync(ptr noundef nonnull %11) #2
br label %16
16: ; preds = %14, %10
%17 = load i32, ptr @__ICE_SERVICE_SCHED, align 4, !tbaa !6
%18 = load i32, ptr %0, align 8, !tbaa !10
%19 = tail call i32 @clear_bit(i32 noundef %17, i32 noundef %18) #2
ret void
}
declare i32 @set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1
declare i32 @cancel_work_sync(ptr noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"ice_pf", !7, i64 0, !12, i64 8, !14, i64 16}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!"TYPE_3__", !13, i64 0}
!15 = !{!11, !13, i64 16}
!16 = !{!11, !13, i64 8}
| linux_drivers_net_ethernet_intel_ice_extr_ice_main.c_ice_service_task_stop |
; ModuleID = 'AnghaBench/timescaledb/src/net/extr_conn.c_ts_connection_register.c'
source_filename = "AnghaBench/timescaledb/src/net/extr_conn.c_ts_connection_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"
@_CONNECTION_MAX = dso_local local_unnamed_addr global i64 0, align 8
@conn_ops = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable
define dso_local noundef i32 @ts_connection_register(i64 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr @_CONNECTION_MAX, align 8, !tbaa !5
%4 = icmp eq i64 %3, %0
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = load ptr, ptr @conn_ops, align 8, !tbaa !9
%7 = getelementptr inbounds ptr, ptr %6, i64 %0
store ptr %1, ptr %7, align 8, !tbaa !9
br label %8
8: ; preds = %2, %5
%9 = phi i32 [ 0, %5 ], [ -1, %2 ]
ret i32 %9
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, 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 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/timescaledb/src/net/extr_conn.c_ts_connection_register.c'
source_filename = "AnghaBench/timescaledb/src/net/extr_conn.c_ts_connection_register.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_CONNECTION_MAX = common local_unnamed_addr global i64 0, align 8
@conn_ops = common local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync)
define range(i32 -1, 1) i32 @ts_connection_register(i64 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr @_CONNECTION_MAX, align 8, !tbaa !6
%4 = icmp eq i64 %3, %0
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = load ptr, ptr @conn_ops, align 8, !tbaa !10
%7 = getelementptr inbounds ptr, ptr %6, i64 %0
store ptr %1, ptr %7, align 8, !tbaa !10
br label %8
8: ; preds = %2, %5
%9 = phi i32 [ 0, %5 ], [ -1, %2 ]
ret i32 %9
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, 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 = !{!"any pointer", !8, i64 0}
| timescaledb_src_net_extr_conn.c_ts_connection_register |
; ModuleID = 'AnghaBench/freebsd/contrib/libucl/src/extr_ucl_parser.c_ucl_parser_set_variables_handler.c'
source_filename = "AnghaBench/freebsd/contrib/libucl/src/extr_ucl_parser.c_ucl_parser_set_variables_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"
%struct.ucl_parser = type { ptr, i32 }
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local void @ucl_parser_set_variables_handler(ptr nocapture noundef writeonly %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.ucl_parser, ptr %0, i64 0, i32 1
store i32 %1, ptr %4, align 8, !tbaa !5
store ptr %2, ptr %0, align 8, !tbaa !11
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"ucl_parser", !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 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libucl/src/extr_ucl_parser.c_ucl_parser_set_variables_handler.c'
source_filename = "AnghaBench/freebsd/contrib/libucl/src/extr_ucl_parser.c_ucl_parser_set_variables_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define void @ucl_parser_set_variables_handler(ptr nocapture noundef writeonly %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %1, ptr %4, align 8, !tbaa !6
store ptr %2, ptr %0, align 8, !tbaa !12
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"ucl_parser", !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 = !{!7, !8, i64 0}
| freebsd_contrib_libucl_src_extr_ucl_parser.c_ucl_parser_set_variables_handler |
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_addrconf_core.c_eafnosupport_ipv6_route_input.c'
source_filename = "AnghaBench/linux/net/ipv6/extr_addrconf_core.c_eafnosupport_ipv6_route_input.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EAFNOSUPPORT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @eafnosupport_ipv6_route_input], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @eafnosupport_ipv6_route_input(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @EAFNOSUPPORT, align 4, !tbaa !5
%3 = sub nsw i32 0, %2
ret i32 %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/net/ipv6/extr_addrconf_core.c_eafnosupport_ipv6_route_input.c'
source_filename = "AnghaBench/linux/net/ipv6/extr_addrconf_core.c_eafnosupport_ipv6_route_input.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EAFNOSUPPORT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @eafnosupport_ipv6_route_input], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @eafnosupport_ipv6_route_input(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @EAFNOSUPPORT, align 4, !tbaa !6
%3 = sub nsw i32 0, %2
ret i32 %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_net_ipv6_extr_addrconf_core.c_eafnosupport_ipv6_route_input |
; ModuleID = 'AnghaBench/linux/scripts/kconfig/extr_list.h_list_empty.c'
source_filename = "AnghaBench/linux/scripts/kconfig/extr_list.h_list_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @list_empty], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @list_empty(ptr noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, %0
%4 = zext i1 %3 to i32
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 = !{!"list_head", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/scripts/kconfig/extr_list.h_list_empty.c'
source_filename = "AnghaBench/linux/scripts/kconfig/extr_list.h_list_empty.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 @list_empty], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @list_empty(ptr noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, %0
%4 = zext i1 %3 to i32
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 = !{!"list_head", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_scripts_kconfig_extr_list.h_list_empty |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.