IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-core.c_em28xx_remove_from_devlist.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-core.c_em28xx_remove_from_devlist.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@em28xx_devlist_mutex = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @em28xx_remove_from_devlist(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mutex_lock(ptr noundef nonnull @em28xx_devlist_mutex) #2
%3 = tail call i32 @list_del(ptr noundef %0) #2
%4 = tail call i32 @mutex_unlock(ptr noundef nonnull @em28xx_devlist_mutex) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/media/video/em28xx/extr_em28xx-core.c_em28xx_remove_from_devlist.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-core.c_em28xx_remove_from_devlist.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@em28xx_devlist_mutex = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @em28xx_remove_from_devlist(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mutex_lock(ptr noundef nonnull @em28xx_devlist_mutex) #2
%3 = tail call i32 @list_del(ptr noundef %0) #2
%4 = tail call i32 @mutex_unlock(ptr noundef nonnull @em28xx_devlist_mutex) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{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_media_video_em28xx_extr_em28xx-core.c_em28xx_remove_from_devlist |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov7251.c___ov7251_get_pad_crop.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov7251.c___ov7251_get_pad_crop.c"
target datalayout = "e-m:e-p270:32:32-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.ov7251 = type { %struct.v4l2_rect, i32 }
%struct.v4l2_rect = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @__ov7251_get_pad_crop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @__ov7251_get_pad_crop(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
switch i32 %3, label %8 [
i32 128, label %5
i32 129, label %9
]
5: ; preds = %4
%6 = getelementptr inbounds %struct.ov7251, ptr %0, i64 0, i32 1
%7 = tail call ptr @v4l2_subdev_get_try_crop(ptr noundef nonnull %6, ptr noundef %1, i32 noundef %2) #2
br label %9
8: ; preds = %4
br label %9
9: ; preds = %4, %8, %5
%10 = phi ptr [ null, %8 ], [ %7, %5 ], [ %0, %4 ]
ret ptr %10
}
declare ptr @v4l2_subdev_get_try_crop(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/linux/drivers/media/i2c/extr_ov7251.c___ov7251_get_pad_crop.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov7251.c___ov7251_get_pad_crop.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 @__ov7251_get_pad_crop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @__ov7251_get_pad_crop(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
switch i32 %3, label %8 [
i32 128, label %5
i32 129, label %9
]
5: ; preds = %4
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = tail call ptr @v4l2_subdev_get_try_crop(ptr noundef nonnull %6, ptr noundef %1, i32 noundef %2) #2
br label %9
8: ; preds = %4
br label %9
9: ; preds = %4, %8, %5
%10 = phi ptr [ null, %8 ], [ %7, %5 ], [ %0, %4 ]
ret ptr %10
}
declare ptr @v4l2_subdev_get_try_crop(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)"}
| linux_drivers_media_i2c_extr_ov7251.c___ov7251_get_pad_crop |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_svn/extr_client.c_ra_svn_get_description.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_svn/extr_client.c_ra_svn_get_description.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RA_SVN_DESCRIPTION = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ra_svn_get_description], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @ra_svn_get_description(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @RA_SVN_DESCRIPTION, align 4, !tbaa !5
%3 = tail call ptr @_(i32 noundef %2) #2
ret ptr %3
}
declare ptr @_(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_svn/extr_client.c_ra_svn_get_description.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_svn/extr_client.c_ra_svn_get_description.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RA_SVN_DESCRIPTION = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ra_svn_get_description], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @ra_svn_get_description(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @RA_SVN_DESCRIPTION, align 4, !tbaa !6
%3 = tail call ptr @_(i32 noundef %2) #2
ret ptr %3
}
declare ptr @_(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_subversion_subversion_libsvn_ra_svn_extr_client.c_ra_svn_get_description |
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_getimage.c_isInRefBlackWhiteRange.c'
source_filename = "AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_getimage.c_isInRefBlackWhiteRange.c"
target datalayout = "e-m:e-p270:32:32-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 @isInRefBlackWhiteRange], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @isInRefBlackWhiteRange(float noundef %0) #0 {
%2 = fcmp ogt float %0, 0xC1DFFFFFE0000000
%3 = fcmp olt float %0, 0x41E0000000000000
%4 = and i1 %2, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_getimage.c_isInRefBlackWhiteRange.c'
source_filename = "AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_getimage.c_isInRefBlackWhiteRange.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 @isInRefBlackWhiteRange], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 2) i32 @isInRefBlackWhiteRange(float noundef %0) #0 {
%2 = fcmp ogt float %0, 0xC1DFFFFFE0000000
%3 = fcmp olt float %0, 0x41E0000000000000
%4 = and i1 %2, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| reactos_dll_3rdparty_libtiff_extr_tif_getimage.c_isInRefBlackWhiteRange |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_ohci-sh.c_ohci_hcd_sh_remove.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_ohci-sh.c_ohci_hcd_sh_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ohci_hcd_sh_remove], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ohci_hcd_sh_remove(ptr noundef %0) #0 {
%2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2
%3 = tail call i32 @usb_remove_hcd(ptr noundef %2) #2
%4 = tail call i32 @usb_put_hcd(ptr noundef %2) #2
ret i32 0
}
declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @usb_remove_hcd(ptr noundef) local_unnamed_addr #1
declare i32 @usb_put_hcd(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/usb/host/extr_ohci-sh.c_ohci_hcd_sh_remove.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_ohci-sh.c_ohci_hcd_sh_remove.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 @ohci_hcd_sh_remove], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @ohci_hcd_sh_remove(ptr noundef %0) #0 {
%2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2
%3 = tail call i32 @usb_remove_hcd(ptr noundef %2) #2
%4 = tail call i32 @usb_put_hcd(ptr noundef %2) #2
ret i32 0
}
declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @usb_remove_hcd(ptr noundef) local_unnamed_addr #1
declare i32 @usb_put_hcd(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_usb_host_extr_ohci-sh.c_ohci_hcd_sh_remove |
; ModuleID = 'AnghaBench/radare2/shlr/tcc/extr_tccgen.c_parse_expr_type.c'
source_filename = "AnghaBench/radare2/shlr/tcc/extr_tccgen.c_parse_expr_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TYPE_ABSTRACT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse_expr_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @parse_expr_type(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = tail call i32 @skip(i8 noundef signext 40) #3
%5 = call i64 @parse_btype(ptr noundef %0, ptr noundef nonnull %3) #3
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %1
%8 = load i32, ptr @TYPE_ABSTRACT, align 4, !tbaa !5
%9 = call i32 @type_decl(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef %8) #3
br label %12
10: ; preds = %1
%11 = call i32 @expr_type(ptr noundef %0) #3
br label %12
12: ; preds = %10, %7
%13 = call i32 @skip(i8 noundef signext 41) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @skip(i8 noundef signext) local_unnamed_addr #2
declare i64 @parse_btype(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @type_decl(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @expr_type(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/radare2/shlr/tcc/extr_tccgen.c_parse_expr_type.c'
source_filename = "AnghaBench/radare2/shlr/tcc/extr_tccgen.c_parse_expr_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TYPE_ABSTRACT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @parse_expr_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @parse_expr_type(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = tail call i32 @skip(i8 noundef signext 40) #3
%5 = call i64 @parse_btype(ptr noundef %0, ptr noundef nonnull %3) #3
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %1
%8 = load i32, ptr @TYPE_ABSTRACT, align 4, !tbaa !6
%9 = call i32 @type_decl(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef %8) #3
br label %12
10: ; preds = %1
%11 = call i32 @expr_type(ptr noundef %0) #3
br label %12
12: ; preds = %10, %7
%13 = call i32 @skip(i8 noundef signext 41) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @skip(i8 noundef signext) local_unnamed_addr #2
declare i64 @parse_btype(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @type_decl(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @expr_type(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"}
| radare2_shlr_tcc_extr_tccgen.c_parse_expr_type |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/riva/extr_fbdev.c_rivafb_cursor.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/riva/extr_fbdev.c_rivafb_cursor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.fb_info = type { %struct.TYPE_8__, %struct.TYPE_7__, ptr }
%struct.TYPE_8__ = type { ptr, ptr, ptr }
%struct.TYPE_7__ = type { i32, i32 }
%struct.fb_cursor = type { i32, i32, i64, %struct.TYPE_9__, i64 }
%struct.TYPE_9__ = type { i32, i32, i32, i32, i32, i32, i64 }
%struct.riva_par = type { %struct.TYPE_10__, i64 }
%struct.TYPE_10__ = type { ptr, ptr, i32, i32 }
@MAX_CURS = dso_local local_unnamed_addr global i32 0, align 4
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@FB_CUR_SETALL = dso_local local_unnamed_addr global i32 0, align 4
@FB_CUR_SETSIZE = dso_local local_unnamed_addr global i32 0, align 4
@FB_CUR_SETPOS = dso_local local_unnamed_addr global i32 0, align 4
@FB_CUR_SETSHAPE = dso_local local_unnamed_addr global i32 0, align 4
@FB_CUR_SETCMAP = dso_local local_unnamed_addr global i32 0, align 4
@FB_CUR_SETIMAGE = dso_local local_unnamed_addr global i32 0, align 4
@GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rivafb_cursor], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rivafb_cursor(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.fb_info, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr @MAX_CURS, align 4, !tbaa !13
%6 = mul nsw i32 %5, %5
%7 = lshr i32 %6, 3
%8 = zext nneg i32 %7 to i64
%9 = alloca i32, i64 %8, align 16
%10 = load i32, ptr %1, align 8, !tbaa !14
%11 = getelementptr inbounds %struct.fb_cursor, ptr %1, i64 0, i32 3
%12 = load i32, ptr %11, align 8, !tbaa !18
%13 = icmp sgt i32 %12, %5
br i1 %13, label %18, label %14
14: ; preds = %2
%15 = getelementptr inbounds %struct.fb_cursor, ptr %1, i64 0, i32 3, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !19
%17 = icmp sgt i32 %16, %5
br i1 %17, label %18, label %21
18: ; preds = %14, %2
%19 = load i32, ptr @ENXIO, align 4, !tbaa !13
%20 = sub nsw i32 0, %19
br label %180
21: ; preds = %14
%22 = load ptr, ptr %4, align 8, !tbaa !20
%23 = tail call i32 %22(ptr noundef nonnull %4, i32 noundef 0) #2
%24 = getelementptr inbounds %struct.riva_par, ptr %4, i64 0, i32 1
%25 = load i64, ptr %24, align 8, !tbaa !23
%26 = icmp eq i64 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %21
%28 = load i32, ptr @FB_CUR_SETALL, align 4, !tbaa !13
store i64 0, ptr %24, align 8, !tbaa !23
br label %29
29: ; preds = %27, %21
%30 = phi i32 [ %28, %27 ], [ %10, %21 ]
%31 = load i32, ptr @FB_CUR_SETSIZE, align 4, !tbaa !13
%32 = and i32 %31, %30
%33 = icmp eq i32 %32, 0
br i1 %33, label %41, label %34
34: ; preds = %29
%35 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 3
%36 = load i32, ptr %35, align 4, !tbaa !24
%37 = load i32, ptr @MAX_CURS, align 4, !tbaa !13
%38 = shl i32 %37, 1
%39 = mul i32 %38, %37
%40 = tail call i32 @memset_io(i32 noundef %36, i32 noundef 0, i32 noundef %39) #2
br label %41
41: ; preds = %34, %29
%42 = load i32, ptr @FB_CUR_SETPOS, align 4, !tbaa !13
%43 = and i32 %42, %30
%44 = icmp eq i32 %43, 0
br i1 %44, label %62, label %45
45: ; preds = %41
%46 = getelementptr inbounds %struct.fb_cursor, ptr %1, i64 0, i32 3, i32 2
%47 = load i32, ptr %46, align 8, !tbaa !25
%48 = getelementptr inbounds %struct.fb_info, ptr %0, i64 0, i32 1
%49 = load i32, ptr %48, align 8, !tbaa !26
%50 = sub nsw i32 %47, %49
%51 = getelementptr inbounds %struct.fb_cursor, ptr %1, i64 0, i32 3, i32 3
%52 = load i32, ptr %51, align 4, !tbaa !27
%53 = getelementptr inbounds %struct.fb_info, ptr %0, i64 0, i32 1, i32 1
%54 = load i32, ptr %53, align 4, !tbaa !28
%55 = sub nsw i32 %52, %54
%56 = and i32 %55, 65535
%57 = shl i32 %50, 16
%58 = or disjoint i32 %56, %57
%59 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 2
%60 = load i32, ptr %59, align 8, !tbaa !29
%61 = tail call i32 @NV_WR32(i32 noundef %60, i32 noundef 768, i32 noundef %58) #2
br label %62
62: ; preds = %45, %41
%63 = load i32, ptr @FB_CUR_SETSHAPE, align 4, !tbaa !13
%64 = load i32, ptr @FB_CUR_SETCMAP, align 4, !tbaa !13
%65 = or i32 %64, %63
%66 = load i32, ptr @FB_CUR_SETIMAGE, align 4, !tbaa !13
%67 = or i32 %65, %66
%68 = and i32 %67, %30
%69 = icmp eq i32 %68, 0
br i1 %69, label %173, label %70
70: ; preds = %62
%71 = getelementptr inbounds %struct.fb_cursor, ptr %1, i64 0, i32 3, i32 4
%72 = load i32, ptr %71, align 8, !tbaa !30
%73 = getelementptr inbounds %struct.fb_cursor, ptr %1, i64 0, i32 3, i32 5
%74 = load i32, ptr %73, align 4, !tbaa !31
%75 = load i32, ptr %11, align 8, !tbaa !18
%76 = add nsw i32 %75, 7
%77 = ashr i32 %76, 3
%78 = load i32, ptr @MAX_CURS, align 4, !tbaa !13
%79 = sdiv i32 %78, 8
%80 = getelementptr inbounds %struct.fb_cursor, ptr %1, i64 0, i32 3, i32 6
%81 = load i64, ptr %80, align 8, !tbaa !32
%82 = inttoptr i64 %81 to ptr
%83 = getelementptr inbounds %struct.fb_cursor, ptr %1, i64 0, i32 4
%84 = load i64, ptr %83, align 8, !tbaa !33
%85 = inttoptr i64 %84 to ptr
%86 = load i32, ptr %15, align 4, !tbaa !19
%87 = mul nsw i32 %86, %77
%88 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !13
%89 = tail call ptr @kmalloc(i32 noundef %87, i32 noundef %88) #2
%90 = icmp eq ptr %89, null
br i1 %90, label %173, label %91
91: ; preds = %70
%92 = getelementptr inbounds %struct.fb_cursor, ptr %1, i64 0, i32 1
%93 = load i32, ptr %92, align 4, !tbaa !34
%94 = icmp eq i32 %93, 128
%95 = load i32, ptr %15, align 4, !tbaa !19
%96 = mul nsw i32 %95, %77
%97 = icmp sgt i32 %96, 0
br i1 %94, label %99, label %98
98: ; preds = %91
br i1 %97, label %113, label %126
99: ; preds = %91
br i1 %97, label %100, label %126
100: ; preds = %99, %100
%101 = phi i64 [ %108, %100 ], [ 0, %99 ]
%102 = getelementptr inbounds i32, ptr %82, i64 %101
%103 = load i32, ptr %102, align 4, !tbaa !13
%104 = getelementptr inbounds i32, ptr %85, i64 %101
%105 = load i32, ptr %104, align 4, !tbaa !13
%106 = xor i32 %105, %103
%107 = getelementptr inbounds i32, ptr %89, i64 %101
store i32 %106, ptr %107, align 4, !tbaa !13
%108 = add nuw nsw i64 %101, 1
%109 = load i32, ptr %15, align 4, !tbaa !19
%110 = mul nsw i32 %109, %77
%111 = sext i32 %110 to i64
%112 = icmp slt i64 %108, %111
br i1 %112, label %100, label %126, !llvm.loop !35
113: ; preds = %98, %113
%114 = phi i64 [ %121, %113 ], [ 0, %98 ]
%115 = getelementptr inbounds i32, ptr %82, i64 %114
%116 = load i32, ptr %115, align 4, !tbaa !13
%117 = getelementptr inbounds i32, ptr %85, i64 %114
%118 = load i32, ptr %117, align 4, !tbaa !13
%119 = and i32 %118, %116
%120 = getelementptr inbounds i32, ptr %89, i64 %114
store i32 %119, ptr %120, align 4, !tbaa !13
%121 = add nuw nsw i64 %114, 1
%122 = load i32, ptr %15, align 4, !tbaa !19
%123 = mul nsw i32 %122, %77
%124 = sext i32 %123 to i64
%125 = icmp slt i64 %121, %124
br i1 %125, label %113, label %126, !llvm.loop !37
126: ; preds = %113, %100, %98, %99
%127 = phi i32 [ %95, %98 ], [ %95, %99 ], [ %109, %100 ], [ %122, %113 ]
%128 = call i32 @fb_pad_aligned_buffer(ptr noundef nonnull %9, i32 noundef %79, ptr noundef nonnull %89, i32 noundef %77, i32 noundef %127) #2
%129 = load ptr, ptr %0, align 8, !tbaa !38
%130 = sext i32 %72 to i64
%131 = getelementptr inbounds i32, ptr %129, i64 %130
%132 = load i32, ptr %131, align 4, !tbaa !13
%133 = shl i32 %132, 7
%134 = and i32 %133, 31744
%135 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%136 = load ptr, ptr %135, align 8, !tbaa !39
%137 = getelementptr inbounds i32, ptr %136, i64 %130
%138 = load i32, ptr %137, align 4, !tbaa !13
%139 = shl i32 %138, 2
%140 = and i32 %139, 992
%141 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
%142 = load ptr, ptr %141, align 8, !tbaa !40
%143 = getelementptr inbounds i32, ptr %142, i64 %130
%144 = load i32, ptr %143, align 4, !tbaa !13
%145 = lshr i32 %144, 3
%146 = and i32 %145, 31
%147 = or disjoint i32 %134, %140
%148 = or disjoint i32 %147, %146
%149 = or disjoint i32 %148, 32768
%150 = sext i32 %74 to i64
%151 = getelementptr inbounds i32, ptr %129, i64 %150
%152 = load i32, ptr %151, align 4, !tbaa !13
%153 = shl i32 %152, 7
%154 = and i32 %153, 31744
%155 = getelementptr inbounds i32, ptr %136, i64 %150
%156 = load i32, ptr %155, align 4, !tbaa !13
%157 = shl i32 %156, 2
%158 = and i32 %157, 992
%159 = getelementptr inbounds i32, ptr %142, i64 %150
%160 = load i32, ptr %159, align 4, !tbaa !13
%161 = lshr i32 %160, 3
%162 = and i32 %161, 31
%163 = or disjoint i32 %154, %158
%164 = or disjoint i32 %163, %162
%165 = or disjoint i32 %164, 32768
%166 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 1
%167 = load ptr, ptr %166, align 8, !tbaa !41
%168 = call i32 %167(ptr noundef nonnull %4, i32 noundef 0) #2
%169 = load i32, ptr %11, align 8, !tbaa !18
%170 = load i32, ptr %15, align 4, !tbaa !19
%171 = call i32 @rivafb_load_cursor_image(ptr noundef nonnull %4, ptr noundef nonnull %9, i32 noundef %149, i32 noundef %165, i32 noundef %169, i32 noundef %170) #2
%172 = call i32 @kfree(ptr noundef nonnull %89) #2
br label %173
173: ; preds = %70, %126, %62
%174 = getelementptr inbounds %struct.fb_cursor, ptr %1, i64 0, i32 2
%175 = load i64, ptr %174, align 8, !tbaa !42
%176 = icmp eq i64 %175, 0
br i1 %176, label %180, label %177
177: ; preds = %173
%178 = load ptr, ptr %4, align 8, !tbaa !20
%179 = call i32 %178(ptr noundef nonnull %4, i32 noundef 1) #2
br label %180
180: ; preds = %173, %177, %18
%181 = phi i32 [ %20, %18 ], [ 0, %177 ], [ 0, %173 ]
ret i32 %181
}
declare i32 @memset_io(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NV_WR32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fb_pad_aligned_buffer(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rivafb_load_cursor_image(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 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, !8, i64 32}
!6 = !{!"fb_info", !7, i64 0, !11, i64 24, !8, i64 32}
!7 = !{!"TYPE_8__", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_7__", !12, i64 0, !12, i64 4}
!12 = !{!"int", !9, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"fb_cursor", !12, i64 0, !12, i64 4, !16, i64 8, !17, i64 16, !16, i64 48}
!16 = !{!"long", !9, i64 0}
!17 = !{!"TYPE_9__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !16, i64 24}
!18 = !{!15, !12, i64 16}
!19 = !{!15, !12, i64 20}
!20 = !{!21, !8, i64 0}
!21 = !{!"riva_par", !22, i64 0, !16, i64 24}
!22 = !{!"TYPE_10__", !8, i64 0, !8, i64 8, !12, i64 16, !12, i64 20}
!23 = !{!21, !16, i64 24}
!24 = !{!21, !12, i64 20}
!25 = !{!15, !12, i64 24}
!26 = !{!6, !12, i64 24}
!27 = !{!15, !12, i64 28}
!28 = !{!6, !12, i64 28}
!29 = !{!21, !12, i64 16}
!30 = !{!15, !12, i64 32}
!31 = !{!15, !12, i64 36}
!32 = !{!15, !16, i64 40}
!33 = !{!15, !16, i64 48}
!34 = !{!15, !12, i64 4}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = distinct !{!37, !36}
!38 = !{!6, !8, i64 0}
!39 = !{!6, !8, i64 8}
!40 = !{!6, !8, i64 16}
!41 = !{!21, !8, i64 8}
!42 = !{!15, !16, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/riva/extr_fbdev.c_rivafb_cursor.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/riva/extr_fbdev.c_rivafb_cursor.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAX_CURS = common local_unnamed_addr global i32 0, align 4
@ENXIO = common local_unnamed_addr global i32 0, align 4
@FB_CUR_SETALL = common local_unnamed_addr global i32 0, align 4
@FB_CUR_SETSIZE = common local_unnamed_addr global i32 0, align 4
@FB_CUR_SETPOS = common local_unnamed_addr global i32 0, align 4
@FB_CUR_SETSHAPE = common local_unnamed_addr global i32 0, align 4
@FB_CUR_SETCMAP = common local_unnamed_addr global i32 0, align 4
@FB_CUR_SETIMAGE = common local_unnamed_addr global i32 0, align 4
@GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rivafb_cursor], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @rivafb_cursor(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr @MAX_CURS, align 4, !tbaa !14
%6 = mul nsw i32 %5, %5
%7 = lshr i32 %6, 3
%8 = zext nneg i32 %7 to i64
%9 = alloca i32, i64 %8, align 4
%10 = load i32, ptr %1, align 8, !tbaa !15
%11 = getelementptr inbounds i8, ptr %1, i64 16
%12 = load i32, ptr %11, align 8, !tbaa !19
%13 = icmp sgt i32 %12, %5
br i1 %13, label %18, label %14
14: ; preds = %2
%15 = getelementptr inbounds i8, ptr %1, i64 20
%16 = load i32, ptr %15, align 4, !tbaa !20
%17 = icmp sgt i32 %16, %5
br i1 %17, label %18, label %21
18: ; preds = %14, %2
%19 = load i32, ptr @ENXIO, align 4, !tbaa !14
%20 = sub nsw i32 0, %19
br label %180
21: ; preds = %14
%22 = load ptr, ptr %4, align 8, !tbaa !21
%23 = tail call i32 %22(ptr noundef nonnull %4, i32 noundef 0) #2
%24 = getelementptr inbounds i8, ptr %4, i64 24
%25 = load i64, ptr %24, align 8, !tbaa !24
%26 = icmp eq i64 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %21
%28 = load i32, ptr @FB_CUR_SETALL, align 4, !tbaa !14
store i64 0, ptr %24, align 8, !tbaa !24
br label %29
29: ; preds = %27, %21
%30 = phi i32 [ %28, %27 ], [ %10, %21 ]
%31 = load i32, ptr @FB_CUR_SETSIZE, align 4, !tbaa !14
%32 = and i32 %31, %30
%33 = icmp eq i32 %32, 0
br i1 %33, label %41, label %34
34: ; preds = %29
%35 = getelementptr inbounds i8, ptr %4, i64 20
%36 = load i32, ptr %35, align 4, !tbaa !25
%37 = load i32, ptr @MAX_CURS, align 4, !tbaa !14
%38 = shl i32 %37, 1
%39 = mul i32 %38, %37
%40 = tail call i32 @memset_io(i32 noundef %36, i32 noundef 0, i32 noundef %39) #2
br label %41
41: ; preds = %34, %29
%42 = load i32, ptr @FB_CUR_SETPOS, align 4, !tbaa !14
%43 = and i32 %42, %30
%44 = icmp eq i32 %43, 0
br i1 %44, label %62, label %45
45: ; preds = %41
%46 = getelementptr inbounds i8, ptr %1, i64 24
%47 = load i32, ptr %46, align 8, !tbaa !26
%48 = getelementptr inbounds i8, ptr %0, i64 24
%49 = load i32, ptr %48, align 8, !tbaa !27
%50 = sub nsw i32 %47, %49
%51 = getelementptr inbounds i8, ptr %1, i64 28
%52 = load i32, ptr %51, align 4, !tbaa !28
%53 = getelementptr inbounds i8, ptr %0, i64 28
%54 = load i32, ptr %53, align 4, !tbaa !29
%55 = sub nsw i32 %52, %54
%56 = and i32 %55, 65535
%57 = shl i32 %50, 16
%58 = or disjoint i32 %56, %57
%59 = getelementptr inbounds i8, ptr %4, i64 16
%60 = load i32, ptr %59, align 8, !tbaa !30
%61 = tail call i32 @NV_WR32(i32 noundef %60, i32 noundef 768, i32 noundef %58) #2
br label %62
62: ; preds = %45, %41
%63 = load i32, ptr @FB_CUR_SETSHAPE, align 4, !tbaa !14
%64 = load i32, ptr @FB_CUR_SETCMAP, align 4, !tbaa !14
%65 = or i32 %64, %63
%66 = load i32, ptr @FB_CUR_SETIMAGE, align 4, !tbaa !14
%67 = or i32 %65, %66
%68 = and i32 %67, %30
%69 = icmp eq i32 %68, 0
br i1 %69, label %173, label %70
70: ; preds = %62
%71 = getelementptr inbounds i8, ptr %1, i64 32
%72 = load i32, ptr %71, align 8, !tbaa !31
%73 = getelementptr inbounds i8, ptr %1, i64 36
%74 = load i32, ptr %73, align 4, !tbaa !32
%75 = load i32, ptr %11, align 8, !tbaa !19
%76 = add nsw i32 %75, 7
%77 = ashr i32 %76, 3
%78 = load i32, ptr @MAX_CURS, align 4, !tbaa !14
%79 = sdiv i32 %78, 8
%80 = getelementptr inbounds i8, ptr %1, i64 40
%81 = load i64, ptr %80, align 8, !tbaa !33
%82 = inttoptr i64 %81 to ptr
%83 = getelementptr inbounds i8, ptr %1, i64 48
%84 = load i64, ptr %83, align 8, !tbaa !34
%85 = inttoptr i64 %84 to ptr
%86 = load i32, ptr %15, align 4, !tbaa !20
%87 = mul nsw i32 %86, %77
%88 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !14
%89 = tail call ptr @kmalloc(i32 noundef %87, i32 noundef %88) #2
%90 = icmp eq ptr %89, null
br i1 %90, label %173, label %91
91: ; preds = %70
%92 = getelementptr inbounds i8, ptr %1, i64 4
%93 = load i32, ptr %92, align 4, !tbaa !35
%94 = icmp eq i32 %93, 128
%95 = load i32, ptr %15, align 4, !tbaa !20
%96 = mul nsw i32 %95, %77
%97 = icmp sgt i32 %96, 0
br i1 %94, label %99, label %98
98: ; preds = %91
br i1 %97, label %113, label %126
99: ; preds = %91
br i1 %97, label %100, label %126
100: ; preds = %99, %100
%101 = phi i64 [ %108, %100 ], [ 0, %99 ]
%102 = getelementptr inbounds i32, ptr %82, i64 %101
%103 = load i32, ptr %102, align 4, !tbaa !14
%104 = getelementptr inbounds i32, ptr %85, i64 %101
%105 = load i32, ptr %104, align 4, !tbaa !14
%106 = xor i32 %105, %103
%107 = getelementptr inbounds i32, ptr %89, i64 %101
store i32 %106, ptr %107, align 4, !tbaa !14
%108 = add nuw nsw i64 %101, 1
%109 = load i32, ptr %15, align 4, !tbaa !20
%110 = mul nsw i32 %109, %77
%111 = sext i32 %110 to i64
%112 = icmp slt i64 %108, %111
br i1 %112, label %100, label %126, !llvm.loop !36
113: ; preds = %98, %113
%114 = phi i64 [ %121, %113 ], [ 0, %98 ]
%115 = getelementptr inbounds i32, ptr %82, i64 %114
%116 = load i32, ptr %115, align 4, !tbaa !14
%117 = getelementptr inbounds i32, ptr %85, i64 %114
%118 = load i32, ptr %117, align 4, !tbaa !14
%119 = and i32 %118, %116
%120 = getelementptr inbounds i32, ptr %89, i64 %114
store i32 %119, ptr %120, align 4, !tbaa !14
%121 = add nuw nsw i64 %114, 1
%122 = load i32, ptr %15, align 4, !tbaa !20
%123 = mul nsw i32 %122, %77
%124 = sext i32 %123 to i64
%125 = icmp slt i64 %121, %124
br i1 %125, label %113, label %126, !llvm.loop !38
126: ; preds = %113, %100, %98, %99
%127 = phi i32 [ %95, %98 ], [ %95, %99 ], [ %109, %100 ], [ %122, %113 ]
%128 = call i32 @fb_pad_aligned_buffer(ptr noundef nonnull %9, i32 noundef %79, ptr noundef nonnull %89, i32 noundef %77, i32 noundef %127) #2
%129 = load ptr, ptr %0, align 8, !tbaa !39
%130 = sext i32 %72 to i64
%131 = getelementptr inbounds i32, ptr %129, i64 %130
%132 = load i32, ptr %131, align 4, !tbaa !14
%133 = shl i32 %132, 7
%134 = and i32 %133, 31744
%135 = getelementptr inbounds i8, ptr %0, i64 8
%136 = load ptr, ptr %135, align 8, !tbaa !40
%137 = getelementptr inbounds i32, ptr %136, i64 %130
%138 = load i32, ptr %137, align 4, !tbaa !14
%139 = shl i32 %138, 2
%140 = and i32 %139, 992
%141 = getelementptr inbounds i8, ptr %0, i64 16
%142 = load ptr, ptr %141, align 8, !tbaa !41
%143 = getelementptr inbounds i32, ptr %142, i64 %130
%144 = load i32, ptr %143, align 4, !tbaa !14
%145 = lshr i32 %144, 3
%146 = and i32 %145, 31
%147 = or disjoint i32 %134, %140
%148 = or disjoint i32 %147, %146
%149 = or disjoint i32 %148, 32768
%150 = sext i32 %74 to i64
%151 = getelementptr inbounds i32, ptr %129, i64 %150
%152 = load i32, ptr %151, align 4, !tbaa !14
%153 = shl i32 %152, 7
%154 = and i32 %153, 31744
%155 = getelementptr inbounds i32, ptr %136, i64 %150
%156 = load i32, ptr %155, align 4, !tbaa !14
%157 = shl i32 %156, 2
%158 = and i32 %157, 992
%159 = getelementptr inbounds i32, ptr %142, i64 %150
%160 = load i32, ptr %159, align 4, !tbaa !14
%161 = lshr i32 %160, 3
%162 = and i32 %161, 31
%163 = or disjoint i32 %154, %158
%164 = or disjoint i32 %163, %162
%165 = or disjoint i32 %164, 32768
%166 = getelementptr inbounds i8, ptr %4, i64 8
%167 = load ptr, ptr %166, align 8, !tbaa !42
%168 = call i32 %167(ptr noundef nonnull %4, i32 noundef 0) #2
%169 = load i32, ptr %11, align 8, !tbaa !19
%170 = load i32, ptr %15, align 4, !tbaa !20
%171 = call i32 @rivafb_load_cursor_image(ptr noundef nonnull %4, ptr noundef nonnull %9, i32 noundef %149, i32 noundef %165, i32 noundef %169, i32 noundef %170) #2
%172 = call i32 @kfree(ptr noundef nonnull %89) #2
br label %173
173: ; preds = %70, %126, %62
%174 = getelementptr inbounds i8, ptr %1, i64 8
%175 = load i64, ptr %174, align 8, !tbaa !43
%176 = icmp eq i64 %175, 0
br i1 %176, label %180, label %177
177: ; preds = %173
%178 = load ptr, ptr %4, align 8, !tbaa !21
%179 = call i32 %178(ptr noundef nonnull %4, i32 noundef 1) #2
br label %180
180: ; preds = %173, %177, %18
%181 = phi i32 [ %20, %18 ], [ 0, %177 ], [ 0, %173 ]
ret i32 %181
}
declare i32 @memset_io(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NV_WR32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fb_pad_aligned_buffer(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rivafb_load_cursor_image(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 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, !9, i64 32}
!7 = !{!"fb_info", !8, i64 0, !12, i64 24, !9, i64 32}
!8 = !{!"TYPE_8__", !9, i64 0, !9, i64 8, !9, i64 16}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_7__", !13, i64 0, !13, i64 4}
!13 = !{!"int", !10, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"fb_cursor", !13, i64 0, !13, i64 4, !17, i64 8, !18, i64 16, !17, i64 48}
!17 = !{!"long", !10, i64 0}
!18 = !{!"TYPE_9__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !17, i64 24}
!19 = !{!16, !13, i64 16}
!20 = !{!16, !13, i64 20}
!21 = !{!22, !9, i64 0}
!22 = !{!"riva_par", !23, i64 0, !17, i64 24}
!23 = !{!"TYPE_10__", !9, i64 0, !9, i64 8, !13, i64 16, !13, i64 20}
!24 = !{!22, !17, i64 24}
!25 = !{!22, !13, i64 20}
!26 = !{!16, !13, i64 24}
!27 = !{!7, !13, i64 24}
!28 = !{!16, !13, i64 28}
!29 = !{!7, !13, i64 28}
!30 = !{!22, !13, i64 16}
!31 = !{!16, !13, i64 32}
!32 = !{!16, !13, i64 36}
!33 = !{!16, !17, i64 40}
!34 = !{!16, !17, i64 48}
!35 = !{!16, !13, i64 4}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = distinct !{!38, !37}
!39 = !{!7, !9, i64 0}
!40 = !{!7, !9, i64 8}
!41 = !{!7, !9, i64 16}
!42 = !{!22, !9, i64 8}
!43 = !{!16, !17, i64 8}
| fastsocket_kernel_drivers_video_riva_extr_fbdev.c_rivafb_cursor |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_StEnumNAT.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_StEnumNAT.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_23__ = type { i32, i32 }
%struct.TYPE_22__ = type { i32, ptr }
%struct.TYPE_24__ = type { i64, i32, ptr }
@ERR_NO_ERROR = dso_local local_unnamed_addr global i64 0, align 8
@MAX_HUBNAME_LEN = dso_local local_unnamed_addr global i32 0, align 4
@CHECK_RIGHT = dso_local local_unnamed_addr global i32 0, align 4
@ERR_HUB_NOT_FOUND = dso_local local_unnamed_addr global i64 0, align 8
@HUB_TYPE_FARM_STATIC = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [20 x i8] c"b_support_securenat\00", align 1
@ERR_NOT_SUPPORTED = dso_local local_unnamed_addr global i64 0, align 8
@ERR_SNAT_NOT_RUNNING = dso_local local_unnamed_addr global i64 0, align 8
@HUB_TYPE_FARM_DYNAMIC = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i64 @StEnumNAT(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_23__, align 4
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_22__, ptr %4, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = load i64, ptr @ERR_NO_ERROR, align 8, !tbaa !13
%8 = load i32, ptr @MAX_HUBNAME_LEN, align 4, !tbaa !15
%9 = add nsw i32 %8, 1
%10 = zext i32 %9 to i64
%11 = alloca i8, i64 %10, align 16
%12 = getelementptr inbounds %struct.TYPE_23__, ptr %1, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !16
%14 = call i32 @StrCpy(ptr noundef nonnull %11, i32 noundef %9, i32 noundef %13) #3
%15 = call i32 @LockHubList(ptr noundef %6) #3
%16 = load i32, ptr %12, align 4, !tbaa !16
%17 = call ptr @GetHub(ptr noundef %6, i32 noundef %16) #3
%18 = call i32 @UnlockHubList(ptr noundef %6) #3
%19 = icmp eq ptr %17, null
br i1 %19, label %82, label %20
20: ; preds = %2
%21 = load i64, ptr %17, align 8, !tbaa !18
%22 = load i64, ptr @HUB_TYPE_FARM_STATIC, align 8, !tbaa !13
%23 = icmp eq i64 %21, %22
br i1 %23, label %79, label %24
24: ; preds = %20
%25 = call i32 @GetServerCapsBool(ptr noundef nonnull %4, ptr noundef nonnull @.str) #3
%26 = icmp eq i32 %25, 0
br i1 %26, label %79, label %27
27: ; preds = %24
%28 = getelementptr inbounds %struct.TYPE_24__, ptr %17, i64 0, i32 1
%29 = load i32, ptr %28, align 8, !tbaa !20
%30 = call i32 @Lock(i32 noundef %29) #3
%31 = getelementptr inbounds %struct.TYPE_24__, ptr %17, i64 0, i32 2
%32 = load ptr, ptr %31, align 8, !tbaa !21
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %36
34: ; preds = %27
%35 = load i64, ptr @ERR_SNAT_NOT_RUNNING, align 8, !tbaa !13
br label %39
36: ; preds = %27
%37 = load i32, ptr %32, align 4, !tbaa !22
%38 = call i32 @NtEnumNatList(i32 noundef %37, ptr noundef nonnull %1) #3
br label %39
39: ; preds = %36, %34
%40 = phi i64 [ %35, %34 ], [ %7, %36 ]
%41 = load i32, ptr %28, align 8, !tbaa !20
%42 = call i32 @Unlock(i32 noundef %41) #3
%43 = load i64, ptr %17, align 8, !tbaa !18
%44 = load i64, ptr @HUB_TYPE_FARM_DYNAMIC, align 8, !tbaa !13
%45 = icmp eq i64 %43, %44
%46 = load i64, ptr @ERR_SNAT_NOT_RUNNING, align 8
%47 = icmp eq i64 %40, %46
%48 = select i1 %45, i1 %47, i1 false
br i1 %48, label %49, label %79
49: ; preds = %39
%50 = load i32, ptr %4, align 8, !tbaa !24
%51 = call i32 @LockList(i32 noundef %50) #3
%52 = load i32, ptr %4, align 8, !tbaa !24
%53 = call i64 @LIST_NUM(i32 noundef %52) #3
%54 = icmp sgt i64 %53, 0
br i1 %54, label %55, label %76
55: ; preds = %49, %71
%56 = phi i64 [ %72, %71 ], [ 0, %49 ]
%57 = load i32, ptr %4, align 8, !tbaa !24
%58 = call ptr @LIST_DATA(i32 noundef %57, i64 noundef %56) #3
%59 = load i32, ptr %58, align 4, !tbaa !25
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %71
61: ; preds = %55
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%62 = call i32 @Zero(ptr noundef nonnull %3, i32 noundef 8) #3
%63 = call i32 @SiCallEnumNat(ptr noundef nonnull %4, ptr noundef nonnull %58, ptr noundef nonnull %11, ptr noundef nonnull %3) #3
%64 = load i32, ptr %3, align 4, !tbaa !27
%65 = icmp slt i32 %64, 1
br i1 %65, label %66, label %68
66: ; preds = %61
%67 = call i32 @FreeRpcEnumNat(ptr noundef nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
br label %71
68: ; preds = %61
%69 = call i32 @FreeRpcEnumNat(ptr noundef %1) #3
%70 = call i32 @Copy(ptr noundef %1, ptr noundef nonnull %3, i32 noundef 8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
br label %76
71: ; preds = %66, %55
%72 = add nuw nsw i64 %56, 1
%73 = load i32, ptr %4, align 8, !tbaa !24
%74 = call i64 @LIST_NUM(i32 noundef %73) #3
%75 = icmp slt i64 %72, %74
br i1 %75, label %55, label %76, !llvm.loop !28
76: ; preds = %71, %49, %68
%77 = load i32, ptr %4, align 8, !tbaa !24
%78 = call i32 @UnlockList(i32 noundef %77) #3
br label %79
79: ; preds = %39, %76, %20, %24
%80 = phi ptr [ @ERR_NOT_SUPPORTED, %24 ], [ @ERR_NOT_SUPPORTED, %20 ], [ @ERR_NO_ERROR, %76 ], [ @ERR_NO_ERROR, %39 ]
%81 = call i32 @ReleaseHub(ptr noundef nonnull %17) #3
br label %82
82: ; preds = %79, %2
%83 = phi ptr [ @ERR_HUB_NOT_FOUND, %2 ], [ %80, %79 ]
%84 = load i64, ptr %83, align 8, !tbaa !13
ret i64 %84
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @StrCpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LockHubList(ptr noundef) local_unnamed_addr #2
declare ptr @GetHub(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @UnlockHubList(ptr noundef) local_unnamed_addr #2
declare i32 @GetServerCapsBool(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ReleaseHub(ptr noundef) local_unnamed_addr #2
declare i32 @Lock(i32 noundef) local_unnamed_addr #2
declare i32 @NtEnumNatList(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @Unlock(i32 noundef) local_unnamed_addr #2
declare i32 @LockList(i32 noundef) local_unnamed_addr #2
declare i64 @LIST_NUM(i32 noundef) local_unnamed_addr #2
declare ptr @LIST_DATA(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @SiCallEnumNat(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @FreeRpcEnumNat(ptr noundef) local_unnamed_addr #2
declare i32 @Copy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @UnlockList(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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_26__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_22__", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !12, i64 4}
!17 = !{!"TYPE_23__", !12, i64 0, !12, i64 4}
!18 = !{!19, !14, i64 0}
!19 = !{!"TYPE_24__", !14, i64 0, !12, i64 8, !7, i64 16}
!20 = !{!19, !12, i64 8}
!21 = !{!19, !7, i64 16}
!22 = !{!23, !12, i64 0}
!23 = !{!"TYPE_21__", !12, i64 0}
!24 = !{!11, !12, i64 0}
!25 = !{!26, !12, i64 0}
!26 = !{!"TYPE_25__", !12, i64 0}
!27 = !{!17, !12, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_StEnumNAT.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_StEnumNAT.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_23__ = type { i32, i32 }
@ERR_NO_ERROR = common local_unnamed_addr global i64 0, align 8
@MAX_HUBNAME_LEN = common local_unnamed_addr global i32 0, align 4
@CHECK_RIGHT = common local_unnamed_addr global i32 0, align 4
@ERR_HUB_NOT_FOUND = common local_unnamed_addr global i64 0, align 8
@HUB_TYPE_FARM_STATIC = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [20 x i8] c"b_support_securenat\00", align 1
@ERR_NOT_SUPPORTED = common local_unnamed_addr global i64 0, align 8
@ERR_SNAT_NOT_RUNNING = common local_unnamed_addr global i64 0, align 8
@HUB_TYPE_FARM_DYNAMIC = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @StEnumNAT(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_23__, align 4
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load i64, ptr @ERR_NO_ERROR, align 8, !tbaa !14
%8 = load i32, ptr @MAX_HUBNAME_LEN, align 4, !tbaa !16
%9 = add nsw i32 %8, 1
%10 = zext i32 %9 to i64
%11 = alloca i8, i64 %10, align 1
%12 = getelementptr inbounds i8, ptr %1, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !17
%14 = call i32 @StrCpy(ptr noundef nonnull %11, i32 noundef %9, i32 noundef %13) #3
%15 = call i32 @LockHubList(ptr noundef %6) #3
%16 = load i32, ptr %12, align 4, !tbaa !17
%17 = call ptr @GetHub(ptr noundef %6, i32 noundef %16) #3
%18 = call i32 @UnlockHubList(ptr noundef %6) #3
%19 = icmp eq ptr %17, null
br i1 %19, label %82, label %20
20: ; preds = %2
%21 = load i64, ptr %17, align 8, !tbaa !19
%22 = load i64, ptr @HUB_TYPE_FARM_STATIC, align 8, !tbaa !14
%23 = icmp eq i64 %21, %22
br i1 %23, label %79, label %24
24: ; preds = %20
%25 = call i32 @GetServerCapsBool(ptr noundef nonnull %4, ptr noundef nonnull @.str) #3
%26 = icmp eq i32 %25, 0
br i1 %26, label %79, label %27
27: ; preds = %24
%28 = getelementptr inbounds i8, ptr %17, i64 8
%29 = load i32, ptr %28, align 8, !tbaa !21
%30 = call i32 @Lock(i32 noundef %29) #3
%31 = getelementptr inbounds i8, ptr %17, i64 16
%32 = load ptr, ptr %31, align 8, !tbaa !22
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %36
34: ; preds = %27
%35 = load i64, ptr @ERR_SNAT_NOT_RUNNING, align 8, !tbaa !14
br label %39
36: ; preds = %27
%37 = load i32, ptr %32, align 4, !tbaa !23
%38 = call i32 @NtEnumNatList(i32 noundef %37, ptr noundef nonnull %1) #3
br label %39
39: ; preds = %36, %34
%40 = phi i64 [ %35, %34 ], [ %7, %36 ]
%41 = load i32, ptr %28, align 8, !tbaa !21
%42 = call i32 @Unlock(i32 noundef %41) #3
%43 = load i64, ptr %17, align 8, !tbaa !19
%44 = load i64, ptr @HUB_TYPE_FARM_DYNAMIC, align 8, !tbaa !14
%45 = icmp eq i64 %43, %44
%46 = load i64, ptr @ERR_SNAT_NOT_RUNNING, align 8
%47 = icmp eq i64 %40, %46
%48 = select i1 %45, i1 %47, i1 false
br i1 %48, label %49, label %79
49: ; preds = %39
%50 = load i32, ptr %4, align 8, !tbaa !25
%51 = call i32 @LockList(i32 noundef %50) #3
%52 = load i32, ptr %4, align 8, !tbaa !25
%53 = call i64 @LIST_NUM(i32 noundef %52) #3
%54 = icmp sgt i64 %53, 0
br i1 %54, label %55, label %76
55: ; preds = %49, %71
%56 = phi i64 [ %72, %71 ], [ 0, %49 ]
%57 = load i32, ptr %4, align 8, !tbaa !25
%58 = call ptr @LIST_DATA(i32 noundef %57, i64 noundef %56) #3
%59 = load i32, ptr %58, align 4, !tbaa !26
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %71
61: ; preds = %55
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%62 = call i32 @Zero(ptr noundef nonnull %3, i32 noundef 8) #3
%63 = call i32 @SiCallEnumNat(ptr noundef nonnull %4, ptr noundef nonnull %58, ptr noundef nonnull %11, ptr noundef nonnull %3) #3
%64 = load i32, ptr %3, align 4, !tbaa !28
%65 = icmp slt i32 %64, 1
br i1 %65, label %66, label %68
66: ; preds = %61
%67 = call i32 @FreeRpcEnumNat(ptr noundef nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
br label %71
68: ; preds = %61
%69 = call i32 @FreeRpcEnumNat(ptr noundef %1) #3
%70 = call i32 @Copy(ptr noundef %1, ptr noundef nonnull %3, i32 noundef 8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
br label %76
71: ; preds = %66, %55
%72 = add nuw nsw i64 %56, 1
%73 = load i32, ptr %4, align 8, !tbaa !25
%74 = call i64 @LIST_NUM(i32 noundef %73) #3
%75 = icmp slt i64 %72, %74
br i1 %75, label %55, label %76, !llvm.loop !29
76: ; preds = %71, %49, %68
%77 = load i32, ptr %4, align 8, !tbaa !25
%78 = call i32 @UnlockList(i32 noundef %77) #3
br label %79
79: ; preds = %39, %76, %20, %24
%80 = phi ptr [ @ERR_NOT_SUPPORTED, %24 ], [ @ERR_NOT_SUPPORTED, %20 ], [ @ERR_NO_ERROR, %76 ], [ @ERR_NO_ERROR, %39 ]
%81 = call i32 @ReleaseHub(ptr noundef nonnull %17) #3
br label %82
82: ; preds = %79, %2
%83 = phi ptr [ @ERR_HUB_NOT_FOUND, %2 ], [ %80, %79 ]
%84 = load i64, ptr %83, align 8, !tbaa !14
ret i64 %84
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @StrCpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LockHubList(ptr noundef) local_unnamed_addr #2
declare ptr @GetHub(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @UnlockHubList(ptr noundef) local_unnamed_addr #2
declare i32 @GetServerCapsBool(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ReleaseHub(ptr noundef) local_unnamed_addr #2
declare i32 @Lock(i32 noundef) local_unnamed_addr #2
declare i32 @NtEnumNatList(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @Unlock(i32 noundef) local_unnamed_addr #2
declare i32 @LockList(i32 noundef) local_unnamed_addr #2
declare i64 @LIST_NUM(i32 noundef) local_unnamed_addr #2
declare ptr @LIST_DATA(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @SiCallEnumNat(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @FreeRpcEnumNat(ptr noundef) local_unnamed_addr #2
declare i32 @Copy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @UnlockList(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_26__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 8}
!12 = !{!"TYPE_22__", !13, i64 0, !8, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !13, i64 4}
!18 = !{!"TYPE_23__", !13, i64 0, !13, i64 4}
!19 = !{!20, !15, i64 0}
!20 = !{!"TYPE_24__", !15, i64 0, !13, i64 8, !8, i64 16}
!21 = !{!20, !13, i64 8}
!22 = !{!20, !8, i64 16}
!23 = !{!24, !13, i64 0}
!24 = !{!"TYPE_21__", !13, i64 0}
!25 = !{!12, !13, i64 0}
!26 = !{!27, !13, i64 0}
!27 = !{!"TYPE_25__", !13, i64 0}
!28 = !{!18, !13, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
| SoftEtherVPN_src_Cedar_extr_Admin.c_StEnumNAT |
; ModuleID = 'AnghaBench/freebsd/usr.bin/gzip/extr_gzip.c_infile_clear.c'
source_filename = "AnghaBench/freebsd/usr.bin/gzip/extr_gzip.c_infile_clear.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@infile = dso_local local_unnamed_addr global ptr null, align 8
@infile_current = dso_local local_unnamed_addr global i64 0, align 8
@infile_total = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @infile_clear], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable
define internal void @infile_clear() #0 {
store ptr null, ptr @infile, align 8, !tbaa !5
store i64 0, ptr @infile_current, align 8, !tbaa !9
store i64 0, ptr @infile_total, align 8, !tbaa !9
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.bin/gzip/extr_gzip.c_infile_clear.c'
source_filename = "AnghaBench/freebsd/usr.bin/gzip/extr_gzip.c_infile_clear.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@infile = common local_unnamed_addr global ptr null, align 8
@infile_current = common local_unnamed_addr global i64 0, align 8
@infile_total = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @infile_clear], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal void @infile_clear() #0 {
store ptr null, ptr @infile, align 8, !tbaa !6
store i64 0, ptr @infile_current, align 8, !tbaa !10
store i64 0, ptr @infile_total, align 8, !tbaa !10
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, 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 = !{!"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}
| freebsd_usr.bin_gzip_extr_gzip.c_infile_clear |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_fs_counters.c_mlx5_fc_query_lastuse.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_fs_counters.c_mlx5_fc_query_lastuse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @mlx5_fc_query_lastuse(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"mlx5_fc", !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/net/ethernet/mellanox/mlx5/core/extr_fs_counters.c_mlx5_fc_query_lastuse.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_fs_counters.c_mlx5_fc_query_lastuse.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @mlx5_fc_query_lastuse(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"mlx5_fc", !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_net_ethernet_mellanox_mlx5_core_extr_fs_counters.c_mlx5_fc_query_lastuse |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_main.c_ath9k_ampdu_action.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_main.c_ath9k_ampdu_action.c"
target datalayout = "e-m:e-p270:32:32-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 [22 x i8] c"Unknown AMPDU action\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ath9k_ampdu_action], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ath9k_ampdu_action(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 %6) #0 {
%8 = load ptr, ptr %0, align 8, !tbaa !5
%9 = tail call i32 (...) @local_bh_disable() #2
switch i32 %2, label %33 [
i32 134, label %37
i32 133, label %37
i32 131, label %10
i32 129, label %19
i32 128, label %19
i32 130, label %22
i32 132, label %29
]
10: ; preds = %7
%11 = tail call i32 @ath9k_ps_wakeup(ptr noundef %8) #2
%12 = tail call i32 @ath_tx_aggr_start(ptr noundef %8, ptr noundef %3, i32 noundef %4, ptr noundef %5) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i32, ptr %3, align 4, !tbaa !10
%16 = tail call i32 @ieee80211_start_tx_ba_cb_irqsafe(ptr noundef %1, i32 noundef %15, i32 noundef %4) #2
br label %17
17: ; preds = %14, %10
%18 = tail call i32 @ath9k_ps_restore(ptr noundef %8) #2
br label %37
19: ; preds = %7, %7
%20 = tail call i32 @ath9k_ps_wakeup(ptr noundef %8) #2
%21 = tail call i32 @ath_tx_aggr_stop(ptr noundef %8, ptr noundef %3, i32 noundef %4) #2
br label %27
22: ; preds = %7
%23 = tail call i32 @ath9k_ps_wakeup(ptr noundef %8) #2
%24 = tail call i32 @ath_tx_aggr_stop(ptr noundef %8, ptr noundef %3, i32 noundef %4) #2
%25 = load i32, ptr %3, align 4, !tbaa !10
%26 = tail call i32 @ieee80211_stop_tx_ba_cb_irqsafe(ptr noundef %1, i32 noundef %25, i32 noundef %4) #2
br label %27
27: ; preds = %19, %22
%28 = tail call i32 @ath9k_ps_restore(ptr noundef %8) #2
br label %37
29: ; preds = %7
%30 = tail call i32 @ath9k_ps_wakeup(ptr noundef %8) #2
%31 = tail call i32 @ath_tx_aggr_resume(ptr noundef %8, ptr noundef %3, i32 noundef %4) #2
%32 = tail call i32 @ath9k_ps_restore(ptr noundef %8) #2
br label %37
33: ; preds = %7
%34 = load i32, ptr %8, align 4, !tbaa !13
%35 = tail call i32 @ath9k_hw_common(i32 noundef %34) #2
%36 = tail call i32 @ath_err(i32 noundef %35, ptr noundef nonnull @.str) #2
br label %37
37: ; preds = %33, %29, %27, %17, %7, %7
%38 = phi i32 [ 0, %33 ], [ 0, %29 ], [ 0, %27 ], [ %12, %17 ], [ 0, %7 ], [ 0, %7 ]
%39 = tail call i32 (...) @local_bh_enable() #2
ret i32 %38
}
declare i32 @local_bh_disable(...) local_unnamed_addr #1
declare i32 @ath9k_ps_wakeup(ptr noundef) local_unnamed_addr #1
declare i32 @ath_tx_aggr_start(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ieee80211_start_tx_ba_cb_irqsafe(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath9k_ps_restore(ptr noundef) local_unnamed_addr #1
declare i32 @ath_tx_aggr_stop(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_stop_tx_ba_cb_irqsafe(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath_tx_aggr_resume(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath_err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ath9k_hw_common(i32 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, !7, i64 0}
!6 = !{!"ieee80211_hw", !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 = !{!"ieee80211_sta", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"ath_softc", !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_main.c_ath9k_ampdu_action.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_main.c_ath9k_ampdu_action.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 [22 x i8] c"Unknown AMPDU action\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ath9k_ampdu_action], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ath9k_ampdu_action(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 %6) #0 {
%8 = load ptr, ptr %0, align 8, !tbaa !6
%9 = tail call i32 @local_bh_disable() #2
switch i32 %2, label %33 [
i32 134, label %37
i32 133, label %37
i32 131, label %10
i32 129, label %19
i32 128, label %19
i32 130, label %22
i32 132, label %29
]
10: ; preds = %7
%11 = tail call i32 @ath9k_ps_wakeup(ptr noundef %8) #2
%12 = tail call i32 @ath_tx_aggr_start(ptr noundef %8, ptr noundef %3, i32 noundef %4, ptr noundef %5) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i32, ptr %3, align 4, !tbaa !11
%16 = tail call i32 @ieee80211_start_tx_ba_cb_irqsafe(ptr noundef %1, i32 noundef %15, i32 noundef %4) #2
br label %17
17: ; preds = %14, %10
%18 = tail call i32 @ath9k_ps_restore(ptr noundef %8) #2
br label %37
19: ; preds = %7, %7
%20 = tail call i32 @ath9k_ps_wakeup(ptr noundef %8) #2
%21 = tail call i32 @ath_tx_aggr_stop(ptr noundef %8, ptr noundef %3, i32 noundef %4) #2
br label %27
22: ; preds = %7
%23 = tail call i32 @ath9k_ps_wakeup(ptr noundef %8) #2
%24 = tail call i32 @ath_tx_aggr_stop(ptr noundef %8, ptr noundef %3, i32 noundef %4) #2
%25 = load i32, ptr %3, align 4, !tbaa !11
%26 = tail call i32 @ieee80211_stop_tx_ba_cb_irqsafe(ptr noundef %1, i32 noundef %25, i32 noundef %4) #2
br label %27
27: ; preds = %19, %22
%28 = tail call i32 @ath9k_ps_restore(ptr noundef %8) #2
br label %37
29: ; preds = %7
%30 = tail call i32 @ath9k_ps_wakeup(ptr noundef %8) #2
%31 = tail call i32 @ath_tx_aggr_resume(ptr noundef %8, ptr noundef %3, i32 noundef %4) #2
%32 = tail call i32 @ath9k_ps_restore(ptr noundef %8) #2
br label %37
33: ; preds = %7
%34 = load i32, ptr %8, align 4, !tbaa !14
%35 = tail call i32 @ath9k_hw_common(i32 noundef %34) #2
%36 = tail call i32 @ath_err(i32 noundef %35, ptr noundef nonnull @.str) #2
br label %37
37: ; preds = %33, %29, %27, %17, %7, %7
%38 = phi i32 [ 0, %33 ], [ 0, %29 ], [ 0, %27 ], [ %12, %17 ], [ 0, %7 ], [ 0, %7 ]
%39 = tail call i32 @local_bh_enable() #2
ret i32 %38
}
declare i32 @local_bh_disable(...) local_unnamed_addr #1
declare i32 @ath9k_ps_wakeup(ptr noundef) local_unnamed_addr #1
declare i32 @ath_tx_aggr_start(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ieee80211_start_tx_ba_cb_irqsafe(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath9k_ps_restore(ptr noundef) local_unnamed_addr #1
declare i32 @ath_tx_aggr_stop(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_stop_tx_ba_cb_irqsafe(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath_tx_aggr_resume(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath_err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ath9k_hw_common(i32 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, !8, i64 0}
!7 = !{!"ieee80211_hw", !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 = !{!"ieee80211_sta", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"ath_softc", !13, i64 0}
| fastsocket_kernel_drivers_net_wireless_ath_ath9k_extr_main.c_ath9k_ampdu_action |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ipw2x00/extr_ipw2100.c_ipw2100_wait_for_card_state.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ipw2x00/extr_ipw2100.c_ipw2100_wait_for_card_state.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IPW_CARD_DISABLE_COMPLETE_WAIT = dso_local local_unnamed_addr global i32 0, align 4
@IPW_ORD_CARD_DISABLED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"Query of CARD_DISABLED ordinal failed.\0A\00", align 1
@STATUS_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@IPW_HW_STATE_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@IPW_HW_STATE_DISABLED = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [51 x i8] c"ipw2100_wait_for_card_state to %s state timed out\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"DISABLED\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"ENABLED\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipw2100_wait_for_card_state], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ipw2100_wait_for_card_state(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 4, ptr %4, align 4, !tbaa !5
%5 = load i32, ptr @IPW_CARD_DISABLE_COMPLETE_WAIT, align 4, !tbaa !5
%6 = icmp slt i32 %5, 0
br i1 %6, label %44, label %7
7: ; preds = %2, %38
%8 = phi i32 [ %40, %38 ], [ 0, %2 ]
%9 = load i32, ptr @IPW_ORD_CARD_DISABLED, align 4, !tbaa !5
%10 = call i32 @ipw2100_get_ordinal(ptr noundef %0, i32 noundef %9, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%11 = icmp eq i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %7
%13 = call i32 (ptr, ...) @IPW_DEBUG_INFO(ptr noundef nonnull @.str) #3
br label %50
14: ; preds = %7
%15 = load i32, ptr %3, align 4, !tbaa !5
%16 = icmp eq i32 %15, %1
%17 = load i32, ptr @IPW_HW_STATE_ENABLED, align 4
br i1 %16, label %26, label %18
18: ; preds = %14
%19 = load i32, ptr %0, align 4, !tbaa !9
%20 = load i32, ptr @STATUS_ENABLED, align 4, !tbaa !5
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
%23 = load i32, ptr @IPW_HW_STATE_DISABLED, align 4
%24 = select i1 %22, i32 %23, i32 %17
%25 = icmp eq i32 %24, %1
br i1 %25, label %26, label %38
26: ; preds = %18, %14
%27 = icmp eq i32 %17, %1
%28 = load i32, ptr @STATUS_ENABLED, align 4, !tbaa !5
br i1 %27, label %29, label %32
29: ; preds = %26
%30 = load i32, ptr %0, align 4, !tbaa !9
%31 = or i32 %30, %28
br label %36
32: ; preds = %26
%33 = xor i32 %28, -1
%34 = load i32, ptr %0, align 4, !tbaa !9
%35 = and i32 %34, %33
br label %36
36: ; preds = %32, %29
%37 = phi i32 [ %35, %32 ], [ %31, %29 ]
store i32 %37, ptr %0, align 4, !tbaa !9
br label %50
38: ; preds = %18
%39 = call i32 @udelay(i32 noundef 50) #3
%40 = add nuw nsw i32 %8, 50
%41 = load i32, ptr @IPW_CARD_DISABLE_COMPLETE_WAIT, align 4, !tbaa !5
%42 = mul nsw i32 %41, 1000
%43 = icmp sgt i32 %40, %42
br i1 %43, label %44, label %7, !llvm.loop !11
44: ; preds = %38, %2
%45 = icmp eq i32 %1, 0
%46 = select i1 %45, ptr @.str.3, ptr @.str.2
%47 = call i32 (ptr, ...) @IPW_DEBUG_INFO(ptr noundef nonnull @.str.1, ptr noundef nonnull %46) #3
%48 = load i32, ptr @EIO, align 4, !tbaa !5
%49 = sub nsw i32 0, %48
br label %50
50: ; preds = %44, %36, %12
%51 = phi i32 [ 0, %12 ], [ 0, %36 ], [ %49, %44 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %51
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ipw2100_get_ordinal(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @IPW_DEBUG_INFO(ptr noundef, ...) local_unnamed_addr #2
declare i32 @udelay(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"ipw2100_priv", !6, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ipw2x00/extr_ipw2100.c_ipw2100_wait_for_card_state.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ipw2x00/extr_ipw2100.c_ipw2100_wait_for_card_state.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IPW_CARD_DISABLE_COMPLETE_WAIT = common local_unnamed_addr global i32 0, align 4
@IPW_ORD_CARD_DISABLED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"Query of CARD_DISABLED ordinal failed.\0A\00", align 1
@STATUS_ENABLED = common local_unnamed_addr global i32 0, align 4
@IPW_HW_STATE_ENABLED = common local_unnamed_addr global i32 0, align 4
@IPW_HW_STATE_DISABLED = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [51 x i8] c"ipw2100_wait_for_card_state to %s state timed out\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"DISABLED\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"ENABLED\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ipw2100_wait_for_card_state], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @ipw2100_wait_for_card_state(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 4, ptr %4, align 4, !tbaa !6
%5 = load i32, ptr @IPW_CARD_DISABLE_COMPLETE_WAIT, align 4, !tbaa !6
%6 = icmp slt i32 %5, 0
br i1 %6, label %44, label %7
7: ; preds = %2, %38
%8 = phi i32 [ %40, %38 ], [ 0, %2 ]
%9 = load i32, ptr @IPW_ORD_CARD_DISABLED, align 4, !tbaa !6
%10 = call i32 @ipw2100_get_ordinal(ptr noundef %0, i32 noundef %9, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%11 = icmp eq i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %7
%13 = call i32 (ptr, ...) @IPW_DEBUG_INFO(ptr noundef nonnull @.str) #3
br label %50
14: ; preds = %7
%15 = load i32, ptr %3, align 4, !tbaa !6
%16 = icmp eq i32 %15, %1
%17 = load i32, ptr @IPW_HW_STATE_ENABLED, align 4
br i1 %16, label %26, label %18
18: ; preds = %14
%19 = load i32, ptr %0, align 4, !tbaa !10
%20 = load i32, ptr @STATUS_ENABLED, align 4, !tbaa !6
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
%23 = load i32, ptr @IPW_HW_STATE_DISABLED, align 4
%24 = select i1 %22, i32 %23, i32 %17
%25 = icmp eq i32 %24, %1
br i1 %25, label %26, label %38
26: ; preds = %18, %14
%27 = icmp eq i32 %17, %1
%28 = load i32, ptr @STATUS_ENABLED, align 4, !tbaa !6
br i1 %27, label %29, label %32
29: ; preds = %26
%30 = load i32, ptr %0, align 4, !tbaa !10
%31 = or i32 %30, %28
br label %36
32: ; preds = %26
%33 = xor i32 %28, -1
%34 = load i32, ptr %0, align 4, !tbaa !10
%35 = and i32 %34, %33
br label %36
36: ; preds = %32, %29
%37 = phi i32 [ %35, %32 ], [ %31, %29 ]
store i32 %37, ptr %0, align 4, !tbaa !10
br label %50
38: ; preds = %18
%39 = call i32 @udelay(i32 noundef 50) #3
%40 = add nuw nsw i32 %8, 50
%41 = load i32, ptr @IPW_CARD_DISABLE_COMPLETE_WAIT, align 4, !tbaa !6
%42 = mul nsw i32 %41, 1000
%43 = icmp sgt i32 %40, %42
br i1 %43, label %44, label %7, !llvm.loop !12
44: ; preds = %38, %2
%45 = icmp eq i32 %1, 0
%46 = select i1 %45, ptr @.str.3, ptr @.str.2
%47 = call i32 (ptr, ...) @IPW_DEBUG_INFO(ptr noundef nonnull @.str.1, ptr noundef nonnull %46) #3
%48 = load i32, ptr @EIO, align 4, !tbaa !6
%49 = sub nsw i32 0, %48
br label %50
50: ; preds = %44, %36, %12
%51 = phi i32 [ 0, %12 ], [ 0, %36 ], [ %49, %44 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %51
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ipw2100_get_ordinal(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @IPW_DEBUG_INFO(ptr noundef, ...) local_unnamed_addr #2
declare i32 @udelay(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"ipw2100_priv", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_net_wireless_ipw2x00_extr_ipw2100.c_ipw2100_wait_for_card_state |
; ModuleID = 'AnghaBench/freebsd/lib/libiconv_modules/ISO2022/extr_citrus_iso2022.c_seqmatch.c'
source_filename = "AnghaBench/freebsd/lib/libiconv_modules/ISO2022/extr_citrus_iso2022.c_seqmatch.c"
target datalayout = "e-m:e-p270:32:32-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.seqtable = type { ptr, i32 }
@.str = private unnamed_addr constant [4 x i8] c"@AB\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"()*+\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c",-./\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @seqmatch], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @seqmatch(ptr noalias nocapture noundef readonly %0, i64 noundef %1, ptr noalias nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !5
%5 = ptrtoint ptr %4 to i64
%6 = icmp eq i64 %1, 0
br i1 %6, label %55, label %7
7: ; preds = %3
%8 = getelementptr inbounds %struct.seqtable, ptr %2, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !11
%10 = sext i32 %9 to i64
%11 = icmp sgt i32 %9, 0
br i1 %11, label %12, label %55
12: ; preds = %7, %42
%13 = phi ptr [ %48, %42 ], [ %0, %7 ]
%14 = phi ptr [ %43, %42 ], [ %4, %7 ]
%15 = phi i64 [ %45, %42 ], [ 0, %7 ]
%16 = load i32, ptr %14, align 4, !tbaa !12
%17 = load i8, ptr %13, align 1, !tbaa !13
switch i32 %16, label %39 [
i32 130, label %18
i32 128, label %21
i32 129, label %26
i32 132, label %29
i32 131, label %34
]
18: ; preds = %12
%19 = tail call i32 @isecma(i8 noundef signext %17) #2
%20 = icmp eq i32 %19, 0
br i1 %20, label %51, label %42
21: ; preds = %12
%22 = icmp eq i8 %17, 0
br i1 %22, label %51, label %23
23: ; preds = %21
%24 = tail call i32 @strchr(ptr noundef nonnull @.str, i8 noundef signext %17) #2
%25 = icmp eq i32 %24, 0
br i1 %25, label %51, label %42
26: ; preds = %12
%27 = tail call i32 @isinterm(i8 noundef signext %17) #2
%28 = icmp eq i32 %27, 0
br i1 %28, label %51, label %42
29: ; preds = %12
%30 = icmp eq i8 %17, 0
br i1 %30, label %51, label %31
31: ; preds = %29
%32 = tail call i32 @strchr(ptr noundef nonnull @.str.1, i8 noundef signext %17) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %51, label %42
34: ; preds = %12
%35 = icmp eq i8 %17, 0
br i1 %35, label %51, label %36
36: ; preds = %34
%37 = tail call i32 @strchr(ptr noundef nonnull @.str.2, i8 noundef signext %17) #2
%38 = icmp eq i32 %37, 0
br i1 %38, label %51, label %42
39: ; preds = %12
%40 = sext i8 %17 to i32
%41 = icmp eq i32 %16, %40
br i1 %41, label %42, label %51
42: ; preds = %39, %36, %31, %26, %23, %18
%43 = getelementptr inbounds i32, ptr %14, i64 1
%44 = ptrtoint ptr %43 to i64
%45 = sub i64 %44, %5
%46 = ashr exact i64 %45, 2
%47 = icmp ult i64 %46, %1
%48 = getelementptr inbounds i8, ptr %13, i64 1
%49 = icmp slt i64 %46, %10
%50 = and i1 %47, %49
br i1 %50, label %12, label %51, !llvm.loop !14
51: ; preds = %42, %39, %34, %36, %29, %31, %26, %21, %23, %18
%52 = phi i64 [ %15, %18 ], [ %15, %23 ], [ %15, %21 ], [ %15, %26 ], [ %15, %31 ], [ %15, %29 ], [ %15, %36 ], [ %15, %34 ], [ %15, %39 ], [ %45, %42 ]
%53 = lshr exact i64 %52, 2
%54 = trunc i64 %53 to i32
br label %55
55: ; preds = %7, %51, %3
%56 = phi i32 [ 0, %3 ], [ 0, %7 ], [ %54, %51 ]
ret i32 %56
}
declare i32 @isecma(i8 noundef signext) local_unnamed_addr #1
declare i32 @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @isinterm(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"seqtable", !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, !10, i64 8}
!12 = !{!10, !10, i64 0}
!13 = !{!8, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/lib/libiconv_modules/ISO2022/extr_citrus_iso2022.c_seqmatch.c'
source_filename = "AnghaBench/freebsd/lib/libiconv_modules/ISO2022/extr_citrus_iso2022.c_seqmatch.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"@AB\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"()*+\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c",-./\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @seqmatch], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @seqmatch(ptr noalias nocapture noundef readonly %0, i64 noundef %1, ptr noalias nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !6
%5 = ptrtoint ptr %4 to i64
%6 = icmp eq i64 %1, 0
br i1 %6, label %55, label %7
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %2, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !12
%10 = sext i32 %9 to i64
%11 = icmp sgt i32 %9, 0
br i1 %11, label %12, label %55
12: ; preds = %7, %42
%13 = phi ptr [ %48, %42 ], [ %0, %7 ]
%14 = phi ptr [ %43, %42 ], [ %4, %7 ]
%15 = phi i64 [ %45, %42 ], [ 0, %7 ]
%16 = load i32, ptr %14, align 4, !tbaa !13
%17 = load i8, ptr %13, align 1, !tbaa !14
switch i32 %16, label %39 [
i32 130, label %18
i32 128, label %21
i32 129, label %26
i32 132, label %29
i32 131, label %34
]
18: ; preds = %12
%19 = tail call i32 @isecma(i8 noundef signext %17) #2
%20 = icmp eq i32 %19, 0
br i1 %20, label %51, label %42
21: ; preds = %12
%22 = icmp eq i8 %17, 0
br i1 %22, label %51, label %23
23: ; preds = %21
%24 = tail call i32 @strchr(ptr noundef nonnull @.str, i8 noundef signext %17) #2
%25 = icmp eq i32 %24, 0
br i1 %25, label %51, label %42
26: ; preds = %12
%27 = tail call i32 @isinterm(i8 noundef signext %17) #2
%28 = icmp eq i32 %27, 0
br i1 %28, label %51, label %42
29: ; preds = %12
%30 = icmp eq i8 %17, 0
br i1 %30, label %51, label %31
31: ; preds = %29
%32 = tail call i32 @strchr(ptr noundef nonnull @.str.1, i8 noundef signext %17) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %51, label %42
34: ; preds = %12
%35 = icmp eq i8 %17, 0
br i1 %35, label %51, label %36
36: ; preds = %34
%37 = tail call i32 @strchr(ptr noundef nonnull @.str.2, i8 noundef signext %17) #2
%38 = icmp eq i32 %37, 0
br i1 %38, label %51, label %42
39: ; preds = %12
%40 = sext i8 %17 to i32
%41 = icmp eq i32 %16, %40
br i1 %41, label %42, label %51
42: ; preds = %39, %36, %31, %26, %23, %18
%43 = getelementptr inbounds i8, ptr %14, i64 4
%44 = ptrtoint ptr %43 to i64
%45 = sub i64 %44, %5
%46 = ashr exact i64 %45, 2
%47 = icmp ult i64 %46, %1
%48 = getelementptr inbounds i8, ptr %13, i64 1
%49 = icmp slt i64 %46, %10
%50 = and i1 %47, %49
br i1 %50, label %12, label %51, !llvm.loop !15
51: ; preds = %42, %39, %34, %36, %29, %31, %26, %21, %23, %18
%52 = phi i64 [ %15, %18 ], [ %15, %23 ], [ %15, %21 ], [ %15, %26 ], [ %15, %31 ], [ %15, %29 ], [ %15, %36 ], [ %15, %34 ], [ %15, %39 ], [ %45, %42 ]
%53 = lshr exact i64 %52, 2
%54 = trunc i64 %53 to i32
br label %55
55: ; preds = %7, %51, %3
%56 = phi i32 [ 0, %3 ], [ 0, %7 ], [ %54, %51 ]
ret i32 %56
}
declare i32 @isecma(i8 noundef signext) local_unnamed_addr #1
declare i32 @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @isinterm(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"seqtable", !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, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!9, !9, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| freebsd_lib_libiconv_modules_ISO2022_extr_citrus_iso2022.c_seqmatch |
; ModuleID = 'AnghaBench/freebsd/sbin/ifconfig/extr_ifpfsync.c_setpfsync_maxupd.c'
source_filename = "AnghaBench/freebsd/sbin/ifconfig/extr_ifpfsync.c_setpfsync_maxupd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64 }
%struct.pfsyncreq = type { i32 }
@.str = private unnamed_addr constant [24 x i8] c"maxupd %s: out of range\00", align 1
@ifr = dso_local global %struct.TYPE_2__ zeroinitializer, align 8
@SIOCGETPFSYNC = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"SIOCGETPFSYNC\00", align 1
@SIOCSETPFSYNC = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"SIOCSETPFSYNC\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @setpfsync_maxupd(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readnone %3) local_unnamed_addr #0 {
%5 = alloca %struct.pfsyncreq, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
%6 = tail call i32 @atoi(ptr nocapture noundef %0)
%7 = icmp ugt i32 %6, 255
br i1 %7, label %8, label %10
8: ; preds = %4
%9 = tail call i32 @errx(i32 noundef 1, ptr noundef nonnull @.str, ptr noundef %0) #4
br label %10
10: ; preds = %4, %8
%11 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 4) #4
%12 = ptrtoint ptr %5 to i64
store i64 %12, ptr @ifr, align 8, !tbaa !5
%13 = load i32, ptr @SIOCGETPFSYNC, align 4, !tbaa !10
%14 = call i32 @ioctl(i32 noundef %2, i32 noundef %13, i64 noundef ptrtoint (ptr @ifr to i64)) #4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = call i32 @err(i32 noundef 1, ptr noundef nonnull @.str.1) #4
br label %18
18: ; preds = %16, %10
store i32 %6, ptr %5, align 4, !tbaa !12
%19 = load i32, ptr @SIOCSETPFSYNC, align 4, !tbaa !10
%20 = call i32 @ioctl(i32 noundef %2, i32 noundef %19, i64 noundef ptrtoint (ptr @ifr to i64)) #4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = call i32 @err(i32 noundef 1, ptr noundef nonnull @.str.2) #4
br label %24
24: ; preds = %22, %18
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #2
declare i32 @errx(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @ioctl(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #3
declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"pfsyncreq", !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sbin/ifconfig/extr_ifpfsync.c_setpfsync_maxupd.c'
source_filename = "AnghaBench/freebsd/sbin/ifconfig/extr_ifpfsync.c_setpfsync_maxupd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64 }
%struct.pfsyncreq = type { i32 }
@.str = private unnamed_addr constant [24 x i8] c"maxupd %s: out of range\00", align 1
@ifr = common global %struct.TYPE_2__ zeroinitializer, align 8
@SIOCGETPFSYNC = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"SIOCGETPFSYNC\00", align 1
@SIOCSETPFSYNC = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"SIOCSETPFSYNC\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @setpfsync_maxupd(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readnone %3) local_unnamed_addr #0 {
%5 = alloca %struct.pfsyncreq, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
%6 = tail call i32 @atoi(ptr nocapture noundef %0)
%7 = icmp ugt i32 %6, 255
br i1 %7, label %8, label %10
8: ; preds = %4
%9 = tail call i32 @errx(i32 noundef 1, ptr noundef nonnull @.str, ptr noundef %0) #4
br label %10
10: ; preds = %4, %8
%11 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 4) #4
%12 = ptrtoint ptr %5 to i64
store i64 %12, ptr @ifr, align 8, !tbaa !6
%13 = load i32, ptr @SIOCGETPFSYNC, align 4, !tbaa !11
%14 = call i32 @ioctl(i32 noundef %2, i32 noundef %13, i64 noundef ptrtoint (ptr @ifr to i64)) #4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = call i32 @err(i32 noundef 1, ptr noundef nonnull @.str.1) #4
br label %18
18: ; preds = %16, %10
store i32 %6, ptr %5, align 4, !tbaa !13
%19 = load i32, ptr @SIOCSETPFSYNC, align 4, !tbaa !11
%20 = call i32 @ioctl(i32 noundef %2, i32 noundef %19, i64 noundef ptrtoint (ptr @ifr to i64)) #4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = call i32 @err(i32 noundef 1, ptr noundef nonnull @.str.2) #4
br label %24
24: ; preds = %22, %18
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #2
declare i32 @errx(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @ioctl(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #3
declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"pfsyncreq", !12, i64 0}
| freebsd_sbin_ifconfig_extr_ifpfsync.c_setpfsync_maxupd |
; ModuleID = 'AnghaBench/mpv/video/out/extr_vo_wlshm.c_uninit.c'
source_filename = "AnghaBench/mpv/video/out/extr_vo_wlshm.c_uninit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @uninit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @uninit(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = icmp eq ptr %3, null
br i1 %4, label %11, label %5
5: ; preds = %1, %5
%6 = phi ptr [ %9, %5 ], [ %3, %1 ]
%7 = load ptr, ptr %6, align 8, !tbaa !12
store ptr %7, ptr %2, align 8, !tbaa !10
%8 = tail call i32 @talloc_free(ptr noundef nonnull %6) #2
%9 = load ptr, ptr %2, align 8, !tbaa !10
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %5, !llvm.loop !14
11: ; preds = %5, %1
%12 = tail call i32 @vo_wayland_uninit(ptr noundef nonnull %0) #2
ret void
}
declare i32 @talloc_free(ptr noundef) local_unnamed_addr #1
declare i32 @vo_wayland_uninit(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 = !{!"vo", !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 = !{!"priv", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"buffer", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/mpv/video/out/extr_vo_wlshm.c_uninit.c'
source_filename = "AnghaBench/mpv/video/out/extr_vo_wlshm.c_uninit.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 @uninit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @uninit(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = icmp eq ptr %3, null
br i1 %4, label %11, label %5
5: ; preds = %1, %5
%6 = phi ptr [ %9, %5 ], [ %3, %1 ]
%7 = load ptr, ptr %6, align 8, !tbaa !13
store ptr %7, ptr %2, align 8, !tbaa !11
%8 = tail call i32 @talloc_free(ptr noundef nonnull %6) #2
%9 = load ptr, ptr %2, align 8, !tbaa !11
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %5, !llvm.loop !15
11: ; preds = %5, %1
%12 = tail call i32 @vo_wayland_uninit(ptr noundef nonnull %0) #2
ret void
}
declare i32 @talloc_free(ptr noundef) local_unnamed_addr #1
declare i32 @vo_wayland_uninit(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 = !{!"vo", !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 = !{!"priv", !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"buffer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| mpv_video_out_extr_vo_wlshm.c_uninit |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X(i32 noundef %0) #0 {
%2 = load i32, ptr @A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X__MASK, align 4, !tbaa !5
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X__SHIFT = common local_unnamed_addr global i32 0, align 4
@A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X(i32 noundef %0) #0 {
%2 = load i32, ptr @A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X__MASK, align 4, !tbaa !6
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_msm_adreno_extr_a5xx.xml.h_A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X |
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_geometry.c_fz_is_rectilinear.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_geometry.c_fz_is_rectilinear.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FLT_EPSILON = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @fz_is_rectilinear(i64 %0, i64 %1) local_unnamed_addr #0 {
%3 = trunc i64 %0 to i32
%4 = lshr i64 %0, 32
%5 = trunc i64 %4 to i32
%6 = lshr i64 %1, 32
%7 = trunc i64 %6 to i32
%8 = tail call i64 @fabsf(i32 noundef %7) #2
%9 = load i64, ptr @FLT_EPSILON, align 8, !tbaa !5
%10 = icmp slt i64 %8, %9
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = trunc i64 %1 to i32
%13 = tail call i64 @fabsf(i32 noundef %12) #2
%14 = load i64, ptr @FLT_EPSILON, align 8, !tbaa !5
%15 = icmp slt i64 %13, %14
br i1 %15, label %25, label %16
16: ; preds = %11, %2
%17 = tail call i64 @fabsf(i32 noundef %5) #2
%18 = load i64, ptr @FLT_EPSILON, align 8, !tbaa !5
%19 = icmp slt i64 %17, %18
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = tail call i64 @fabsf(i32 noundef %3) #2
%22 = load i64, ptr @FLT_EPSILON, align 8, !tbaa !5
%23 = icmp slt i64 %21, %22
%24 = zext i1 %23 to i32
br label %25
25: ; preds = %16, %20, %11
%26 = phi i32 [ 1, %11 ], [ 0, %16 ], [ %24, %20 ]
ret i32 %26
}
declare i64 @fabsf(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"}
| ; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_geometry.c_fz_is_rectilinear.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_geometry.c_fz_is_rectilinear.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FLT_EPSILON = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @fz_is_rectilinear([2 x i64] %0) local_unnamed_addr #0 {
%2 = extractvalue [2 x i64] %0, 0
%3 = trunc i64 %2 to i32
%4 = lshr i64 %2, 32
%5 = trunc nuw i64 %4 to i32
%6 = extractvalue [2 x i64] %0, 1
%7 = lshr i64 %6, 32
%8 = trunc nuw i64 %7 to i32
%9 = tail call i64 @fabsf(i32 noundef %8) #2
%10 = load i64, ptr @FLT_EPSILON, align 8, !tbaa !6
%11 = icmp slt i64 %9, %10
br i1 %11, label %12, label %17
12: ; preds = %1
%13 = trunc i64 %6 to i32
%14 = tail call i64 @fabsf(i32 noundef %13) #2
%15 = load i64, ptr @FLT_EPSILON, align 8, !tbaa !6
%16 = icmp slt i64 %14, %15
br i1 %16, label %26, label %17
17: ; preds = %12, %1
%18 = tail call i64 @fabsf(i32 noundef %5) #2
%19 = load i64, ptr @FLT_EPSILON, align 8, !tbaa !6
%20 = icmp slt i64 %18, %19
br i1 %20, label %21, label %26
21: ; preds = %17
%22 = tail call i64 @fabsf(i32 noundef %3) #2
%23 = load i64, ptr @FLT_EPSILON, align 8, !tbaa !6
%24 = icmp slt i64 %22, %23
%25 = zext i1 %24 to i32
br label %26
26: ; preds = %17, %21, %12
%27 = phi i32 [ 1, %12 ], [ 0, %17 ], [ %25, %21 ]
ret i32 %27
}
declare i64 @fabsf(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"}
| sumatrapdf_mupdf_source_fitz_extr_geometry.c_fz_is_rectilinear |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_put_spdif_in.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_put_spdif_in.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_rme9652_put_spdif_in], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_rme9652_put_spdif_in(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = tail call i32 @snd_rme9652_use_is_exclusive(ptr noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EBUSY, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %21
9: ; preds = %2
%10 = load ptr, ptr %1, align 8, !tbaa !9
%11 = load i32, ptr %10, align 4, !tbaa !5
%12 = srem i32 %11, 3
%13 = tail call i32 @spin_lock_irq(ptr noundef %3) #2
%14 = tail call i32 @rme9652_spdif_in(ptr noundef %3) #2
%15 = icmp ne i32 %12, %14
%16 = zext i1 %15 to i32
br i1 %15, label %17, label %19
17: ; preds = %9
%18 = tail call i32 @rme9652_set_spdif_input(ptr noundef %3, i32 noundef %12) #2
br label %19
19: ; preds = %17, %9
%20 = tail call i32 @spin_unlock_irq(ptr noundef %3) #2
br label %21
21: ; preds = %19, %6
%22 = phi i32 [ %16, %19 ], [ %8, %6 ]
ret i32 %22
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare i32 @snd_rme9652_use_is_exclusive(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @rme9652_spdif_in(ptr noundef) local_unnamed_addr #1
declare i32 @rme9652_set_spdif_input(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !13, i64 0}
!10 = !{!"snd_ctl_elem_value", !11, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_put_spdif_in.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_put_spdif_in.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EBUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snd_rme9652_put_spdif_in], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @snd_rme9652_put_spdif_in(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = tail call i32 @snd_rme9652_use_is_exclusive(ptr noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EBUSY, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %21
9: ; preds = %2
%10 = load ptr, ptr %1, align 8, !tbaa !10
%11 = load i32, ptr %10, align 4, !tbaa !6
%12 = srem i32 %11, 3
%13 = tail call i32 @spin_lock_irq(ptr noundef %3) #2
%14 = tail call i32 @rme9652_spdif_in(ptr noundef %3) #2
%15 = icmp ne i32 %12, %14
%16 = zext i1 %15 to i32
br i1 %15, label %17, label %19
17: ; preds = %9
%18 = tail call i32 @rme9652_set_spdif_input(ptr noundef %3, i32 noundef %12) #2
br label %19
19: ; preds = %17, %9
%20 = tail call i32 @spin_unlock_irq(ptr noundef %3) #2
br label %21
21: ; preds = %19, %6
%22 = phi i32 [ %16, %19 ], [ %8, %6 ]
ret i32 %22
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare i32 @snd_rme9652_use_is_exclusive(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @rme9652_spdif_in(ptr noundef) local_unnamed_addr #1
declare i32 @rme9652_set_spdif_input(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !14, i64 0}
!11 = !{!"snd_ctl_elem_value", !12, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
| fastsocket_kernel_sound_pci_rme9652_extr_rme9652.c_snd_rme9652_put_spdif_in |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_ra_loader.c_has_scheme_of.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_ra_loader.c_has_scheme_of.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @has_scheme_of], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @has_scheme_of(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %18, label %5
5: ; preds = %2, %14
%6 = phi ptr [ %16, %14 ], [ %3, %2 ]
%7 = phi ptr [ %15, %14 ], [ %0, %2 ]
%8 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %6)
%9 = tail call i64 @strncasecmp(ptr noundef nonnull %6, ptr noundef %1, i64 noundef %8) #3
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %5
%12 = getelementptr inbounds i8, ptr %1, i64 %8
%13 = load i8, ptr %12, align 1, !tbaa !9
switch i8 %13, label %14 [
i8 58, label %18
i8 43, label %18
]
14: ; preds = %5, %11
%15 = getelementptr inbounds ptr, ptr %7, i64 1
%16 = load ptr, ptr %15, align 8, !tbaa !5
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %5, !llvm.loop !10
18: ; preds = %14, %11, %11, %2
%19 = phi ptr [ null, %2 ], [ %6, %11 ], [ %6, %11 ], [ null, %14 ]
ret ptr %19
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1
declare i64 @strncasecmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_ra_loader.c_has_scheme_of.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_ra_loader.c_has_scheme_of.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @has_scheme_of], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @has_scheme_of(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %18, label %5
5: ; preds = %2, %14
%6 = phi ptr [ %16, %14 ], [ %3, %2 ]
%7 = phi ptr [ %15, %14 ], [ %0, %2 ]
%8 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %6) #3
%9 = tail call i64 @strncasecmp(ptr noundef nonnull %6, ptr noundef %1, i64 noundef %8) #3
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %5
%12 = getelementptr inbounds i8, ptr %1, i64 %8
%13 = load i8, ptr %12, align 1, !tbaa !10
switch i8 %13, label %14 [
i8 58, label %18
i8 43, label %18
]
14: ; preds = %5, %11
%15 = getelementptr inbounds i8, ptr %7, i64 8
%16 = load ptr, ptr %15, align 8, !tbaa !6
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %5, !llvm.loop !11
18: ; preds = %14, %11, %11, %2
%19 = phi ptr [ null, %2 ], [ %6, %11 ], [ %6, %11 ], [ null, %14 ]
ret ptr %19
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1
declare i64 @strncasecmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_subversion_subversion_libsvn_ra_extr_ra_loader.c_has_scheme_of |
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_subq_32_d.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_subq_32_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DY = dso_local local_unnamed_addr global i32 0, align 4
@REG_IR = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_N = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_C = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_X = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_V = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @m68k_op_subq_32_d], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @m68k_op_subq_32_d() #0 {
%1 = load i32, ptr @REG_IR, align 4, !tbaa !5
%2 = lshr i32 %1, 9
%3 = add nuw nsw i32 %2, 7
%4 = and i32 %3, 7
%5 = add nuw nsw i32 %4, 1
%6 = load i32, ptr @DY, align 4, !tbaa !5
%7 = sub nsw i32 %6, %5
%8 = tail call i32 @NFLAG_32(i32 noundef %7) #2
store i32 %8, ptr @FLAG_N, align 4, !tbaa !5
%9 = tail call i32 @MASK_OUT_ABOVE_32(i32 noundef %7) #2
store i32 %9, ptr @FLAG_Z, align 4, !tbaa !5
%10 = tail call i32 @CFLAG_SUB_32(i32 noundef %5, i32 noundef %6, i32 noundef %7) #2
store i32 %10, ptr @FLAG_C, align 4, !tbaa !5
store i32 %10, ptr @FLAG_X, align 4, !tbaa !5
%11 = tail call i32 @VFLAG_SUB_32(i32 noundef %5, i32 noundef %6, i32 noundef %7) #2
store i32 %11, ptr @FLAG_V, align 4, !tbaa !5
%12 = load i32, ptr @FLAG_Z, align 4, !tbaa !5
store i32 %12, ptr @DY, align 4, !tbaa !5
ret void
}
declare i32 @NFLAG_32(i32 noundef) local_unnamed_addr #1
declare i32 @MASK_OUT_ABOVE_32(i32 noundef) local_unnamed_addr #1
declare i32 @CFLAG_SUB_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VFLAG_SUB_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_subq_32_d.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_subq_32_d.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DY = common local_unnamed_addr global i32 0, align 4
@REG_IR = common local_unnamed_addr global i32 0, align 4
@FLAG_N = common local_unnamed_addr global i32 0, align 4
@FLAG_Z = common local_unnamed_addr global i32 0, align 4
@FLAG_C = common local_unnamed_addr global i32 0, align 4
@FLAG_X = common local_unnamed_addr global i32 0, align 4
@FLAG_V = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @m68k_op_subq_32_d], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @m68k_op_subq_32_d() #0 {
%1 = load i32, ptr @REG_IR, align 4, !tbaa !6
%2 = lshr i32 %1, 9
%3 = add nuw nsw i32 %2, 7
%4 = and i32 %3, 7
%5 = add nuw nsw i32 %4, 1
%6 = load i32, ptr @DY, align 4, !tbaa !6
%7 = sub nsw i32 %6, %5
%8 = tail call i32 @NFLAG_32(i32 noundef %7) #2
store i32 %8, ptr @FLAG_N, align 4, !tbaa !6
%9 = tail call i32 @MASK_OUT_ABOVE_32(i32 noundef %7) #2
store i32 %9, ptr @FLAG_Z, align 4, !tbaa !6
%10 = tail call i32 @CFLAG_SUB_32(i32 noundef %5, i32 noundef %6, i32 noundef %7) #2
store i32 %10, ptr @FLAG_C, align 4, !tbaa !6
store i32 %10, ptr @FLAG_X, align 4, !tbaa !6
%11 = tail call i32 @VFLAG_SUB_32(i32 noundef %5, i32 noundef %6, i32 noundef %7) #2
store i32 %11, ptr @FLAG_V, align 4, !tbaa !6
%12 = load i32, ptr @FLAG_Z, align 4, !tbaa !6
store i32 %12, ptr @DY, align 4, !tbaa !6
ret void
}
declare i32 @NFLAG_32(i32 noundef) local_unnamed_addr #1
declare i32 @MASK_OUT_ABOVE_32(i32 noundef) local_unnamed_addr #1
declare i32 @CFLAG_SUB_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VFLAG_SUB_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_m68k_extr_m68kops.h_m68k_op_subq_32_d |
; ModuleID = 'AnghaBench/libgit2/src/extr_merge.c_compute_base.c'
source_filename = "AnghaBench/libgit2/src/extr_merge.c_compute_base.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.TYPE_16__ = type { i32, i64 }
%struct.TYPE_15__ = type { i64, ptr, i32 }
@GIT_ARRAY_INIT = dso_local local_unnamed_addr global %struct.TYPE_17__ zeroinitializer, align 8
@GIT_MERGE_OPTIONS_INIT = dso_local local_unnamed_addr global %struct.TYPE_16__ zeroinitializer, align 8
@GIT_MERGE_NO_RECURSIVE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @compute_base], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @compute_base(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #0 {
%7 = alloca %struct.TYPE_17__, align 8
%8 = alloca %struct.TYPE_15__, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca %struct.TYPE_16__, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
%13 = load i64, ptr @GIT_ARRAY_INIT, align 8
store i64 %13, ptr %7, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %8, i8 0, i64 24, i1 false)
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
store ptr null, ptr %9, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
store ptr null, ptr %10, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
store ptr null, ptr %11, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) @GIT_MERGE_OPTIONS_INIT, i64 16, i1 false), !tbaa.struct !9
store ptr null, ptr %0, align 8, !tbaa !5
%14 = icmp eq ptr %4, null
br i1 %14, label %17, label %15
15: ; preds = %6
%16 = call i32 @memcpy(ptr noundef nonnull %12, ptr noundef nonnull %4, i32 noundef 16) #5
br label %17
17: ; preds = %15, %6
%18 = call i32 @insert_head_ids(ptr noundef nonnull %7, ptr noundef %3) #5
%19 = icmp slt i32 %18, 0
br i1 %19, label %84, label %20
20: ; preds = %17
%21 = call i32 @insert_head_ids(ptr noundef nonnull %7, ptr noundef %2) #5
%22 = icmp slt i32 %21, 0
br i1 %22, label %84, label %23
23: ; preds = %20
%24 = getelementptr inbounds %struct.TYPE_17__, ptr %7, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !14
%26 = load i32, ptr %7, align 8, !tbaa !16
%27 = call i32 @git_merge_bases_many(ptr noundef nonnull %8, ptr noundef %1, i32 noundef %25, i32 noundef %26) #5
%28 = icmp slt i32 %27, 0
br i1 %28, label %84, label %29
29: ; preds = %23
%30 = load i32, ptr %12, align 8, !tbaa !17
%31 = load i32, ptr @GIT_MERGE_NO_RECURSIVE, align 4, !tbaa !10
%32 = and i32 %31, %30
%33 = icmp eq i32 %32, 0
%34 = load i64, ptr %8, align 8
%35 = select i1 %33, i64 %34, i64 0
%36 = icmp eq i64 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %29
%38 = call i32 @git_oidarray__reverse(ptr noundef nonnull %8) #5
br label %39
39: ; preds = %37, %29
%40 = getelementptr inbounds %struct.TYPE_15__, ptr %8, i64 0, i32 1
%41 = load ptr, ptr %40, align 8, !tbaa !19
%42 = call i32 @git_annotated_commit_lookup(ptr noundef nonnull %9, ptr noundef %1, ptr noundef %41) #5
%43 = icmp slt i32 %42, 0
br i1 %43, label %84, label %44
44: ; preds = %39
%45 = icmp ugt i64 %35, 1
br i1 %45, label %46, label %79
46: ; preds = %44
%47 = getelementptr inbounds %struct.TYPE_16__, ptr %12, i64 0, i32 1
%48 = add i64 %5, 1
%49 = load i64, ptr %47, align 8, !tbaa !21
%50 = icmp ne i64 %49, 0
%51 = icmp ugt i64 %48, %49
%52 = and i1 %50, %51
br i1 %52, label %79, label %59
53: ; preds = %71
%54 = add i64 %60, 1
%55 = load i64, ptr %47, align 8, !tbaa !21
%56 = icmp ne i64 %55, 0
%57 = icmp ugt i64 %54, %55
%58 = select i1 %56, i1 %57, i1 false
br i1 %58, label %79, label %59, !llvm.loop !22
59: ; preds = %46, %53
%60 = phi i64 [ %54, %53 ], [ %48, %46 ]
%61 = phi i64 [ %77, %53 ], [ 1, %46 ]
%62 = load ptr, ptr %40, align 8, !tbaa !19
%63 = getelementptr inbounds i32, ptr %62, i64 %61
%64 = call i32 @git_annotated_commit_lookup(ptr noundef nonnull %10, ptr noundef %1, ptr noundef nonnull %63) #5
%65 = icmp slt i32 %64, 0
br i1 %65, label %84, label %66
66: ; preds = %59
%67 = load ptr, ptr %9, align 8, !tbaa !5
%68 = load ptr, ptr %10, align 8, !tbaa !5
%69 = call i32 @create_virtual_base(ptr noundef nonnull %11, ptr noundef %1, ptr noundef %67, ptr noundef %68, ptr noundef nonnull %12, i64 noundef %60) #5
%70 = icmp slt i32 %69, 0
br i1 %70, label %84, label %71
71: ; preds = %66
%72 = load ptr, ptr %9, align 8, !tbaa !5
%73 = call i32 @git_annotated_commit_free(ptr noundef %72) #5
%74 = load ptr, ptr %10, align 8, !tbaa !5
%75 = call i32 @git_annotated_commit_free(ptr noundef %74) #5
%76 = load ptr, ptr %11, align 8, !tbaa !5
store ptr %76, ptr %9, align 8, !tbaa !5
store ptr null, ptr %11, align 8, !tbaa !5
store ptr null, ptr %10, align 8, !tbaa !5
%77 = add nuw i64 %61, 1
%78 = icmp eq i64 %77, %35
br i1 %78, label %79, label %53, !llvm.loop !22
79: ; preds = %53, %71, %46, %44
%80 = phi i32 [ %42, %44 ], [ %42, %46 ], [ %69, %71 ], [ %69, %53 ]
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %84
82: ; preds = %79
%83 = load ptr, ptr %9, align 8, !tbaa !5
store ptr %83, ptr %0, align 8, !tbaa !5
br label %89
84: ; preds = %66, %59, %39, %23, %20, %17, %79
%85 = phi i32 [ %80, %79 ], [ %42, %39 ], [ %27, %23 ], [ %21, %20 ], [ %18, %17 ], [ %64, %59 ], [ %69, %66 ]
%86 = load ptr, ptr %9, align 8, !tbaa !5
%87 = call i32 @git_annotated_commit_free(ptr noundef %86) #5
%88 = load ptr, ptr %10, align 8, !tbaa !5
br label %89
89: ; preds = %84, %82
%90 = phi ptr [ %88, %84 ], [ null, %82 ]
%91 = phi i32 [ %85, %84 ], [ 0, %82 ]
%92 = call i32 @git_annotated_commit_free(ptr noundef %90) #5
%93 = load ptr, ptr %11, align 8, !tbaa !5
%94 = call i32 @git_annotated_commit_free(ptr noundef %93) #5
%95 = call i32 @git_oidarray_free(ptr noundef nonnull %8) #5
%96 = load i64, ptr %7, align 8
%97 = call i32 @git_array_clear(i64 %96) #5
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
ret i32 %91
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4
declare i32 @insert_head_ids(ptr noundef, ptr noundef) local_unnamed_addr #4
declare i32 @git_merge_bases_many(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4
declare i32 @git_oidarray__reverse(ptr noundef) local_unnamed_addr #4
declare i32 @git_annotated_commit_lookup(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4
declare i32 @create_virtual_base(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #4
declare i32 @git_annotated_commit_free(ptr noundef) local_unnamed_addr #4
declare i32 @git_oidarray_free(ptr noundef) local_unnamed_addr #4
declare i32 @git_array_clear(i64) local_unnamed_addr #4
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{i64 0, i64 4, !10, i64 8, i64 8, !12}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !11, i64 4}
!15 = !{!"TYPE_17__", !11, i64 0, !11, i64 4}
!16 = !{!15, !11, i64 0}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_16__", !11, i64 0, !13, i64 8}
!19 = !{!20, !6, i64 8}
!20 = !{!"TYPE_15__", !13, i64 0, !6, i64 8, !11, i64 16}
!21 = !{!18, !13, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/libgit2/src/extr_merge.c_compute_base.c'
source_filename = "AnghaBench/libgit2/src/extr_merge.c_compute_base.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_17__ = type { i32, i32 }
%struct.TYPE_16__ = type { i32, i64 }
%struct.TYPE_15__ = type { i64, ptr, i32 }
@GIT_ARRAY_INIT = common local_unnamed_addr global %struct.TYPE_17__ zeroinitializer, align 4
@GIT_MERGE_OPTIONS_INIT = common local_unnamed_addr global %struct.TYPE_16__ zeroinitializer, align 8
@GIT_MERGE_NO_RECURSIVE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @compute_base], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @compute_base(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #0 {
%7 = alloca %struct.TYPE_17__, align 8
%8 = alloca %struct.TYPE_15__, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca %struct.TYPE_16__, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
%13 = load i64, ptr @GIT_ARRAY_INIT, align 4
store i64 %13, ptr %7, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %8, i8 0, i64 24, i1 false)
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
store ptr null, ptr %9, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
store ptr null, ptr %10, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
store ptr null, ptr %11, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) @GIT_MERGE_OPTIONS_INIT, i64 16, i1 false), !tbaa.struct !10
store ptr null, ptr %0, align 8, !tbaa !6
%14 = icmp eq ptr %4, null
br i1 %14, label %17, label %15
15: ; preds = %6
%16 = call i32 @memcpy(ptr noundef nonnull %12, ptr noundef nonnull %4, i32 noundef 16) #5
br label %17
17: ; preds = %15, %6
%18 = call i32 @insert_head_ids(ptr noundef nonnull %7, ptr noundef %3) #5
%19 = icmp slt i32 %18, 0
br i1 %19, label %84, label %20
20: ; preds = %17
%21 = call i32 @insert_head_ids(ptr noundef nonnull %7, ptr noundef %2) #5
%22 = icmp slt i32 %21, 0
br i1 %22, label %84, label %23
23: ; preds = %20
%24 = getelementptr inbounds i8, ptr %7, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !15
%26 = load i32, ptr %7, align 8, !tbaa !17
%27 = call i32 @git_merge_bases_many(ptr noundef nonnull %8, ptr noundef %1, i32 noundef %25, i32 noundef %26) #5
%28 = icmp slt i32 %27, 0
br i1 %28, label %84, label %29
29: ; preds = %23
%30 = load i32, ptr %12, align 8, !tbaa !18
%31 = load i32, ptr @GIT_MERGE_NO_RECURSIVE, align 4, !tbaa !11
%32 = and i32 %31, %30
%33 = icmp eq i32 %32, 0
%34 = load i64, ptr %8, align 8
%35 = select i1 %33, i64 %34, i64 0
%36 = icmp eq i64 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %29
%38 = call i32 @git_oidarray__reverse(ptr noundef nonnull %8) #5
br label %39
39: ; preds = %37, %29
%40 = getelementptr inbounds i8, ptr %8, i64 8
%41 = load ptr, ptr %40, align 8, !tbaa !20
%42 = call i32 @git_annotated_commit_lookup(ptr noundef nonnull %9, ptr noundef %1, ptr noundef %41) #5
%43 = icmp slt i32 %42, 0
br i1 %43, label %84, label %44
44: ; preds = %39
%45 = icmp ugt i64 %35, 1
br i1 %45, label %46, label %79
46: ; preds = %44
%47 = getelementptr inbounds i8, ptr %12, i64 8
%48 = add i64 %5, 1
%49 = load i64, ptr %47, align 8, !tbaa !22
%50 = icmp ne i64 %49, 0
%51 = icmp ugt i64 %48, %49
%52 = and i1 %50, %51
br i1 %52, label %79, label %59
53: ; preds = %71
%54 = add i64 %60, 1
%55 = load i64, ptr %47, align 8, !tbaa !22
%56 = icmp ne i64 %55, 0
%57 = icmp ugt i64 %54, %55
%58 = select i1 %56, i1 %57, i1 false
br i1 %58, label %79, label %59, !llvm.loop !23
59: ; preds = %46, %53
%60 = phi i64 [ %54, %53 ], [ %48, %46 ]
%61 = phi i64 [ %77, %53 ], [ 1, %46 ]
%62 = load ptr, ptr %40, align 8, !tbaa !20
%63 = getelementptr inbounds i32, ptr %62, i64 %61
%64 = call i32 @git_annotated_commit_lookup(ptr noundef nonnull %10, ptr noundef %1, ptr noundef nonnull %63) #5
%65 = icmp slt i32 %64, 0
br i1 %65, label %84, label %66
66: ; preds = %59
%67 = load ptr, ptr %9, align 8, !tbaa !6
%68 = load ptr, ptr %10, align 8, !tbaa !6
%69 = call i32 @create_virtual_base(ptr noundef nonnull %11, ptr noundef %1, ptr noundef %67, ptr noundef %68, ptr noundef nonnull %12, i64 noundef %60) #5
%70 = icmp slt i32 %69, 0
br i1 %70, label %84, label %71
71: ; preds = %66
%72 = load ptr, ptr %9, align 8, !tbaa !6
%73 = call i32 @git_annotated_commit_free(ptr noundef %72) #5
%74 = load ptr, ptr %10, align 8, !tbaa !6
%75 = call i32 @git_annotated_commit_free(ptr noundef %74) #5
%76 = load ptr, ptr %11, align 8, !tbaa !6
store ptr %76, ptr %9, align 8, !tbaa !6
store ptr null, ptr %11, align 8, !tbaa !6
store ptr null, ptr %10, align 8, !tbaa !6
%77 = add nuw i64 %61, 1
%78 = icmp eq i64 %77, %35
br i1 %78, label %79, label %53, !llvm.loop !23
79: ; preds = %53, %71, %46, %44
%80 = phi i32 [ %42, %44 ], [ %42, %46 ], [ %69, %71 ], [ %69, %53 ]
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %84
82: ; preds = %79
%83 = load ptr, ptr %9, align 8, !tbaa !6
store ptr %83, ptr %0, align 8, !tbaa !6
br label %89
84: ; preds = %66, %59, %39, %23, %20, %17, %79
%85 = phi i32 [ %80, %79 ], [ %42, %39 ], [ %27, %23 ], [ %21, %20 ], [ %18, %17 ], [ %64, %59 ], [ %69, %66 ]
%86 = load ptr, ptr %9, align 8, !tbaa !6
%87 = call i32 @git_annotated_commit_free(ptr noundef %86) #5
%88 = load ptr, ptr %10, align 8, !tbaa !6
br label %89
89: ; preds = %84, %82
%90 = phi ptr [ %88, %84 ], [ null, %82 ]
%91 = phi i32 [ %85, %84 ], [ 0, %82 ]
%92 = call i32 @git_annotated_commit_free(ptr noundef %90) #5
%93 = load ptr, ptr %11, align 8, !tbaa !6
%94 = call i32 @git_annotated_commit_free(ptr noundef %93) #5
%95 = call i32 @git_oidarray_free(ptr noundef nonnull %8) #5
%96 = load i64, ptr %7, align 8
%97 = call i32 @git_array_clear(i64 %96) #5
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
ret i32 %91
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4
declare i32 @insert_head_ids(ptr noundef, ptr noundef) local_unnamed_addr #4
declare i32 @git_merge_bases_many(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4
declare i32 @git_oidarray__reverse(ptr noundef) local_unnamed_addr #4
declare i32 @git_annotated_commit_lookup(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4
declare i32 @create_virtual_base(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #4
declare i32 @git_annotated_commit_free(ptr noundef) local_unnamed_addr #4
declare i32 @git_oidarray_free(ptr noundef) local_unnamed_addr #4
declare i32 @git_array_clear(i64) local_unnamed_addr #4
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{i64 0, i64 4, !11, i64 8, i64 8, !13}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !12, i64 4}
!16 = !{!"TYPE_17__", !12, i64 0, !12, i64 4}
!17 = !{!16, !12, i64 0}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_16__", !12, i64 0, !14, i64 8}
!20 = !{!21, !7, i64 8}
!21 = !{!"TYPE_15__", !14, i64 0, !7, i64 8, !12, i64 16}
!22 = !{!19, !14, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
| libgit2_src_extr_merge.c_compute_base |
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/bin/mj2/extr_meta_out.c_xml_out_dump_hex_and_ascii.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/bin/mj2/extr_meta_out.c_xml_out_dump_hex_and_ascii.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@raw = dso_local local_unnamed_addr global i64 0, align 8
@derived = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [19 x i8] c"%s<AsHexAndASCII>\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@BYTES_PER_DUMP_LINE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"%s</AsHexAndASCII>\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @xml_out_dump_hex_and_ascii(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i64, ptr @raw, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %4
%8 = tail call i32 @xml_out_dump_hex(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #4
br label %9
9: ; preds = %7, %4
%10 = load i64, ptr @derived, align 8, !tbaa !5
%11 = icmp eq i64 %10, 0
br i1 %11, label %68, label %12
12: ; preds = %9
%13 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %3)
%14 = icmp sgt i32 %2, 0
br i1 %14, label %15, label %66
15: ; preds = %12
%16 = zext nneg i32 %2 to i64
br label %22
17: ; preds = %59
%18 = trunc i64 %63 to i32
br label %19
19: ; preds = %17, %40
%20 = phi i32 [ %23, %40 ], [ %18, %17 ]
%21 = icmp slt i32 %20, %2
br i1 %21, label %22, label %66, !llvm.loop !9
22: ; preds = %15, %19
%23 = phi i32 [ %20, %19 ], [ 0, %15 ]
%24 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef %3)
%25 = load i32, ptr @BYTES_PER_DUMP_LINE, align 4, !tbaa !11
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %40
27: ; preds = %22
%28 = sext i32 %23 to i64
%29 = getelementptr i8, ptr %1, i64 %28
br label %30
30: ; preds = %27, %30
%31 = phi i64 [ 0, %27 ], [ %36, %30 ]
%32 = getelementptr i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1, !tbaa !13
%34 = sext i8 %33 to i32
%35 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %34)
%36 = add nuw nsw i64 %31, 1
%37 = load i32, ptr @BYTES_PER_DUMP_LINE, align 4, !tbaa !11
%38 = sext i32 %37 to i64
%39 = icmp slt i64 %36, %38
br i1 %39, label %30, label %40, !llvm.loop !14
40: ; preds = %30, %22
%41 = tail call i64 @fwrite(ptr nonnull @.str.3, i64 2, i64 1, ptr %0)
%42 = load i32, ptr @BYTES_PER_DUMP_LINE, align 4, !tbaa !11
%43 = icmp sgt i32 %42, 0
br i1 %43, label %44, label %19
44: ; preds = %40
%45 = sext i32 %23 to i64
br label %46
46: ; preds = %44, %59
%47 = phi i64 [ %45, %44 ], [ %63, %59 ]
%48 = phi i32 [ 0, %44 ], [ %62, %59 ]
%49 = getelementptr inbounds i8, ptr %1, i64 %47
%50 = load i8, ptr %49, align 1, !tbaa !13
%51 = sext i8 %50 to i32
%52 = tail call i64 @isprint(i32 noundef %51) #4
%53 = icmp ne i64 %52, 0
%54 = icmp slt i64 %47, %16
%55 = and i1 %53, %54
br i1 %55, label %56, label %59
56: ; preds = %46
%57 = load i8, ptr %49, align 1, !tbaa !13
%58 = sext i8 %57 to i32
br label %59
59: ; preds = %46, %56
%60 = phi i32 [ %58, %56 ], [ 32, %46 ]
%61 = tail call i32 @fputc(i32 %60, ptr %0)
%62 = add nuw nsw i32 %48, 1
%63 = add nsw i64 %47, 1
%64 = load i32, ptr @BYTES_PER_DUMP_LINE, align 4, !tbaa !11
%65 = icmp slt i32 %62, %64
br i1 %65, label %46, label %17, !llvm.loop !15
66: ; preds = %19, %12
%67 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.6, ptr noundef %3)
br label %68
68: ; preds = %66, %9
ret void
}
declare i32 @xml_out_dump_hex(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i64 @isprint(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fputc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind }
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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/bin/mj2/extr_meta_out.c_xml_out_dump_hex_and_ascii.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/bin/mj2/extr_meta_out.c_xml_out_dump_hex_and_ascii.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@raw = common local_unnamed_addr global i64 0, align 8
@derived = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [19 x i8] c"%s<AsHexAndASCII>\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@BYTES_PER_DUMP_LINE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"%s</AsHexAndASCII>\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @xml_out_dump_hex_and_ascii(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i64, ptr @raw, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %4
%8 = tail call i32 @xml_out_dump_hex(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #4
br label %9
9: ; preds = %7, %4
%10 = load i64, ptr @derived, align 8, !tbaa !6
%11 = icmp eq i64 %10, 0
br i1 %11, label %68, label %12
12: ; preds = %9
%13 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %3)
%14 = icmp sgt i32 %2, 0
br i1 %14, label %15, label %66
15: ; preds = %12
%16 = zext nneg i32 %2 to i64
br label %22
17: ; preds = %59
%18 = trunc nsw i64 %63 to i32
br label %19
19: ; preds = %17, %40
%20 = phi i32 [ %23, %40 ], [ %18, %17 ]
%21 = icmp slt i32 %20, %2
br i1 %21, label %22, label %66, !llvm.loop !10
22: ; preds = %15, %19
%23 = phi i32 [ %20, %19 ], [ 0, %15 ]
%24 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef %3)
%25 = load i32, ptr @BYTES_PER_DUMP_LINE, align 4, !tbaa !12
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %40
27: ; preds = %22
%28 = sext i32 %23 to i64
%29 = getelementptr i8, ptr %1, i64 %28
br label %30
30: ; preds = %27, %30
%31 = phi i64 [ 0, %27 ], [ %36, %30 ]
%32 = getelementptr i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1, !tbaa !14
%34 = sext i8 %33 to i32
%35 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %34)
%36 = add nuw nsw i64 %31, 1
%37 = load i32, ptr @BYTES_PER_DUMP_LINE, align 4, !tbaa !12
%38 = sext i32 %37 to i64
%39 = icmp slt i64 %36, %38
br i1 %39, label %30, label %40, !llvm.loop !15
40: ; preds = %30, %22
%41 = tail call i64 @fwrite(ptr nonnull @.str.3, i64 2, i64 1, ptr %0)
%42 = load i32, ptr @BYTES_PER_DUMP_LINE, align 4, !tbaa !12
%43 = icmp sgt i32 %42, 0
br i1 %43, label %44, label %19
44: ; preds = %40
%45 = sext i32 %23 to i64
br label %46
46: ; preds = %44, %59
%47 = phi i64 [ %45, %44 ], [ %63, %59 ]
%48 = phi i32 [ 0, %44 ], [ %62, %59 ]
%49 = getelementptr inbounds i8, ptr %1, i64 %47
%50 = load i8, ptr %49, align 1, !tbaa !14
%51 = sext i8 %50 to i32
%52 = tail call i64 @isprint(i32 noundef %51) #4
%53 = icmp ne i64 %52, 0
%54 = icmp slt i64 %47, %16
%55 = and i1 %53, %54
br i1 %55, label %56, label %59
56: ; preds = %46
%57 = load i8, ptr %49, align 1, !tbaa !14
%58 = sext i8 %57 to i32
br label %59
59: ; preds = %46, %56
%60 = phi i32 [ %58, %56 ], [ 32, %46 ]
%61 = tail call i32 @fputc(i32 %60, ptr %0)
%62 = add nuw nsw i32 %48, 1
%63 = add nsw i64 %47, 1
%64 = load i32, ptr @BYTES_PER_DUMP_LINE, align 4, !tbaa !12
%65 = icmp slt i32 %62, %64
br i1 %65, label %46, label %17, !llvm.loop !16
66: ; preds = %19, %12
%67 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.6, ptr noundef %3)
br label %68
68: ; preds = %66, %9
ret void
}
declare i32 @xml_out_dump_hex(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i64 @isprint(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fputc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind }
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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = distinct !{!15, !11}
!16 = distinct !{!16, !11}
| sumatrapdf_ext_openjpeg_src_bin_mj2_extr_meta_out.c_xml_out_dump_hex_and_ascii |
; ModuleID = 'AnghaBench/linux/drivers/phy/tegra/extr_xusb-tegra124.c_tegra124_usb2_port_enable.c'
source_filename = "AnghaBench/linux/drivers/phy/tegra/extr_xusb-tegra124.c_tegra124_usb2_port_enable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @tegra124_usb2_port_enable], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @tegra124_usb2_port_enable(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/phy/tegra/extr_xusb-tegra124.c_tegra124_usb2_port_enable.c'
source_filename = "AnghaBench/linux/drivers/phy/tegra/extr_xusb-tegra124.c_tegra124_usb2_port_enable.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 @tegra124_usb2_port_enable], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @tegra124_usb2_port_enable(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_phy_tegra_extr_xusb-tegra124.c_tegra124_usb2_port_enable |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_util.c_svn_fs_fs__read_min_unpacked_rev.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_util.c_svn_fs_fs__read_min_unpacked_rev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@APR_READ = dso_local local_unnamed_addr global i32 0, align 4
@APR_BUFFERED = dso_local local_unnamed_addr global i32 0, align 4
@APR_OS_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @svn_fs_fs__read_min_unpacked_rev(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca [80 x i8], align 16
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = tail call i32 @svn_fs_fs__path_min_unpacked_rev(ptr noundef %1, ptr noundef %2) #3
%8 = load i32, ptr @APR_READ, align 4, !tbaa !5
%9 = load i32, ptr @APR_BUFFERED, align 4, !tbaa !5
%10 = or i32 %9, %8
%11 = load i32, ptr @APR_OS_DEFAULT, align 4, !tbaa !5
%12 = call i32 @svn_io_file_open(ptr noundef nonnull %5, i32 noundef %7, i32 noundef %10, i32 noundef %11, ptr noundef %2) #3
%13 = call i32 @SVN_ERR(i32 noundef %12) #3
store i32 80, ptr %6, align 4, !tbaa !5
%14 = load ptr, ptr %5, align 8, !tbaa !9
%15 = call i32 @svn_io_read_length_line(ptr noundef %14, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef %2) #3
%16 = call i32 @SVN_ERR(i32 noundef %15) #3
%17 = load ptr, ptr %5, align 8, !tbaa !9
%18 = call i32 @svn_io_file_close(ptr noundef %17, ptr noundef %2) #3
%19 = call i32 @SVN_ERR(i32 noundef %18) #3
%20 = call i32 @svn_revnum_parse(ptr noundef %0, ptr noundef nonnull %4, ptr noundef null) #3
%21 = call i32 @SVN_ERR(i32 noundef %20) #3
%22 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !9
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %4) #3
ret ptr %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_io_file_open(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_fs_fs__path_min_unpacked_rev(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_io_read_length_line(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_io_file_close(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_revnum_parse(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_util.c_svn_fs_fs__read_min_unpacked_rev.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_util.c_svn_fs_fs__read_min_unpacked_rev.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@APR_READ = common local_unnamed_addr global i32 0, align 4
@APR_BUFFERED = common local_unnamed_addr global i32 0, align 4
@APR_OS_DEFAULT = common local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @svn_fs_fs__read_min_unpacked_rev(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca [80 x i8], align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = tail call i32 @svn_fs_fs__path_min_unpacked_rev(ptr noundef %1, ptr noundef %2) #3
%8 = load i32, ptr @APR_READ, align 4, !tbaa !6
%9 = load i32, ptr @APR_BUFFERED, align 4, !tbaa !6
%10 = or i32 %9, %8
%11 = load i32, ptr @APR_OS_DEFAULT, align 4, !tbaa !6
%12 = call i32 @svn_io_file_open(ptr noundef nonnull %5, i32 noundef %7, i32 noundef %10, i32 noundef %11, ptr noundef %2) #3
%13 = call i32 @SVN_ERR(i32 noundef %12) #3
store i32 80, ptr %6, align 4, !tbaa !6
%14 = load ptr, ptr %5, align 8, !tbaa !10
%15 = call i32 @svn_io_read_length_line(ptr noundef %14, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef %2) #3
%16 = call i32 @SVN_ERR(i32 noundef %15) #3
%17 = load ptr, ptr %5, align 8, !tbaa !10
%18 = call i32 @svn_io_file_close(ptr noundef %17, ptr noundef %2) #3
%19 = call i32 @SVN_ERR(i32 noundef %18) #3
%20 = call i32 @svn_revnum_parse(ptr noundef %0, ptr noundef nonnull %4, ptr noundef null) #3
%21 = call i32 @SVN_ERR(i32 noundef %20) #3
%22 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !10
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %4) #3
ret ptr %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_io_file_open(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_fs_fs__path_min_unpacked_rev(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_io_read_length_line(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_io_file_close(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_revnum_parse(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_fs_fs_extr_util.c_svn_fs_fs__read_min_unpacked_rev |
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_pci-quirks.c_usb_amd_prefetch_quirk.c'
source_filename = "AnghaBench/linux/drivers/usb/host/extr_pci-quirks.c_usb_amd_prefetch_quirk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
@amd_chipset = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@AMD_CHIPSET_SB800 = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @usb_amd_prefetch_quirk() local_unnamed_addr #0 {
%1 = tail call i32 (...) @usb_amd_find_chipset_info() #2
%2 = load i64, ptr @amd_chipset, align 8, !tbaa !5
%3 = load i64, ptr @AMD_CHIPSET_SB800, align 8, !tbaa !11
%4 = icmp eq i64 %2, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
declare i32 @usb_amd_find_chipset_info(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_pci-quirks.c_usb_amd_prefetch_quirk.c'
source_filename = "AnghaBench/linux/drivers/usb/host/extr_pci-quirks.c_usb_amd_prefetch_quirk.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
@amd_chipset = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@AMD_CHIPSET_SB800 = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @usb_amd_prefetch_quirk() local_unnamed_addr #0 {
%1 = tail call i32 @usb_amd_find_chipset_info() #2
%2 = load i64, ptr @amd_chipset, align 8, !tbaa !6
%3 = load i64, ptr @AMD_CHIPSET_SB800, align 8, !tbaa !12
%4 = icmp eq i64 %2, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
declare i32 @usb_amd_find_chipset_info(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
| linux_drivers_usb_host_extr_pci-quirks.c_usb_amd_prefetch_quirk |
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_svc.c_param_get_pool_mode.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_svc.c_param_get_pool_mode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"auto\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"global\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"percpu\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"pernode\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @param_get_pool_mode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @param_get_pool_mode(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr %4, align 4, !tbaa !10
switch i32 %5, label %14 [
i32 131, label %6
i32 130, label %8
i32 129, label %10
i32 128, label %12
]
6: ; preds = %2
%7 = tail call i32 @strlcpy(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 20) #2
br label %16
8: ; preds = %2
%9 = tail call i32 @strlcpy(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef 20) #2
br label %16
10: ; preds = %2
%11 = tail call i32 @strlcpy(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef 20) #2
br label %16
12: ; preds = %2
%13 = tail call i32 @strlcpy(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef 20) #2
br label %16
14: ; preds = %2
%15 = tail call i32 @sprintf(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %5) #2
br label %16
16: ; preds = %14, %12, %10, %8, %6
%17 = phi i32 [ %15, %14 ], [ %13, %12 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ]
ret i32 %17
}
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"kernel_param", !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}
| ; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_svc.c_param_get_pool_mode.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_svc.c_param_get_pool_mode.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"auto\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"global\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"percpu\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"pernode\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @param_get_pool_mode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @param_get_pool_mode(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr %4, align 4, !tbaa !11
switch i32 %5, label %14 [
i32 131, label %6
i32 130, label %8
i32 129, label %10
i32 128, label %12
]
6: ; preds = %2
%7 = tail call i32 @strlcpy(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 20) #2
br label %16
8: ; preds = %2
%9 = tail call i32 @strlcpy(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef 20) #2
br label %16
10: ; preds = %2
%11 = tail call i32 @strlcpy(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef 20) #2
br label %16
12: ; preds = %2
%13 = tail call i32 @strlcpy(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef 20) #2
br label %16
14: ; preds = %2
%15 = tail call i32 @sprintf(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %5) #2
br label %16
16: ; preds = %14, %12, %10, %8, %6
%17 = phi i32 [ %15, %14 ], [ %13, %12 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ]
ret i32 %17
}
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"kernel_param", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| linux_net_sunrpc_extr_svc.c_param_get_pool_mode |
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_lp872x.c_lp872x_populate_pdata_from_dt.c'
source_filename = "AnghaBench/linux/drivers/regulator/extr_lp872x.c_lp872x_populate_pdata_from_dt.c"
target datalayout = "e-m:e-p270:32:32-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 @lp872x_populate_pdata_from_dt], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noalias noundef ptr @lp872x_populate_pdata_from_dt(ptr nocapture readnone %0, i32 %1) #0 {
ret ptr null
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_lp872x.c_lp872x_populate_pdata_from_dt.c'
source_filename = "AnghaBench/linux/drivers/regulator/extr_lp872x.c_lp872x_populate_pdata_from_dt.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 @lp872x_populate_pdata_from_dt], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noalias noundef ptr @lp872x_populate_pdata_from_dt(ptr nocapture readnone %0, i32 %1) #0 {
ret ptr null
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_regulator_extr_lp872x.c_lp872x_populate_pdata_from_dt |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new_handlers.c_wpas_dbus_handler_vendor_elem_add.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new_handlers.c_wpas_dbus_handler_vendor_elem_add.c"
target datalayout = "e-m:e-p270:32:32-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.ieee802_11_elems = type { i32 }
@NUM_VENDOR_ELEM_FRAMES = dso_local local_unnamed_addr global i64 0, align 8
@DBUS_ERROR_INVALID_ARGS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"Invalid ID\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Invalid value\00", align 1
@ParseFailed = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [12 x i8] c"Parse error\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Resize error\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @wpas_dbus_handler_vendor_elem_add(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.ieee802_11_elems, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
%9 = call i32 @dbus_message_iter_init(ptr noundef %0, ptr noundef nonnull %7) #3
%10 = call i32 @dbus_message_iter_get_basic(ptr noundef nonnull %7, ptr noundef nonnull %6) #3
%11 = load i64, ptr %6, align 8, !tbaa !5
%12 = load i64, ptr @NUM_VENDOR_ELEM_FRAMES, align 8, !tbaa !5
%13 = icmp ult i64 %11, %12
br i1 %13, label %17, label %14
14: ; preds = %2
%15 = load i32, ptr @DBUS_ERROR_INVALID_ARGS, align 4, !tbaa !9
%16 = call ptr @dbus_message_new_error(ptr noundef %0, i32 noundef %15, ptr noundef nonnull @.str) #3
br label %68
17: ; preds = %2
%18 = call i32 @dbus_message_iter_next(ptr noundef nonnull %7) #3
%19 = call i32 @dbus_message_iter_recurse(ptr noundef nonnull %7, ptr noundef nonnull %8) #3
%20 = call i32 @dbus_message_iter_get_fixed_array(ptr noundef nonnull %8, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%21 = load ptr, ptr %3, align 8, !tbaa !11
%22 = icmp eq ptr %21, null
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %23, 0
%25 = select i1 %22, i1 true, i1 %24
br i1 %25, label %26, label %29
26: ; preds = %17
%27 = load i32, ptr @DBUS_ERROR_INVALID_ARGS, align 4, !tbaa !9
%28 = call ptr @dbus_message_new_error(ptr noundef %0, i32 noundef %27, ptr noundef nonnull @.str.1) #3
br label %68
29: ; preds = %17
%30 = call i64 @ieee802_11_parse_elems(ptr noundef nonnull %21, i32 noundef %23, ptr noundef nonnull %5, i32 noundef 0) #3
%31 = load i64, ptr @ParseFailed, align 8, !tbaa !5
%32 = icmp eq i64 %30, %31
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load i32, ptr @DBUS_ERROR_INVALID_ARGS, align 4, !tbaa !9
%35 = call ptr @dbus_message_new_error(ptr noundef %0, i32 noundef %34, ptr noundef nonnull @.str.2) #3
br label %68
36: ; preds = %29
%37 = load i64, ptr %6, align 8, !tbaa !5
%38 = call ptr @wpas_vendor_elem(ptr noundef %1, i64 noundef %37) #3
%39 = load ptr, ptr %38, align 8, !tbaa !13
%40 = load i64, ptr %6, align 8, !tbaa !5
%41 = getelementptr inbounds i32, ptr %39, i64 %40
%42 = load i32, ptr %41, align 4, !tbaa !9
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %52
44: ; preds = %36
%45 = load ptr, ptr %3, align 8, !tbaa !11
%46 = load i32, ptr %4, align 4, !tbaa !9
%47 = call i32 @wpabuf_alloc_copy(ptr noundef %45, i32 noundef %46) #3
%48 = load ptr, ptr %38, align 8, !tbaa !13
%49 = load i64, ptr %6, align 8, !tbaa !5
%50 = getelementptr inbounds i32, ptr %48, i64 %49
store i32 %47, ptr %50, align 4, !tbaa !9
%51 = call i32 @wpas_vendor_elem_update(ptr noundef nonnull %38) #3
br label %68
52: ; preds = %36
%53 = load i32, ptr %4, align 4, !tbaa !9
%54 = call i64 @wpabuf_resize(ptr noundef nonnull %41, i32 noundef %53) #3
%55 = icmp slt i64 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %52
%57 = load i32, ptr @DBUS_ERROR_INVALID_ARGS, align 4, !tbaa !9
%58 = call ptr @dbus_message_new_error(ptr noundef %0, i32 noundef %57, ptr noundef nonnull @.str.3) #3
br label %68
59: ; preds = %52
%60 = load ptr, ptr %38, align 8, !tbaa !13
%61 = load i64, ptr %6, align 8, !tbaa !5
%62 = getelementptr inbounds i32, ptr %60, i64 %61
%63 = load i32, ptr %62, align 4, !tbaa !9
%64 = load ptr, ptr %3, align 8, !tbaa !11
%65 = load i32, ptr %4, align 4, !tbaa !9
%66 = call i32 @wpabuf_put_data(i32 noundef %63, ptr noundef %64, i32 noundef %65) #3
%67 = call i32 @wpas_vendor_elem_update(ptr noundef nonnull %38) #3
br label %68
68: ; preds = %59, %56, %44, %33, %26, %14
%69 = phi ptr [ %16, %14 ], [ %28, %26 ], [ %35, %33 ], [ %58, %56 ], [ null, %59 ], [ null, %44 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %69
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @dbus_message_iter_init(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dbus_message_iter_get_basic(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @dbus_message_new_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dbus_message_iter_next(ptr noundef) local_unnamed_addr #2
declare i32 @dbus_message_iter_recurse(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dbus_message_iter_get_fixed_array(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ieee802_11_parse_elems(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @wpas_vendor_elem(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @wpabuf_alloc_copy(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wpas_vendor_elem_update(ptr noundef) local_unnamed_addr #2
declare i64 @wpabuf_resize(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wpabuf_put_data(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"wpa_supplicant", !12, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new_handlers.c_wpas_dbus_handler_vendor_elem_add.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new_handlers.c_wpas_dbus_handler_vendor_elem_add.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ieee802_11_elems = type { i32 }
@NUM_VENDOR_ELEM_FRAMES = common local_unnamed_addr global i64 0, align 8
@DBUS_ERROR_INVALID_ARGS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"Invalid ID\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Invalid value\00", align 1
@ParseFailed = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [12 x i8] c"Parse error\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Resize error\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @wpas_dbus_handler_vendor_elem_add(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.ieee802_11_elems, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
%9 = call i32 @dbus_message_iter_init(ptr noundef %0, ptr noundef nonnull %7) #3
%10 = call i32 @dbus_message_iter_get_basic(ptr noundef nonnull %7, ptr noundef nonnull %6) #3
%11 = load i64, ptr %6, align 8, !tbaa !6
%12 = load i64, ptr @NUM_VENDOR_ELEM_FRAMES, align 8, !tbaa !6
%13 = icmp ult i64 %11, %12
br i1 %13, label %17, label %14
14: ; preds = %2
%15 = load i32, ptr @DBUS_ERROR_INVALID_ARGS, align 4, !tbaa !10
%16 = call ptr @dbus_message_new_error(ptr noundef %0, i32 noundef %15, ptr noundef nonnull @.str) #3
br label %68
17: ; preds = %2
%18 = call i32 @dbus_message_iter_next(ptr noundef nonnull %7) #3
%19 = call i32 @dbus_message_iter_recurse(ptr noundef nonnull %7, ptr noundef nonnull %8) #3
%20 = call i32 @dbus_message_iter_get_fixed_array(ptr noundef nonnull %8, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%21 = load ptr, ptr %3, align 8, !tbaa !12
%22 = icmp eq ptr %21, null
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %23, 0
%25 = select i1 %22, i1 true, i1 %24
br i1 %25, label %26, label %29
26: ; preds = %17
%27 = load i32, ptr @DBUS_ERROR_INVALID_ARGS, align 4, !tbaa !10
%28 = call ptr @dbus_message_new_error(ptr noundef %0, i32 noundef %27, ptr noundef nonnull @.str.1) #3
br label %68
29: ; preds = %17
%30 = call i64 @ieee802_11_parse_elems(ptr noundef nonnull %21, i32 noundef %23, ptr noundef nonnull %5, i32 noundef 0) #3
%31 = load i64, ptr @ParseFailed, align 8, !tbaa !6
%32 = icmp eq i64 %30, %31
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load i32, ptr @DBUS_ERROR_INVALID_ARGS, align 4, !tbaa !10
%35 = call ptr @dbus_message_new_error(ptr noundef %0, i32 noundef %34, ptr noundef nonnull @.str.2) #3
br label %68
36: ; preds = %29
%37 = load i64, ptr %6, align 8, !tbaa !6
%38 = call ptr @wpas_vendor_elem(ptr noundef %1, i64 noundef %37) #3
%39 = load ptr, ptr %38, align 8, !tbaa !14
%40 = load i64, ptr %6, align 8, !tbaa !6
%41 = getelementptr inbounds i32, ptr %39, i64 %40
%42 = load i32, ptr %41, align 4, !tbaa !10
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %52
44: ; preds = %36
%45 = load ptr, ptr %3, align 8, !tbaa !12
%46 = load i32, ptr %4, align 4, !tbaa !10
%47 = call i32 @wpabuf_alloc_copy(ptr noundef %45, i32 noundef %46) #3
%48 = load ptr, ptr %38, align 8, !tbaa !14
%49 = load i64, ptr %6, align 8, !tbaa !6
%50 = getelementptr inbounds i32, ptr %48, i64 %49
store i32 %47, ptr %50, align 4, !tbaa !10
%51 = call i32 @wpas_vendor_elem_update(ptr noundef nonnull %38) #3
br label %68
52: ; preds = %36
%53 = load i32, ptr %4, align 4, !tbaa !10
%54 = call i64 @wpabuf_resize(ptr noundef nonnull %41, i32 noundef %53) #3
%55 = icmp slt i64 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %52
%57 = load i32, ptr @DBUS_ERROR_INVALID_ARGS, align 4, !tbaa !10
%58 = call ptr @dbus_message_new_error(ptr noundef %0, i32 noundef %57, ptr noundef nonnull @.str.3) #3
br label %68
59: ; preds = %52
%60 = load ptr, ptr %38, align 8, !tbaa !14
%61 = load i64, ptr %6, align 8, !tbaa !6
%62 = getelementptr inbounds i32, ptr %60, i64 %61
%63 = load i32, ptr %62, align 4, !tbaa !10
%64 = load ptr, ptr %3, align 8, !tbaa !12
%65 = load i32, ptr %4, align 4, !tbaa !10
%66 = call i32 @wpabuf_put_data(i32 noundef %63, ptr noundef %64, i32 noundef %65) #3
%67 = call i32 @wpas_vendor_elem_update(ptr noundef nonnull %38) #3
br label %68
68: ; preds = %59, %56, %44, %33, %26, %14
%69 = phi ptr [ %16, %14 ], [ %28, %26 ], [ %35, %33 ], [ %58, %56 ], [ null, %59 ], [ null, %44 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %69
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @dbus_message_iter_init(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dbus_message_iter_get_basic(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @dbus_message_new_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dbus_message_iter_next(ptr noundef) local_unnamed_addr #2
declare i32 @dbus_message_iter_recurse(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dbus_message_iter_get_fixed_array(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ieee802_11_parse_elems(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @wpas_vendor_elem(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @wpabuf_alloc_copy(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wpas_vendor_elem_update(ptr noundef) local_unnamed_addr #2
declare i64 @wpabuf_resize(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wpabuf_put_data(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"wpa_supplicant", !13, i64 0}
| freebsd_contrib_wpa_wpa_supplicant_dbus_extr_dbus_new_handlers.c_wpas_dbus_handler_vendor_elem_add |
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_misc.c_ngx_http_lua_ffi_set_resp_status.c'
source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_misc.c_ngx_http_lua_ffi_set_resp_status.c"
target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_6__, i64, ptr, i64 }
%struct.TYPE_6__ = type { i32, %struct.TYPE_9__ }
%struct.TYPE_9__ = type { i64 }
%struct.TYPE_7__ = type { i64, i32 }
@NGX_HTTP_LUA_FFI_BAD_CONTEXT = dso_local local_unnamed_addr global i32 0, align 4
@NGX_LOG_ERR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [61 x i8] c"attempt to set ngx.status after sending out response headers\00", align 1
@NGX_DECLINED = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"101 Switching Protocols\00", align 1
@NGX_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ngx_http_lua_ffi_set_resp_status(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %4, align 8, !tbaa !14
%6 = icmp eq i64 %5, -1
br i1 %6, label %27, label %7
7: ; preds = %2
%8 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3
%9 = load i64, ptr %8, align 8, !tbaa !16
%10 = icmp eq i64 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %7
%12 = load i32, ptr @NGX_LOG_ERR, align 4, !tbaa !17
%13 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1
%14 = load i32, ptr %13, align 8, !tbaa !18
%15 = tail call i32 @ngx_log_error(i32 noundef %12, i32 noundef %14, i32 noundef 0, ptr noundef nonnull @.str) #2
br label %27
16: ; preds = %7
store i32 %1, ptr %0, align 8, !tbaa !19
%17 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !20
%19 = icmp eq i64 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %16
store i64 0, ptr %17, align 8, !tbaa !20
br label %21
21: ; preds = %20, %16
%22 = icmp eq i32 %1, 101
%23 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
br i1 %22, label %24, label %26
24: ; preds = %21
%25 = tail call i32 @ngx_str_set(ptr noundef nonnull %23, ptr noundef nonnull @.str.1) #2
br label %27
26: ; preds = %21
store i64 0, ptr %23, align 8, !tbaa !21
br label %27
27: ; preds = %24, %26, %2, %11
%28 = phi ptr [ @NGX_DECLINED, %11 ], [ @NGX_HTTP_LUA_FFI_BAD_CONTEXT, %2 ], [ @NGX_OK, %26 ], [ @NGX_OK, %24 ]
%29 = load i32, ptr %28, align 4, !tbaa !17
ret i32 %29
}
declare i32 @ngx_log_error(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ngx_str_set(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, !13, i64 24}
!6 = !{!"TYPE_8__", !7, i64 0, !12, i64 16, !13, i64 24, !12, i64 32}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_9__", !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_7__", !12, i64 0, !8, i64 8}
!16 = !{!6, !12, i64 32}
!17 = !{!8, !8, i64 0}
!18 = !{!15, !8, i64 8}
!19 = !{!6, !8, i64 0}
!20 = !{!6, !12, i64 16}
!21 = !{!6, !12, i64 8}
| ; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_misc.c_ngx_http_lua_ffi_set_resp_status.c'
source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_misc.c_ngx_http_lua_ffi_set_resp_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NGX_HTTP_LUA_FFI_BAD_CONTEXT = common local_unnamed_addr global i32 0, align 4
@NGX_LOG_ERR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [61 x i8] c"attempt to set ngx.status after sending out response headers\00", align 1
@NGX_DECLINED = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"101 Switching Protocols\00", align 1
@NGX_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ngx_http_lua_ffi_set_resp_status(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 24
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %4, align 8, !tbaa !15
%6 = icmp eq i64 %5, -1
br i1 %6, label %27, label %7
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %0, i64 32
%9 = load i64, ptr %8, align 8, !tbaa !17
%10 = icmp eq i64 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %7
%12 = load i32, ptr @NGX_LOG_ERR, align 4, !tbaa !18
%13 = getelementptr inbounds i8, ptr %4, i64 8
%14 = load i32, ptr %13, align 8, !tbaa !19
%15 = tail call i32 @ngx_log_error(i32 noundef %12, i32 noundef %14, i32 noundef 0, ptr noundef nonnull @.str) #2
br label %27
16: ; preds = %7
store i32 %1, ptr %0, align 8, !tbaa !20
%17 = getelementptr inbounds i8, ptr %0, i64 16
%18 = load i64, ptr %17, align 8, !tbaa !21
%19 = icmp eq i64 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %16
store i64 0, ptr %17, align 8, !tbaa !21
br label %21
21: ; preds = %20, %16
%22 = icmp eq i32 %1, 101
%23 = getelementptr inbounds i8, ptr %0, i64 8
br i1 %22, label %24, label %26
24: ; preds = %21
%25 = tail call i32 @ngx_str_set(ptr noundef nonnull %23, ptr noundef nonnull @.str.1) #2
br label %27
26: ; preds = %21
store i64 0, ptr %23, align 8, !tbaa !22
br label %27
27: ; preds = %24, %26, %2, %11
%28 = phi ptr [ @NGX_DECLINED, %11 ], [ @NGX_HTTP_LUA_FFI_BAD_CONTEXT, %2 ], [ @NGX_OK, %26 ], [ @NGX_OK, %24 ]
%29 = load i32, ptr %28, align 4, !tbaa !18
ret i32 %29
}
declare i32 @ngx_log_error(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ngx_str_set(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, !14, i64 24}
!7 = !{!"TYPE_8__", !8, i64 0, !13, i64 16, !14, i64 24, !13, i64 32}
!8 = !{!"TYPE_6__", !9, i64 0, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_9__", !13, i64 0}
!13 = !{!"long", !10, i64 0}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_7__", !13, i64 0, !9, i64 8}
!17 = !{!7, !13, i64 32}
!18 = !{!9, !9, i64 0}
!19 = !{!16, !9, i64 8}
!20 = !{!7, !9, i64 0}
!21 = !{!7, !13, i64 16}
!22 = !{!7, !13, i64 8}
| tengine_modules_ngx_http_lua_module_src_extr_ngx_http_lua_misc.c_ngx_http_lua_ffi_set_resp_status |
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/pico/32x/extr_memory.c_PicoWrite16_32x.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/pico/32x/extr_memory.c_PicoWrite16_32x.c"
target datalayout = "e-m:e-p270:32:32-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 }
@Pico32x = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@EL_UIO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"m68k 32x w16 [%06x] %04x @%06x\00", align 1
@SekPc = dso_local local_unnamed_addr global i32 0, align 4
@P32XS_ADEN = dso_local local_unnamed_addr global i32 0, align 4
@P32XS_nRES = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"m68k unmapped w16 [%06x] %04x @%06x\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @PicoWrite16_32x(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = and i32 %0, 65472
%4 = icmp eq i32 %3, 20736
br i1 %4, label %5, label %36
5: ; preds = %2
%6 = load ptr, ptr @Pico32x, align 8, !tbaa !5
%7 = load i32, ptr @EL_UIO, align 4, !tbaa !10
%8 = and i32 %1, 65535
%9 = load i32, ptr @SekPc, align 4, !tbaa !10
%10 = tail call i32 @elprintf(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %8, i32 noundef %9) #2
%11 = and i32 %0, 62
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %29
13: ; preds = %5
%14 = load i32, ptr %6, align 4, !tbaa !10
%15 = xor i32 %14, -1
%16 = load i32, ptr @P32XS_ADEN, align 4, !tbaa !10
%17 = and i32 %16, %15
%18 = and i32 %17, %1
%19 = icmp eq i32 %18, 0
br i1 %19, label %41, label %20
20: ; preds = %13
%21 = tail call i32 (...) @Pico32xStartup() #2
%22 = load i32, ptr @P32XS_nRES, align 4, !tbaa !10
%23 = xor i32 %22, -1
%24 = load i32, ptr %6, align 4, !tbaa !10
%25 = and i32 %24, %23
store i32 %25, ptr %6, align 4, !tbaa !10
%26 = load i32, ptr @P32XS_ADEN, align 4, !tbaa !10
%27 = or i32 %26, %25
store i32 %27, ptr %6, align 4, !tbaa !10
%28 = tail call i32 @p32x_reg_write16(i32 noundef 0, i32 noundef %1) #2
br label %41
29: ; preds = %5
%30 = and i32 %0, 48
%31 = icmp eq i32 %30, 32
br i1 %31, label %32, label %41
32: ; preds = %29
%33 = lshr exact i32 %11, 1
%34 = zext nneg i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %6, i64 %34
store i32 %1, ptr %35, align 4, !tbaa !10
br label %41
36: ; preds = %2
%37 = load i32, ptr @EL_UIO, align 4, !tbaa !10
%38 = and i32 %1, 65535
%39 = load i32, ptr @SekPc, align 4, !tbaa !10
%40 = tail call i32 @elprintf(i32 noundef %37, ptr noundef nonnull @.str.1, i32 noundef %0, i32 noundef %38, i32 noundef %39) #2
br label %41
41: ; preds = %20, %13, %32, %29, %36
ret void
}
declare i32 @elprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Pico32xStartup(...) local_unnamed_addr #1
declare i32 @p32x_reg_write16(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !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/Provenance/Cores/PicoDrive/pico/32x/extr_memory.c_PicoWrite16_32x.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/pico/32x/extr_memory.c_PicoWrite16_32x.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 }
@Pico32x = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@EL_UIO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"m68k 32x w16 [%06x] %04x @%06x\00", align 1
@SekPc = common local_unnamed_addr global i32 0, align 4
@P32XS_ADEN = common local_unnamed_addr global i32 0, align 4
@P32XS_nRES = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"m68k unmapped w16 [%06x] %04x @%06x\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @PicoWrite16_32x(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = and i32 %0, 65472
%4 = icmp eq i32 %3, 20736
br i1 %4, label %5, label %36
5: ; preds = %2
%6 = load ptr, ptr @Pico32x, align 8, !tbaa !6
%7 = load i32, ptr @EL_UIO, align 4, !tbaa !11
%8 = and i32 %1, 65535
%9 = load i32, ptr @SekPc, align 4, !tbaa !11
%10 = tail call i32 @elprintf(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %8, i32 noundef %9) #2
%11 = and i32 %0, 62
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %29
13: ; preds = %5
%14 = load i32, ptr %6, align 4, !tbaa !11
%15 = xor i32 %14, -1
%16 = load i32, ptr @P32XS_ADEN, align 4, !tbaa !11
%17 = and i32 %16, %15
%18 = and i32 %17, %1
%19 = icmp eq i32 %18, 0
br i1 %19, label %41, label %20
20: ; preds = %13
%21 = tail call i32 @Pico32xStartup() #2
%22 = load i32, ptr @P32XS_nRES, align 4, !tbaa !11
%23 = xor i32 %22, -1
%24 = load i32, ptr %6, align 4, !tbaa !11
%25 = and i32 %24, %23
store i32 %25, ptr %6, align 4, !tbaa !11
%26 = load i32, ptr @P32XS_ADEN, align 4, !tbaa !11
%27 = or i32 %26, %25
store i32 %27, ptr %6, align 4, !tbaa !11
%28 = tail call i32 @p32x_reg_write16(i32 noundef 0, i32 noundef %1) #2
br label %41
29: ; preds = %5
%30 = and i32 %0, 48
%31 = icmp eq i32 %30, 32
br i1 %31, label %32, label %41
32: ; preds = %29
%33 = lshr exact i32 %11, 1
%34 = zext nneg i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %6, i64 %34
store i32 %1, ptr %35, align 4, !tbaa !11
br label %41
36: ; preds = %2
%37 = load i32, ptr @EL_UIO, align 4, !tbaa !11
%38 = and i32 %1, 65535
%39 = load i32, ptr @SekPc, align 4, !tbaa !11
%40 = tail call i32 @elprintf(i32 noundef %37, ptr noundef nonnull @.str.1, i32 noundef %0, i32 noundef %38, i32 noundef %39) #2
br label %41
41: ; preds = %20, %13, %32, %29, %36
ret void
}
declare i32 @elprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Pico32xStartup(...) local_unnamed_addr #1
declare i32 @p32x_reg_write16(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !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}
| Provenance_Cores_PicoDrive_pico_32x_extr_memory.c_PicoWrite16_32x |
; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_substExprList.c'
source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_substExprList.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i32, ptr }
%struct.TYPE_6__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @substExprList], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @substExprList(ptr noundef %0, ptr noundef readonly %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = icmp eq ptr %1, null
br i1 %5, label %24, label %6
6: ; preds = %4
%7 = load i32, ptr %1, align 8, !tbaa !5
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %24
9: ; preds = %6
%10 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !11
br label %12
12: ; preds = %9, %12
%13 = phi ptr [ %11, %9 ], [ %18, %12 ]
%14 = phi i64 [ 0, %9 ], [ %20, %12 ]
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !12
%17 = tail call i32 @substExpr(ptr noundef %0, i32 noundef %16, i32 noundef %2, ptr noundef %3) #2
%18 = load ptr, ptr %10, align 8, !tbaa !11
%19 = getelementptr inbounds %struct.TYPE_6__, ptr %18, i64 %14
store i32 %17, ptr %19, align 4, !tbaa !12
%20 = add nuw nsw i64 %14, 1
%21 = load i32, ptr %1, align 8, !tbaa !5
%22 = sext i32 %21 to i64
%23 = icmp slt i64 %20, %22
br i1 %23, label %12, label %24, !llvm.loop !14
24: ; preds = %12, %6, %4
ret void
}
declare i32 @substExpr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_6__", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_substExprList.c'
source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_substExprList.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @substExprList], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @substExprList(ptr noundef %0, ptr noundef readonly %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = icmp eq ptr %1, null
br i1 %5, label %24, label %6
6: ; preds = %4
%7 = load i32, ptr %1, align 8, !tbaa !6
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %24
9: ; preds = %6
%10 = getelementptr inbounds i8, ptr %1, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !12
br label %12
12: ; preds = %9, %12
%13 = phi ptr [ %11, %9 ], [ %18, %12 ]
%14 = phi i64 [ 0, %9 ], [ %20, %12 ]
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = tail call i32 @substExpr(ptr noundef %0, i32 noundef %16, i32 noundef %2, ptr noundef %3) #2
%18 = load ptr, ptr %10, align 8, !tbaa !12
%19 = getelementptr inbounds %struct.TYPE_6__, ptr %18, i64 %14
store i32 %17, ptr %19, align 4, !tbaa !13
%20 = add nuw nsw i64 %14, 1
%21 = load i32, ptr %1, align 8, !tbaa !6
%22 = sext i32 %21 to i64
%23 = icmp slt i64 %20, %22
br i1 %23, label %12, label %24, !llvm.loop !15
24: ; preds = %12, %6, %4
ret void
}
declare i32 @substExpr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_7__", !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 = !{!7, !11, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_6__", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| Craft_deps_sqlite_extr_sqlite3.c_substExprList |
; ModuleID = 'AnghaBench/redis/src/modules/extr_helloworld.c_HelloLeftPad_RedisCommand.c'
source_filename = "AnghaBench/redis/src/modules/extr_helloworld.c_HelloLeftPad_RedisCommand.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@REDISMODULE_OK = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [27 x i8] c"ERR invalid padding length\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"ERR padding must be a single char\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @HelloLeftPad_RedisCommand(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = tail call i32 @RedisModule_AutoMemory(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%8 = icmp eq i32 %2, 4
br i1 %8, label %11, label %9
9: ; preds = %3
%10 = tail call i32 @RedisModule_WrongArity(ptr noundef %0) #3
br label %66
11: ; preds = %3
%12 = getelementptr inbounds ptr, ptr %1, i64 2
%13 = load ptr, ptr %12, align 8, !tbaa !5
%14 = call i64 @RedisModule_StringToLongLong(ptr noundef %13, ptr noundef nonnull %4) #3
%15 = load i64, ptr @REDISMODULE_OK, align 8, !tbaa !9
%16 = icmp ne i64 %14, %15
%17 = load i64, ptr %4, align 8
%18 = icmp slt i64 %17, 0
%19 = select i1 %16, i1 true, i1 %18
br i1 %19, label %20, label %22
20: ; preds = %11
%21 = call i32 @RedisModule_ReplyWithError(ptr noundef %0, ptr noundef nonnull @.str) #3
br label %66
22: ; preds = %11
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%23 = getelementptr inbounds ptr, ptr %1, i64 1
%24 = load ptr, ptr %23, align 8, !tbaa !5
%25 = call ptr @RedisModule_StringPtrLen(ptr noundef %24, ptr noundef nonnull %5) #3
%26 = getelementptr inbounds ptr, ptr %1, i64 3
%27 = load ptr, ptr %26, align 8, !tbaa !5
%28 = call ptr @RedisModule_StringPtrLen(ptr noundef %27, ptr noundef nonnull %6) #3
%29 = load i64, ptr %5, align 8, !tbaa !9
%30 = load i64, ptr %4, align 8, !tbaa !11
%31 = icmp ult i64 %29, %30
br i1 %31, label %35, label %32
32: ; preds = %22
%33 = load ptr, ptr %23, align 8, !tbaa !5
%34 = call i32 @RedisModule_ReplyWithString(ptr noundef %0, ptr noundef %33) #3
br label %64
35: ; preds = %22
%36 = load i64, ptr %6, align 8, !tbaa !9
%37 = icmp eq i64 %36, 1
br i1 %37, label %40, label %38
38: ; preds = %35
%39 = call i32 @RedisModule_ReplyWithError(ptr noundef %0, ptr noundef nonnull @.str.1) #3
br label %64
40: ; preds = %35
%41 = sub i64 %30, %29
store i64 %41, ptr %4, align 8, !tbaa !11
%42 = call ptr @RedisModule_PoolAlloc(ptr noundef %0, i64 noundef %30) #3
%43 = load i64, ptr %4, align 8, !tbaa !11
%44 = icmp sgt i64 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %40
%46 = load i8, ptr %28, align 1, !tbaa !13
br label %58
47: ; preds = %58, %40
%48 = phi i64 [ %43, %40 ], [ %62, %58 ]
%49 = getelementptr inbounds i8, ptr %42, i64 %48
%50 = load i64, ptr %5, align 8, !tbaa !9
%51 = call i32 @memcpy(ptr noundef %49, ptr noundef %25, i64 noundef %50) #3
%52 = load i64, ptr %4, align 8, !tbaa !11
%53 = load i64, ptr %5, align 8, !tbaa !9
%54 = add i64 %53, %52
%55 = call i32 @RedisModule_ReplyWithStringBuffer(ptr noundef %0, ptr noundef %42, i64 noundef %54) #3
%56 = load i64, ptr @REDISMODULE_OK, align 8, !tbaa !9
%57 = trunc i64 %56 to i32
br label %64
58: ; preds = %45, %58
%59 = phi i64 [ %61, %58 ], [ 0, %45 ]
%60 = getelementptr inbounds i8, ptr %42, i64 %59
store i8 %46, ptr %60, align 1, !tbaa !13
%61 = add nuw nsw i64 %59, 1
%62 = load i64, ptr %4, align 8, !tbaa !11
%63 = icmp slt i64 %61, %62
br i1 %63, label %58, label %47, !llvm.loop !14
64: ; preds = %47, %38, %32
%65 = phi i32 [ %34, %32 ], [ %39, %38 ], [ %57, %47 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %66
66: ; preds = %64, %20, %9
%67 = phi i32 [ %10, %9 ], [ %21, %20 ], [ %65, %64 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %67
}
declare i32 @RedisModule_AutoMemory(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @RedisModule_WrongArity(ptr noundef) local_unnamed_addr #1
declare i64 @RedisModule_StringToLongLong(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @RedisModule_ReplyWithError(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @RedisModule_StringPtrLen(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @RedisModule_ReplyWithString(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @RedisModule_PoolAlloc(ptr noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @RedisModule_ReplyWithStringBuffer(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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/redis/src/modules/extr_helloworld.c_HelloLeftPad_RedisCommand.c'
source_filename = "AnghaBench/redis/src/modules/extr_helloworld.c_HelloLeftPad_RedisCommand.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REDISMODULE_OK = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [27 x i8] c"ERR invalid padding length\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"ERR padding must be a single char\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @HelloLeftPad_RedisCommand(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = tail call i32 @RedisModule_AutoMemory(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%8 = icmp eq i32 %2, 4
br i1 %8, label %11, label %9
9: ; preds = %3
%10 = tail call i32 @RedisModule_WrongArity(ptr noundef %0) #3
br label %66
11: ; preds = %3
%12 = getelementptr inbounds i8, ptr %1, i64 16
%13 = load ptr, ptr %12, align 8, !tbaa !6
%14 = call i64 @RedisModule_StringToLongLong(ptr noundef %13, ptr noundef nonnull %4) #3
%15 = load i64, ptr @REDISMODULE_OK, align 8, !tbaa !10
%16 = icmp ne i64 %14, %15
%17 = load i64, ptr %4, align 8
%18 = icmp slt i64 %17, 0
%19 = select i1 %16, i1 true, i1 %18
br i1 %19, label %20, label %22
20: ; preds = %11
%21 = call i32 @RedisModule_ReplyWithError(ptr noundef %0, ptr noundef nonnull @.str) #3
br label %66
22: ; preds = %11
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%23 = getelementptr inbounds i8, ptr %1, i64 8
%24 = load ptr, ptr %23, align 8, !tbaa !6
%25 = call ptr @RedisModule_StringPtrLen(ptr noundef %24, ptr noundef nonnull %5) #3
%26 = getelementptr inbounds i8, ptr %1, i64 24
%27 = load ptr, ptr %26, align 8, !tbaa !6
%28 = call ptr @RedisModule_StringPtrLen(ptr noundef %27, ptr noundef nonnull %6) #3
%29 = load i64, ptr %5, align 8, !tbaa !10
%30 = load i64, ptr %4, align 8, !tbaa !12
%31 = icmp ult i64 %29, %30
br i1 %31, label %35, label %32
32: ; preds = %22
%33 = load ptr, ptr %23, align 8, !tbaa !6
%34 = call i32 @RedisModule_ReplyWithString(ptr noundef %0, ptr noundef %33) #3
br label %64
35: ; preds = %22
%36 = load i64, ptr %6, align 8, !tbaa !10
%37 = icmp eq i64 %36, 1
br i1 %37, label %40, label %38
38: ; preds = %35
%39 = call i32 @RedisModule_ReplyWithError(ptr noundef %0, ptr noundef nonnull @.str.1) #3
br label %64
40: ; preds = %35
%41 = sub i64 %30, %29
store i64 %41, ptr %4, align 8, !tbaa !12
%42 = call ptr @RedisModule_PoolAlloc(ptr noundef %0, i64 noundef %30) #3
%43 = load i64, ptr %4, align 8, !tbaa !12
%44 = icmp sgt i64 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %40
%46 = load i8, ptr %28, align 1, !tbaa !14
br label %58
47: ; preds = %58, %40
%48 = phi i64 [ %43, %40 ], [ %62, %58 ]
%49 = getelementptr inbounds i8, ptr %42, i64 %48
%50 = load i64, ptr %5, align 8, !tbaa !10
%51 = call i32 @memcpy(ptr noundef %49, ptr noundef %25, i64 noundef %50) #3
%52 = load i64, ptr %4, align 8, !tbaa !12
%53 = load i64, ptr %5, align 8, !tbaa !10
%54 = add i64 %53, %52
%55 = call i32 @RedisModule_ReplyWithStringBuffer(ptr noundef %0, ptr noundef %42, i64 noundef %54) #3
%56 = load i64, ptr @REDISMODULE_OK, align 8, !tbaa !10
%57 = trunc i64 %56 to i32
br label %64
58: ; preds = %45, %58
%59 = phi i64 [ %61, %58 ], [ 0, %45 ]
%60 = getelementptr inbounds i8, ptr %42, i64 %59
store i8 %46, ptr %60, align 1, !tbaa !14
%61 = add nuw nsw i64 %59, 1
%62 = load i64, ptr %4, align 8, !tbaa !12
%63 = icmp slt i64 %61, %62
br i1 %63, label %58, label %47, !llvm.loop !15
64: ; preds = %47, %38, %32
%65 = phi i32 [ %34, %32 ], [ %39, %38 ], [ %57, %47 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %66
66: ; preds = %64, %20, %9
%67 = phi i32 [ %10, %9 ], [ %21, %20 ], [ %65, %64 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %67
}
declare i32 @RedisModule_AutoMemory(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @RedisModule_WrongArity(ptr noundef) local_unnamed_addr #1
declare i64 @RedisModule_StringToLongLong(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @RedisModule_ReplyWithError(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @RedisModule_StringPtrLen(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @RedisModule_ReplyWithString(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @RedisModule_PoolAlloc(ptr noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @RedisModule_ReplyWithStringBuffer(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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long long", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| redis_src_modules_extr_helloworld.c_HelloLeftPad_RedisCommand |
; ModuleID = 'AnghaBench/freebsd/usr.bin/mt/extr_mt.c_mt_param.c'
source_filename = "AnghaBench/freebsd/usr.bin/mt/extr_mt.c_mt_param.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"lp:qs:x\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Only one parameter name may be specified\00", align 1
@optarg = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [42 x i8] c"Only one parameter value may be specified\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"You must specify only one of -s, -l or -x\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"You must specify -p with -s\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mt_param], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mt_param(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
br label %6
6: ; preds = %43, %5
%7 = phi i1 [ false, %43 ], [ true, %5 ]
%8 = phi i32 [ 1, %43 ], [ 0, %5 ]
%9 = phi i32 [ %15, %43 ], [ 0, %5 ]
%10 = phi ptr [ %20, %43 ], [ null, %5 ]
%11 = phi ptr [ %45, %43 ], [ null, %5 ]
%12 = phi i32 [ %24, %43 ], [ 0, %5 ]
%13 = phi i32 [ %27, %43 ], [ 0, %5 ]
br label %14
14: ; preds = %6, %46
%15 = phi i32 [ %9, %6 ], [ 1, %46 ]
%16 = phi ptr [ %10, %6 ], [ %20, %46 ]
%17 = phi i32 [ %12, %6 ], [ %24, %46 ]
%18 = phi i32 [ %13, %6 ], [ %27, %46 ]
br label %19
19: ; preds = %14, %35
%20 = phi ptr [ %16, %14 ], [ %37, %35 ]
%21 = phi i32 [ %17, %14 ], [ %24, %35 ]
%22 = phi i32 [ %18, %14 ], [ %27, %35 ]
br label %23
23: ; preds = %19, %38
%24 = phi i32 [ %21, %19 ], [ 1, %38 ]
%25 = phi i32 [ %22, %19 ], [ %27, %38 ]
br label %26
26: ; preds = %23, %30
%27 = phi i32 [ %25, %23 ], [ 1, %30 ]
br label %28
28: ; preds = %26, %28
%29 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #2
switch i32 %29, label %28 [
i32 -1, label %47
i32 108, label %30
i32 112, label %31
i32 113, label %38
i32 115, label %39
i32 120, label %46
], !llvm.loop !5
30: ; preds = %28
br label %26, !llvm.loop !5
31: ; preds = %28
%32 = icmp eq ptr %20, null
br i1 %32, label %35, label %33
33: ; preds = %31
%34 = tail call i32 @warnx(ptr noundef nonnull @.str.1) #2
br label %66
35: ; preds = %31
%36 = load i32, ptr @optarg, align 4, !tbaa !7
%37 = tail call ptr @strdup(i32 noundef %36) #2
br label %19, !llvm.loop !5
38: ; preds = %28
br label %23, !llvm.loop !5
39: ; preds = %28
%40 = icmp eq ptr %11, null
br i1 %40, label %43, label %41
41: ; preds = %39
%42 = tail call i32 @warnx(ptr noundef nonnull @.str.2) #2
br label %66
43: ; preds = %39
%44 = load i32, ptr @optarg, align 4, !tbaa !7
%45 = tail call ptr @strdup(i32 noundef %44) #2
br label %6, !llvm.loop !5
46: ; preds = %28
br label %14, !llvm.loop !5
47: ; preds = %28
%48 = add nuw nsw i32 %15, %8
%49 = add nuw nsw i32 %48, %27
%50 = icmp eq i32 %49, 1
br i1 %50, label %53, label %51
51: ; preds = %47
%52 = tail call i32 @warnx(ptr noundef nonnull @.str.3) #2
br label %66
53: ; preds = %47
%54 = icmp eq i32 %15, 0
br i1 %54, label %57, label %55
55: ; preds = %53
%56 = tail call i32 @printf(ptr noundef nonnull @.str.4, ptr noundef %3) #2
br label %66
57: ; preds = %53
br i1 %7, label %64, label %58
58: ; preds = %57
%59 = icmp eq ptr %20, null
br i1 %59, label %60, label %62
60: ; preds = %58
%61 = tail call i32 @errx(i32 noundef 1, ptr noundef nonnull @.str.5) #2
br label %62
62: ; preds = %60, %58
%63 = tail call i32 @mt_set_param(i32 noundef %2, ptr noundef %4, ptr noundef %20, ptr noundef %11) #2
br label %66
64: ; preds = %57
%65 = tail call i32 @mt_param_list(ptr noundef %4, ptr noundef %20, i32 noundef %24) #2
br label %66
66: ; preds = %62, %64, %55, %51, %41, %33
%67 = phi i32 [ 1, %41 ], [ 1, %33 ], [ 1, %51 ], [ 0, %55 ], [ %63, %62 ], [ %65, %64 ]
%68 = tail call i32 @free(ptr noundef %20) #2
%69 = tail call i32 @free(ptr noundef %11) #2
ret i32 %67
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @warnx(ptr noundef) local_unnamed_addr #1
declare ptr @strdup(i32 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @errx(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mt_set_param(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mt_param_list(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/usr.bin/mt/extr_mt.c_mt_param.c'
source_filename = "AnghaBench/freebsd/usr.bin/mt/extr_mt.c_mt_param.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [8 x i8] c"lp:qs:x\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Only one parameter name may be specified\00", align 1
@optarg = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [42 x i8] c"Only one parameter value may be specified\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"You must specify only one of -s, -l or -x\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"You must specify -p with -s\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mt_param], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mt_param(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
br label %6
6: ; preds = %43, %5
%7 = phi i1 [ false, %43 ], [ true, %5 ]
%8 = phi i32 [ 1, %43 ], [ 0, %5 ]
%9 = phi i32 [ %15, %43 ], [ 0, %5 ]
%10 = phi ptr [ %20, %43 ], [ null, %5 ]
%11 = phi ptr [ %45, %43 ], [ null, %5 ]
%12 = phi i32 [ %24, %43 ], [ 0, %5 ]
%13 = phi i32 [ %27, %43 ], [ 0, %5 ]
br label %14
14: ; preds = %6, %46
%15 = phi i32 [ %9, %6 ], [ 1, %46 ]
%16 = phi ptr [ %10, %6 ], [ %20, %46 ]
%17 = phi i32 [ %12, %6 ], [ %24, %46 ]
%18 = phi i32 [ %13, %6 ], [ %27, %46 ]
br label %19
19: ; preds = %14, %35
%20 = phi ptr [ %16, %14 ], [ %37, %35 ]
%21 = phi i32 [ %17, %14 ], [ %24, %35 ]
%22 = phi i32 [ %18, %14 ], [ %27, %35 ]
br label %23
23: ; preds = %19, %38
%24 = phi i32 [ %21, %19 ], [ 1, %38 ]
%25 = phi i32 [ %22, %19 ], [ %27, %38 ]
br label %26
26: ; preds = %23, %30
%27 = phi i32 [ %25, %23 ], [ 1, %30 ]
br label %28
28: ; preds = %26, %28
%29 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #2
switch i32 %29, label %28 [
i32 -1, label %47
i32 108, label %30
i32 112, label %31
i32 113, label %38
i32 115, label %39
i32 120, label %46
], !llvm.loop !6
30: ; preds = %28
br label %26, !llvm.loop !6
31: ; preds = %28
%32 = icmp eq ptr %20, null
br i1 %32, label %35, label %33
33: ; preds = %31
%34 = tail call i32 @warnx(ptr noundef nonnull @.str.1) #2
br label %66
35: ; preds = %31
%36 = load i32, ptr @optarg, align 4, !tbaa !8
%37 = tail call ptr @strdup(i32 noundef %36) #2
br label %19, !llvm.loop !6
38: ; preds = %28
br label %23, !llvm.loop !6
39: ; preds = %28
%40 = icmp eq ptr %11, null
br i1 %40, label %43, label %41
41: ; preds = %39
%42 = tail call i32 @warnx(ptr noundef nonnull @.str.2) #2
br label %66
43: ; preds = %39
%44 = load i32, ptr @optarg, align 4, !tbaa !8
%45 = tail call ptr @strdup(i32 noundef %44) #2
br label %6, !llvm.loop !6
46: ; preds = %28
br label %14, !llvm.loop !6
47: ; preds = %28
%48 = add nuw nsw i32 %15, %8
%49 = add nuw nsw i32 %48, %27
%50 = icmp eq i32 %49, 1
br i1 %50, label %53, label %51
51: ; preds = %47
%52 = tail call i32 @warnx(ptr noundef nonnull @.str.3) #2
br label %66
53: ; preds = %47
%54 = icmp eq i32 %15, 0
br i1 %54, label %57, label %55
55: ; preds = %53
%56 = tail call i32 @printf(ptr noundef nonnull @.str.4, ptr noundef %3) #2
br label %66
57: ; preds = %53
br i1 %7, label %64, label %58
58: ; preds = %57
%59 = icmp eq ptr %20, null
br i1 %59, label %60, label %62
60: ; preds = %58
%61 = tail call i32 @errx(i32 noundef 1, ptr noundef nonnull @.str.5) #2
br label %62
62: ; preds = %60, %58
%63 = tail call i32 @mt_set_param(i32 noundef %2, ptr noundef %4, ptr noundef %20, ptr noundef %11) #2
br label %66
64: ; preds = %57
%65 = tail call i32 @mt_param_list(ptr noundef %4, ptr noundef %20, i32 noundef %24) #2
br label %66
66: ; preds = %62, %64, %55, %51, %41, %33
%67 = phi i32 [ 1, %41 ], [ 1, %33 ], [ 1, %51 ], [ 0, %55 ], [ %63, %62 ], [ %65, %64 ]
%68 = tail call i32 @free(ptr noundef %20) #2
%69 = tail call i32 @free(ptr noundef %11) #2
ret i32 %67
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @warnx(ptr noundef) local_unnamed_addr #1
declare ptr @strdup(i32 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @errx(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mt_set_param(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mt_param_list(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| freebsd_usr.bin_mt_extr_mt.c_mt_param |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_xcoffread.c_xcoff_new_init.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_xcoffread.c_xcoff_new_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @xcoff_new_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xcoff_new_init(ptr nocapture readnone %0) #0 {
%2 = tail call i32 (...) @stabsread_new_init() #2
%3 = tail call i32 (...) @buildsym_new_init() #2
ret void
}
declare i32 @stabsread_new_init(...) local_unnamed_addr #1
declare i32 @buildsym_new_init(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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_xcoffread.c_xcoff_new_init.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_xcoffread.c_xcoff_new_init.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 @xcoff_new_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xcoff_new_init(ptr nocapture readnone %0) #0 {
%2 = tail call i32 @stabsread_new_init() #2
%3 = tail call i32 @buildsym_new_init() #2
ret void
}
declare i32 @stabsread_new_init(...) local_unnamed_addr #1
declare i32 @buildsym_new_init(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{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_xcoffread.c_xcoff_new_init |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_startserver.c_ServerOptions_StatusBar.c'
source_filename = "AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_startserver.c_ServerOptions_StatusBar.c"
target datalayout = "e-m:e-p270:32:32-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 [13 x i8] c"0 = NO LIMIT\00", align 1
@UI_CENTER = dso_local local_unnamed_addr global i32 0, align 4
@UI_SMALLFONT = dso_local local_unnamed_addr global i32 0, align 4
@colorWhite = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ServerOptions_StatusBar], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ServerOptions_StatusBar(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @UI_CENTER, align 4, !tbaa !5
%3 = load i32, ptr @UI_SMALLFONT, align 4, !tbaa !5
%4 = or i32 %3, %2
%5 = load i32, ptr @colorWhite, align 4, !tbaa !5
%6 = tail call i32 @UI_DrawString(i32 noundef 320, i32 noundef 440, ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %5) #2
ret void
}
declare i32 @UI_DrawString(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_startserver.c_ServerOptions_StatusBar.c'
source_filename = "AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_startserver.c_ServerOptions_StatusBar.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"0 = NO LIMIT\00", align 1
@UI_CENTER = common local_unnamed_addr global i32 0, align 4
@UI_SMALLFONT = common local_unnamed_addr global i32 0, align 4
@colorWhite = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ServerOptions_StatusBar], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ServerOptions_StatusBar(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @UI_CENTER, align 4, !tbaa !6
%3 = load i32, ptr @UI_SMALLFONT, align 4, !tbaa !6
%4 = or i32 %3, %2
%5 = load i32, ptr @colorWhite, align 4, !tbaa !6
%6 = tail call i32 @UI_DrawString(i32 noundef 320, i32 noundef 440, ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %5) #2
ret void
}
declare i32 @UI_DrawString(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Quake-III-Arena_code_q3_ui_extr_ui_startserver.c_ServerOptions_StatusBar |
; ModuleID = 'AnghaBench/linux/drivers/staging/exfat/extr_exfat_core.c_update_dir_checksum.c'
source_filename = "AnghaBench/linux/drivers/staging/exfat/extr_exfat_core.c_update_dir_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"
%struct.file_dentry_t = type { i32, i64 }
@DENTRY_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@CS_DIR_ENTRY = dso_local local_unnamed_addr global i32 0, align 4
@CS_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @update_dir_checksum(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call ptr @get_entry_in_dir(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef nonnull %4) #3
%6 = icmp eq ptr %5, null
br i1 %6, label %38, label %7
7: ; preds = %3
%8 = load i32, ptr %4, align 4, !tbaa !5
%9 = call i32 @buf_lock(ptr noundef %0, i32 noundef %8) #3
%10 = getelementptr inbounds %struct.file_dentry_t, ptr %5, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !9
%12 = trunc i64 %11 to i32
%13 = load i32, ptr @DENTRY_SIZE, align 4, !tbaa !5
%14 = load i32, ptr @CS_DIR_ENTRY, align 4, !tbaa !5
%15 = call i64 @calc_checksum_2byte(ptr noundef nonnull %5, i32 noundef %13, i64 noundef 0, i32 noundef %14) #3
%16 = icmp slt i32 %12, 1
br i1 %16, label %29, label %17
17: ; preds = %7, %23
%18 = phi i32 [ %27, %23 ], [ 1, %7 ]
%19 = phi i64 [ %26, %23 ], [ %15, %7 ]
%20 = add nsw i32 %18, %2
%21 = call ptr @get_entry_in_dir(ptr noundef %0, ptr noundef %1, i32 noundef %20, ptr noundef null) #3
%22 = icmp eq ptr %21, null
br i1 %22, label %35, label %23
23: ; preds = %17
%24 = load i32, ptr @DENTRY_SIZE, align 4, !tbaa !5
%25 = load i32, ptr @CS_DEFAULT, align 4, !tbaa !5
%26 = call i64 @calc_checksum_2byte(ptr noundef nonnull %21, i32 noundef %24, i64 noundef %19, i32 noundef %25) #3
%27 = add nuw i32 %18, 1
%28 = icmp eq i32 %18, %12
br i1 %28, label %29, label %17, !llvm.loop !12
29: ; preds = %23, %7
%30 = phi i64 [ %15, %7 ], [ %26, %23 ]
%31 = load i32, ptr %5, align 8, !tbaa !14
%32 = call i32 @SET16_A(i32 noundef %31, i64 noundef %30) #3
%33 = load i32, ptr %4, align 4, !tbaa !5
%34 = call i32 @buf_modify(ptr noundef %0, i32 noundef %33) #3
br label %35
35: ; preds = %17, %29
%36 = load i32, ptr %4, align 4, !tbaa !5
%37 = call i32 @buf_unlock(ptr noundef %0, i32 noundef %36) #3
br label %38
38: ; preds = %35, %3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @get_entry_in_dir(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @buf_lock(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @calc_checksum_2byte(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @buf_unlock(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @SET16_A(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @buf_modify(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"file_dentry_t", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/exfat/extr_exfat_core.c_update_dir_checksum.c'
source_filename = "AnghaBench/linux/drivers/staging/exfat/extr_exfat_core.c_update_dir_checksum.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DENTRY_SIZE = common local_unnamed_addr global i32 0, align 4
@CS_DIR_ENTRY = common local_unnamed_addr global i32 0, align 4
@CS_DEFAULT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @update_dir_checksum(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call ptr @get_entry_in_dir(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef nonnull %4) #3
%6 = icmp eq ptr %5, null
br i1 %6, label %38, label %7
7: ; preds = %3
%8 = load i32, ptr %4, align 4, !tbaa !6
%9 = call i32 @buf_lock(ptr noundef %0, i32 noundef %8) #3
%10 = getelementptr inbounds i8, ptr %5, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !10
%12 = trunc i64 %11 to i32
%13 = load i32, ptr @DENTRY_SIZE, align 4, !tbaa !6
%14 = load i32, ptr @CS_DIR_ENTRY, align 4, !tbaa !6
%15 = call i64 @calc_checksum_2byte(ptr noundef nonnull %5, i32 noundef %13, i64 noundef 0, i32 noundef %14) #3
%16 = icmp slt i32 %12, 1
br i1 %16, label %29, label %17
17: ; preds = %7, %23
%18 = phi i32 [ %27, %23 ], [ 1, %7 ]
%19 = phi i64 [ %26, %23 ], [ %15, %7 ]
%20 = add nsw i32 %18, %2
%21 = call ptr @get_entry_in_dir(ptr noundef %0, ptr noundef %1, i32 noundef %20, ptr noundef null) #3
%22 = icmp eq ptr %21, null
br i1 %22, label %35, label %23
23: ; preds = %17
%24 = load i32, ptr @DENTRY_SIZE, align 4, !tbaa !6
%25 = load i32, ptr @CS_DEFAULT, align 4, !tbaa !6
%26 = call i64 @calc_checksum_2byte(ptr noundef nonnull %21, i32 noundef %24, i64 noundef %19, i32 noundef %25) #3
%27 = add nuw i32 %18, 1
%28 = icmp eq i32 %18, %12
br i1 %28, label %29, label %17, !llvm.loop !13
29: ; preds = %23, %7
%30 = phi i64 [ %15, %7 ], [ %26, %23 ]
%31 = load i32, ptr %5, align 8, !tbaa !15
%32 = call i32 @SET16_A(i32 noundef %31, i64 noundef %30) #3
%33 = load i32, ptr %4, align 4, !tbaa !6
%34 = call i32 @buf_modify(ptr noundef %0, i32 noundef %33) #3
br label %35
35: ; preds = %17, %29
%36 = load i32, ptr %4, align 4, !tbaa !6
%37 = call i32 @buf_unlock(ptr noundef %0, i32 noundef %36) #3
br label %38
38: ; preds = %35, %3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @get_entry_in_dir(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @buf_lock(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @calc_checksum_2byte(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @buf_unlock(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @SET16_A(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @buf_modify(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"file_dentry_t", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!11, !7, i64 0}
| linux_drivers_staging_exfat_extr_exfat_core.c_update_dir_checksum |
; ModuleID = 'AnghaBench/linux/drivers/usb/storage/extr_....scsisd.h_sectors_to_logical.c'
source_filename = "AnghaBench/linux/drivers/usb/storage/extr_....scsisd.h_sectors_to_logical.c"
target datalayout = "e-m:e-p270:32:32-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 @sectors_to_logical], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @sectors_to_logical(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @ilog2(i32 noundef %3) #2
%5 = add nsw i32 %4, -9
%6 = ashr i32 %1, %5
ret i32 %6
}
declare i32 @ilog2(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"scsi_device", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/storage/extr_....scsisd.h_sectors_to_logical.c'
source_filename = "AnghaBench/linux/drivers/usb/storage/extr_....scsisd.h_sectors_to_logical.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 @sectors_to_logical], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @sectors_to_logical(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @ilog2(i32 noundef %3) #2
%5 = add nsw i32 %4, -9
%6 = ashr i32 %1, %5
ret i32 %6
}
declare i32 @ilog2(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"scsi_device", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_usb_storage_extr_....scsisd.h_sectors_to_logical |
; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TIM_SetIC4Prescaler.c'
source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TIM_SetIC4Prescaler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TIM_CCMR2_IC4PSC = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @TIM_SetIC4Prescaler(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @IS_TIM_LIST3_PERIPH(ptr noundef %0) #2
%4 = tail call i32 @assert_param(i32 noundef %3) #2
%5 = tail call i32 @IS_TIM_IC_PRESCALER(i32 noundef %1) #2
%6 = tail call i32 @assert_param(i32 noundef %5) #2
%7 = load i64, ptr @TIM_CCMR2_IC4PSC, align 8, !tbaa !5
%8 = trunc i64 %7 to i32
%9 = xor i32 %8, -1
%10 = load i32, ptr %0, align 4, !tbaa !9
%11 = and i32 %10, %9
%12 = shl i32 %1, 8
%13 = or i32 %11, %12
store i32 %13, ptr %0, align 4, !tbaa !9
ret void
}
declare i32 @assert_param(i32 noundef) local_unnamed_addr #1
declare i32 @IS_TIM_LIST3_PERIPH(ptr noundef) local_unnamed_addr #1
declare i32 @IS_TIM_IC_PRESCALER(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, !11, i64 0}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TIM_SetIC4Prescaler.c'
source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TIM_SetIC4Prescaler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TIM_CCMR2_IC4PSC = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @TIM_SetIC4Prescaler(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @IS_TIM_LIST3_PERIPH(ptr noundef %0) #2
%4 = tail call i32 @assert_param(i32 noundef %3) #2
%5 = tail call i32 @IS_TIM_IC_PRESCALER(i32 noundef %1) #2
%6 = tail call i32 @assert_param(i32 noundef %5) #2
%7 = load i64, ptr @TIM_CCMR2_IC4PSC, align 8, !tbaa !6
%8 = trunc i64 %7 to i32
%9 = xor i32 %8, -1
%10 = load i32, ptr %0, align 4, !tbaa !10
%11 = and i32 %10, %9
%12 = shl i32 %1, 8
%13 = or i32 %11, %12
store i32 %13, ptr %0, align 4, !tbaa !10
ret void
}
declare i32 @assert_param(i32 noundef) local_unnamed_addr #1
declare i32 @IS_TIM_LIST3_PERIPH(ptr noundef) local_unnamed_addr #1
declare i32 @IS_TIM_IC_PRESCALER(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, !12, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| anypixel_firmware_display_ThirdParty_SPL_src_extr_stm32f0xx_tim.c_TIM_SetIC4Prescaler |
; ModuleID = 'AnghaBench/kphp-kdb/search/extr_search-y-data.c_ihe_init.c'
source_filename = "AnghaBench/kphp-kdb/search/extr_search-y-data.c_ihe_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_12__ = type { ptr, i32, ptr, i32, %struct.TYPE_13__, ptr, i32 }
%struct.TYPE_13__ = type { i64 }
@Root = dso_local local_unnamed_addr global ptr null, align 8
@IndexItems = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ihe_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ihe_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 6
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 56) #2
store i32 %3, ptr %2, align 8, !tbaa !5
%5 = load ptr, ptr @Root, align 8, !tbaa !13
%6 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !14
store ptr %5, ptr %7, align 8, !tbaa !13
%8 = load ptr, ptr %0, align 8, !tbaa !15
store i32 -1, ptr %8, align 4, !tbaa !16
%9 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 4
%10 = tail call i64 @init_ilist_decoder(ptr noundef nonnull %0, ptr noundef nonnull %9, i32 noundef %3) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %21, label %12
12: ; preds = %1
%13 = tail call i64 @adv_ilist(ptr noundef nonnull %9) #2
%14 = icmp sgt i64 %13, -1
br i1 %14, label %15, label %21
15: ; preds = %12
%16 = load i64, ptr @IndexItems, align 8, !tbaa !17
%17 = load i64, ptr %9, align 8, !tbaa !18
%18 = add nsw i64 %17, %16
%19 = inttoptr i64 %18 to ptr
%20 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 5
store ptr %19, ptr %20, align 8, !tbaa !19
br label %21
21: ; preds = %12, %15, %1
%22 = load ptr, ptr @Root, align 8, !tbaa !13
%23 = icmp eq ptr %22, null
br i1 %23, label %45, label %24
24: ; preds = %21
%25 = tail call i32 @ihe_dive(ptr noundef nonnull %0) #2
%26 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1
%27 = load i32, ptr %26, align 8, !tbaa !20
%28 = icmp slt i32 %25, 0
br i1 %28, label %29, label %41
29: ; preds = %24
%30 = load ptr, ptr %0, align 8, !tbaa !15
%31 = sext i32 %27 to i64
%32 = getelementptr inbounds i32, ptr %30, i64 %31
%33 = load i32, ptr %32, align 4, !tbaa !16
%34 = icmp sgt i32 %33, -1
br i1 %34, label %35, label %45
35: ; preds = %29
%36 = load ptr, ptr %6, align 8, !tbaa !14
%37 = zext nneg i32 %33 to i64
%38 = getelementptr inbounds ptr, ptr %36, i64 %37
%39 = load ptr, ptr %38, align 8, !tbaa !13
%40 = tail call i32 @ihe_sgn(ptr noundef %39, ptr noundef nonnull %0) #2
br label %41
41: ; preds = %24, %35
%42 = phi i32 [ %40, %35 ], [ %25, %24 ]
%43 = phi i32 [ %33, %35 ], [ %27, %24 ]
%44 = icmp eq i32 %42, 0
br i1 %44, label %47, label %45
45: ; preds = %21, %29, %41
%46 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1
store i32 -1, ptr %46, align 8, !tbaa !20
br label %53
47: ; preds = %41
store i32 %43, ptr %26, align 8, !tbaa !20
%48 = load ptr, ptr %6, align 8, !tbaa !14
%49 = sext i32 %43 to i64
%50 = getelementptr inbounds ptr, ptr %48, i64 %49
%51 = load ptr, ptr %50, align 8, !tbaa !13
%52 = load i32, ptr %51, align 4, !tbaa !21
br label %53
53: ; preds = %47, %45
%54 = phi i32 [ %52, %47 ], [ 0, %45 ]
%55 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 3
store i32 %54, ptr %55, align 8, !tbaa !23
%56 = tail call i32 @ihe_load(ptr noundef nonnull %0) #2
ret i32 %56
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @init_ilist_decoder(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @adv_ilist(ptr noundef) local_unnamed_addr #1
declare i32 @ihe_dive(ptr noundef) local_unnamed_addr #1
declare i32 @ihe_sgn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ihe_load(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 48}
!6 = !{!"TYPE_12__", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !11, i64 32, !7, i64 40, !10, i64 48}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"TYPE_13__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !7, i64 0}
!16 = !{!10, !10, i64 0}
!17 = !{!12, !12, i64 0}
!18 = !{!6, !12, i64 32}
!19 = !{!6, !7, i64 40}
!20 = !{!6, !10, i64 8}
!21 = !{!22, !10, i64 0}
!22 = !{!"TYPE_14__", !10, i64 0}
!23 = !{!6, !10, i64 24}
| ; ModuleID = 'AnghaBench/kphp-kdb/search/extr_search-y-data.c_ihe_init.c'
source_filename = "AnghaBench/kphp-kdb/search/extr_search-y-data.c_ihe_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@Root = common local_unnamed_addr global ptr null, align 8
@IndexItems = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ihe_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ihe_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 48
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 56) #2
store i32 %3, ptr %2, align 8, !tbaa !6
%5 = load ptr, ptr @Root, align 8, !tbaa !14
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !15
store ptr %5, ptr %7, align 8, !tbaa !14
%8 = load ptr, ptr %0, align 8, !tbaa !16
store i32 -1, ptr %8, align 4, !tbaa !17
%9 = getelementptr inbounds i8, ptr %0, i64 32
%10 = tail call i64 @init_ilist_decoder(ptr noundef nonnull %0, ptr noundef nonnull %9, i32 noundef %3) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %21, label %12
12: ; preds = %1
%13 = tail call i64 @adv_ilist(ptr noundef nonnull %9) #2
%14 = icmp sgt i64 %13, -1
br i1 %14, label %15, label %21
15: ; preds = %12
%16 = load i64, ptr @IndexItems, align 8, !tbaa !18
%17 = load i64, ptr %9, align 8, !tbaa !19
%18 = add nsw i64 %17, %16
%19 = inttoptr i64 %18 to ptr
%20 = getelementptr inbounds i8, ptr %0, i64 40
store ptr %19, ptr %20, align 8, !tbaa !20
br label %21
21: ; preds = %12, %15, %1
%22 = load ptr, ptr @Root, align 8, !tbaa !14
%23 = icmp eq ptr %22, null
br i1 %23, label %45, label %24
24: ; preds = %21
%25 = tail call i32 @ihe_dive(ptr noundef nonnull %0) #2
%26 = getelementptr inbounds i8, ptr %0, i64 8
%27 = load i32, ptr %26, align 8, !tbaa !21
%28 = icmp slt i32 %25, 0
br i1 %28, label %29, label %41
29: ; preds = %24
%30 = load ptr, ptr %0, align 8, !tbaa !16
%31 = sext i32 %27 to i64
%32 = getelementptr inbounds i32, ptr %30, i64 %31
%33 = load i32, ptr %32, align 4, !tbaa !17
%34 = icmp sgt i32 %33, -1
br i1 %34, label %35, label %45
35: ; preds = %29
%36 = load ptr, ptr %6, align 8, !tbaa !15
%37 = zext nneg i32 %33 to i64
%38 = getelementptr inbounds ptr, ptr %36, i64 %37
%39 = load ptr, ptr %38, align 8, !tbaa !14
%40 = tail call i32 @ihe_sgn(ptr noundef %39, ptr noundef nonnull %0) #2
br label %41
41: ; preds = %24, %35
%42 = phi i32 [ %40, %35 ], [ %25, %24 ]
%43 = phi i32 [ %33, %35 ], [ %27, %24 ]
%44 = icmp eq i32 %42, 0
br i1 %44, label %47, label %45
45: ; preds = %21, %29, %41
%46 = getelementptr inbounds i8, ptr %0, i64 8
store i32 -1, ptr %46, align 8, !tbaa !21
br label %53
47: ; preds = %41
store i32 %43, ptr %26, align 8, !tbaa !21
%48 = load ptr, ptr %6, align 8, !tbaa !15
%49 = sext i32 %43 to i64
%50 = getelementptr inbounds ptr, ptr %48, i64 %49
%51 = load ptr, ptr %50, align 8, !tbaa !14
%52 = load i32, ptr %51, align 4, !tbaa !22
br label %53
53: ; preds = %47, %45
%54 = phi i32 [ %52, %47 ], [ 0, %45 ]
%55 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %54, ptr %55, align 8, !tbaa !24
%56 = tail call i32 @ihe_load(ptr noundef nonnull %0) #2
ret i32 %56
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @init_ilist_decoder(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @adv_ilist(ptr noundef) local_unnamed_addr #1
declare i32 @ihe_dive(ptr noundef) local_unnamed_addr #1
declare i32 @ihe_sgn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ihe_load(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 48}
!7 = !{!"TYPE_12__", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !12, i64 32, !8, i64 40, !11, i64 48}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"TYPE_13__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 16}
!16 = !{!7, !8, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!13, !13, i64 0}
!19 = !{!7, !13, i64 32}
!20 = !{!7, !8, i64 40}
!21 = !{!7, !11, i64 8}
!22 = !{!23, !11, i64 0}
!23 = !{!"TYPE_14__", !11, i64 0}
!24 = !{!7, !11, i64 24}
| kphp-kdb_search_extr_search-y-data.c_ihe_init |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ce/extr_tau32-ddk.c_TAU32_FifoPutCasAppend.c'
source_filename = "AnghaBench/freebsd/sys/dev/ce/extr_tau32-ddk.c_TAU32_FifoPutCasAppend.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
%struct.TYPE_4__ = type { ptr }
; Function Attrs: nounwind uwtable
define dso_local i32 @TAU32_FifoPutCasAppend(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%6 = tail call i32 @h2LrH3(ptr noundef nonnull %5) #3
switch i32 %1, label %38 [
i32 0, label %7
i32 1, label %13
i32 -1, label %23
]
7: ; preds = %4
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = load ptr, ptr %9, align 8, !tbaa !11
%11 = getelementptr inbounds i32, ptr %10, i64 1
%12 = tail call i32 @Ji6_v2(i32 noundef 1, ptr noundef nonnull %11, ptr noundef %2, i32 noundef %3) #3
br label %38
13: ; preds = %4
%14 = load i32, ptr %0, align 8, !tbaa !13
%15 = icmp eq i32 %14, 2
br i1 %15, label %38, label %16
16: ; preds = %13
%17 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%18 = load ptr, ptr %17, align 8, !tbaa !5
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8, !tbaa !11
%21 = getelementptr inbounds i32, ptr %20, i64 1
%22 = tail call i32 @Ji6_v2(i32 noundef 1, ptr noundef nonnull %21, ptr noundef %2, i32 noundef %3) #3
br label %38
23: ; preds = %4
%24 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%25 = load ptr, ptr %24, align 8, !tbaa !5
%26 = load ptr, ptr %25, align 8, !tbaa !11
%27 = getelementptr inbounds i32, ptr %26, i64 1
%28 = tail call i32 @Ji6_v2(i32 noundef 1, ptr noundef nonnull %27, ptr noundef %2, i32 noundef %3) #3
%29 = load i32, ptr %0, align 8, !tbaa !13
%30 = icmp eq i32 %29, 2
br i1 %30, label %38, label %31
31: ; preds = %23
%32 = load ptr, ptr %24, align 8, !tbaa !5
%33 = getelementptr inbounds %struct.TYPE_4__, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8, !tbaa !11
%35 = getelementptr inbounds i32, ptr %34, i64 1
%36 = tail call i32 @Ji6_v2(i32 noundef 1, ptr noundef nonnull %35, ptr noundef %2, i32 noundef %3) #3
%37 = tail call i32 @llvm.smin.i32(i32 %36, i32 %28)
br label %38
38: ; preds = %31, %23, %16, %13, %4, %7
%39 = phi i32 [ -2, %4 ], [ %37, %31 ], [ %28, %23 ], [ %22, %16 ], [ -2, %13 ], [ %12, %7 ]
%40 = tail call i32 @uYS5N2(ptr noundef nonnull %5) #3
ret i32 %39
}
declare i32 @h2LrH3(ptr noundef) local_unnamed_addr #1
declare i32 @Ji6_v2(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uYS5N2(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_4__", !10, i64 0}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ce/extr_tau32-ddk.c_TAU32_FifoPutCasAppend.c'
source_filename = "AnghaBench/freebsd/sys/dev/ce/extr_tau32-ddk.c_TAU32_FifoPutCasAppend.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 @TAU32_FifoPutCasAppend(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = tail call i32 @h2LrH3(ptr noundef nonnull %5) #3
switch i32 %1, label %38 [
i32 0, label %7
i32 1, label %13
i32 -1, label %23
]
7: ; preds = %4
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = getelementptr inbounds i8, ptr %10, i64 4
%12 = tail call i32 @Ji6_v2(i32 noundef 1, ptr noundef nonnull %11, ptr noundef %2, i32 noundef %3) #3
br label %38
13: ; preds = %4
%14 = load i32, ptr %0, align 8, !tbaa !14
%15 = icmp eq i32 %14, 2
br i1 %15, label %38, label %16
16: ; preds = %13
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !6
%19 = getelementptr inbounds i8, ptr %18, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !12
%21 = getelementptr inbounds i8, ptr %20, i64 4
%22 = tail call i32 @Ji6_v2(i32 noundef 1, ptr noundef nonnull %21, ptr noundef %2, i32 noundef %3) #3
br label %38
23: ; preds = %4
%24 = getelementptr inbounds i8, ptr %0, i64 8
%25 = load ptr, ptr %24, align 8, !tbaa !6
%26 = load ptr, ptr %25, align 8, !tbaa !12
%27 = getelementptr inbounds i8, ptr %26, i64 4
%28 = tail call i32 @Ji6_v2(i32 noundef 1, ptr noundef nonnull %27, ptr noundef %2, i32 noundef %3) #3
%29 = load i32, ptr %0, align 8, !tbaa !14
%30 = icmp eq i32 %29, 2
br i1 %30, label %38, label %31
31: ; preds = %23
%32 = load ptr, ptr %24, align 8, !tbaa !6
%33 = getelementptr inbounds i8, ptr %32, i64 8
%34 = load ptr, ptr %33, align 8, !tbaa !12
%35 = getelementptr inbounds i8, ptr %34, i64 4
%36 = tail call i32 @Ji6_v2(i32 noundef 1, ptr noundef nonnull %35, ptr noundef %2, i32 noundef %3) #3
%37 = tail call i32 @llvm.smin.i32(i32 %36, i32 %28)
br label %38
38: ; preds = %31, %23, %16, %13, %4, %7
%39 = phi i32 [ -2, %4 ], [ %37, %31 ], [ %28, %23 ], [ %22, %16 ], [ -2, %13 ], [ %12, %7 ]
%40 = tail call i32 @uYS5N2(ptr noundef nonnull %5) #3
ret i32 %39
}
declare i32 @h2LrH3(ptr noundef) local_unnamed_addr #1
declare i32 @Ji6_v2(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uYS5N2(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !11, i64 0}
!14 = !{!7, !8, i64 0}
| freebsd_sys_dev_ce_extr_tau32-ddk.c_TAU32_FifoPutCasAppend |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_reset_recovery.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_reset_recovery.c"
target datalayout = "e-m:e-p270:32:32-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 @dlm_reset_recovery], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @dlm_reset_recovery(ptr noundef %0) #0 {
%2 = tail call i32 @spin_lock(ptr noundef %0) #2
%3 = tail call i32 @__dlm_reset_recovery(ptr noundef %0) #2
%4 = tail call i32 @spin_unlock(ptr noundef %0) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @__dlm_reset_recovery(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(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/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_reset_recovery.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_reset_recovery.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 @dlm_reset_recovery], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @dlm_reset_recovery(ptr noundef %0) #0 {
%2 = tail call i32 @spin_lock(ptr noundef %0) #2
%3 = tail call i32 @__dlm_reset_recovery(ptr noundef %0) #2
%4 = tail call i32 @spin_unlock(ptr noundef %0) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @__dlm_reset_recovery(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(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)"}
| fastsocket_kernel_fs_ocfs2_dlm_extr_dlmrecovery.c_dlm_reset_recovery |
; ModuleID = 'AnghaBench/linux/arch/x86/events/amd/extr_core.c_amd_pmu_disable_all.c'
source_filename = "AnghaBench/linux/arch/x86/events/amd/extr_core.c_amd_pmu_disable_all.c"
target datalayout = "e-m:e-p270:32:32-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 }
@cpu_hw_events = dso_local global i32 0, align 4
@x86_pmu = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @amd_pmu_disable_all], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @amd_pmu_disable_all() #0 {
%1 = tail call ptr @this_cpu_ptr(ptr noundef nonnull @cpu_hw_events) #2
%2 = tail call i32 (...) @x86_pmu_disable_all() #2
%3 = tail call i64 (...) @in_nmi() #2
%4 = icmp eq i64 %3, 0
%5 = load i32, ptr @x86_pmu, align 4
%6 = icmp sgt i32 %5, 0
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %8, label %19
8: ; preds = %0, %15
%9 = phi i32 [ %16, %15 ], [ 0, %0 ]
%10 = load i32, ptr %1, align 4, !tbaa !5
%11 = tail call i32 @test_bit(i32 noundef %9, i32 noundef %10) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %8
%14 = tail call i32 @amd_pmu_wait_on_overflow(i32 noundef %9) #2
br label %15
15: ; preds = %8, %13
%16 = add nuw nsw i32 %9, 1
%17 = load i32, ptr @x86_pmu, align 4, !tbaa !10
%18 = icmp slt i32 %16, %17
br i1 %18, label %8, label %19, !llvm.loop !12
19: ; preds = %15, %0
ret void
}
declare ptr @this_cpu_ptr(ptr noundef) local_unnamed_addr #1
declare i32 @x86_pmu_disable_all(...) local_unnamed_addr #1
declare i64 @in_nmi(...) local_unnamed_addr #1
declare i32 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @amd_pmu_wait_on_overflow(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 = !{!"cpu_hw_events", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/events/amd/extr_core.c_amd_pmu_disable_all.c'
source_filename = "AnghaBench/linux/arch/x86/events/amd/extr_core.c_amd_pmu_disable_all.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 }
@cpu_hw_events = common global i32 0, align 4
@x86_pmu = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @amd_pmu_disable_all], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @amd_pmu_disable_all() #0 {
%1 = tail call ptr @this_cpu_ptr(ptr noundef nonnull @cpu_hw_events) #2
%2 = tail call i32 @x86_pmu_disable_all() #2
%3 = tail call i64 @in_nmi() #2
%4 = icmp eq i64 %3, 0
%5 = load i32, ptr @x86_pmu, align 4
%6 = icmp sgt i32 %5, 0
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %8, label %19
8: ; preds = %0, %15
%9 = phi i32 [ %16, %15 ], [ 0, %0 ]
%10 = load i32, ptr %1, align 4, !tbaa !6
%11 = tail call i32 @test_bit(i32 noundef %9, i32 noundef %10) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %8
%14 = tail call i32 @amd_pmu_wait_on_overflow(i32 noundef %9) #2
br label %15
15: ; preds = %8, %13
%16 = add nuw nsw i32 %9, 1
%17 = load i32, ptr @x86_pmu, align 4, !tbaa !11
%18 = icmp slt i32 %16, %17
br i1 %18, label %8, label %19, !llvm.loop !13
19: ; preds = %15, %0
ret void
}
declare ptr @this_cpu_ptr(ptr noundef) local_unnamed_addr #1
declare i32 @x86_pmu_disable_all(...) local_unnamed_addr #1
declare i64 @in_nmi(...) local_unnamed_addr #1
declare i32 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @amd_pmu_wait_on_overflow(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 = !{!"cpu_hw_events", !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 = !{!"TYPE_2__", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| linux_arch_x86_events_amd_extr_core.c_amd_pmu_disable_all |
; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_config.c_find_next_descriptor.c'
source_filename = "AnghaBench/linux/drivers/usb/core/extr_config.c_find_next_descriptor.c"
target datalayout = "e-m:e-p270:32:32-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.usb_descriptor_header = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @find_next_descriptor], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal i32 @find_next_descriptor(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef writeonly %4) #0 {
%6 = icmp sgt i32 %1, 0
br i1 %6, label %7, label %23
7: ; preds = %5, %15
%8 = phi ptr [ %18, %15 ], [ %0, %5 ]
%9 = phi i32 [ %21, %15 ], [ 0, %5 ]
%10 = phi i32 [ %20, %15 ], [ %1, %5 ]
%11 = load i32, ptr %8, align 8, !tbaa !5
%12 = icmp eq i32 %11, %2
%13 = icmp eq i32 %11, %3
%14 = or i1 %12, %13
br i1 %14, label %23, label %15
15: ; preds = %7
%16 = getelementptr inbounds %struct.usb_descriptor_header, ptr %8, i64 0, i32 1
%17 = load i64, ptr %16, align 8, !tbaa !11
%18 = getelementptr inbounds i8, ptr %8, i64 %17
%19 = trunc i64 %17 to i32
%20 = sub i32 %10, %19
%21 = add nuw nsw i32 %9, 1
%22 = icmp sgt i32 %20, 0
br i1 %22, label %7, label %23, !llvm.loop !12
23: ; preds = %15, %7, %5
%24 = phi i32 [ 0, %5 ], [ %9, %7 ], [ %21, %15 ]
%25 = phi ptr [ %0, %5 ], [ %8, %7 ], [ %18, %15 ]
%26 = icmp eq ptr %4, null
br i1 %26, label %28, label %27
27: ; preds = %23
store i32 %24, ptr %4, align 4, !tbaa !14
br label %28
28: ; preds = %27, %23
%29 = ptrtoint ptr %25 to i64
%30 = ptrtoint ptr %0 to i64
%31 = sub i64 %29, %30
%32 = trunc i64 %31 to i32
ret i32 %32
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"usb_descriptor_header", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_config.c_find_next_descriptor.c'
source_filename = "AnghaBench/linux/drivers/usb/core/extr_config.c_find_next_descriptor.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 @find_next_descriptor], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal i32 @find_next_descriptor(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef writeonly %4) #0 {
%6 = icmp sgt i32 %1, 0
br i1 %6, label %7, label %23
7: ; preds = %5, %15
%8 = phi ptr [ %18, %15 ], [ %0, %5 ]
%9 = phi i32 [ %21, %15 ], [ 0, %5 ]
%10 = phi i32 [ %20, %15 ], [ %1, %5 ]
%11 = load i32, ptr %8, align 8, !tbaa !6
%12 = icmp eq i32 %11, %2
%13 = icmp eq i32 %11, %3
%14 = or i1 %12, %13
br i1 %14, label %23, label %15
15: ; preds = %7
%16 = getelementptr inbounds i8, ptr %8, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !12
%18 = getelementptr inbounds i8, ptr %8, i64 %17
%19 = trunc i64 %17 to i32
%20 = sub i32 %10, %19
%21 = add nuw nsw i32 %9, 1
%22 = icmp sgt i32 %20, 0
br i1 %22, label %7, label %23, !llvm.loop !13
23: ; preds = %15, %7, %5
%24 = phi i32 [ 0, %5 ], [ %9, %7 ], [ %21, %15 ]
%25 = phi ptr [ %0, %5 ], [ %8, %7 ], [ %18, %15 ]
%26 = icmp eq ptr %4, null
br i1 %26, label %28, label %27
27: ; preds = %23
store i32 %24, ptr %4, align 4, !tbaa !15
br label %28
28: ; preds = %27, %23
%29 = ptrtoint ptr %25 to i64
%30 = ptrtoint ptr %0 to i64
%31 = sub i64 %29, %30
%32 = trunc i64 %31 to i32
ret i32 %32
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"usb_descriptor_header", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!8, !8, i64 0}
| linux_drivers_usb_core_extr_config.c_find_next_descriptor |
; ModuleID = 'AnghaBench/Cinder/src/glfw/src/extr_x11_monitor.c_vidmodeFromModeInfo.c'
source_filename = "AnghaBench/Cinder/src/glfw/src/extr_x11_monitor.c_vidmodeFromModeInfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_14__ = type { %struct.TYPE_10__ }
%struct.TYPE_10__ = type { i32, i32 }
%struct.TYPE_13__ = type { i32, i32, i32, i32, i32, i32 }
%struct.TYPE_11__ = type { i32, i32 }
@RR_Rotate_90 = dso_local local_unnamed_addr global i64 0, align 8
@RR_Rotate_270 = dso_local local_unnamed_addr global i64 0, align 8
@_glfw = dso_local local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vidmodeFromModeInfo], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vidmodeFromModeInfo(ptr dead_on_unwind noalias writable sret(%struct.TYPE_13__) align 4 %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i64, ptr %2, align 8, !tbaa !5
%5 = load i64, ptr @RR_Rotate_90, align 8, !tbaa !10
%6 = icmp eq i64 %4, %5
%7 = load i64, ptr @RR_Rotate_270, align 8
%8 = icmp eq i64 %4, %7
%9 = select i1 %6, i1 true, i1 %8
%10 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 1
%11 = select i1 %9, ptr %1, ptr %10
%12 = select i1 %9, ptr %10, ptr %1
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = load i32, ptr %11, align 4, !tbaa !11
%15 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 5
store i32 %14, ptr %15, align 4
%16 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 4
store i32 %13, ptr %16, align 4
%17 = tail call i32 @calculateRefreshRate(ptr noundef nonnull %1) #2
%18 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 3
store i32 %17, ptr %18, align 4, !tbaa !13
%19 = load i32, ptr getelementptr inbounds (%struct.TYPE_14__, ptr @_glfw, i64 0, i32 0, i32 1), align 4, !tbaa !15
%20 = load i32, ptr @_glfw, align 4, !tbaa !18
%21 = tail call i32 @DefaultDepth(i32 noundef %19, i32 noundef %20) #2
%22 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 2
%23 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
%24 = tail call i32 @_glfwSplitBPP(i32 noundef %21, ptr noundef nonnull %22, ptr noundef nonnull %23, ptr noundef nonnull %0) #2
ret void
}
declare i32 @calculateRefreshRate(ptr noundef) local_unnamed_addr #1
declare i32 @_glfwSplitBPP(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DefaultDepth(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_12__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 12}
!14 = !{!"TYPE_13__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20}
!15 = !{!16, !12, i64 4}
!16 = !{!"TYPE_14__", !17, i64 0}
!17 = !{!"TYPE_10__", !12, i64 0, !12, i64 4}
!18 = !{!16, !12, i64 0}
| ; ModuleID = 'AnghaBench/Cinder/src/glfw/src/extr_x11_monitor.c_vidmodeFromModeInfo.c'
source_filename = "AnghaBench/Cinder/src/glfw/src/extr_x11_monitor.c_vidmodeFromModeInfo.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_14__ = type { %struct.TYPE_10__ }
%struct.TYPE_10__ = type { i32, i32 }
%struct.TYPE_13__ = type { i32, i32, i32, i32, i32, i32 }
@RR_Rotate_90 = common local_unnamed_addr global i64 0, align 8
@RR_Rotate_270 = common local_unnamed_addr global i64 0, align 8
@_glfw = common local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @vidmodeFromModeInfo], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vidmodeFromModeInfo(ptr dead_on_unwind noalias writable sret(%struct.TYPE_13__) align 4 %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i64, ptr %2, align 8, !tbaa !6
%5 = load i64, ptr @RR_Rotate_90, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
%7 = load i64, ptr @RR_Rotate_270, align 8
%8 = icmp eq i64 %4, %7
%9 = select i1 %6, i1 true, i1 %8
%10 = getelementptr inbounds i8, ptr %1, i64 4
%11 = select i1 %9, ptr %1, ptr %10
%12 = select i1 %9, ptr %10, ptr %1
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = load i32, ptr %11, align 4, !tbaa !12
%15 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %14, ptr %15, align 4
%16 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %13, ptr %16, align 4
%17 = tail call i32 @calculateRefreshRate(ptr noundef nonnull %1) #2
%18 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %17, ptr %18, align 4, !tbaa !14
%19 = load i32, ptr getelementptr inbounds (i8, ptr @_glfw, i64 4), align 4, !tbaa !16
%20 = load i32, ptr @_glfw, align 4, !tbaa !19
%21 = tail call i32 @DefaultDepth(i32 noundef %19, i32 noundef %20) #2
%22 = getelementptr inbounds i8, ptr %0, i64 8
%23 = getelementptr inbounds i8, ptr %0, i64 4
%24 = tail call i32 @_glfwSplitBPP(i32 noundef %21, ptr noundef nonnull %22, ptr noundef nonnull %23, ptr noundef nonnull %0) #2
ret void
}
declare i32 @calculateRefreshRate(ptr noundef) local_unnamed_addr #1
declare i32 @_glfwSplitBPP(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DefaultDepth(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_12__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !13, i64 12}
!15 = !{!"TYPE_13__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20}
!16 = !{!17, !13, i64 4}
!17 = !{!"TYPE_14__", !18, i64 0}
!18 = !{!"TYPE_10__", !13, i64 0, !13, i64 4}
!19 = !{!17, !13, i64 0}
| Cinder_src_glfw_src_extr_x11_monitor.c_vidmodeFromModeInfo |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5211/extr_ar5211_interrupts.c_ar5211GetInterrupts.c'
source_filename = "AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5211/extr_ar5211_interrupts.c_ar5211GetInterrupts.c"
target datalayout = "e-m:e-p270:32:32-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 @ar5211GetInterrupts(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @AH5211(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
ret i32 %3
}
declare ptr @AH5211(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5211/extr_ar5211_interrupts.c_ar5211GetInterrupts.c'
source_filename = "AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5211/extr_ar5211_interrupts.c_ar5211GetInterrupts.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 @ar5211GetInterrupts(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @AH5211(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
ret i32 %3
}
declare ptr @AH5211(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_ath_ath_hal_ar5211_extr_ar5211_interrupts.c_ar5211GetInterrupts |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_deprecated.c_svn_wc_delete.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_deprecated.c_svn_wc_delete.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.compat_notify_baton_t = type { ptr, i32 }
@compat_call_notify_func = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @svn_wc_delete(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = alloca %struct.compat_notify_baton_t, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3
%9 = getelementptr inbounds %struct.compat_notify_baton_t, ptr %8, i64 0, i32 1
store i32 %4, ptr %9, align 8, !tbaa !5
store ptr %5, ptr %8, align 8, !tbaa !11
%10 = load i32, ptr @compat_call_notify_func, align 4, !tbaa !12
%11 = call ptr @svn_wc_delete2(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %10, ptr noundef nonnull %8, ptr noundef %6) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
ret ptr %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @svn_wc_delete2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"compat_notify_baton_t", !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}
!12 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_deprecated.c_svn_wc_delete.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_deprecated.c_svn_wc_delete.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.compat_notify_baton_t = type { ptr, i32 }
@compat_call_notify_func = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @svn_wc_delete(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = alloca %struct.compat_notify_baton_t, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3
%9 = getelementptr inbounds i8, ptr %8, i64 8
store i32 %4, ptr %9, align 8, !tbaa !6
store ptr %5, ptr %8, align 8, !tbaa !12
%10 = load i32, ptr @compat_call_notify_func, align 4, !tbaa !13
%11 = call ptr @svn_wc_delete2(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %10, ptr noundef nonnull %8, ptr noundef %6) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
ret ptr %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @svn_wc_delete2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"compat_notify_baton_t", !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}
!13 = !{!11, !11, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_wc_extr_deprecated.c_svn_wc_delete |
; ModuleID = 'AnghaBench/freebsd/sys/ufs/ffs/extr_ffs_vnops.c_ffs_gbp_getblksz.c'
source_filename = "AnghaBench/freebsd/sys/ufs/ffs/extr_ffs_vnops.c_ffs_gbp_getblksz.c"
target datalayout = "e-m:e-p270:32:32-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 @ffs_gbp_getblksz], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ffs_gbp_getblksz(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call ptr @VFSTOUFS(i32 noundef %3) #2
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = tail call i32 @VTOI(ptr noundef nonnull %0) #2
%7 = tail call i32 @blksize(i32 noundef %5, i32 noundef %6, i32 noundef %1) #2
ret i32 %7
}
declare i32 @blksize(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @VFSTOUFS(i32 noundef) local_unnamed_addr #1
declare i32 @VTOI(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 = !{!"vnode", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/ufs/ffs/extr_ffs_vnops.c_ffs_gbp_getblksz.c'
source_filename = "AnghaBench/freebsd/sys/ufs/ffs/extr_ffs_vnops.c_ffs_gbp_getblksz.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 @ffs_gbp_getblksz], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ffs_gbp_getblksz(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call ptr @VFSTOUFS(i32 noundef %3) #2
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call i32 @VTOI(ptr noundef nonnull %0) #2
%7 = tail call i32 @blksize(i32 noundef %5, i32 noundef %6, i32 noundef %1) #2
ret i32 %7
}
declare i32 @blksize(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @VFSTOUFS(i32 noundef) local_unnamed_addr #1
declare i32 @VTOI(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 = !{!"vnode", !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 = !{!"TYPE_2__", !8, i64 0}
| freebsd_sys_ufs_ffs_extr_ffs_vnops.c_ffs_gbp_getblksz |
; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_liolib.c_io_output.c'
source_filename = "AnghaBench/skynet/3rd/lua/extr_liolib.c_io_output.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IO_OUTPUT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @io_output], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @io_output(ptr noundef %0) #0 {
%2 = load i32, ptr @IO_OUTPUT, align 4, !tbaa !5
%3 = tail call i32 @g_iofile(ptr noundef %0, i32 noundef %2, ptr noundef nonnull @.str) #2
ret i32 %3
}
declare i32 @g_iofile(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_liolib.c_io_output.c'
source_filename = "AnghaBench/skynet/3rd/lua/extr_liolib.c_io_output.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IO_OUTPUT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @io_output], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @io_output(ptr noundef %0) #0 {
%2 = load i32, ptr @IO_OUTPUT, align 4, !tbaa !6
%3 = tail call i32 @g_iofile(ptr noundef %0, i32 noundef %2, ptr noundef nonnull @.str) #2
ret i32 %3
}
declare i32 @g_iofile(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| skynet_3rd_lua_extr_liolib.c_io_output |
; ModuleID = 'AnghaBench/esp-idf/components/vfs/test/extr_test_vfs_fd.c_collision_test_vfs_open.c'
source_filename = "AnghaBench/esp-idf/components/vfs/test/extr_test_vfs_fd.c_collision_test_vfs_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @collision_test_vfs_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @collision_test_vfs_open(ptr nocapture noundef readonly %0, ptr noundef %1, i32 %2, i32 %3) #0 {
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call i64 @strcmp(i32 noundef %6, ptr noundef %1) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = load i32, ptr %0, align 4, !tbaa !10
br label %13
11: ; preds = %4
%12 = load i32, ptr @ENOENT, align 4, !tbaa !11
store i32 %12, ptr @errno, align 4, !tbaa !11
br label %13
13: ; preds = %11, %9
%14 = phi i32 [ %10, %9 ], [ -1, %11 ]
ret i32 %14
}
declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_2__", !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/esp-idf/components/vfs/test/extr_test_vfs_fd.c_collision_test_vfs_open.c'
source_filename = "AnghaBench/esp-idf/components/vfs/test/extr_test_vfs_fd.c_collision_test_vfs_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOENT = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @collision_test_vfs_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @collision_test_vfs_open(ptr nocapture noundef readonly %0, ptr noundef %1, i32 %2, i32 %3) #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call i64 @strcmp(i32 noundef %6, ptr noundef %1) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = load i32, ptr %0, align 4, !tbaa !11
br label %13
11: ; preds = %4
%12 = load i32, ptr @ENOENT, align 4, !tbaa !12
store i32 %12, ptr @errno, align 4, !tbaa !12
br label %13
13: ; preds = %11, %9
%14 = phi i32 [ %10, %9 ], [ -1, %11 ]
ret i32 %14
}
declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!8, !8, i64 0}
| esp-idf_components_vfs_test_extr_test_vfs_fd.c_collision_test_vfs_open |
; ModuleID = 'AnghaBench/vim.js/src/extr_workshop.c_workshop_submenu_end.c'
source_filename = "AnghaBench/vim.js/src/extr_workshop.c_workshop_submenu_end.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@curMenuPriority = dso_local local_unnamed_addr global i32 0, align 4
@NUL = dso_local local_unnamed_addr global i8 0, align 1
@curMenuName = dso_local local_unnamed_addr global i32 0, align 4
@WS_TRACE = dso_local local_unnamed_addr global i32 0, align 4
@WS_TRACE_VERBOSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @workshop_submenu_end() local_unnamed_addr #0 {
%1 = load i32, ptr @curMenuPriority, align 4, !tbaa !5
%2 = tail call ptr @strrchr(i32 noundef %1, i8 noundef signext 46) #2
%3 = icmp ne ptr %2, null
%4 = zext i1 %3 to i32
%5 = tail call i32 @ASSERT(i32 noundef %4) #2
%6 = load i8, ptr @NUL, align 1, !tbaa !9
store i8 %6, ptr %2, align 1, !tbaa !9
%7 = load i32, ptr @curMenuName, align 4, !tbaa !5
%8 = tail call ptr @strrchr(i32 noundef %7, i8 noundef signext 46) #2
%9 = icmp ne ptr %8, null
%10 = zext i1 %9 to i32
%11 = tail call i32 @ASSERT(i32 noundef %10) #2
%12 = load i8, ptr @NUL, align 1, !tbaa !9
store i8 %12, ptr %8, align 1, !tbaa !9
ret void
}
declare ptr @strrchr(i32 noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/vim.js/src/extr_workshop.c_workshop_submenu_end.c'
source_filename = "AnghaBench/vim.js/src/extr_workshop.c_workshop_submenu_end.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@curMenuPriority = common local_unnamed_addr global i32 0, align 4
@NUL = common local_unnamed_addr global i8 0, align 1
@curMenuName = common local_unnamed_addr global i32 0, align 4
@WS_TRACE = common local_unnamed_addr global i32 0, align 4
@WS_TRACE_VERBOSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @workshop_submenu_end() local_unnamed_addr #0 {
%1 = load i32, ptr @curMenuPriority, align 4, !tbaa !6
%2 = tail call ptr @strrchr(i32 noundef %1, i8 noundef signext 46) #2
%3 = icmp ne ptr %2, null
%4 = zext i1 %3 to i32
%5 = tail call i32 @ASSERT(i32 noundef %4) #2
%6 = load i8, ptr @NUL, align 1, !tbaa !10
store i8 %6, ptr %2, align 1, !tbaa !10
%7 = load i32, ptr @curMenuName, align 4, !tbaa !6
%8 = tail call ptr @strrchr(i32 noundef %7, i8 noundef signext 46) #2
%9 = icmp ne ptr %8, null
%10 = zext i1 %9 to i32
%11 = tail call i32 @ASSERT(i32 noundef %10) #2
%12 = load i8, ptr @NUL, align 1, !tbaa !10
store i8 %12, ptr %8, align 1, !tbaa !10
ret void
}
declare ptr @strrchr(i32 noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
| vim.js_src_extr_workshop.c_workshop_submenu_end |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_sparc-tdep.c_sparc32_store_return_value.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_sparc-tdep.c_sparc32_store_return_value.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SPARC_F0_REGNUM = dso_local local_unnamed_addr global i32 0, align 4
@SPARC_F1_REGNUM = dso_local local_unnamed_addr global i32 0, align 4
@SPARC_O1_REGNUM = dso_local local_unnamed_addr global i32 0, align 4
@SPARC_O0_REGNUM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sparc32_store_return_value], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sparc32_store_return_value(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca [8 x i8], align 1
%5 = tail call i32 @TYPE_LENGTH(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%6 = tail call i32 @sparc_structure_or_union_p(ptr noundef %0) #3
%7 = icmp eq i32 %6, 0
%8 = zext i1 %7 to i32
%9 = tail call i32 @gdb_assert(i32 noundef %8) #3
%10 = tail call i64 @sparc_floating_p(ptr noundef %0) #3
%11 = icmp eq i64 %10, 0
%12 = icmp ne i32 %5, 16
%13 = select i1 %11, i1 true, i1 %12
%14 = zext i1 %13 to i32
%15 = tail call i32 @gdb_assert(i32 noundef %14) #3
%16 = tail call i64 @sparc_floating_p(ptr noundef %0) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %27, label %18
18: ; preds = %3
%19 = call i32 @memcpy(ptr noundef nonnull %4, ptr noundef %2, i32 noundef %5) #3
%20 = load i32, ptr @SPARC_F0_REGNUM, align 4, !tbaa !5
%21 = call i32 @regcache_cooked_write(ptr noundef %1, i32 noundef %20, ptr noundef nonnull %4) #3
%22 = icmp sgt i32 %5, 4
br i1 %22, label %23, label %48
23: ; preds = %18
%24 = load i32, ptr @SPARC_F1_REGNUM, align 4, !tbaa !5
%25 = getelementptr inbounds i8, ptr %4, i64 4
%26 = call i32 @regcache_cooked_write(ptr noundef %1, i32 noundef %24, ptr noundef nonnull %25) #3
br label %48
27: ; preds = %3
%28 = tail call i32 @sparc_integral_or_pointer_p(ptr noundef %0) #3
%29 = tail call i32 @gdb_assert(i32 noundef %28) #3
%30 = icmp sgt i32 %5, 4
br i1 %30, label %31, label %39
31: ; preds = %27
%32 = icmp eq i32 %5, 8
%33 = zext i1 %32 to i32
%34 = tail call i32 @gdb_assert(i32 noundef %33) #3
%35 = call i32 @memcpy(ptr noundef nonnull %4, ptr noundef %2, i32 noundef 8) #3
%36 = load i32, ptr @SPARC_O1_REGNUM, align 4, !tbaa !5
%37 = getelementptr inbounds i8, ptr %4, i64 4
%38 = call i32 @regcache_cooked_write(ptr noundef %1, i32 noundef %36, ptr noundef nonnull %37) #3
br label %45
39: ; preds = %27
%40 = getelementptr inbounds i8, ptr %4, i64 4
%41 = sext i32 %5 to i64
%42 = sub nsw i64 0, %41
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = call i32 @memcpy(ptr noundef nonnull %43, ptr noundef %2, i32 noundef %5) #3
br label %45
45: ; preds = %39, %31
%46 = load i32, ptr @SPARC_O0_REGNUM, align 4, !tbaa !5
%47 = call i32 @regcache_cooked_write(ptr noundef %1, i32 noundef %46, ptr noundef nonnull %4) #3
br label %48
48: ; preds = %18, %23, %45
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TYPE_LENGTH(ptr noundef) local_unnamed_addr #2
declare i32 @gdb_assert(i32 noundef) local_unnamed_addr #2
declare i32 @sparc_structure_or_union_p(ptr noundef) local_unnamed_addr #2
declare i64 @sparc_floating_p(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @regcache_cooked_write(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sparc_integral_or_pointer_p(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_sparc-tdep.c_sparc32_store_return_value.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_sparc-tdep.c_sparc32_store_return_value.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SPARC_F0_REGNUM = common local_unnamed_addr global i32 0, align 4
@SPARC_F1_REGNUM = common local_unnamed_addr global i32 0, align 4
@SPARC_O1_REGNUM = common local_unnamed_addr global i32 0, align 4
@SPARC_O0_REGNUM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sparc32_store_return_value], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sparc32_store_return_value(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca [8 x i8], align 1
%5 = tail call i32 @TYPE_LENGTH(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%6 = tail call i32 @sparc_structure_or_union_p(ptr noundef %0) #3
%7 = icmp eq i32 %6, 0
%8 = zext i1 %7 to i32
%9 = tail call i32 @gdb_assert(i32 noundef %8) #3
%10 = tail call i64 @sparc_floating_p(ptr noundef %0) #3
%11 = icmp eq i64 %10, 0
%12 = icmp ne i32 %5, 16
%13 = select i1 %11, i1 true, i1 %12
%14 = zext i1 %13 to i32
%15 = tail call i32 @gdb_assert(i32 noundef %14) #3
%16 = tail call i64 @sparc_floating_p(ptr noundef %0) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %27, label %18
18: ; preds = %3
%19 = call i32 @memcpy(ptr noundef nonnull %4, ptr noundef %2, i32 noundef %5) #3
%20 = load i32, ptr @SPARC_F0_REGNUM, align 4, !tbaa !6
%21 = call i32 @regcache_cooked_write(ptr noundef %1, i32 noundef %20, ptr noundef nonnull %4) #3
%22 = icmp sgt i32 %5, 4
br i1 %22, label %23, label %48
23: ; preds = %18
%24 = load i32, ptr @SPARC_F1_REGNUM, align 4, !tbaa !6
%25 = getelementptr inbounds i8, ptr %4, i64 4
%26 = call i32 @regcache_cooked_write(ptr noundef %1, i32 noundef %24, ptr noundef nonnull %25) #3
br label %48
27: ; preds = %3
%28 = tail call i32 @sparc_integral_or_pointer_p(ptr noundef %0) #3
%29 = tail call i32 @gdb_assert(i32 noundef %28) #3
%30 = icmp sgt i32 %5, 4
br i1 %30, label %31, label %39
31: ; preds = %27
%32 = icmp eq i32 %5, 8
%33 = zext i1 %32 to i32
%34 = tail call i32 @gdb_assert(i32 noundef %33) #3
%35 = call i32 @memcpy(ptr noundef nonnull %4, ptr noundef %2, i32 noundef 8) #3
%36 = load i32, ptr @SPARC_O1_REGNUM, align 4, !tbaa !6
%37 = getelementptr inbounds i8, ptr %4, i64 4
%38 = call i32 @regcache_cooked_write(ptr noundef %1, i32 noundef %36, ptr noundef nonnull %37) #3
br label %45
39: ; preds = %27
%40 = getelementptr inbounds i8, ptr %4, i64 4
%41 = sext i32 %5 to i64
%42 = sub nsw i64 0, %41
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = call i32 @memcpy(ptr noundef nonnull %43, ptr noundef %2, i32 noundef %5) #3
br label %45
45: ; preds = %39, %31
%46 = load i32, ptr @SPARC_O0_REGNUM, align 4, !tbaa !6
%47 = call i32 @regcache_cooked_write(ptr noundef %1, i32 noundef %46, ptr noundef nonnull %4) #3
br label %48
48: ; preds = %18, %23, %45
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TYPE_LENGTH(ptr noundef) local_unnamed_addr #2
declare i32 @gdb_assert(i32 noundef) local_unnamed_addr #2
declare i32 @sparc_structure_or_union_p(ptr noundef) local_unnamed_addr #2
declare i64 @sparc_floating_p(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @regcache_cooked_write(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sparc_integral_or_pointer_p(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gdb_gdb_extr_sparc-tdep.c_sparc32_store_return_value |
; ModuleID = 'AnghaBench/linux/sound/pci/extr_es1938.c_snd_es1938_playback1_pointer.c'
source_filename = "AnghaBench/linux/sound/pci/extr_es1938.c_snd_es1938_playback1_pointer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.es1938 = type { i64, i64, i64 }
@AUDIO2DMACOUNT = dso_local local_unnamed_addr global i32 0, align 4
@AUDIO2DMAADDR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_es1938_playback1_pointer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @snd_es1938_playback1_pointer(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr @AUDIO2DMACOUNT, align 4, !tbaa !10
%5 = tail call i32 @SLIO_REG(ptr noundef nonnull %2, i32 noundef %4) #2
%6 = tail call i64 @inw(i32 noundef %5) #2
%7 = sub i64 %3, %6
%8 = getelementptr inbounds %struct.es1938, ptr %2, i64 0, i32 2
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = lshr i64 %7, %9
ret i64 %10
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i64 @inw(i32 noundef) local_unnamed_addr #1
declare i32 @SLIO_REG(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 = !{!"es1938", !7, i64 0, !7, i64 8, !7, i64 16}
!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 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/linux/sound/pci/extr_es1938.c_snd_es1938_playback1_pointer.c'
source_filename = "AnghaBench/linux/sound/pci/extr_es1938.c_snd_es1938_playback1_pointer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AUDIO2DMACOUNT = common local_unnamed_addr global i32 0, align 4
@AUDIO2DMAADDR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snd_es1938_playback1_pointer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @snd_es1938_playback1_pointer(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr @AUDIO2DMACOUNT, align 4, !tbaa !11
%5 = tail call i32 @SLIO_REG(ptr noundef nonnull %2, i32 noundef %4) #2
%6 = tail call i64 @inw(i32 noundef %5) #2
%7 = sub i64 %3, %6
%8 = getelementptr inbounds i8, ptr %2, i64 16
%9 = load i64, ptr %8, align 8, !tbaa !13
%10 = lshr i64 %7, %9
ret i64 %10
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i64 @inw(i32 noundef) local_unnamed_addr #1
declare i32 @SLIO_REG(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 = !{!"es1938", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"long", !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 = !{!7, !8, i64 16}
| linux_sound_pci_extr_es1938.c_snd_es1938_playback1_pointer |
; ModuleID = 'AnghaBench/freebsd/tools/regression/tmpfs/extr_h_tools.c_main.c'
source_filename = "AnghaBench/freebsd/tools/regression/tmpfs/extr_h_tools.c_main.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"getfh\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"kqueue\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"rename\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"sockets\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"statvfs\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp slt i32 %0, 2
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5
br label %40
6: ; preds = %2
%7 = add nsw i32 %0, -1
%8 = getelementptr inbounds ptr, ptr %1, i64 1
%9 = load ptr, ptr %8, align 8, !tbaa !9
%10 = tail call i64 @strcmp(ptr noundef %9, ptr noundef nonnull @.str) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %6
%13 = tail call i32 @getfh_main(i32 noundef %7, ptr noundef nonnull %8) #2
br label %40
14: ; preds = %6
%15 = load ptr, ptr %8, align 8, !tbaa !9
%16 = tail call i64 @strcmp(ptr noundef %15, ptr noundef nonnull @.str.1) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = tail call i32 @kqueue_main(i32 noundef %7, ptr noundef nonnull %8) #2
br label %40
20: ; preds = %14
%21 = load ptr, ptr %8, align 8, !tbaa !9
%22 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.2) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = tail call i32 @rename_main(i32 noundef %7, ptr noundef nonnull %8) #2
br label %40
26: ; preds = %20
%27 = load ptr, ptr %8, align 8, !tbaa !9
%28 = tail call i64 @strcmp(ptr noundef %27, ptr noundef nonnull @.str.3) #2
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = tail call i32 @sockets_main(i32 noundef %7, ptr noundef nonnull %8) #2
br label %40
32: ; preds = %26
%33 = load ptr, ptr %8, align 8, !tbaa !9
%34 = tail call i64 @strcmp(ptr noundef %33, ptr noundef nonnull @.str.4) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = tail call i32 @statvfs_main(i32 noundef %7, ptr noundef nonnull %8) #2
br label %40
38: ; preds = %32
%39 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5
br label %40
40: ; preds = %12, %24, %36, %38, %30, %18, %4
%41 = phi i32 [ %5, %4 ], [ %13, %12 ], [ %19, %18 ], [ %25, %24 ], [ %31, %30 ], [ %37, %36 ], [ %39, %38 ]
ret i32 %41
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @getfh_main(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kqueue_main(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rename_main(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sockets_main(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @statvfs_main(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/tools/regression/tmpfs/extr_h_tools.c_main.c'
source_filename = "AnghaBench/freebsd/tools/regression/tmpfs/extr_h_tools.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"getfh\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"kqueue\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"rename\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"sockets\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"statvfs\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp slt i32 %0, 2
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6
br label %40
6: ; preds = %2
%7 = add nsw i32 %0, -1
%8 = getelementptr inbounds i8, ptr %1, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !10
%10 = tail call i64 @strcmp(ptr noundef %9, ptr noundef nonnull @.str) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %6
%13 = tail call i32 @getfh_main(i32 noundef %7, ptr noundef nonnull %8) #2
br label %40
14: ; preds = %6
%15 = load ptr, ptr %8, align 8, !tbaa !10
%16 = tail call i64 @strcmp(ptr noundef %15, ptr noundef nonnull @.str.1) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = tail call i32 @kqueue_main(i32 noundef %7, ptr noundef nonnull %8) #2
br label %40
20: ; preds = %14
%21 = load ptr, ptr %8, align 8, !tbaa !10
%22 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.2) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = tail call i32 @rename_main(i32 noundef %7, ptr noundef nonnull %8) #2
br label %40
26: ; preds = %20
%27 = load ptr, ptr %8, align 8, !tbaa !10
%28 = tail call i64 @strcmp(ptr noundef %27, ptr noundef nonnull @.str.3) #2
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = tail call i32 @sockets_main(i32 noundef %7, ptr noundef nonnull %8) #2
br label %40
32: ; preds = %26
%33 = load ptr, ptr %8, align 8, !tbaa !10
%34 = tail call i64 @strcmp(ptr noundef %33, ptr noundef nonnull @.str.4) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = tail call i32 @statvfs_main(i32 noundef %7, ptr noundef nonnull %8) #2
br label %40
38: ; preds = %32
%39 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6
br label %40
40: ; preds = %12, %24, %36, %38, %30, %18, %4
%41 = phi i32 [ %5, %4 ], [ %13, %12 ], [ %19, %18 ], [ %25, %24 ], [ %31, %30 ], [ %37, %36 ], [ %39, %38 ]
ret i32 %41
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @getfh_main(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kqueue_main(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rename_main(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sockets_main(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @statvfs_main(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| freebsd_tools_regression_tmpfs_extr_h_tools.c_main |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_ixgbevf_main.c_ixgbevf_get_tx_pending.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_ixgbevf_main.c_ixgbevf_get_tx_pending.c"
target datalayout = "e-m:e-p270:32:32-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.ixgbevf_ring = type { i64, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ixgbevf_get_tx_pending], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @ixgbevf_get_tx_pending(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.ixgbevf_ring, ptr %0, i64 0, i32 2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call ptr @netdev_priv(i32 noundef %3) #2
%5 = getelementptr inbounds %struct.ixgbevf_ring, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 8, !tbaa !11
%7 = tail call i32 @IXGBE_VFTDH(i32 noundef %6) #2
%8 = tail call i64 @IXGBE_READ_REG(ptr noundef %4, i32 noundef %7) #2
%9 = load i32, ptr %5, align 8, !tbaa !11
%10 = tail call i32 @IXGBE_VFTDT(i32 noundef %9) #2
%11 = tail call i64 @IXGBE_READ_REG(ptr noundef %4, i32 noundef %10) #2
%12 = icmp eq i64 %8, %11
br i1 %12, label %21, label %13
13: ; preds = %1
%14 = icmp slt i64 %8, %11
br i1 %14, label %18, label %15
15: ; preds = %13
%16 = load i64, ptr %0, align 8, !tbaa !12
%17 = add nsw i64 %16, %11
br label %18
18: ; preds = %13, %15
%19 = phi i64 [ %17, %15 ], [ %11, %13 ]
%20 = sub nsw i64 %19, %8
br label %21
21: ; preds = %1, %18
%22 = phi i64 [ %20, %18 ], [ 0, %1 ]
ret i64 %22
}
declare ptr @netdev_priv(i32 noundef) local_unnamed_addr #1
declare i64 @IXGBE_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IXGBE_VFTDH(i32 noundef) local_unnamed_addr #1
declare i32 @IXGBE_VFTDT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 12}
!6 = !{!"ixgbevf_ring", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_ixgbevf_main.c_ixgbevf_get_tx_pending.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_ixgbevf_main.c_ixgbevf_get_tx_pending.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 @ixgbevf_get_tx_pending], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @ixgbevf_get_tx_pending(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 12
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call ptr @netdev_priv(i32 noundef %3) #2
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i32, ptr %5, align 8, !tbaa !12
%7 = tail call i32 @IXGBE_VFTDH(i32 noundef %6) #2
%8 = tail call i64 @IXGBE_READ_REG(ptr noundef %4, i32 noundef %7) #2
%9 = load i32, ptr %5, align 8, !tbaa !12
%10 = tail call i32 @IXGBE_VFTDT(i32 noundef %9) #2
%11 = tail call i64 @IXGBE_READ_REG(ptr noundef %4, i32 noundef %10) #2
%12 = icmp eq i64 %8, %11
br i1 %12, label %21, label %13
13: ; preds = %1
%14 = icmp slt i64 %8, %11
br i1 %14, label %18, label %15
15: ; preds = %13
%16 = load i64, ptr %0, align 8, !tbaa !13
%17 = add nsw i64 %16, %11
br label %18
18: ; preds = %13, %15
%19 = phi i64 [ %17, %15 ], [ %11, %13 ]
%20 = sub nsw i64 %19, %8
br label %21
21: ; preds = %1, %18
%22 = phi i64 [ %20, %18 ], [ 0, %1 ]
ret i64 %22
}
declare ptr @netdev_priv(i32 noundef) local_unnamed_addr #1
declare i64 @IXGBE_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IXGBE_VFTDH(i32 noundef) local_unnamed_addr #1
declare i32 @IXGBE_VFTDT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 12}
!7 = !{!"ixgbevf_ring", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!7, !8, i64 0}
| linux_drivers_net_ethernet_intel_ixgbevf_extr_ixgbevf_main.c_ixgbevf_get_tx_pending |
; ModuleID = 'AnghaBench/openvpn/src/openvpn/extr_env_set.c_setenv_counter.c'
source_filename = "AnghaBench/openvpn/src/openvpn/extr_env_set.c_setenv_counter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@counter_format = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @setenv_counter(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca [64 x i8], align 16
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #3
%5 = load i32, ptr @counter_format, align 4, !tbaa !5
%6 = call i32 @openvpn_snprintf(ptr noundef nonnull %4, i32 noundef 64, i32 noundef %5, i32 noundef %2) #3
%7 = call i32 @setenv_str(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @openvpn_snprintf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @setenv_str(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/openvpn/src/openvpn/extr_env_set.c_setenv_counter.c'
source_filename = "AnghaBench/openvpn/src/openvpn/extr_env_set.c_setenv_counter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@counter_format = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @setenv_counter(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca [64 x i8], align 1
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #3
%5 = load i32, ptr @counter_format, align 4, !tbaa !6
%6 = call i32 @openvpn_snprintf(ptr noundef nonnull %4, i32 noundef 64, i32 noundef %5, i32 noundef %2) #3
%7 = call i32 @setenv_str(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @openvpn_snprintf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @setenv_str(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"}
| openvpn_src_openvpn_extr_env_set.c_setenv_counter |
; ModuleID = 'AnghaBench/sqlcipher/ext/fts5/extr_fts5_buffer.c_sqlite3Fts5BufferSet.c'
source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_buffer.c_sqlite3Fts5BufferSet.c"
target datalayout = "e-m:e-p270:32:32-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 @sqlite3Fts5BufferSet(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
store i64 0, ptr %1, align 8, !tbaa !5
%5 = tail call i32 @sqlite3Fts5BufferAppendBlob(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2, ptr noundef %3) #2
ret void
}
declare i32 @sqlite3Fts5BufferAppendBlob(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/sqlcipher/ext/fts5/extr_fts5_buffer.c_sqlite3Fts5BufferSet.c'
source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_buffer.c_sqlite3Fts5BufferSet.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 @sqlite3Fts5BufferSet(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
store i64 0, ptr %1, align 8, !tbaa !6
%5 = tail call i32 @sqlite3Fts5BufferAppendBlob(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2, ptr noundef %3) #2
ret void
}
declare i32 @sqlite3Fts5BufferAppendBlob(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| sqlcipher_ext_fts5_extr_fts5_buffer.c_sqlite3Fts5BufferSet |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/boot/compressed/extr_misc.c_error.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/boot/compressed/extr_misc.c_error.c"
target datalayout = "e-m:e-p270:32:32-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 [3 x i8] c"\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"\0A\0A -- System halted\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @error], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @error(ptr noundef %0) #0 {
%2 = tail call i32 @arch_error(ptr noundef %0) #2
%3 = tail call i32 @putstr(ptr noundef nonnull @.str) #2
%4 = tail call i32 @putstr(ptr noundef %0) #2
%5 = tail call i32 @putstr(ptr noundef nonnull @.str.1) #2
br label %6
6: ; preds = %1, %6
br label %6
}
declare i32 @arch_error(ptr noundef) local_unnamed_addr #1
declare i32 @putstr(ptr noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/boot/compressed/extr_misc.c_error.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/boot/compressed/extr_misc.c_error.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"\0A\0A -- System halted\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @error], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @error(ptr noundef %0) #0 {
%2 = tail call i32 @arch_error(ptr noundef %0) #2
%3 = tail call i32 @putstr(ptr noundef nonnull @.str) #2
%4 = tail call i32 @putstr(ptr noundef %0) #2
%5 = tail call i32 @putstr(ptr noundef nonnull @.str.1) #2
br label %6
6: ; preds = %1, %6
br label %6
}
declare i32 @arch_error(ptr noundef) local_unnamed_addr #1
declare i32 @putstr(ptr noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_arch_arm_boot_compressed_extr_misc.c_error |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/extr_trx.c__rtl92ce_signal_scale_mapping.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/extr_trx.c__rtl92ce_signal_scale_mapping.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @_rtl92ce_signal_scale_mapping], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i64 @_rtl92ce_signal_scale_mapping(ptr nocapture readnone %0, i64 noundef %1) #0 {
%3 = add i64 %1, -61
%4 = icmp ult i64 %3, 40
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = add nsw i64 %1, -60
%7 = lshr i64 %6, 2
%8 = add nuw nsw i64 %7, 90
br label %42
9: ; preds = %2
%10 = add i64 %1, -41
%11 = icmp ult i64 %10, 20
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = add nsw i64 %1, -40
%14 = lshr i64 %13, 1
%15 = add nuw nsw i64 %14, 78
br label %42
16: ; preds = %9
%17 = add i64 %1, -31
%18 = icmp ult i64 %17, 10
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = add nuw nsw i64 %1, 36
br label %42
21: ; preds = %16
%22 = add i64 %1, -21
%23 = icmp ult i64 %22, 10
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = add nuw nsw i64 %1, 34
br label %42
26: ; preds = %21
%27 = add i64 %1, -5
%28 = icmp ult i64 %27, 16
br i1 %28, label %29, label %36
29: ; preds = %26
%30 = trunc i64 %1 to i8
%31 = shl nuw nsw i8 %30, 1
%32 = add nsw i8 %31, -10
%33 = udiv i8 %32, 3
%34 = add nuw nsw i8 %33, 42
%35 = zext nneg i8 %34 to i64
br label %42
36: ; preds = %26
%37 = add i64 %1, -1
%38 = icmp ult i64 %37, 4
br i1 %38, label %39, label %42
39: ; preds = %36
%40 = mul nuw nsw i64 %37, 9
%41 = add nuw nsw i64 %40, 9
br label %42
42: ; preds = %36, %39, %12, %24, %29, %19, %5
%43 = phi i64 [ %8, %5 ], [ %15, %12 ], [ %20, %19 ], [ %25, %24 ], [ %35, %29 ], [ %41, %39 ], [ %1, %36 ]
ret i64 %43
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/extr_trx.c__rtl92ce_signal_scale_mapping.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/extr_trx.c__rtl92ce_signal_scale_mapping.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 @_rtl92ce_signal_scale_mapping], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i64 5, 1) i64 @_rtl92ce_signal_scale_mapping(ptr nocapture readnone %0, i64 noundef %1) #0 {
%3 = add i64 %1, -61
%4 = icmp ult i64 %3, 40
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = add nsw i64 %1, -60
%7 = lshr i64 %6, 2
%8 = add nuw nsw i64 %7, 90
br label %42
9: ; preds = %2
%10 = add i64 %1, -41
%11 = icmp ult i64 %10, 20
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = add nsw i64 %1, -40
%14 = lshr i64 %13, 1
%15 = add nuw nsw i64 %14, 78
br label %42
16: ; preds = %9
%17 = add i64 %1, -31
%18 = icmp ult i64 %17, 10
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = add nuw nsw i64 %1, 36
br label %42
21: ; preds = %16
%22 = add i64 %1, -21
%23 = icmp ult i64 %22, 10
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = add nuw nsw i64 %1, 34
br label %42
26: ; preds = %21
%27 = add i64 %1, -5
%28 = icmp ult i64 %27, 16
br i1 %28, label %29, label %36
29: ; preds = %26
%30 = trunc nuw i64 %1 to i8
%31 = shl nuw nsw i8 %30, 1
%32 = add nsw i8 %31, -10
%33 = udiv i8 %32, 3
%34 = add nuw nsw i8 %33, 42
%35 = zext nneg i8 %34 to i64
br label %42
36: ; preds = %26
%37 = add i64 %1, -1
%38 = icmp ult i64 %37, 4
br i1 %38, label %39, label %42
39: ; preds = %36
%40 = mul nuw nsw i64 %37, 9
%41 = add nuw nsw i64 %40, 9
br label %42
42: ; preds = %36, %39, %12, %24, %29, %19, %5
%43 = phi i64 [ %8, %5 ], [ %15, %12 ], [ %20, %19 ], [ %25, %24 ], [ %35, %29 ], [ %41, %39 ], [ %1, %36 ]
ret i64 %43
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_wireless_realtek_rtlwifi_rtl8192ce_extr_trx.c__rtl92ce_signal_scale_mapping |
; ModuleID = 'AnghaBench/linux/net/core/extr_lwt_bpf.c_bpf_fill_encap_info.c'
source_filename = "AnghaBench/linux/net/core/extr_lwt_bpf.c_bpf_fill_encap_info.c"
target datalayout = "e-m:e-p270:32:32-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.bpf_lwt = type { i32, i32, i32 }
@LWT_BPF_IN = dso_local local_unnamed_addr global i32 0, align 4
@LWT_BPF_OUT = dso_local local_unnamed_addr global i32 0, align 4
@LWT_BPF_XMIT = dso_local local_unnamed_addr global i32 0, align 4
@EMSGSIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bpf_fill_encap_info], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bpf_fill_encap_info(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @bpf_lwt_lwtunnel(ptr noundef %1) #2
%4 = load i32, ptr @LWT_BPF_IN, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.bpf_lwt, ptr %3, i64 0, i32 2
%6 = tail call i64 @bpf_fill_lwt_prog(ptr noundef %0, i32 noundef %4, ptr noundef nonnull %5) #2
%7 = icmp slt i64 %6, 0
br i1 %7, label %17, label %8
8: ; preds = %2
%9 = load i32, ptr @LWT_BPF_OUT, align 4, !tbaa !5
%10 = getelementptr inbounds %struct.bpf_lwt, ptr %3, i64 0, i32 1
%11 = tail call i64 @bpf_fill_lwt_prog(ptr noundef %0, i32 noundef %9, ptr noundef nonnull %10) #2
%12 = icmp slt i64 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %8
%14 = load i32, ptr @LWT_BPF_XMIT, align 4, !tbaa !5
%15 = tail call i64 @bpf_fill_lwt_prog(ptr noundef %0, i32 noundef %14, ptr noundef %3) #2
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13, %8, %2
%18 = load i32, ptr @EMSGSIZE, align 4, !tbaa !5
%19 = sub nsw i32 0, %18
br label %20
20: ; preds = %13, %17
%21 = phi i32 [ %19, %17 ], [ 0, %13 ]
ret i32 %21
}
declare ptr @bpf_lwt_lwtunnel(ptr noundef) local_unnamed_addr #1
declare i64 @bpf_fill_lwt_prog(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/net/core/extr_lwt_bpf.c_bpf_fill_encap_info.c'
source_filename = "AnghaBench/linux/net/core/extr_lwt_bpf.c_bpf_fill_encap_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LWT_BPF_IN = common local_unnamed_addr global i32 0, align 4
@LWT_BPF_OUT = common local_unnamed_addr global i32 0, align 4
@LWT_BPF_XMIT = common local_unnamed_addr global i32 0, align 4
@EMSGSIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bpf_fill_encap_info], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @bpf_fill_encap_info(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @bpf_lwt_lwtunnel(ptr noundef %1) #2
%4 = load i32, ptr @LWT_BPF_IN, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %3, i64 8
%6 = tail call i64 @bpf_fill_lwt_prog(ptr noundef %0, i32 noundef %4, ptr noundef nonnull %5) #2
%7 = icmp slt i64 %6, 0
br i1 %7, label %17, label %8
8: ; preds = %2
%9 = load i32, ptr @LWT_BPF_OUT, align 4, !tbaa !6
%10 = getelementptr inbounds i8, ptr %3, i64 4
%11 = tail call i64 @bpf_fill_lwt_prog(ptr noundef %0, i32 noundef %9, ptr noundef nonnull %10) #2
%12 = icmp slt i64 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %8
%14 = load i32, ptr @LWT_BPF_XMIT, align 4, !tbaa !6
%15 = tail call i64 @bpf_fill_lwt_prog(ptr noundef %0, i32 noundef %14, ptr noundef %3) #2
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13, %8, %2
%18 = load i32, ptr @EMSGSIZE, align 4, !tbaa !6
%19 = sub nsw i32 0, %18
br label %20
20: ; preds = %13, %17
%21 = phi i32 [ %19, %17 ], [ 0, %13 ]
ret i32 %21
}
declare ptr @bpf_lwt_lwtunnel(ptr noundef) local_unnamed_addr #1
declare i64 @bpf_fill_lwt_prog(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_net_core_extr_lwt_bpf.c_bpf_fill_encap_info |
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc_write_coefex_idx.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc_write_coefex_idx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AC_VERB_SET_COEF_INDEX = dso_local local_unnamed_addr global i32 0, align 4
@AC_VERB_SET_PROC_COEF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @alc_write_coefex_idx], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @alc_write_coefex_idx(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @AC_VERB_SET_COEF_INDEX, align 4, !tbaa !5
%6 = tail call i32 @snd_hda_codec_write(ptr noundef %0, i32 noundef %1, i32 noundef 0, i32 noundef %5, i32 noundef %2) #2
%7 = load i32, ptr @AC_VERB_SET_PROC_COEF, align 4, !tbaa !5
%8 = tail call i32 @snd_hda_codec_write(ptr noundef %0, i32 noundef %1, i32 noundef 0, i32 noundef %7, i32 noundef %3) #2
ret void
}
declare i32 @snd_hda_codec_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc_write_coefex_idx.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc_write_coefex_idx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AC_VERB_SET_COEF_INDEX = common local_unnamed_addr global i32 0, align 4
@AC_VERB_SET_PROC_COEF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @alc_write_coefex_idx], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @alc_write_coefex_idx(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @AC_VERB_SET_COEF_INDEX, align 4, !tbaa !6
%6 = tail call i32 @snd_hda_codec_write(ptr noundef %0, i32 noundef %1, i32 noundef 0, i32 noundef %5, i32 noundef %2) #2
%7 = load i32, ptr @AC_VERB_SET_PROC_COEF, align 4, !tbaa !6
%8 = tail call i32 @snd_hda_codec_write(ptr noundef %0, i32 noundef %1, i32 noundef 0, i32 noundef %7, i32 noundef %3) #2
ret void
}
declare i32 @snd_hda_codec_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_sound_pci_hda_extr_patch_realtek.c_alc_write_coefex_idx |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/fm10k/extr_fm10k_mbx.c_fm10k_mbx_create_error_msg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/fm10k/extr_fm10k_mbx.c_fm10k_mbx_create_error_msg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.fm10k_mbx_info = type { i32, i32, i32 }
@FM10K_MBX_REQ = dso_local local_unnamed_addr global i32 0, align 4
@FM10K_MSG_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@TYPE = dso_local local_unnamed_addr global i32 0, align 4
@ERR_NO = dso_local local_unnamed_addr global i32 0, align 4
@HEAD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fm10k_mbx_create_error_msg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @fm10k_mbx_create_error_msg(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = add i32 %1, -128
%4 = icmp ult i32 %3, 6
br i1 %4, label %5, label %21
5: ; preds = %2
%6 = load i32, ptr @FM10K_MBX_REQ, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.fm10k_mbx_info, ptr %0, i64 0, i32 2
%8 = load i32, ptr %7, align 4, !tbaa !9
%9 = or i32 %8, %6
store i32 %9, ptr %7, align 4, !tbaa !9
%10 = load i32, ptr @FM10K_MSG_ERROR, align 4, !tbaa !5
%11 = load i32, ptr @TYPE, align 4, !tbaa !5
%12 = tail call i32 @FM10K_MSG_HDR_FIELD_SET(i32 noundef %10, i32 noundef %11) #2
%13 = load i32, ptr @ERR_NO, align 4, !tbaa !5
%14 = tail call i32 @FM10K_MSG_HDR_FIELD_SET(i32 noundef %1, i32 noundef %13) #2
%15 = or i32 %14, %12
%16 = getelementptr inbounds %struct.fm10k_mbx_info, ptr %0, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !11
%18 = load i32, ptr @HEAD, align 4, !tbaa !5
%19 = tail call i32 @FM10K_MSG_HDR_FIELD_SET(i32 noundef %17, i32 noundef %18) #2
%20 = or i32 %15, %19
store i32 %20, ptr %0, align 4, !tbaa !12
br label %21
21: ; preds = %2, %5
ret void
}
declare i32 @FM10K_MSG_HDR_FIELD_SET(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 8}
!10 = !{!"fm10k_mbx_info", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 4}
!12 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/fm10k/extr_fm10k_mbx.c_fm10k_mbx_create_error_msg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/fm10k/extr_fm10k_mbx.c_fm10k_mbx_create_error_msg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FM10K_MBX_REQ = common local_unnamed_addr global i32 0, align 4
@FM10K_MSG_ERROR = common local_unnamed_addr global i32 0, align 4
@TYPE = common local_unnamed_addr global i32 0, align 4
@ERR_NO = common local_unnamed_addr global i32 0, align 4
@HEAD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fm10k_mbx_create_error_msg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @fm10k_mbx_create_error_msg(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = add i32 %1, -128
%4 = icmp ult i32 %3, 6
br i1 %4, label %5, label %21
5: ; preds = %2
%6 = load i32, ptr @FM10K_MBX_REQ, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = or i32 %8, %6
store i32 %9, ptr %7, align 4, !tbaa !10
%10 = load i32, ptr @FM10K_MSG_ERROR, align 4, !tbaa !6
%11 = load i32, ptr @TYPE, align 4, !tbaa !6
%12 = tail call i32 @FM10K_MSG_HDR_FIELD_SET(i32 noundef %10, i32 noundef %11) #2
%13 = load i32, ptr @ERR_NO, align 4, !tbaa !6
%14 = tail call i32 @FM10K_MSG_HDR_FIELD_SET(i32 noundef %1, i32 noundef %13) #2
%15 = or i32 %14, %12
%16 = getelementptr inbounds i8, ptr %0, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !12
%18 = load i32, ptr @HEAD, align 4, !tbaa !6
%19 = tail call i32 @FM10K_MSG_HDR_FIELD_SET(i32 noundef %17, i32 noundef %18) #2
%20 = or i32 %15, %19
store i32 %20, ptr %0, align 4, !tbaa !13
br label %21
21: ; preds = %2, %5
ret void
}
declare i32 @FM10K_MSG_HDR_FIELD_SET(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 8}
!11 = !{!"fm10k_mbx_info", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 4}
!13 = !{!11, !7, i64 0}
| linux_drivers_net_ethernet_intel_fm10k_extr_fm10k_mbx.c_fm10k_mbx_create_error_msg |
; ModuleID = 'AnghaBench/linux/drivers/staging/gdm724x/extr_gdm_tty.c_register_lte_tty_driver.c'
source_filename = "AnghaBench/linux/drivers/staging/gdm724x/extr_gdm_tty.c_register_lte_tty_driver.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.tty_driver = type { i32, %struct.TYPE_2__, i32, i32, i32, i32, i32, i32 }
@TTY_MAX_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@GDM_TTY_MINOR = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@THIS_MODULE = dso_local local_unnamed_addr global i32 0, align 4
@DRIVER_STRING = dso_local local_unnamed_addr global ptr null, align 8
@DEVICE_STRING = dso_local local_unnamed_addr global ptr null, align 8
@GDM_TTY_MAJOR = dso_local local_unnamed_addr global i32 0, align 4
@TTY_DRIVER_TYPE_SERIAL = dso_local local_unnamed_addr global i32 0, align 4
@SERIAL_TYPE_NORMAL = dso_local local_unnamed_addr global i32 0, align 4
@TTY_DRIVER_REAL_RAW = dso_local local_unnamed_addr global i32 0, align 4
@TTY_DRIVER_DYNAMIC_DEV = dso_local local_unnamed_addr global i32 0, align 4
@tty_std_termios = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@B9600 = dso_local local_unnamed_addr global i32 0, align 4
@CS8 = dso_local local_unnamed_addr global i32 0, align 4
@HUPCL = dso_local local_unnamed_addr global i32 0, align 4
@CLOCAL = dso_local local_unnamed_addr global i32 0, align 4
@ISIG = dso_local local_unnamed_addr global i32 0, align 4
@ICANON = dso_local local_unnamed_addr global i32 0, align 4
@IEXTEN = dso_local local_unnamed_addr global i32 0, align 4
@gdm_tty_ops = dso_local global i32 0, align 4
@gdm_driver = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @register_lte_tty_driver() local_unnamed_addr #0 {
%1 = load i32, ptr @TTY_MAX_COUNT, align 4, !tbaa !5
%2 = icmp sgt i32 %1, 0
br i1 %2, label %3, label %57
3: ; preds = %0, %50
%4 = phi i64 [ %53, %50 ], [ 0, %0 ]
%5 = load i32, ptr @GDM_TTY_MINOR, align 4, !tbaa !5
%6 = tail call ptr @alloc_tty_driver(i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %3
%9 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%10 = sub nsw i32 0, %9
br label %57
11: ; preds = %3
%12 = load i32, ptr @THIS_MODULE, align 4, !tbaa !5
%13 = getelementptr inbounds %struct.tty_driver, ptr %6, i64 0, i32 7
store i32 %12, ptr %13, align 4, !tbaa !9
%14 = load ptr, ptr @DRIVER_STRING, align 8, !tbaa !12
%15 = getelementptr inbounds i32, ptr %14, i64 %4
%16 = load i32, ptr %15, align 4, !tbaa !5
%17 = getelementptr inbounds %struct.tty_driver, ptr %6, i64 0, i32 6
store i32 %16, ptr %17, align 4, !tbaa !14
%18 = load ptr, ptr @DEVICE_STRING, align 8, !tbaa !12
%19 = getelementptr inbounds i32, ptr %18, i64 %4
%20 = load i32, ptr %19, align 4, !tbaa !5
%21 = getelementptr inbounds %struct.tty_driver, ptr %6, i64 0, i32 5
store i32 %20, ptr %21, align 4, !tbaa !15
%22 = load i32, ptr @GDM_TTY_MAJOR, align 4, !tbaa !5
%23 = getelementptr inbounds %struct.tty_driver, ptr %6, i64 0, i32 4
store i32 %22, ptr %23, align 4, !tbaa !16
%24 = load i32, ptr @TTY_DRIVER_TYPE_SERIAL, align 4, !tbaa !5
%25 = getelementptr inbounds %struct.tty_driver, ptr %6, i64 0, i32 3
store i32 %24, ptr %25, align 4, !tbaa !17
%26 = load i32, ptr @SERIAL_TYPE_NORMAL, align 4, !tbaa !5
%27 = getelementptr inbounds %struct.tty_driver, ptr %6, i64 0, i32 2
store i32 %26, ptr %27, align 4, !tbaa !18
%28 = load i32, ptr @TTY_DRIVER_REAL_RAW, align 4, !tbaa !5
%29 = load i32, ptr @TTY_DRIVER_DYNAMIC_DEV, align 4, !tbaa !5
%30 = or i32 %29, %28
store i32 %30, ptr %6, align 4, !tbaa !19
%31 = getelementptr inbounds %struct.tty_driver, ptr %6, i64 0, i32 1
%32 = load i32, ptr @B9600, align 4, !tbaa !5
%33 = load i32, ptr @CS8, align 4, !tbaa !5
%34 = or i32 %33, %32
%35 = load i32, ptr @HUPCL, align 4, !tbaa !5
%36 = or i32 %34, %35
%37 = load i32, ptr @CLOCAL, align 4, !tbaa !5
%38 = or i32 %36, %37
store i32 %38, ptr %31, align 4, !tbaa !20
%39 = load i32, ptr @ISIG, align 4, !tbaa !5
%40 = load i32, ptr @ICANON, align 4, !tbaa !5
%41 = or i32 %40, %39
%42 = load i32, ptr @IEXTEN, align 4, !tbaa !5
%43 = or i32 %41, %42
%44 = getelementptr inbounds %struct.tty_driver, ptr %6, i64 0, i32 1, i32 1
store i32 %43, ptr %44, align 4, !tbaa !21
%45 = tail call i32 @tty_set_operations(ptr noundef nonnull %6, ptr noundef nonnull @gdm_tty_ops) #2
%46 = tail call i32 @tty_register_driver(ptr noundef nonnull %6) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %11
%49 = tail call i32 @put_tty_driver(ptr noundef nonnull %6) #2
br label %57
50: ; preds = %11
%51 = load ptr, ptr @gdm_driver, align 8, !tbaa !12
%52 = getelementptr inbounds ptr, ptr %51, i64 %4
store ptr %6, ptr %52, align 8, !tbaa !12
%53 = add nuw nsw i64 %4, 1
%54 = load i32, ptr @TTY_MAX_COUNT, align 4, !tbaa !5
%55 = sext i32 %54 to i64
%56 = icmp slt i64 %53, %55
br i1 %56, label %3, label %57, !llvm.loop !22
57: ; preds = %50, %0, %48, %8
%58 = phi i32 [ %46, %48 ], [ %10, %8 ], [ 0, %0 ], [ 0, %50 ]
ret i32 %58
}
declare ptr @alloc_tty_driver(i32 noundef) local_unnamed_addr #1
declare i32 @tty_set_operations(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @tty_register_driver(ptr noundef) local_unnamed_addr #1
declare i32 @put_tty_driver(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 32}
!10 = !{!"tty_driver", !6, i64 0, !11, i64 4, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32}
!11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!10, !6, i64 28}
!15 = !{!10, !6, i64 24}
!16 = !{!10, !6, i64 20}
!17 = !{!10, !6, i64 16}
!18 = !{!10, !6, i64 12}
!19 = !{!10, !6, i64 0}
!20 = !{!10, !6, i64 4}
!21 = !{!10, !6, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/gdm724x/extr_gdm_tty.c_register_lte_tty_driver.c'
source_filename = "AnghaBench/linux/drivers/staging/gdm724x/extr_gdm_tty.c_register_lte_tty_driver.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 }
@TTY_MAX_COUNT = common local_unnamed_addr global i32 0, align 4
@GDM_TTY_MINOR = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@THIS_MODULE = common local_unnamed_addr global i32 0, align 4
@DRIVER_STRING = common local_unnamed_addr global ptr null, align 8
@DEVICE_STRING = common local_unnamed_addr global ptr null, align 8
@GDM_TTY_MAJOR = common local_unnamed_addr global i32 0, align 4
@TTY_DRIVER_TYPE_SERIAL = common local_unnamed_addr global i32 0, align 4
@SERIAL_TYPE_NORMAL = common local_unnamed_addr global i32 0, align 4
@TTY_DRIVER_REAL_RAW = common local_unnamed_addr global i32 0, align 4
@TTY_DRIVER_DYNAMIC_DEV = common local_unnamed_addr global i32 0, align 4
@tty_std_termios = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@B9600 = common local_unnamed_addr global i32 0, align 4
@CS8 = common local_unnamed_addr global i32 0, align 4
@HUPCL = common local_unnamed_addr global i32 0, align 4
@CLOCAL = common local_unnamed_addr global i32 0, align 4
@ISIG = common local_unnamed_addr global i32 0, align 4
@ICANON = common local_unnamed_addr global i32 0, align 4
@IEXTEN = common local_unnamed_addr global i32 0, align 4
@gdm_tty_ops = common global i32 0, align 4
@gdm_driver = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @register_lte_tty_driver() local_unnamed_addr #0 {
%1 = load i32, ptr @TTY_MAX_COUNT, align 4, !tbaa !6
%2 = icmp sgt i32 %1, 0
br i1 %2, label %3, label %57
3: ; preds = %0, %50
%4 = phi i64 [ %53, %50 ], [ 0, %0 ]
%5 = load i32, ptr @GDM_TTY_MINOR, align 4, !tbaa !6
%6 = tail call ptr @alloc_tty_driver(i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %3
%9 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%10 = sub nsw i32 0, %9
br label %57
11: ; preds = %3
%12 = load i32, ptr @THIS_MODULE, align 4, !tbaa !6
%13 = getelementptr inbounds i8, ptr %6, i64 32
store i32 %12, ptr %13, align 4, !tbaa !10
%14 = load ptr, ptr @DRIVER_STRING, align 8, !tbaa !13
%15 = getelementptr inbounds i32, ptr %14, i64 %4
%16 = load i32, ptr %15, align 4, !tbaa !6
%17 = getelementptr inbounds i8, ptr %6, i64 28
store i32 %16, ptr %17, align 4, !tbaa !15
%18 = load ptr, ptr @DEVICE_STRING, align 8, !tbaa !13
%19 = getelementptr inbounds i32, ptr %18, i64 %4
%20 = load i32, ptr %19, align 4, !tbaa !6
%21 = getelementptr inbounds i8, ptr %6, i64 24
store i32 %20, ptr %21, align 4, !tbaa !16
%22 = load i32, ptr @GDM_TTY_MAJOR, align 4, !tbaa !6
%23 = getelementptr inbounds i8, ptr %6, i64 20
store i32 %22, ptr %23, align 4, !tbaa !17
%24 = load i32, ptr @TTY_DRIVER_TYPE_SERIAL, align 4, !tbaa !6
%25 = getelementptr inbounds i8, ptr %6, i64 16
store i32 %24, ptr %25, align 4, !tbaa !18
%26 = load i32, ptr @SERIAL_TYPE_NORMAL, align 4, !tbaa !6
%27 = getelementptr inbounds i8, ptr %6, i64 12
store i32 %26, ptr %27, align 4, !tbaa !19
%28 = load i32, ptr @TTY_DRIVER_REAL_RAW, align 4, !tbaa !6
%29 = load i32, ptr @TTY_DRIVER_DYNAMIC_DEV, align 4, !tbaa !6
%30 = or i32 %29, %28
store i32 %30, ptr %6, align 4, !tbaa !20
%31 = getelementptr inbounds i8, ptr %6, i64 4
%32 = load i32, ptr @B9600, align 4, !tbaa !6
%33 = load i32, ptr @CS8, align 4, !tbaa !6
%34 = or i32 %33, %32
%35 = load i32, ptr @HUPCL, align 4, !tbaa !6
%36 = or i32 %34, %35
%37 = load i32, ptr @CLOCAL, align 4, !tbaa !6
%38 = or i32 %36, %37
store i32 %38, ptr %31, align 4, !tbaa !21
%39 = load i32, ptr @ISIG, align 4, !tbaa !6
%40 = load i32, ptr @ICANON, align 4, !tbaa !6
%41 = or i32 %40, %39
%42 = load i32, ptr @IEXTEN, align 4, !tbaa !6
%43 = or i32 %41, %42
%44 = getelementptr inbounds i8, ptr %6, i64 8
store i32 %43, ptr %44, align 4, !tbaa !22
%45 = tail call i32 @tty_set_operations(ptr noundef nonnull %6, ptr noundef nonnull @gdm_tty_ops) #2
%46 = tail call i32 @tty_register_driver(ptr noundef nonnull %6) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %11
%49 = tail call i32 @put_tty_driver(ptr noundef nonnull %6) #2
br label %57
50: ; preds = %11
%51 = load ptr, ptr @gdm_driver, align 8, !tbaa !13
%52 = getelementptr inbounds ptr, ptr %51, i64 %4
store ptr %6, ptr %52, align 8, !tbaa !13
%53 = add nuw nsw i64 %4, 1
%54 = load i32, ptr @TTY_MAX_COUNT, align 4, !tbaa !6
%55 = sext i32 %54 to i64
%56 = icmp slt i64 %53, %55
br i1 %56, label %3, label %57, !llvm.loop !23
57: ; preds = %50, %0, %48, %8
%58 = phi i32 [ %46, %48 ], [ %10, %8 ], [ 0, %0 ], [ 0, %50 ]
ret i32 %58
}
declare ptr @alloc_tty_driver(i32 noundef) local_unnamed_addr #1
declare i32 @tty_set_operations(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @tty_register_driver(ptr noundef) local_unnamed_addr #1
declare i32 @put_tty_driver(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 32}
!11 = !{!"tty_driver", !7, i64 0, !12, i64 4, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32}
!12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!11, !7, i64 28}
!16 = !{!11, !7, i64 24}
!17 = !{!11, !7, i64 20}
!18 = !{!11, !7, i64 16}
!19 = !{!11, !7, i64 12}
!20 = !{!11, !7, i64 0}
!21 = !{!11, !7, i64 4}
!22 = !{!11, !7, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
| linux_drivers_staging_gdm724x_extr_gdm_tty.c_register_lte_tty_driver |
; ModuleID = 'AnghaBench/lab/engine/code/ui/extr_ui_syscalls.c_trap_PC_SourceFileAndLine.c'
source_filename = "AnghaBench/lab/engine/code/ui/extr_ui_syscalls.c_trap_PC_SourceFileAndLine.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"
@UI_PC_SOURCE_FILE_AND_LINE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @trap_PC_SourceFileAndLine(i32 noundef %0, i8* noundef %1, i32* noundef %2) local_unnamed_addr #0 {
%4 = load i32, i32* @UI_PC_SOURCE_FILE_AND_LINE, align 4, !tbaa !5
%5 = tail call i32 @syscall(i32 noundef %4, i32 noundef %0, i8* noundef %1, i32* noundef %2) #2
ret i32 %5
}
declare i32 @syscall(i32 noundef, i32 noundef, i8* noundef, 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"}
| ; ModuleID = 'AnghaBench/lab/engine/code/ui/extr_ui_syscalls.c_trap_PC_SourceFileAndLine.c'
source_filename = "AnghaBench/lab/engine/code/ui/extr_ui_syscalls.c_trap_PC_SourceFileAndLine.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UI_PC_SOURCE_FILE_AND_LINE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @trap_PC_SourceFileAndLine(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @UI_PC_SOURCE_FILE_AND_LINE, align 4, !tbaa !6
%5 = tail call i32 @syscall(i32 noundef %4, i32 noundef %0, ptr noundef %1, ptr noundef %2) #2
ret i32 %5
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| lab_engine_code_ui_extr_ui_syscalls.c_trap_PC_SourceFileAndLine |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_exthdrs.c_ipv6_rthdr_rcv.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_exthdrs.c_ipv6_rthdr_rcv.c"
target datalayout = "e-m:e-p270:32:32-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 { i64, i32, i64, i32, ptr }
%struct.TYPE_14__ = type { i32, %struct.in6_addr, i32 }
%struct.in6_addr = type { i32 }
%struct.inet6_skb_parm = type { ptr, i64, i64, i32, i32 }
%struct.ipv6_rt_hdr = type { i32, i32, i32, i32 }
@IPSTATS_MIB_INHDRERRORS = dso_local local_unnamed_addr global i32 0, align 4
@PACKET_HOST = dso_local local_unnamed_addr global i64 0, align 8
@IPSTATS_MIB_INADDRERRORS = dso_local local_unnamed_addr global i32 0, align 4
@ICMPV6_HDR_FIELD = dso_local local_unnamed_addr global i32 0, align 4
@CHECKSUM_COMPLETE = dso_local local_unnamed_addr global i64 0, align 8
@CHECKSUM_NONE = dso_local local_unnamed_addr global i64 0, align 8
@GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@ICMPV6_EXC_HOPLIMIT = dso_local local_unnamed_addr global i32 0, align 4
@ICMPV6_TIME_EXCEED = dso_local local_unnamed_addr global i32 0, align 4
@IFF_LOOPBACK = dso_local local_unnamed_addr global i32 0, align 4
@IPPROTO_ROUTING = dso_local local_unnamed_addr global i32 0, align 4
@IPSTATS_MIB_OUTDISCARDS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipv6_rthdr_rcv], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ipv6_rthdr_rcv(ptr noundef %0) #0 {
%2 = tail call ptr @IP6CB(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.sk_buff, ptr %0, i64 0, i32 4
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = tail call ptr @dev_net(ptr noundef %4) #2
%6 = load ptr, ptr %3, align 8, !tbaa !5
%7 = tail call ptr @in6_dev_get(ptr noundef %6) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 @in6_dev_put(ptr noundef nonnull %7) #2
br label %11
11: ; preds = %9, %1
%12 = tail call i64 @skb_transport_offset(ptr noundef nonnull %0) #2
%13 = add nsw i64 %12, 8
%14 = tail call i32 @pskb_may_pull(ptr noundef nonnull %0, i64 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %27, label %16
16: ; preds = %11
%17 = tail call i64 @skb_transport_offset(ptr noundef nonnull %0) #2
%18 = tail call ptr @skb_transport_header(ptr noundef nonnull %0) #2
%19 = getelementptr inbounds i32, ptr %18, i64 1
%20 = load i32, ptr %19, align 4, !tbaa !12
%21 = shl i32 %20, 3
%22 = add i32 %21, 8
%23 = sext i32 %22 to i64
%24 = add nsw i64 %17, %23
%25 = tail call i32 @pskb_may_pull(ptr noundef nonnull %0, i64 noundef %24) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %33
27: ; preds = %16, %11
%28 = tail call ptr @skb_dst(ptr noundef nonnull %0) #2
%29 = tail call i32 @ip6_dst_idev(ptr noundef %28) #2
%30 = load i32, ptr @IPSTATS_MIB_INHDRERRORS, align 4, !tbaa !12
%31 = tail call i32 @IP6_INC_STATS_BH(ptr noundef nonnull %5, i32 noundef %29, i32 noundef %30) #2
%32 = tail call i32 @kfree_skb(ptr noundef nonnull %0) #2
br label %83
33: ; preds = %16
%34 = tail call ptr @skb_transport_header(ptr noundef nonnull %0) #2
%35 = tail call ptr @ipv6_hdr(ptr noundef nonnull %0) #2
%36 = getelementptr inbounds %struct.TYPE_14__, ptr %35, i64 0, i32 1
%37 = tail call i64 @ipv6_addr_is_multicast(ptr noundef nonnull %36) #2
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %33
%40 = load i64, ptr %0, align 8, !tbaa !13
%41 = load i64, ptr @PACKET_HOST, align 8, !tbaa !14
%42 = icmp eq i64 %40, %41
br i1 %42, label %49, label %43
43: ; preds = %39, %33
%44 = tail call ptr @skb_dst(ptr noundef nonnull %0) #2
%45 = tail call i32 @ip6_dst_idev(ptr noundef %44) #2
%46 = load i32, ptr @IPSTATS_MIB_INADDRERRORS, align 4, !tbaa !12
%47 = tail call i32 @IP6_INC_STATS_BH(ptr noundef nonnull %5, i32 noundef %45, i32 noundef %46) #2
%48 = tail call i32 @kfree_skb(ptr noundef nonnull %0) #2
br label %83
49: ; preds = %39
%50 = load i32, ptr %34, align 4, !tbaa !15
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %71
52: ; preds = %49
%53 = tail call i32 @skb_network_header_len(ptr noundef nonnull %0) #2
%54 = getelementptr inbounds %struct.inet6_skb_parm, ptr %2, i64 0, i32 3
store i32 %53, ptr %54, align 8, !tbaa !17
%55 = getelementptr inbounds %struct.inet6_skb_parm, ptr %2, i64 0, i32 4
store i32 %53, ptr %55, align 4, !tbaa !19
%56 = getelementptr inbounds %struct.ipv6_rt_hdr, ptr %34, i64 0, i32 2
%57 = load i32, ptr %56, align 4, !tbaa !20
%58 = shl i32 %57, 3
%59 = add i32 %58, 8
%60 = getelementptr inbounds %struct.sk_buff, ptr %0, i64 0, i32 1
%61 = load i32, ptr %60, align 8, !tbaa !21
%62 = add nsw i32 %59, %61
store i32 %62, ptr %60, align 8, !tbaa !21
%63 = getelementptr inbounds %struct.inet6_skb_parm, ptr %2, i64 0, i32 1
%64 = load i64, ptr %63, align 8, !tbaa !22
%65 = getelementptr inbounds %struct.inet6_skb_parm, ptr %2, i64 0, i32 2
store i64 %64, ptr %65, align 8, !tbaa !23
store i64 0, ptr %63, align 8, !tbaa !22
%66 = getelementptr inbounds %struct.ipv6_rt_hdr, ptr %34, i64 0, i32 3
%67 = tail call i32 @skb_network_header(ptr noundef nonnull %0) #2
%68 = sext i32 %67 to i64
%69 = sub nsw i64 0, %68
%70 = getelementptr inbounds i32, ptr %66, i64 %69
store ptr %70, ptr %2, align 8, !tbaa !24
br label %83
71: ; preds = %49
%72 = tail call ptr @skb_dst(ptr noundef nonnull %0) #2
%73 = tail call i32 @ip6_dst_idev(ptr noundef %72) #2
%74 = load i32, ptr @IPSTATS_MIB_INHDRERRORS, align 4, !tbaa !12
%75 = tail call i32 @IP6_INC_STATS_BH(ptr noundef nonnull %5, i32 noundef %73, i32 noundef %74) #2
%76 = load i32, ptr @ICMPV6_HDR_FIELD, align 4, !tbaa !12
%77 = getelementptr inbounds %struct.ipv6_rt_hdr, ptr %34, i64 0, i32 1
%78 = tail call i32 @skb_network_header(ptr noundef nonnull %0) #2
%79 = sext i32 %78 to i64
%80 = sub nsw i64 0, %79
%81 = getelementptr inbounds i32, ptr %77, i64 %80
%82 = tail call i32 @icmpv6_param_prob(ptr noundef nonnull %0, i32 noundef %76, ptr noundef nonnull %81) #2
br label %83
83: ; preds = %71, %52, %43, %27
%84 = phi i32 [ -1, %43 ], [ 1, %52 ], [ -1, %71 ], [ -1, %27 ]
ret i32 %84
}
declare ptr @IP6CB(ptr noundef) local_unnamed_addr #1
declare ptr @dev_net(ptr noundef) local_unnamed_addr #1
declare ptr @in6_dev_get(ptr noundef) local_unnamed_addr #1
declare i32 @in6_dev_put(ptr noundef) local_unnamed_addr #1
declare i32 @pskb_may_pull(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @skb_transport_offset(ptr noundef) local_unnamed_addr #1
declare ptr @skb_transport_header(ptr noundef) local_unnamed_addr #1
declare i32 @IP6_INC_STATS_BH(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ip6_dst_idev(ptr noundef) local_unnamed_addr #1
declare ptr @skb_dst(ptr noundef) local_unnamed_addr #1
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
declare i64 @ipv6_addr_is_multicast(ptr noundef) local_unnamed_addr #1
declare ptr @ipv6_hdr(ptr noundef) local_unnamed_addr #1
declare i32 @skb_network_header_len(ptr noundef) local_unnamed_addr #1
declare i32 @skb_network_header(ptr noundef) local_unnamed_addr #1
declare i32 @icmpv6_param_prob(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 32}
!6 = !{!"sk_buff", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !11, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"ipv6_rt_hdr", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!17 = !{!18, !10, i64 24}
!18 = !{!"inet6_skb_parm", !11, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28}
!19 = !{!18, !10, i64 28}
!20 = !{!16, !10, i64 8}
!21 = !{!6, !10, i64 8}
!22 = !{!18, !7, i64 8}
!23 = !{!18, !7, i64 16}
!24 = !{!18, !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_exthdrs.c_ipv6_rthdr_rcv.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_exthdrs.c_ipv6_rthdr_rcv.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IPSTATS_MIB_INHDRERRORS = common local_unnamed_addr global i32 0, align 4
@PACKET_HOST = common local_unnamed_addr global i64 0, align 8
@IPSTATS_MIB_INADDRERRORS = common local_unnamed_addr global i32 0, align 4
@ICMPV6_HDR_FIELD = common local_unnamed_addr global i32 0, align 4
@CHECKSUM_COMPLETE = common local_unnamed_addr global i64 0, align 8
@CHECKSUM_NONE = common local_unnamed_addr global i64 0, align 8
@GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4
@ICMPV6_EXC_HOPLIMIT = common local_unnamed_addr global i32 0, align 4
@ICMPV6_TIME_EXCEED = common local_unnamed_addr global i32 0, align 4
@IFF_LOOPBACK = common local_unnamed_addr global i32 0, align 4
@IPPROTO_ROUTING = common local_unnamed_addr global i32 0, align 4
@IPSTATS_MIB_OUTDISCARDS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ipv6_rthdr_rcv], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 2) i32 @ipv6_rthdr_rcv(ptr noundef %0) #0 {
%2 = tail call ptr @IP6CB(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = tail call ptr @dev_net(ptr noundef %4) #2
%6 = load ptr, ptr %3, align 8, !tbaa !6
%7 = tail call ptr @in6_dev_get(ptr noundef %6) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 @in6_dev_put(ptr noundef nonnull %7) #2
br label %11
11: ; preds = %9, %1
%12 = tail call i64 @skb_transport_offset(ptr noundef nonnull %0) #2
%13 = add nsw i64 %12, 8
%14 = tail call i32 @pskb_may_pull(ptr noundef nonnull %0, i64 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %27, label %16
16: ; preds = %11
%17 = tail call i64 @skb_transport_offset(ptr noundef nonnull %0) #2
%18 = tail call ptr @skb_transport_header(ptr noundef nonnull %0) #2
%19 = getelementptr inbounds i8, ptr %18, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !13
%21 = shl i32 %20, 3
%22 = add i32 %21, 8
%23 = sext i32 %22 to i64
%24 = add nsw i64 %17, %23
%25 = tail call i32 @pskb_may_pull(ptr noundef nonnull %0, i64 noundef %24) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %33
27: ; preds = %16, %11
%28 = tail call ptr @skb_dst(ptr noundef nonnull %0) #2
%29 = tail call i32 @ip6_dst_idev(ptr noundef %28) #2
%30 = load i32, ptr @IPSTATS_MIB_INHDRERRORS, align 4, !tbaa !13
%31 = tail call i32 @IP6_INC_STATS_BH(ptr noundef nonnull %5, i32 noundef %29, i32 noundef %30) #2
%32 = tail call i32 @kfree_skb(ptr noundef nonnull %0) #2
br label %83
33: ; preds = %16
%34 = tail call ptr @skb_transport_header(ptr noundef nonnull %0) #2
%35 = tail call ptr @ipv6_hdr(ptr noundef nonnull %0) #2
%36 = getelementptr inbounds i8, ptr %35, i64 4
%37 = tail call i64 @ipv6_addr_is_multicast(ptr noundef nonnull %36) #2
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %33
%40 = load i64, ptr %0, align 8, !tbaa !14
%41 = load i64, ptr @PACKET_HOST, align 8, !tbaa !15
%42 = icmp eq i64 %40, %41
br i1 %42, label %49, label %43
43: ; preds = %39, %33
%44 = tail call ptr @skb_dst(ptr noundef nonnull %0) #2
%45 = tail call i32 @ip6_dst_idev(ptr noundef %44) #2
%46 = load i32, ptr @IPSTATS_MIB_INADDRERRORS, align 4, !tbaa !13
%47 = tail call i32 @IP6_INC_STATS_BH(ptr noundef nonnull %5, i32 noundef %45, i32 noundef %46) #2
%48 = tail call i32 @kfree_skb(ptr noundef nonnull %0) #2
br label %83
49: ; preds = %39
%50 = load i32, ptr %34, align 4, !tbaa !16
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %71
52: ; preds = %49
%53 = tail call i32 @skb_network_header_len(ptr noundef nonnull %0) #2
%54 = getelementptr inbounds i8, ptr %2, i64 24
store i32 %53, ptr %54, align 8, !tbaa !18
%55 = getelementptr inbounds i8, ptr %2, i64 28
store i32 %53, ptr %55, align 4, !tbaa !20
%56 = getelementptr inbounds i8, ptr %34, i64 8
%57 = load i32, ptr %56, align 4, !tbaa !21
%58 = shl i32 %57, 3
%59 = add i32 %58, 8
%60 = getelementptr inbounds i8, ptr %0, i64 8
%61 = load i32, ptr %60, align 8, !tbaa !22
%62 = add nsw i32 %59, %61
store i32 %62, ptr %60, align 8, !tbaa !22
%63 = getelementptr inbounds i8, ptr %2, i64 8
%64 = load i64, ptr %63, align 8, !tbaa !23
%65 = getelementptr inbounds i8, ptr %2, i64 16
store i64 %64, ptr %65, align 8, !tbaa !24
store i64 0, ptr %63, align 8, !tbaa !23
%66 = getelementptr inbounds i8, ptr %34, i64 12
%67 = tail call i32 @skb_network_header(ptr noundef nonnull %0) #2
%68 = sext i32 %67 to i64
%69 = sub nsw i64 0, %68
%70 = getelementptr inbounds i32, ptr %66, i64 %69
store ptr %70, ptr %2, align 8, !tbaa !25
br label %83
71: ; preds = %49
%72 = tail call ptr @skb_dst(ptr noundef nonnull %0) #2
%73 = tail call i32 @ip6_dst_idev(ptr noundef %72) #2
%74 = load i32, ptr @IPSTATS_MIB_INHDRERRORS, align 4, !tbaa !13
%75 = tail call i32 @IP6_INC_STATS_BH(ptr noundef nonnull %5, i32 noundef %73, i32 noundef %74) #2
%76 = load i32, ptr @ICMPV6_HDR_FIELD, align 4, !tbaa !13
%77 = getelementptr inbounds i8, ptr %34, i64 4
%78 = tail call i32 @skb_network_header(ptr noundef nonnull %0) #2
%79 = sext i32 %78 to i64
%80 = sub nsw i64 0, %79
%81 = getelementptr inbounds i32, ptr %77, i64 %80
%82 = tail call i32 @icmpv6_param_prob(ptr noundef nonnull %0, i32 noundef %76, ptr noundef nonnull %81) #2
br label %83
83: ; preds = %71, %52, %43, %27
%84 = phi i32 [ -1, %43 ], [ 1, %52 ], [ -1, %71 ], [ -1, %27 ]
ret i32 %84
}
declare ptr @IP6CB(ptr noundef) local_unnamed_addr #1
declare ptr @dev_net(ptr noundef) local_unnamed_addr #1
declare ptr @in6_dev_get(ptr noundef) local_unnamed_addr #1
declare i32 @in6_dev_put(ptr noundef) local_unnamed_addr #1
declare i32 @pskb_may_pull(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @skb_transport_offset(ptr noundef) local_unnamed_addr #1
declare ptr @skb_transport_header(ptr noundef) local_unnamed_addr #1
declare i32 @IP6_INC_STATS_BH(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ip6_dst_idev(ptr noundef) local_unnamed_addr #1
declare ptr @skb_dst(ptr noundef) local_unnamed_addr #1
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
declare i64 @ipv6_addr_is_multicast(ptr noundef) local_unnamed_addr #1
declare ptr @ipv6_hdr(ptr noundef) local_unnamed_addr #1
declare i32 @skb_network_header_len(ptr noundef) local_unnamed_addr #1
declare i32 @skb_network_header(ptr noundef) local_unnamed_addr #1
declare i32 @icmpv6_param_prob(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 32}
!7 = !{!"sk_buff", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !12, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"ipv6_rt_hdr", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!18 = !{!19, !11, i64 24}
!19 = !{!"inet6_skb_parm", !12, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !11, i64 28}
!20 = !{!19, !11, i64 28}
!21 = !{!17, !11, i64 8}
!22 = !{!7, !11, i64 8}
!23 = !{!19, !8, i64 8}
!24 = !{!19, !8, i64 16}
!25 = !{!19, !12, i64 0}
| fastsocket_kernel_net_ipv6_extr_exthdrs.c_ipv6_rthdr_rcv |
; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_lauxlib.c_cache_clear.c'
source_filename = "AnghaBench/skynet/3rd/lua/extr_lauxlib.c_cache_clear.c"
target datalayout = "e-m:e-p270:32:32-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 @cache_clear], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @cache_clear(ptr nocapture readnone %0) #0 {
%2 = tail call i32 (...) @clearcache() #2
ret i32 0
}
declare i32 @clearcache(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/skynet/3rd/lua/extr_lauxlib.c_cache_clear.c'
source_filename = "AnghaBench/skynet/3rd/lua/extr_lauxlib.c_cache_clear.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 @cache_clear], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @cache_clear(ptr nocapture readnone %0) #0 {
%2 = tail call i32 @clearcache() #2
ret i32 0
}
declare i32 @clearcache(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| skynet_3rd_lua_extr_lauxlib.c_cache_clear |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_stm32-usart.c_stm32_tx_dma_complete.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_stm32-usart.c_stm32_tx_dma_complete.c"
target datalayout = "e-m:e-p270:32:32-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.stm32_port = type { i32, ptr }
@USART_CR3_DMAT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @stm32_tx_dma_complete], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @stm32_tx_dma_complete(ptr noundef %0) #0 {
%2 = tail call ptr @to_stm32_port(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.stm32_port, ptr %2, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = load i32, ptr @USART_CR3_DMAT, align 4, !tbaa !13
%7 = tail call i32 @stm32_clr_bits(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
store i32 0, ptr %2, align 8, !tbaa !14
%8 = tail call i32 @stm32_transmit_chars(ptr noundef %0) #2
ret void
}
declare ptr @to_stm32_port(ptr noundef) local_unnamed_addr #1
declare i32 @stm32_clr_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @stm32_transmit_chars(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 = !{!"stm32_port", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"stm32_usart_offsets", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_stm32-usart.c_stm32_tx_dma_complete.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_stm32-usart.c_stm32_tx_dma_complete.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@USART_CR3_DMAT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @stm32_tx_dma_complete], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @stm32_tx_dma_complete(ptr noundef %0) #0 {
%2 = tail call ptr @to_stm32_port(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = load i32, ptr @USART_CR3_DMAT, align 4, !tbaa !14
%7 = tail call i32 @stm32_clr_bits(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
store i32 0, ptr %2, align 8, !tbaa !15
%8 = tail call i32 @stm32_transmit_chars(ptr noundef %0) #2
ret void
}
declare ptr @to_stm32_port(ptr noundef) local_unnamed_addr #1
declare i32 @stm32_clr_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @stm32_transmit_chars(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 = !{!"stm32_port", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"stm32_usart_offsets", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 0}
| linux_drivers_tty_serial_extr_stm32-usart.c_stm32_tx_dma_complete |
; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-lm3601x.c_lm3601x_parse_node.c'
source_filename = "AnghaBench/linux/drivers/leds/extr_leds-lm3601x.c_lm3601x_parse_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.lm3601x_led = type { ptr, i32, i32, i32, i32 }
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"No LED Child node\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"reg\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"reg DT property missing\0A\00", align 1
@LM3601X_LED_TORCH = dso_local local_unnamed_addr global i32 0, align 4
@LM3601X_LED_IR = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [28 x i8] c"Invalid led mode requested\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [17 x i8] c"led-max-microamp\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"led-max-microamp DT property missing\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"flash-max-microamp\00", align 1
@.str.7 = private unnamed_addr constant [40 x i8] c"flash-max-microamp DT property missing\0A\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"flash-max-timeout-us\00", align 1
@.str.9 = private unnamed_addr constant [42 x i8] c"flash-max-timeout-us DT property missing\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @lm3601x_parse_node], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @lm3601x_parse_node(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @ENODEV, align 4, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !9
%5 = tail call ptr @device_get_next_child_node(ptr noundef %4, ptr noundef null) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = sub nsw i32 0, %3
%9 = load ptr, ptr %0, align 8, !tbaa !9
%10 = tail call i32 @dev_err(ptr noundef %9, ptr noundef nonnull @.str) #2
br label %55
11: ; preds = %2
%12 = getelementptr inbounds %struct.lm3601x_led, ptr %0, i64 0, i32 4
%13 = tail call i32 @fwnode_property_read_u32(ptr noundef nonnull %5, ptr noundef nonnull @.str.1, ptr noundef nonnull %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %11
%16 = load ptr, ptr %0, align 8, !tbaa !9
%17 = tail call i32 @dev_err(ptr noundef %16, ptr noundef nonnull @.str.2) #2
br label %52
18: ; preds = %11
%19 = load i32, ptr %12, align 4, !tbaa !12
%20 = load i32, ptr @LM3601X_LED_TORCH, align 4, !tbaa !5
%21 = icmp sgt i32 %19, %20
%22 = load i32, ptr @LM3601X_LED_IR, align 4
%23 = icmp slt i32 %19, %22
%24 = select i1 %21, i1 true, i1 %23
br i1 %24, label %25, label %30
25: ; preds = %18
%26 = load ptr, ptr %0, align 8, !tbaa !9
%27 = tail call i32 @dev_warn(ptr noundef %26, ptr noundef nonnull @.str.3) #2
%28 = load i32, ptr @EINVAL, align 4, !tbaa !5
%29 = sub nsw i32 0, %28
br label %52
30: ; preds = %18
%31 = getelementptr inbounds %struct.lm3601x_led, ptr %0, i64 0, i32 3
%32 = tail call i32 @fwnode_property_read_u32(ptr noundef nonnull %5, ptr noundef nonnull @.str.4, ptr noundef nonnull %31) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %30
%35 = load ptr, ptr %0, align 8, !tbaa !9
%36 = tail call i32 @dev_warn(ptr noundef %35, ptr noundef nonnull @.str.5) #2
br label %52
37: ; preds = %30
%38 = getelementptr inbounds %struct.lm3601x_led, ptr %0, i64 0, i32 2
%39 = tail call i32 @fwnode_property_read_u32(ptr noundef nonnull %5, ptr noundef nonnull @.str.6, ptr noundef nonnull %38) #2
%40 = icmp eq i32 %39, 0
br i1 %40, label %44, label %41
41: ; preds = %37
%42 = load ptr, ptr %0, align 8, !tbaa !9
%43 = tail call i32 @dev_warn(ptr noundef %42, ptr noundef nonnull @.str.7) #2
br label %52
44: ; preds = %37
%45 = getelementptr inbounds %struct.lm3601x_led, ptr %0, i64 0, i32 1
%46 = tail call i32 @fwnode_property_read_u32(ptr noundef nonnull %5, ptr noundef nonnull @.str.8, ptr noundef nonnull %45) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %44
%49 = load ptr, ptr %0, align 8, !tbaa !9
%50 = tail call i32 @dev_warn(ptr noundef %49, ptr noundef nonnull @.str.9) #2
br label %52
51: ; preds = %44
store ptr %5, ptr %1, align 8, !tbaa !13
br label %52
52: ; preds = %51, %48, %41, %34, %25, %15
%53 = phi i32 [ %13, %15 ], [ %29, %25 ], [ %32, %34 ], [ %39, %41 ], [ %46, %48 ], [ 0, %51 ]
%54 = tail call i32 @fwnode_handle_put(ptr noundef nonnull %5) #2
br label %55
55: ; preds = %52, %7
%56 = phi i32 [ %53, %52 ], [ %8, %7 ]
ret i32 %56
}
declare ptr @device_get_next_child_node(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fwnode_property_read_u32(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fwnode_handle_put(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 = !{!"lm3601x_led", !11, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 20}
!13 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-lm3601x.c_lm3601x_parse_node.c'
source_filename = "AnghaBench/linux/drivers/leds/extr_leds-lm3601x.c_lm3601x_parse_node.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENODEV = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"No LED Child node\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"reg\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"reg DT property missing\0A\00", align 1
@LM3601X_LED_TORCH = common local_unnamed_addr global i32 0, align 4
@LM3601X_LED_IR = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [28 x i8] c"Invalid led mode requested\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [17 x i8] c"led-max-microamp\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"led-max-microamp DT property missing\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"flash-max-microamp\00", align 1
@.str.7 = private unnamed_addr constant [40 x i8] c"flash-max-microamp DT property missing\0A\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"flash-max-timeout-us\00", align 1
@.str.9 = private unnamed_addr constant [42 x i8] c"flash-max-timeout-us DT property missing\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @lm3601x_parse_node], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @lm3601x_parse_node(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @ENODEV, align 4, !tbaa !6
%4 = load ptr, ptr %0, align 8, !tbaa !10
%5 = tail call ptr @device_get_next_child_node(ptr noundef %4, ptr noundef null) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = sub nsw i32 0, %3
%9 = load ptr, ptr %0, align 8, !tbaa !10
%10 = tail call i32 @dev_err(ptr noundef %9, ptr noundef nonnull @.str) #2
br label %55
11: ; preds = %2
%12 = getelementptr inbounds i8, ptr %0, i64 20
%13 = tail call i32 @fwnode_property_read_u32(ptr noundef nonnull %5, ptr noundef nonnull @.str.1, ptr noundef nonnull %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %11
%16 = load ptr, ptr %0, align 8, !tbaa !10
%17 = tail call i32 @dev_err(ptr noundef %16, ptr noundef nonnull @.str.2) #2
br label %52
18: ; preds = %11
%19 = load i32, ptr %12, align 4, !tbaa !13
%20 = load i32, ptr @LM3601X_LED_TORCH, align 4, !tbaa !6
%21 = icmp sgt i32 %19, %20
%22 = load i32, ptr @LM3601X_LED_IR, align 4
%23 = icmp slt i32 %19, %22
%24 = select i1 %21, i1 true, i1 %23
br i1 %24, label %25, label %30
25: ; preds = %18
%26 = load ptr, ptr %0, align 8, !tbaa !10
%27 = tail call i32 @dev_warn(ptr noundef %26, ptr noundef nonnull @.str.3) #2
%28 = load i32, ptr @EINVAL, align 4, !tbaa !6
%29 = sub nsw i32 0, %28
br label %52
30: ; preds = %18
%31 = getelementptr inbounds i8, ptr %0, i64 16
%32 = tail call i32 @fwnode_property_read_u32(ptr noundef nonnull %5, ptr noundef nonnull @.str.4, ptr noundef nonnull %31) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %30
%35 = load ptr, ptr %0, align 8, !tbaa !10
%36 = tail call i32 @dev_warn(ptr noundef %35, ptr noundef nonnull @.str.5) #2
br label %52
37: ; preds = %30
%38 = getelementptr inbounds i8, ptr %0, i64 12
%39 = tail call i32 @fwnode_property_read_u32(ptr noundef nonnull %5, ptr noundef nonnull @.str.6, ptr noundef nonnull %38) #2
%40 = icmp eq i32 %39, 0
br i1 %40, label %44, label %41
41: ; preds = %37
%42 = load ptr, ptr %0, align 8, !tbaa !10
%43 = tail call i32 @dev_warn(ptr noundef %42, ptr noundef nonnull @.str.7) #2
br label %52
44: ; preds = %37
%45 = getelementptr inbounds i8, ptr %0, i64 8
%46 = tail call i32 @fwnode_property_read_u32(ptr noundef nonnull %5, ptr noundef nonnull @.str.8, ptr noundef nonnull %45) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %44
%49 = load ptr, ptr %0, align 8, !tbaa !10
%50 = tail call i32 @dev_warn(ptr noundef %49, ptr noundef nonnull @.str.9) #2
br label %52
51: ; preds = %44
store ptr %5, ptr %1, align 8, !tbaa !14
br label %52
52: ; preds = %51, %48, %41, %34, %25, %15
%53 = phi i32 [ %13, %15 ], [ %29, %25 ], [ %32, %34 ], [ %39, %41 ], [ %46, %48 ], [ 0, %51 ]
%54 = tail call i32 @fwnode_handle_put(ptr noundef nonnull %5) #2
br label %55
55: ; preds = %52, %7
%56 = phi i32 [ %53, %52 ], [ %8, %7 ]
ret i32 %56
}
declare ptr @device_get_next_child_node(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fwnode_property_read_u32(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fwnode_handle_put(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 = !{!"lm3601x_led", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 20}
!14 = !{!12, !12, i64 0}
| linux_drivers_leds_extr_leds-lm3601x.c_lm3601x_parse_node |
; ModuleID = 'AnghaBench/linux/net/ipv4/extr_ip_gre.c_gre_fill_metadata_dst.c'
source_filename = "AnghaBench/linux/net/ipv4/extr_ip_gre.c_gre_fill_metadata_dst.c"
target datalayout = "e-m:e-p270:32:32-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.flowi4 = type { i32 }
%struct.TYPE_3__ = type { i32, i32 }
%struct.ip_tunnel_key = type { %struct.TYPE_4__, i32, i32 }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
@AF_INET = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@IPPROTO_GRE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gre_fill_metadata_dst], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @gre_fill_metadata_dst(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.flowi4, align 4
%4 = tail call ptr @skb_tunnel_info(ptr noundef %1) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%5 = tail call i64 @ip_tunnel_info_af(ptr noundef %4) #3
%6 = load i64, ptr @AF_INET, align 8, !tbaa !5
%7 = icmp eq i64 %5, %6
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i32, ptr @EINVAL, align 4, !tbaa !9
%10 = sub nsw i32 0, %9
br label %33
11: ; preds = %2
%12 = load i32, ptr @IPPROTO_GRE, align 4, !tbaa !9
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !11
%15 = load i32, ptr %4, align 4, !tbaa !15
%16 = getelementptr inbounds %struct.ip_tunnel_key, ptr %4, i64 0, i32 2
%17 = load i32, ptr %16, align 4, !tbaa !16
%18 = tail call i32 @tunnel_id_to_key32(i32 noundef %17) #3
%19 = getelementptr inbounds %struct.ip_tunnel_key, ptr %4, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !17
%21 = load i32, ptr %1, align 4, !tbaa !18
%22 = tail call i32 @skb_get_hash(ptr noundef nonnull %1) #3
%23 = call i32 @ip_tunnel_init_flow(ptr noundef nonnull %3, i32 noundef %12, i32 noundef %14, i32 noundef %15, i32 noundef %18, i32 noundef %20, i32 noundef 0, i32 noundef %21, i32 noundef %22) #3
%24 = call i32 @dev_net(ptr noundef %0) #3
%25 = call ptr @ip_route_output_key(i32 noundef %24, ptr noundef nonnull %3) #3
%26 = call i64 @IS_ERR(ptr noundef %25) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %11
%29 = call i32 @PTR_ERR(ptr noundef %25) #3
br label %33
30: ; preds = %11
%31 = call i32 @ip_rt_put(ptr noundef %25) #3
%32 = load i32, ptr %3, align 4, !tbaa !20
store i32 %32, ptr %4, align 4, !tbaa !22
br label %33
33: ; preds = %30, %28, %8
%34 = phi i32 [ %10, %8 ], [ %29, %28 ], [ 0, %30 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %34
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @skb_tunnel_info(ptr noundef) local_unnamed_addr #2
declare i64 @ip_tunnel_info_af(ptr noundef) local_unnamed_addr #2
declare i32 @ip_tunnel_init_flow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tunnel_id_to_key32(i32 noundef) local_unnamed_addr #2
declare i32 @skb_get_hash(ptr noundef) local_unnamed_addr #2
declare ptr @ip_route_output_key(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dev_net(ptr noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @ip_rt_put(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"ip_tunnel_key", !13, i64 0, !10, i64 8, !10, i64 12}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"TYPE_3__", !10, i64 0, !10, i64 4}
!15 = !{!12, !10, i64 0}
!16 = !{!12, !10, i64 12}
!17 = !{!12, !10, i64 8}
!18 = !{!19, !10, i64 0}
!19 = !{!"sk_buff", !10, i64 0}
!20 = !{!21, !10, i64 0}
!21 = !{!"flowi4", !10, i64 0}
!22 = !{!23, !10, i64 0}
!23 = !{!"ip_tunnel_info", !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/ipv4/extr_ip_gre.c_gre_fill_metadata_dst.c'
source_filename = "AnghaBench/linux/net/ipv4/extr_ip_gre.c_gre_fill_metadata_dst.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.flowi4 = type { i32 }
@AF_INET = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@IPPROTO_GRE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gre_fill_metadata_dst], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @gre_fill_metadata_dst(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.flowi4, align 4
%4 = tail call ptr @skb_tunnel_info(ptr noundef %1) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%5 = tail call i64 @ip_tunnel_info_af(ptr noundef %4) #3
%6 = load i64, ptr @AF_INET, align 8, !tbaa !6
%7 = icmp eq i64 %5, %6
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i32, ptr @EINVAL, align 4, !tbaa !10
%10 = sub nsw i32 0, %9
br label %33
11: ; preds = %2
%12 = load i32, ptr @IPPROTO_GRE, align 4, !tbaa !10
%13 = getelementptr inbounds i8, ptr %4, i64 4
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = load i32, ptr %4, align 4, !tbaa !16
%16 = getelementptr inbounds i8, ptr %4, i64 12
%17 = load i32, ptr %16, align 4, !tbaa !17
%18 = tail call i32 @tunnel_id_to_key32(i32 noundef %17) #3
%19 = getelementptr inbounds i8, ptr %4, i64 8
%20 = load i32, ptr %19, align 4, !tbaa !18
%21 = load i32, ptr %1, align 4, !tbaa !19
%22 = tail call i32 @skb_get_hash(ptr noundef nonnull %1) #3
%23 = call i32 @ip_tunnel_init_flow(ptr noundef nonnull %3, i32 noundef %12, i32 noundef %14, i32 noundef %15, i32 noundef %18, i32 noundef %20, i32 noundef 0, i32 noundef %21, i32 noundef %22) #3
%24 = call i32 @dev_net(ptr noundef %0) #3
%25 = call ptr @ip_route_output_key(i32 noundef %24, ptr noundef nonnull %3) #3
%26 = call i64 @IS_ERR(ptr noundef %25) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %11
%29 = call i32 @PTR_ERR(ptr noundef %25) #3
br label %33
30: ; preds = %11
%31 = call i32 @ip_rt_put(ptr noundef %25) #3
%32 = load i32, ptr %3, align 4, !tbaa !21
store i32 %32, ptr %4, align 4, !tbaa !23
br label %33
33: ; preds = %30, %28, %8
%34 = phi i32 [ %10, %8 ], [ %29, %28 ], [ 0, %30 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %34
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @skb_tunnel_info(ptr noundef) local_unnamed_addr #2
declare i64 @ip_tunnel_info_af(ptr noundef) local_unnamed_addr #2
declare i32 @ip_tunnel_init_flow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tunnel_id_to_key32(i32 noundef) local_unnamed_addr #2
declare i32 @skb_get_hash(ptr noundef) local_unnamed_addr #2
declare ptr @ip_route_output_key(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dev_net(ptr noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @ip_rt_put(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 4}
!13 = !{!"ip_tunnel_key", !14, i64 0, !11, i64 8, !11, i64 12}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"TYPE_3__", !11, i64 0, !11, i64 4}
!16 = !{!13, !11, i64 0}
!17 = !{!13, !11, i64 12}
!18 = !{!13, !11, i64 8}
!19 = !{!20, !11, i64 0}
!20 = !{!"sk_buff", !11, i64 0}
!21 = !{!22, !11, i64 0}
!22 = !{!"flowi4", !11, i64 0}
!23 = !{!24, !11, i64 0}
!24 = !{!"ip_tunnel_info", !13, i64 0}
| linux_net_ipv4_extr_ip_gre.c_gre_fill_metadata_dst |
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_surface.c_cpu_blitter_blit.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_surface.c_cpu_blitter_blit.c"
target datalayout = "e-m:e-p270:32:32-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.wined3d_box = type { i32, i32, i32, i32, i32, i32 }
%struct.wined3d_blt_fx = type { %struct.wined3d_color_key }
%struct.wined3d_color_key = type { i32 }
%struct.wined3d_texture = type { %struct.TYPE_7__, ptr }
%struct.TYPE_7__ = type { i32 }
%struct.TYPE_6__ = type { i32 }
@WINED3D_BLT_ALPHA_TEST = dso_local local_unnamed_addr global i32 0, align 4
@WINED3D_BLT_SRC_CKEY_OVERRIDE = dso_local local_unnamed_addr global i32 0, align 4
@WINED3D_BLT_FX = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Unhandled op %#x.\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Failed to blit.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cpu_blitter_blit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cpu_blitter_blit(ptr nocapture readnone %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 %4, ptr nocapture noundef readonly %5, ptr noundef %6, i32 noundef %7, ptr nocapture noundef readonly %8, ptr nocapture noundef readonly %9, i32 noundef %10) #0 {
%12 = alloca %struct.wined3d_box, align 16
%13 = alloca %struct.wined3d_box, align 16
%14 = alloca %struct.wined3d_blt_fx, align 4
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #3
%15 = load <4 x i32>, ptr %8, align 4, !tbaa !5
%16 = shufflevector <4 x i32> %15, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
store <4 x i32> %16, ptr %12, align 16, !tbaa !5
%17 = getelementptr inbounds %struct.wined3d_box, ptr %12, i64 0, i32 4
store i32 0, ptr %17, align 16, !tbaa !9
%18 = getelementptr inbounds %struct.wined3d_box, ptr %12, i64 0, i32 5
store i32 1, ptr %18, align 4, !tbaa !11
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #3
%19 = load <4 x i32>, ptr %5, align 4, !tbaa !5
%20 = shufflevector <4 x i32> %19, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
store <4 x i32> %20, ptr %13, align 16, !tbaa !5
%21 = getelementptr inbounds %struct.wined3d_box, ptr %13, i64 0, i32 4
store i32 0, ptr %21, align 16, !tbaa !9
%22 = getelementptr inbounds %struct.wined3d_box, ptr %13, i64 0, i32 5
store i32 1, ptr %22, align 4, !tbaa !11
%23 = tail call i32 @surface_get_sub_resource_idx(ptr noundef %6) #3
%24 = tail call i32 @surface_get_sub_resource_idx(ptr noundef %3) #3
%25 = load ptr, ptr %6, align 8, !tbaa !12
%26 = load ptr, ptr %3, align 8, !tbaa !12
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #3
%27 = call i32 @memset(ptr noundef nonnull %14, i32 noundef 0, i32 noundef 4) #3
switch i32 %1, label %35 [
i32 132, label %37
i32 129, label %37
i32 128, label %37
i32 131, label %28
i32 130, label %30
]
28: ; preds = %11
%29 = load i32, ptr @WINED3D_BLT_ALPHA_TEST, align 4, !tbaa !5
br label %37
30: ; preds = %11
%31 = load i32, ptr @WINED3D_BLT_SRC_CKEY_OVERRIDE, align 4, !tbaa !5
%32 = load i32, ptr @WINED3D_BLT_FX, align 4, !tbaa !5
%33 = or i32 %32, %31
%34 = load i32, ptr %9, align 4, !tbaa !5
store i32 %34, ptr %14, align 4, !tbaa !5
br label %37
35: ; preds = %11
%36 = call i32 @FIXME(ptr noundef nonnull @.str, i32 noundef %1) #3
br label %37
37: ; preds = %11, %11, %11, %35, %30, %28
%38 = phi i32 [ 0, %35 ], [ %33, %30 ], [ %29, %28 ], [ 0, %11 ], [ 0, %11 ], [ 0, %11 ]
%39 = call i32 @surface_cpu_blt(ptr noundef %25, i32 noundef %23, ptr noundef nonnull %12, ptr noundef %26, i32 noundef %24, ptr noundef nonnull %13, i32 noundef %38, ptr noundef nonnull %14, i32 noundef %10) #3
%40 = call i64 @FAILED(i32 noundef %39) #3
%41 = icmp eq i64 %40, 0
br i1 %41, label %44, label %42
42: ; preds = %37
%43 = call i32 @ERR(ptr noundef nonnull @.str.1) #3
br label %44
44: ; preds = %42, %37
%45 = call i32 @wined3d_texture_load_location(ptr noundef %25, i32 noundef %23, ptr noundef %2, i32 noundef %7) #3
%46 = getelementptr inbounds %struct.wined3d_texture, ptr %25, i64 0, i32 1
%47 = load ptr, ptr %46, align 8, !tbaa !15
%48 = zext i32 %23 to i64
%49 = getelementptr inbounds %struct.TYPE_6__, ptr %47, i64 %48
%50 = load i32, ptr %49, align 4, !tbaa !18
%51 = load i32, ptr %25, align 8, !tbaa !20
%52 = and i32 %51, %50
%53 = or i32 %52, %7
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #3
ret i32 %53
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @surface_get_sub_resource_idx(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @FIXME(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare i32 @surface_cpu_blt(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ERR(ptr noundef) local_unnamed_addr #2
declare i32 @wined3d_texture_load_location(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"wined3d_box", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20}
!11 = !{!10, !6, i64 20}
!12 = !{!13, !14, i64 0}
!13 = !{!"wined3d_surface", !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !14, i64 8}
!16 = !{!"wined3d_texture", !17, i64 0, !14, i64 8}
!17 = !{!"TYPE_7__", !6, i64 0}
!18 = !{!19, !6, i64 0}
!19 = !{!"TYPE_6__", !6, i64 0}
!20 = !{!16, !6, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_surface.c_cpu_blitter_blit.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_surface.c_cpu_blitter_blit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.wined3d_box = type { i32, i32, i32, i32, i32, i32 }
%struct.wined3d_blt_fx = type { %struct.wined3d_color_key }
%struct.wined3d_color_key = type { i32 }
%struct.TYPE_6__ = type { i32 }
@WINED3D_BLT_ALPHA_TEST = common local_unnamed_addr global i32 0, align 4
@WINED3D_BLT_SRC_CKEY_OVERRIDE = common local_unnamed_addr global i32 0, align 4
@WINED3D_BLT_FX = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Unhandled op %#x.\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Failed to blit.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cpu_blitter_blit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cpu_blitter_blit(ptr nocapture readnone %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 %4, ptr nocapture noundef readonly %5, ptr noundef %6, i32 noundef %7, ptr nocapture noundef readonly %8, ptr nocapture noundef readonly %9, i32 noundef %10) #0 {
%12 = alloca %struct.wined3d_box, align 16
%13 = alloca %struct.wined3d_box, align 16
%14 = alloca %struct.wined3d_blt_fx, align 4
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #3
%15 = load <4 x i32>, ptr %8, align 4, !tbaa !6
%16 = shufflevector <4 x i32> %15, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
store <4 x i32> %16, ptr %12, align 16, !tbaa !6
%17 = getelementptr inbounds i8, ptr %12, i64 16
store <2 x i32> <i32 0, i32 1>, ptr %17, align 16, !tbaa !6
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #3
%18 = load <4 x i32>, ptr %5, align 4, !tbaa !6
%19 = shufflevector <4 x i32> %18, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
store <4 x i32> %19, ptr %13, align 16, !tbaa !6
%20 = getelementptr inbounds i8, ptr %13, i64 16
store <2 x i32> <i32 0, i32 1>, ptr %20, align 16, !tbaa !6
%21 = tail call i32 @surface_get_sub_resource_idx(ptr noundef %6) #3
%22 = tail call i32 @surface_get_sub_resource_idx(ptr noundef %3) #3
%23 = load ptr, ptr %6, align 8, !tbaa !10
%24 = load ptr, ptr %3, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #3
%25 = call i32 @memset(ptr noundef nonnull %14, i32 noundef 0, i32 noundef 4) #3
switch i32 %1, label %33 [
i32 132, label %35
i32 129, label %35
i32 128, label %35
i32 131, label %26
i32 130, label %28
]
26: ; preds = %11
%27 = load i32, ptr @WINED3D_BLT_ALPHA_TEST, align 4, !tbaa !6
br label %35
28: ; preds = %11
%29 = load i32, ptr @WINED3D_BLT_SRC_CKEY_OVERRIDE, align 4, !tbaa !6
%30 = load i32, ptr @WINED3D_BLT_FX, align 4, !tbaa !6
%31 = or i32 %30, %29
%32 = load i32, ptr %9, align 4, !tbaa !6
store i32 %32, ptr %14, align 4, !tbaa !6
br label %35
33: ; preds = %11
%34 = call i32 @FIXME(ptr noundef nonnull @.str, i32 noundef %1) #3
br label %35
35: ; preds = %11, %11, %11, %33, %28, %26
%36 = phi i32 [ 0, %33 ], [ %31, %28 ], [ %27, %26 ], [ 0, %11 ], [ 0, %11 ], [ 0, %11 ]
%37 = call i32 @surface_cpu_blt(ptr noundef %23, i32 noundef %21, ptr noundef nonnull %12, ptr noundef %24, i32 noundef %22, ptr noundef nonnull %13, i32 noundef %36, ptr noundef nonnull %14, i32 noundef %10) #3
%38 = call i64 @FAILED(i32 noundef %37) #3
%39 = icmp eq i64 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %35
%41 = call i32 @ERR(ptr noundef nonnull @.str.1) #3
br label %42
42: ; preds = %40, %35
%43 = call i32 @wined3d_texture_load_location(ptr noundef %23, i32 noundef %21, ptr noundef %2, i32 noundef %7) #3
%44 = getelementptr inbounds i8, ptr %23, i64 8
%45 = load ptr, ptr %44, align 8, !tbaa !13
%46 = zext i32 %21 to i64
%47 = getelementptr inbounds %struct.TYPE_6__, ptr %45, i64 %46
%48 = load i32, ptr %47, align 4, !tbaa !16
%49 = load i32, ptr %23, align 8, !tbaa !18
%50 = and i32 %49, %48
%51 = or i32 %50, %7
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #3
ret i32 %51
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @surface_get_sub_resource_idx(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @FIXME(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare i32 @surface_cpu_blt(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ERR(ptr noundef) local_unnamed_addr #2
declare i32 @wined3d_texture_load_location(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"wined3d_surface", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"wined3d_texture", !15, i64 0, !12, i64 8}
!15 = !{!"TYPE_7__", !7, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_6__", !7, i64 0}
!18 = !{!14, !7, i64 0}
| reactos_dll_directx_wine_wined3d_extr_surface.c_cpu_blitter_blit |
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/events/extr_core.c_ctx_group_list.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/events/extr_core.c_ctx_group_list.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.perf_event_context = type { %struct.list_head, %struct.list_head }
%struct.list_head = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ctx_group_list], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal ptr @ctx_group_list(ptr nocapture noundef readonly %0, ptr noundef readnone %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
%5 = getelementptr inbounds %struct.perf_event_context, ptr %1, i64 0, i32 1
%6 = select i1 %4, ptr %1, ptr %5
ret ptr %6
}
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 = !{!"perf_event", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/events/extr_core.c_ctx_group_list.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/events/extr_core.c_ctx_group_list.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 @ctx_group_list], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal ptr @ctx_group_list(ptr nocapture noundef readonly %0, ptr noundef readnone %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
%5 = select i1 %4, i64 0, i64 4
%6 = getelementptr inbounds i8, ptr %1, i64 %5
ret ptr %6
}
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 = !{!"perf_event", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_kernel_events_extr_core.c_ctx_group_list |
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_ui_basic.c_GetDirectory.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_ui_basic.c_GetDirectory.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FILENAMES_INITIAL_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@filenames = dso_local local_unnamed_addr global ptr null, align 8
@n_filenames = dso_local local_unnamed_addr global i32 0, align 4
@FILENAME_MAX = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Error opening '%s' directory\00", align 1
@S_IXUSR = dso_local local_unnamed_addr global i32 0, align 4
@_STAT_DIRSIZE = dso_local local_unnamed_addr global i16 0, align 2
@_STAT_EXEC_EXT = dso_local local_unnamed_addr global i16 0, align 2
@_STAT_EXEC_MAGIC = dso_local local_unnamed_addr global i16 0, align 2
@_STAT_INODE = dso_local local_unnamed_addr global i16 0, align 2
@_STAT_ROOT_TIME = dso_local local_unnamed_addr global i16 0, align 2
@_STAT_WRITEBIT = dso_local local_unnamed_addr global i16 0, align 2
@_djstat_flags = dso_local local_unnamed_addr global i16 0, align 2
@llvm.compiler.used = appending global [1 x ptr] [ptr @GetDirectory], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @GetDirectory(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = load i32, ptr @FILENAMES_INITIAL_SIZE, align 4, !tbaa !5
%4 = sext i32 %3 to i64
%5 = shl nsw i64 %4, 3
%6 = tail call i64 @Util_malloc(i64 noundef %5) #5
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr @filenames, align 8, !tbaa !9
store i32 0, ptr @n_filenames, align 4, !tbaa !5
%8 = tail call i64 @BasicUIOpenDir(ptr noundef %0) #5
%9 = icmp eq i64 %8, 0
br i1 %9, label %51, label %10
10: ; preds = %1
%11 = load i32, ptr @FILENAME_MAX, align 4, !tbaa !5
%12 = zext i32 %11 to i64
%13 = tail call ptr @llvm.stacksave.p0()
%14 = alloca i8, i64 %12, align 16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
%15 = call i64 @BasicUIReadDir(ptr noundef nonnull %14, ptr noundef nonnull %2) #5
%16 = icmp eq i64 %15, 0
br i1 %16, label %45, label %17
17: ; preds = %10
%18 = getelementptr inbounds i8, ptr %14, i64 1
br label %19
19: ; preds = %17, %42
%20 = load i8, ptr %14, align 16, !tbaa !11
switch i8 %20, label %24 [
i8 0, label %42
i8 46, label %21
], !llvm.loop !12
21: ; preds = %19
%22 = load i8, ptr %18, align 1, !tbaa !11
%23 = icmp eq i8 %22, 0
br i1 %23, label %42, label %24, !llvm.loop !12
24: ; preds = %19, %21
%25 = load i32, ptr %2, align 4, !tbaa !5
%26 = icmp eq i32 %25, 0
br i1 %26, label %37, label %27
27: ; preds = %24
%28 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %14)
%29 = add i64 %28, 3
%30 = call i64 @Util_malloc(i64 noundef %29) #5
%31 = inttoptr i64 %30 to ptr
%32 = getelementptr inbounds i8, ptr %31, i64 1
%33 = call i32 @memcpy(ptr noundef nonnull %32, ptr noundef nonnull %14, i64 noundef %28) #5
store i8 91, ptr %31, align 1, !tbaa !11
%34 = getelementptr i8, ptr %31, i64 %28
%35 = getelementptr i8, ptr %34, i64 1
store i8 93, ptr %35, align 1, !tbaa !11
%36 = getelementptr i8, ptr %34, i64 2
store i8 0, ptr %36, align 1, !tbaa !11
br label %39
37: ; preds = %24
%38 = call ptr @Util_strdup(ptr noundef nonnull %14) #5
br label %39
39: ; preds = %37, %27
%40 = phi ptr [ %31, %27 ], [ %38, %37 ]
%41 = call i32 @FilenamesAdd(ptr noundef %40) #5
br label %42
42: ; preds = %21, %19, %39
%43 = call i64 @BasicUIReadDir(ptr noundef nonnull %14, ptr noundef nonnull %2) #5
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %19
45: ; preds = %42, %10
%46 = load ptr, ptr @filenames, align 8, !tbaa !9
%47 = load i32, ptr @n_filenames, align 4, !tbaa !5
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = call i32 @FilenamesSort(ptr noundef %46, ptr noundef %49) #5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
call void @llvm.stackrestore.p0(ptr %13)
br label %53
51: ; preds = %1
%52 = tail call i32 @Log_print(ptr noundef nonnull @.str, ptr noundef %0) #5
br label %53
53: ; preds = %51, %45
ret void
}
declare i64 @Util_malloc(i64 noundef) local_unnamed_addr #1
declare i64 @BasicUIOpenDir(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #3
declare i64 @BasicUIReadDir(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #3
declare ptr @Util_strdup(ptr noundef) local_unnamed_addr #1
declare i32 @FilenamesAdd(ptr noundef) local_unnamed_addr #1
declare i32 @FilenamesSort(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
declare i32 @Log_print(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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_ui_basic.c_GetDirectory.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_ui_basic.c_GetDirectory.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FILENAMES_INITIAL_SIZE = common local_unnamed_addr global i32 0, align 4
@filenames = common local_unnamed_addr global ptr null, align 8
@n_filenames = common local_unnamed_addr global i32 0, align 4
@FILENAME_MAX = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Error opening '%s' directory\00", align 1
@S_IXUSR = common local_unnamed_addr global i32 0, align 4
@_STAT_DIRSIZE = common local_unnamed_addr global i16 0, align 2
@_STAT_EXEC_EXT = common local_unnamed_addr global i16 0, align 2
@_STAT_EXEC_MAGIC = common local_unnamed_addr global i16 0, align 2
@_STAT_INODE = common local_unnamed_addr global i16 0, align 2
@_STAT_ROOT_TIME = common local_unnamed_addr global i16 0, align 2
@_STAT_WRITEBIT = common local_unnamed_addr global i16 0, align 2
@_djstat_flags = common local_unnamed_addr global i16 0, align 2
@llvm.used = appending global [1 x ptr] [ptr @GetDirectory], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @GetDirectory(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = load i32, ptr @FILENAMES_INITIAL_SIZE, align 4, !tbaa !6
%4 = sext i32 %3 to i64
%5 = shl nsw i64 %4, 3
%6 = tail call i64 @Util_malloc(i64 noundef %5) #5
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr @filenames, align 8, !tbaa !10
store i32 0, ptr @n_filenames, align 4, !tbaa !6
%8 = tail call i64 @BasicUIOpenDir(ptr noundef %0) #5
%9 = icmp eq i64 %8, 0
br i1 %9, label %51, label %10
10: ; preds = %1
%11 = load i32, ptr @FILENAME_MAX, align 4, !tbaa !6
%12 = zext i32 %11 to i64
%13 = tail call ptr @llvm.stacksave.p0()
%14 = alloca i8, i64 %12, align 1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
%15 = call i64 @BasicUIReadDir(ptr noundef nonnull %14, ptr noundef nonnull %2) #5
%16 = icmp eq i64 %15, 0
br i1 %16, label %45, label %17
17: ; preds = %10
%18 = getelementptr inbounds i8, ptr %14, i64 1
br label %19
19: ; preds = %17, %42
%20 = load i8, ptr %14, align 1, !tbaa !12
switch i8 %20, label %24 [
i8 0, label %42
i8 46, label %21
], !llvm.loop !13
21: ; preds = %19
%22 = load i8, ptr %18, align 1, !tbaa !12
%23 = icmp eq i8 %22, 0
br i1 %23, label %42, label %24, !llvm.loop !13
24: ; preds = %19, %21
%25 = load i32, ptr %2, align 4, !tbaa !6
%26 = icmp eq i32 %25, 0
br i1 %26, label %37, label %27
27: ; preds = %24
%28 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %14)
%29 = add i64 %28, 3
%30 = call i64 @Util_malloc(i64 noundef %29) #5
%31 = inttoptr i64 %30 to ptr
%32 = getelementptr inbounds i8, ptr %31, i64 1
%33 = call i32 @memcpy(ptr noundef nonnull %32, ptr noundef nonnull %14, i64 noundef %28) #5
store i8 91, ptr %31, align 1, !tbaa !12
%34 = getelementptr i8, ptr %31, i64 %28
%35 = getelementptr i8, ptr %34, i64 1
store i8 93, ptr %35, align 1, !tbaa !12
%36 = getelementptr i8, ptr %34, i64 2
store i8 0, ptr %36, align 1, !tbaa !12
br label %39
37: ; preds = %24
%38 = call ptr @Util_strdup(ptr noundef nonnull %14) #5
br label %39
39: ; preds = %37, %27
%40 = phi ptr [ %31, %27 ], [ %38, %37 ]
%41 = call i32 @FilenamesAdd(ptr noundef %40) #5
br label %42
42: ; preds = %21, %19, %39
%43 = call i64 @BasicUIReadDir(ptr noundef nonnull %14, ptr noundef nonnull %2) #5
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %19
45: ; preds = %42, %10
%46 = load ptr, ptr @filenames, align 8, !tbaa !10
%47 = load i32, ptr @n_filenames, align 4, !tbaa !6
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = call i32 @FilenamesSort(ptr noundef %46, ptr noundef %49) #5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
call void @llvm.stackrestore.p0(ptr %13)
br label %53
51: ; preds = %1
%52 = tail call i32 @Log_print(ptr noundef nonnull @.str, ptr noundef %0) #5
br label %53
53: ; preds = %51, %45
ret void
}
declare i64 @Util_malloc(i64 noundef) local_unnamed_addr #1
declare i64 @BasicUIOpenDir(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #3
declare i64 @BasicUIReadDir(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #3
declare ptr @Util_strdup(ptr noundef) local_unnamed_addr #1
declare i32 @FilenamesAdd(ptr noundef) local_unnamed_addr #1
declare i32 @FilenamesSort(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
declare i32 @Log_print(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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| Provenance_Cores_Atari800_atari800-src_extr_ui_basic.c_GetDirectory |
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_powerpc.c_kvm_arch_init.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_powerpc.c_kvm_arch_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef i32 @kvm_arch_init(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_powerpc.c_kvm_arch_init.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_powerpc.c_kvm_arch_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef i32 @kvm_arch_init(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_powerpc_kvm_extr_powerpc.c_kvm_arch_init |
; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/extr_acpi_hpet.c_hpet_start.c'
source_filename = "AnghaBench/freebsd/sys/dev/acpica/extr_acpi_hpet.c_hpet_start.c"
target datalayout = "e-m:e-p270:32:32-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.hpet_timer = type { i64, ptr, i64, i32, i64, i32, i32, i32, ptr }
%struct.hpet_softc = type { i32, i32, ptr }
@curcpu = dso_local local_unnamed_addr global i64 0, align 8
@TIMER_PERIODIC = dso_local local_unnamed_addr global i64 0, align 8
@TIMER_ONESHOT = dso_local local_unnamed_addr global i64 0, align 8
@HPET_ISR = dso_local local_unnamed_addr global i32 0, align 4
@HPET_TCNF_INT_ENB = dso_local local_unnamed_addr global i32 0, align 4
@HPET_MAIN_COUNTER = dso_local local_unnamed_addr global i32 0, align 4
@HPET_TCAP_PER_INT = dso_local local_unnamed_addr global i32 0, align 4
@HPET_TCNF_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@HPET_TCNF_VAL_SET = dso_local local_unnamed_addr global i32 0, align 4
@HPET_MIN_CYCLES = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hpet_start], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @hpet_start(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = inttoptr i64 %4 to ptr
%6 = getelementptr inbounds %struct.hpet_timer, ptr %5, i64 0, i32 8
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = load i64, ptr %5, align 8, !tbaa !14
%9 = icmp slt i64 %8, 0
br i1 %9, label %19, label %10
10: ; preds = %3
%11 = getelementptr inbounds %struct.hpet_softc, ptr %7, i64 0, i32 2
%12 = load ptr, ptr %11, align 8, !tbaa !15
%13 = getelementptr inbounds %struct.hpet_timer, ptr %5, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !17
%15 = load i64, ptr @curcpu, align 8, !tbaa !18
%16 = getelementptr inbounds i64, ptr %14, i64 %15
%17 = load i64, ptr %16, align 8, !tbaa !18
%18 = getelementptr inbounds %struct.hpet_timer, ptr %12, i64 %17
br label %19
19: ; preds = %3, %10
%20 = phi ptr [ %18, %10 ], [ %5, %3 ]
%21 = icmp eq i32 %2, 0
br i1 %21, label %24, label %22
22: ; preds = %19
%23 = load i64, ptr @TIMER_PERIODIC, align 8, !tbaa !18
br label %27
24: ; preds = %19
%25 = load i64, ptr @TIMER_ONESHOT, align 8, !tbaa !18
%26 = getelementptr inbounds %struct.hpet_timer, ptr %20, i64 0, i32 3
store i32 0, ptr %26, align 8, !tbaa !19
br label %27
27: ; preds = %24, %22
%28 = phi i64 [ %25, %24 ], [ %23, %22 ]
%29 = getelementptr inbounds %struct.hpet_timer, ptr %20, i64 0, i32 2
store i64 %28, ptr %29, align 8
%30 = icmp eq i32 %1, 0
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = getelementptr inbounds %struct.hpet_timer, ptr %20, i64 0, i32 3
%33 = load i32, ptr %32, align 8, !tbaa !19
br label %34
34: ; preds = %27, %31
%35 = phi i32 [ %33, %31 ], [ poison, %27 ]
%36 = getelementptr inbounds %struct.hpet_timer, ptr %20, i64 0, i32 4
%37 = load i64, ptr %36, align 8, !tbaa !20
%38 = icmp slt i64 %37, 0
br i1 %38, label %39, label %47
39: ; preds = %34
%40 = getelementptr inbounds %struct.hpet_softc, ptr %7, i64 0, i32 1
%41 = load i32, ptr %40, align 4, !tbaa !21
%42 = load i32, ptr @HPET_ISR, align 4, !tbaa !22
%43 = getelementptr inbounds %struct.hpet_timer, ptr %20, i64 0, i32 5
%44 = load i32, ptr %43, align 8, !tbaa !23
%45 = shl nuw i32 1, %44
%46 = tail call i32 @bus_write_4(i32 noundef %41, i32 noundef %42, i32 noundef %45) #2
br label %47
47: ; preds = %39, %34
%48 = load i32, ptr @HPET_TCNF_INT_ENB, align 4, !tbaa !22
%49 = getelementptr inbounds %struct.hpet_timer, ptr %20, i64 0, i32 6
%50 = load i32, ptr %49, align 4, !tbaa !24
%51 = or i32 %50, %48
store i32 %51, ptr %49, align 4, !tbaa !24
%52 = getelementptr inbounds %struct.hpet_softc, ptr %7, i64 0, i32 1
%53 = load i32, ptr %52, align 4, !tbaa !21
%54 = load i32, ptr @HPET_MAIN_COUNTER, align 4, !tbaa !22
%55 = tail call i32 @bus_read_4(i32 noundef %53, i32 noundef %54) #2
%56 = getelementptr inbounds %struct.hpet_timer, ptr %20, i64 0, i32 7
%57 = getelementptr inbounds %struct.hpet_timer, ptr %20, i64 0, i32 5
%58 = getelementptr inbounds %struct.hpet_timer, ptr %20, i64 0, i32 3
br label %59
59: ; preds = %95, %47
%60 = phi i32 [ %35, %47 ], [ %110, %95 ]
%61 = phi i32 [ %55, %47 ], [ %104, %95 ]
%62 = add nsw i32 %61, %60
store i32 %62, ptr %56, align 8, !tbaa !25
%63 = load i64, ptr %29, align 8, !tbaa !26
%64 = load i64, ptr @TIMER_PERIODIC, align 8, !tbaa !18
%65 = icmp eq i64 %63, %64
%66 = load i32, ptr %49, align 4, !tbaa !24
br i1 %65, label %67, label %86
67: ; preds = %59
%68 = load i32, ptr @HPET_TCAP_PER_INT, align 4, !tbaa !22
%69 = and i32 %68, %66
%70 = icmp eq i32 %69, 0
br i1 %70, label %86, label %71
71: ; preds = %67
%72 = load i32, ptr @HPET_TCNF_TYPE, align 4, !tbaa !22
%73 = or i32 %72, %66
store i32 %73, ptr %49, align 4, !tbaa !24
%74 = load i32, ptr %52, align 4, !tbaa !21
%75 = load i32, ptr %57, align 8, !tbaa !23
%76 = tail call i32 @HPET_TIMER_CAP_CNF(i32 noundef %75) #2
%77 = load i32, ptr %49, align 4, !tbaa !24
%78 = load i32, ptr @HPET_TCNF_VAL_SET, align 4, !tbaa !22
%79 = or i32 %78, %77
%80 = tail call i32 @bus_write_4(i32 noundef %74, i32 noundef %76, i32 noundef %79) #2
%81 = load i32, ptr %52, align 4, !tbaa !21
%82 = load i32, ptr %57, align 8, !tbaa !23
%83 = tail call i32 @HPET_TIMER_COMPARATOR(i32 noundef %82) #2
%84 = load i32, ptr %56, align 8, !tbaa !25
%85 = tail call i32 @bus_write_4(i32 noundef %81, i32 noundef %83, i32 noundef %84) #2
br label %95
86: ; preds = %67, %59
%87 = load i32, ptr @HPET_TCNF_TYPE, align 4, !tbaa !22
%88 = xor i32 %87, -1
%89 = and i32 %66, %88
store i32 %89, ptr %49, align 4, !tbaa !24
%90 = load i32, ptr %52, align 4, !tbaa !21
%91 = load i32, ptr %57, align 8, !tbaa !23
%92 = tail call i32 @HPET_TIMER_CAP_CNF(i32 noundef %91) #2
%93 = load i32, ptr %49, align 4, !tbaa !24
%94 = tail call i32 @bus_write_4(i32 noundef %90, i32 noundef %92, i32 noundef %93) #2
br label %95
95: ; preds = %86, %71
%96 = phi ptr [ %56, %86 ], [ %58, %71 ]
%97 = load i32, ptr %52, align 4, !tbaa !21
%98 = load i32, ptr %57, align 8, !tbaa !23
%99 = tail call i32 @HPET_TIMER_COMPARATOR(i32 noundef %98) #2
%100 = load i32, ptr %96, align 8, !tbaa !22
%101 = tail call i32 @bus_write_4(i32 noundef %97, i32 noundef %99, i32 noundef %100) #2
%102 = load i32, ptr %52, align 4, !tbaa !21
%103 = load i32, ptr @HPET_MAIN_COUNTER, align 4, !tbaa !22
%104 = tail call i32 @bus_read_4(i32 noundef %102, i32 noundef %103) #2
%105 = load i32, ptr %56, align 8, !tbaa !25
%106 = sub i32 %104, %105
%107 = load i32, ptr @HPET_MIN_CYCLES, align 4, !tbaa !22
%108 = add nsw i32 %106, %107
%109 = icmp sgt i32 %108, -1
%110 = shl nsw i32 %60, 1
br i1 %109, label %59, label %111
111: ; preds = %95
ret i32 0
}
declare i32 @bus_write_4(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bus_read_4(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @HPET_TIMER_CAP_CNF(i32 noundef) local_unnamed_addr #1
declare i32 @HPET_TIMER_COMPARATOR(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 = !{!"eventtimer", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 56}
!11 = !{!"hpet_timer", !7, i64 0, !12, i64 8, !7, i64 16, !13, i64 24, !7, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !12, i64 56}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !7, i64 0}
!15 = !{!16, !12, i64 8}
!16 = !{!"hpet_softc", !13, i64 0, !13, i64 4, !12, i64 8}
!17 = !{!11, !12, i64 8}
!18 = !{!7, !7, i64 0}
!19 = !{!11, !13, i64 24}
!20 = !{!11, !7, i64 32}
!21 = !{!16, !13, i64 4}
!22 = !{!13, !13, i64 0}
!23 = !{!11, !13, i64 40}
!24 = !{!11, !13, i64 44}
!25 = !{!11, !13, i64 48}
!26 = !{!11, !7, i64 16}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/extr_acpi_hpet.c_hpet_start.c'
source_filename = "AnghaBench/freebsd/sys/dev/acpica/extr_acpi_hpet.c_hpet_start.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.hpet_timer = type { i64, ptr, i64, i32, i64, i32, i32, i32, ptr }
@curcpu = common local_unnamed_addr global i64 0, align 8
@TIMER_PERIODIC = common local_unnamed_addr global i64 0, align 8
@TIMER_ONESHOT = common local_unnamed_addr global i64 0, align 8
@HPET_ISR = common local_unnamed_addr global i32 0, align 4
@HPET_TCNF_INT_ENB = common local_unnamed_addr global i32 0, align 4
@HPET_MAIN_COUNTER = common local_unnamed_addr global i32 0, align 4
@HPET_TCAP_PER_INT = common local_unnamed_addr global i32 0, align 4
@HPET_TCNF_TYPE = common local_unnamed_addr global i32 0, align 4
@HPET_TCNF_VAL_SET = common local_unnamed_addr global i32 0, align 4
@HPET_MIN_CYCLES = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hpet_start], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @hpet_start(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = inttoptr i64 %4 to ptr
%6 = getelementptr inbounds i8, ptr %5, i64 56
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = load i64, ptr %5, align 8, !tbaa !15
%9 = icmp slt i64 %8, 0
br i1 %9, label %19, label %10
10: ; preds = %3
%11 = getelementptr inbounds i8, ptr %7, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !16
%13 = getelementptr inbounds i8, ptr %5, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !18
%15 = load i64, ptr @curcpu, align 8, !tbaa !19
%16 = getelementptr inbounds i64, ptr %14, i64 %15
%17 = load i64, ptr %16, align 8, !tbaa !19
%18 = getelementptr inbounds %struct.hpet_timer, ptr %12, i64 %17
br label %19
19: ; preds = %3, %10
%20 = phi ptr [ %18, %10 ], [ %5, %3 ]
%21 = icmp eq i32 %2, 0
br i1 %21, label %24, label %22
22: ; preds = %19
%23 = load i64, ptr @TIMER_PERIODIC, align 8, !tbaa !19
br label %27
24: ; preds = %19
%25 = load i64, ptr @TIMER_ONESHOT, align 8, !tbaa !19
%26 = getelementptr inbounds i8, ptr %20, i64 24
store i32 0, ptr %26, align 8, !tbaa !20
br label %27
27: ; preds = %24, %22
%28 = phi i64 [ %25, %24 ], [ %23, %22 ]
%29 = getelementptr inbounds i8, ptr %20, i64 16
store i64 %28, ptr %29, align 8
%30 = icmp eq i32 %1, 0
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = getelementptr inbounds i8, ptr %20, i64 24
%33 = load i32, ptr %32, align 8, !tbaa !20
br label %34
34: ; preds = %27, %31
%35 = phi i32 [ %33, %31 ], [ poison, %27 ]
%36 = getelementptr inbounds i8, ptr %20, i64 32
%37 = load i64, ptr %36, align 8, !tbaa !21
%38 = icmp slt i64 %37, 0
br i1 %38, label %39, label %47
39: ; preds = %34
%40 = getelementptr inbounds i8, ptr %7, i64 4
%41 = load i32, ptr %40, align 4, !tbaa !22
%42 = load i32, ptr @HPET_ISR, align 4, !tbaa !23
%43 = getelementptr inbounds i8, ptr %20, i64 40
%44 = load i32, ptr %43, align 8, !tbaa !24
%45 = shl nuw i32 1, %44
%46 = tail call i32 @bus_write_4(i32 noundef %41, i32 noundef %42, i32 noundef %45) #2
br label %47
47: ; preds = %39, %34
%48 = load i32, ptr @HPET_TCNF_INT_ENB, align 4, !tbaa !23
%49 = getelementptr inbounds i8, ptr %20, i64 44
%50 = load i32, ptr %49, align 4, !tbaa !25
%51 = or i32 %50, %48
store i32 %51, ptr %49, align 4, !tbaa !25
%52 = getelementptr inbounds i8, ptr %7, i64 4
%53 = load i32, ptr %52, align 4, !tbaa !22
%54 = load i32, ptr @HPET_MAIN_COUNTER, align 4, !tbaa !23
%55 = tail call i32 @bus_read_4(i32 noundef %53, i32 noundef %54) #2
%56 = getelementptr inbounds i8, ptr %20, i64 48
%57 = getelementptr inbounds i8, ptr %20, i64 40
%58 = getelementptr inbounds i8, ptr %20, i64 24
br label %59
59: ; preds = %95, %47
%60 = phi i32 [ %35, %47 ], [ %110, %95 ]
%61 = phi i32 [ %55, %47 ], [ %104, %95 ]
%62 = add nsw i32 %61, %60
store i32 %62, ptr %56, align 8, !tbaa !26
%63 = load i64, ptr %29, align 8, !tbaa !27
%64 = load i64, ptr @TIMER_PERIODIC, align 8, !tbaa !19
%65 = icmp eq i64 %63, %64
%66 = load i32, ptr %49, align 4, !tbaa !25
br i1 %65, label %67, label %86
67: ; preds = %59
%68 = load i32, ptr @HPET_TCAP_PER_INT, align 4, !tbaa !23
%69 = and i32 %68, %66
%70 = icmp eq i32 %69, 0
br i1 %70, label %86, label %71
71: ; preds = %67
%72 = load i32, ptr @HPET_TCNF_TYPE, align 4, !tbaa !23
%73 = or i32 %72, %66
store i32 %73, ptr %49, align 4, !tbaa !25
%74 = load i32, ptr %52, align 4, !tbaa !22
%75 = load i32, ptr %57, align 8, !tbaa !24
%76 = tail call i32 @HPET_TIMER_CAP_CNF(i32 noundef %75) #2
%77 = load i32, ptr %49, align 4, !tbaa !25
%78 = load i32, ptr @HPET_TCNF_VAL_SET, align 4, !tbaa !23
%79 = or i32 %78, %77
%80 = tail call i32 @bus_write_4(i32 noundef %74, i32 noundef %76, i32 noundef %79) #2
%81 = load i32, ptr %52, align 4, !tbaa !22
%82 = load i32, ptr %57, align 8, !tbaa !24
%83 = tail call i32 @HPET_TIMER_COMPARATOR(i32 noundef %82) #2
%84 = load i32, ptr %56, align 8, !tbaa !26
%85 = tail call i32 @bus_write_4(i32 noundef %81, i32 noundef %83, i32 noundef %84) #2
br label %95
86: ; preds = %67, %59
%87 = load i32, ptr @HPET_TCNF_TYPE, align 4, !tbaa !23
%88 = xor i32 %87, -1
%89 = and i32 %66, %88
store i32 %89, ptr %49, align 4, !tbaa !25
%90 = load i32, ptr %52, align 4, !tbaa !22
%91 = load i32, ptr %57, align 8, !tbaa !24
%92 = tail call i32 @HPET_TIMER_CAP_CNF(i32 noundef %91) #2
%93 = load i32, ptr %49, align 4, !tbaa !25
%94 = tail call i32 @bus_write_4(i32 noundef %90, i32 noundef %92, i32 noundef %93) #2
br label %95
95: ; preds = %86, %71
%96 = phi ptr [ %56, %86 ], [ %58, %71 ]
%97 = load i32, ptr %52, align 4, !tbaa !22
%98 = load i32, ptr %57, align 8, !tbaa !24
%99 = tail call i32 @HPET_TIMER_COMPARATOR(i32 noundef %98) #2
%100 = load i32, ptr %96, align 8, !tbaa !23
%101 = tail call i32 @bus_write_4(i32 noundef %97, i32 noundef %99, i32 noundef %100) #2
%102 = load i32, ptr %52, align 4, !tbaa !22
%103 = load i32, ptr @HPET_MAIN_COUNTER, align 4, !tbaa !23
%104 = tail call i32 @bus_read_4(i32 noundef %102, i32 noundef %103) #2
%105 = load i32, ptr %56, align 8, !tbaa !26
%106 = sub i32 %104, %105
%107 = load i32, ptr @HPET_MIN_CYCLES, align 4, !tbaa !23
%108 = add nsw i32 %106, %107
%109 = icmp sgt i32 %108, -1
%110 = shl nsw i32 %60, 1
br i1 %109, label %59, label %111
111: ; preds = %95
ret i32 0
}
declare i32 @bus_write_4(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bus_read_4(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @HPET_TIMER_CAP_CNF(i32 noundef) local_unnamed_addr #1
declare i32 @HPET_TIMER_COMPARATOR(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 = !{!"eventtimer", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 56}
!12 = !{!"hpet_timer", !8, i64 0, !13, i64 8, !8, i64 16, !14, i64 24, !8, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !13, i64 56}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!12, !8, i64 0}
!16 = !{!17, !13, i64 8}
!17 = !{!"hpet_softc", !14, i64 0, !14, i64 4, !13, i64 8}
!18 = !{!12, !13, i64 8}
!19 = !{!8, !8, i64 0}
!20 = !{!12, !14, i64 24}
!21 = !{!12, !8, i64 32}
!22 = !{!17, !14, i64 4}
!23 = !{!14, !14, i64 0}
!24 = !{!12, !14, i64 40}
!25 = !{!12, !14, i64 44}
!26 = !{!12, !14, i64 48}
!27 = !{!12, !8, i64 16}
| freebsd_sys_dev_acpica_extr_acpi_hpet.c_hpet_start |
; ModuleID = 'AnghaBench/linux/arch/arm64/kvm/extr_debug.c_save_guest_debug_regs.c'
source_filename = "AnghaBench/linux/arch/arm64/kvm/extr_debug.c_save_guest_debug_regs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MDSCR_EL1 = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"Saved MDSCR_EL1\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @save_guest_debug_regs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @save_guest_debug_regs(ptr noundef %0) #0 {
%2 = load i32, ptr @MDSCR_EL1, align 4, !tbaa !5
%3 = tail call i32 @vcpu_read_sys_reg(ptr noundef %0, i32 noundef %2) #2
store i32 %3, ptr %0, align 4, !tbaa !9
%4 = tail call i32 @trace_kvm_arm_set_dreg32(ptr noundef nonnull @.str, i32 noundef %3) #2
ret void
}
declare i32 @vcpu_read_sys_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @trace_kvm_arm_set_dreg32(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"kvm_vcpu", !11, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/arm64/kvm/extr_debug.c_save_guest_debug_regs.c'
source_filename = "AnghaBench/linux/arch/arm64/kvm/extr_debug.c_save_guest_debug_regs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MDSCR_EL1 = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"Saved MDSCR_EL1\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @save_guest_debug_regs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @save_guest_debug_regs(ptr noundef %0) #0 {
%2 = load i32, ptr @MDSCR_EL1, align 4, !tbaa !6
%3 = tail call i32 @vcpu_read_sys_reg(ptr noundef %0, i32 noundef %2) #2
store i32 %3, ptr %0, align 4, !tbaa !10
%4 = tail call i32 @trace_kvm_arm_set_dreg32(ptr noundef nonnull @.str, i32 noundef %3) #2
ret void
}
declare i32 @vcpu_read_sys_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @trace_kvm_arm_set_dreg32(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"kvm_vcpu", !12, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0}
| linux_arch_arm64_kvm_extr_debug.c_save_guest_debug_regs |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sh/kernel/cpu/sh2/extr_clock-sh7619.c_bus_clk_recalc.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sh/kernel/cpu/sh2/extr_clock-sh7619.c_bus_clk_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"
@pll1rate = dso_local local_unnamed_addr global ptr null, align 8
@FREQCR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bus_clk_recalc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @bus_clk_recalc(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr %2, align 8, !tbaa !10
%4 = load ptr, ptr @pll1rate, align 8, !tbaa !13
%5 = load i32, ptr @FREQCR, align 4, !tbaa !14
%6 = tail call i32 @ctrl_inw(i32 noundef %5) #2
%7 = lshr i32 %6, 8
%8 = and i32 %7, 7
%9 = zext nneg i32 %8 to i64
%10 = getelementptr inbounds i64, ptr %4, i64 %9
%11 = load i64, ptr %10, align 8, !tbaa !16
%12 = udiv i64 %3, %11
ret i64 %12
}
declare i32 @ctrl_inw(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 = !{!"clk", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sh/kernel/cpu/sh2/extr_clock-sh7619.c_bus_clk_recalc.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sh/kernel/cpu/sh2/extr_clock-sh7619.c_bus_clk_recalc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@pll1rate = common local_unnamed_addr global ptr null, align 8
@FREQCR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bus_clk_recalc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @bus_clk_recalc(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr %2, align 8, !tbaa !11
%4 = load ptr, ptr @pll1rate, align 8, !tbaa !14
%5 = load i32, ptr @FREQCR, align 4, !tbaa !15
%6 = tail call i32 @ctrl_inw(i32 noundef %5) #2
%7 = lshr i32 %6, 8
%8 = and i32 %7, 7
%9 = zext nneg i32 %8 to i64
%10 = getelementptr inbounds i64, ptr %4, i64 %9
%11 = load i64, ptr %10, align 8, !tbaa !17
%12 = udiv i64 %3, %11
ret i64 %12
}
declare i32 @ctrl_inw(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 = !{!"clk", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!13, !13, i64 0}
| fastsocket_kernel_arch_sh_kernel_cpu_sh2_extr_clock-sh7619.c_bus_clk_recalc |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/oss/extr_sb_midi.c_sb_midi_end_read.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/oss/extr_sb_midi.c_sb_midi_end_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@midi_devs = dso_local local_unnamed_addr global ptr null, align 8
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sb_midi_end_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sb_midi_end_read(i32 noundef %0) #0 {
%2 = load ptr, ptr @midi_devs, align 8, !tbaa !5
%3 = sext i32 %0 to i64
%4 = getelementptr inbounds ptr, ptr %2, i64 %3
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !9
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr @ENXIO, align 4, !tbaa !11
%10 = sub nsw i32 0, %9
br label %13
11: ; preds = %1
%12 = tail call i32 @sb_dsp_reset(ptr noundef nonnull %6) #2
store i64 0, ptr %6, align 8, !tbaa !13
br label %13
13: ; preds = %11, %8
%14 = phi i32 [ %10, %8 ], [ 0, %11 ]
ret i32 %14
}
declare i32 @sb_dsp_reset(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_5__", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/oss/extr_sb_midi.c_sb_midi_end_read.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/oss/extr_sb_midi.c_sb_midi_end_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@midi_devs = common local_unnamed_addr global ptr null, align 8
@ENXIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sb_midi_end_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @sb_midi_end_read(i32 noundef %0) #0 {
%2 = load ptr, ptr @midi_devs, align 8, !tbaa !6
%3 = sext i32 %0 to i64
%4 = getelementptr inbounds ptr, ptr %2, i64 %3
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr @ENXIO, align 4, !tbaa !12
%10 = sub nsw i32 0, %9
br label %13
11: ; preds = %1
%12 = tail call i32 @sb_dsp_reset(ptr noundef nonnull %6) #2
store i64 0, ptr %6, align 8, !tbaa !14
br label %13
13: ; preds = %11, %8
%14 = phi i32 [ %10, %8 ], [ 0, %11 ]
ret i32 %14
}
declare i32 @sb_dsp_reset(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_4__", !16, i64 0}
!16 = !{!"long", !8, i64 0}
| fastsocket_kernel_sound_oss_extr_sb_midi.c_sb_midi_end_read |
; ModuleID = 'AnghaBench/RetroArch/frontend/drivers/extr_platform_win32.c_frontend_win32_detach_console.c'
source_filename = "AnghaBench/RetroArch/frontend/drivers/extr_platform_win32.c_frontend_win32_detach_console.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@console_needs_free = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @frontend_win32_detach_console], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @frontend_win32_detach_console() #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/RetroArch/frontend/drivers/extr_platform_win32.c_frontend_win32_detach_console.c'
source_filename = "AnghaBench/RetroArch/frontend/drivers/extr_platform_win32.c_frontend_win32_detach_console.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@console_needs_free = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @frontend_win32_detach_console], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @frontend_win32_detach_console() #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| RetroArch_frontend_drivers_extr_platform_win32.c_frontend_win32_detach_console |
; ModuleID = 'AnghaBench/mpv/demux/extr_demux_mkv.c_parse_flac_chmap.c'
source_filename = "AnghaBench/mpv/demux/extr_demux_mkv.c_parse_flac_chmap.c"
target datalayout = "e-m:e-p270:32:32-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 @parse_flac_chmap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @parse_flac_chmap(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp sgt i32 %2, 7
br i1 %4, label %5, label %27
5: ; preds = %3
%6 = add nsw i32 %2, -4
%7 = getelementptr inbounds i8, ptr %1, i64 4
br label %8
8: ; preds = %5, %22
%9 = phi ptr [ %24, %22 ], [ %7, %5 ]
%10 = phi i32 [ %25, %22 ], [ %6, %5 ]
%11 = load i8, ptr %9, align 1, !tbaa !5
%12 = getelementptr inbounds i8, ptr %9, i64 1
%13 = tail call i32 @AV_RB24(ptr noundef nonnull %12) #2
%14 = getelementptr inbounds i8, ptr %9, i64 4
%15 = add nsw i32 %10, -4
%16 = icmp ugt i32 %13, %15
br i1 %16, label %27, label %17
17: ; preds = %8
%18 = and i8 %11, 127
%19 = icmp eq i8 %18, 4
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = tail call i32 @parse_vorbis_chmap(ptr noundef %0, ptr noundef nonnull %14, i32 noundef %13) #2
br label %22
22: ; preds = %17, %20
%23 = zext nneg i32 %13 to i64
%24 = getelementptr inbounds i8, ptr %14, i64 %23
%25 = sub nsw i32 %15, %13
%26 = icmp sgt i32 %25, 3
br i1 %26, label %8, label %27
27: ; preds = %22, %8, %3
ret void
}
declare i32 @AV_RB24(ptr noundef) local_unnamed_addr #1
declare i32 @parse_vorbis_chmap(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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/mpv/demux/extr_demux_mkv.c_parse_flac_chmap.c'
source_filename = "AnghaBench/mpv/demux/extr_demux_mkv.c_parse_flac_chmap.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 @parse_flac_chmap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @parse_flac_chmap(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp sgt i32 %2, 7
br i1 %4, label %5, label %27
5: ; preds = %3
%6 = add nsw i32 %2, -4
%7 = getelementptr inbounds i8, ptr %1, i64 4
br label %8
8: ; preds = %5, %22
%9 = phi ptr [ %24, %22 ], [ %7, %5 ]
%10 = phi i32 [ %25, %22 ], [ %6, %5 ]
%11 = load i8, ptr %9, align 1, !tbaa !6
%12 = getelementptr inbounds i8, ptr %9, i64 1
%13 = tail call i32 @AV_RB24(ptr noundef nonnull %12) #2
%14 = getelementptr inbounds i8, ptr %9, i64 4
%15 = add nsw i32 %10, -4
%16 = icmp ugt i32 %13, %15
br i1 %16, label %27, label %17
17: ; preds = %8
%18 = and i8 %11, 127
%19 = icmp eq i8 %18, 4
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = tail call i32 @parse_vorbis_chmap(ptr noundef %0, ptr noundef nonnull %14, i32 noundef %13) #2
br label %22
22: ; preds = %17, %20
%23 = zext nneg i32 %13 to i64
%24 = getelementptr inbounds i8, ptr %14, i64 %23
%25 = sub nsw i32 %15, %13
%26 = icmp sgt i32 %25, 3
br i1 %26, label %8, label %27
27: ; preds = %22, %8, %3
ret void
}
declare i32 @AV_RB24(ptr noundef) local_unnamed_addr #1
declare i32 @parse_vorbis_chmap(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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| mpv_demux_extr_demux_mkv.c_parse_flac_chmap |
; ModuleID = 'AnghaBench/freebsd/sys/dev/etherswitch/mtkswitch/extr_mtkswitch.c_mtkswitch_setvgroup.c'
source_filename = "AnghaBench/freebsd/sys/dev/etherswitch/mtkswitch/extr_mtkswitch.c_mtkswitch_setvgroup.c"
target datalayout = "e-m:e-p270:32:32-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 @mtkswitch_setvgroup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mtkswitch_setvgroup(i32 noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @device_get_softc(i32 noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = tail call i32 %4(ptr noundef nonnull %3, ptr noundef %1) #2
ret i32 %5
}
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, !8, i64 0}
!6 = !{!"mtkswitch_softc", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/etherswitch/mtkswitch/extr_mtkswitch.c_mtkswitch_setvgroup.c'
source_filename = "AnghaBench/freebsd/sys/dev/etherswitch/mtkswitch/extr_mtkswitch.c_mtkswitch_setvgroup.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 @mtkswitch_setvgroup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mtkswitch_setvgroup(i32 noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @device_get_softc(i32 noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = tail call i32 %4(ptr noundef nonnull %3, ptr noundef %1) #2
ret i32 %5
}
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, !9, i64 0}
!7 = !{!"mtkswitch_softc", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_etherswitch_mtkswitch_extr_mtkswitch.c_mtkswitch_setvgroup |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_playermodel.c_PlayerModel_BuildList.c'
source_filename = "AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_playermodel.c_PlayerModel_BuildList.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, i64 }
@.str = private unnamed_addr constant [16 x i8] c"com_buildscript\00", align 1
@s_playermodel = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str.1 = private unnamed_addr constant [15 x i8] c"models/players\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@MAX_PLAYERMODELS = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"models/players/%s\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"tga\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"icon_\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"models/players/%s/%s\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"sound/player/announce/%s_wins.wav\00", align 1
@qfalse = dso_local local_unnamed_addr global i32 0, align 4
@MAX_MODELSPERPAGE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @PlayerModel_BuildList], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @PlayerModel_BuildList() #0 {
%1 = alloca [2048 x i8], align 16
%2 = alloca [2048 x i8], align 16
%3 = alloca [64 x i8], align 16
call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %1) #4
call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #4
%4 = tail call i64 @trap_Cvar_VariableValue(ptr noundef nonnull @.str) #4
store i64 0, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @s_playermodel, i64 0, i32 3), align 8, !tbaa !5
store i32 0, ptr @s_playermodel, align 8, !tbaa !12
%5 = call i32 @trap_FS_GetFileList(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, ptr noundef nonnull %1, i32 noundef 2048) #4
%6 = icmp sgt i32 %5, 0
%7 = load i32, ptr @s_playermodel, align 8
%8 = load i32, ptr @MAX_PLAYERMODELS, align 4
%9 = icmp slt i32 %7, %8
%10 = select i1 %6, i1 %9, i1 false
br i1 %10, label %11, label %79
11: ; preds = %0
%12 = icmp eq i64 %4, 0
br label %13
13: ; preds = %11, %69
%14 = phi ptr [ %1, %11 ], [ %73, %69 ]
%15 = phi i32 [ 0, %11 ], [ %70, %69 ]
%16 = call i32 @strlen(ptr noundef %14) #4
%17 = icmp eq i32 %16, 0
br i1 %17, label %25, label %18
18: ; preds = %13
%19 = add nsw i32 %16, -1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %14, i64 %20
%22 = load i8, ptr %21, align 1, !tbaa !13
%23 = icmp eq i8 %22, 47
br i1 %23, label %24, label %25
24: ; preds = %18
store i8 0, ptr %21, align 1, !tbaa !13
br label %25
25: ; preds = %24, %18, %13
%26 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %14, ptr noundef nonnull dereferenceable(2) @.str.3)
%27 = icmp eq i32 %26, 0
br i1 %27, label %69, label %28
28: ; preds = %25
%29 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %14, ptr noundef nonnull dereferenceable(3) @.str.4)
%30 = icmp eq i32 %29, 0
br i1 %30, label %69, label %31
31: ; preds = %28
%32 = call ptr @va(ptr noundef nonnull @.str.5, ptr noundef %14) #4
%33 = call i32 @trap_FS_GetFileList(ptr noundef %32, ptr noundef nonnull @.str.6, ptr noundef nonnull %2, i32 noundef 2048) #4
%34 = icmp sgt i32 %33, 0
%35 = load i32, ptr @s_playermodel, align 8
%36 = load i32, ptr @MAX_PLAYERMODELS, align 4
%37 = icmp slt i32 %35, %36
%38 = select i1 %34, i1 %37, i1 false
br i1 %38, label %39, label %69
39: ; preds = %31, %59
%40 = phi ptr [ %63, %59 ], [ %2, %31 ]
%41 = phi i32 [ %60, %59 ], [ 0, %31 ]
%42 = call i32 @strlen(ptr noundef %40) #4
%43 = call i32 @COM_StripExtension(ptr noundef %40, ptr noundef nonnull %3) #4
%44 = call i32 @Q_stricmpn(ptr noundef nonnull %3, ptr noundef nonnull @.str.7, i32 noundef 5) #4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %54
46: ; preds = %39
%47 = load ptr, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @s_playermodel, i64 0, i32 2), align 8, !tbaa !14
%48 = load i32, ptr @s_playermodel, align 8, !tbaa !12
%49 = add nsw i32 %48, 1
store i32 %49, ptr @s_playermodel, align 8, !tbaa !12
%50 = sext i32 %48 to i64
%51 = getelementptr inbounds i32, ptr %47, i64 %50
%52 = load i32, ptr %51, align 4, !tbaa !15
%53 = call i32 @Com_sprintf(i32 noundef %52, i32 noundef 4, ptr noundef nonnull @.str.8, ptr noundef %14, ptr noundef nonnull %3) #4
br label %54
54: ; preds = %46, %39
br i1 %12, label %59, label %55
55: ; preds = %54
%56 = call ptr @va(ptr noundef nonnull @.str.9, ptr noundef nonnull %3) #4
%57 = load i32, ptr @qfalse, align 4, !tbaa !15
%58 = call i32 @trap_S_RegisterSound(ptr noundef %56, i32 noundef %57) #4
br label %59
59: ; preds = %54, %55
%60 = add nuw nsw i32 %41, 1
%61 = add nsw i32 %42, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %40, i64 %62
%64 = icmp slt i32 %60, %33
%65 = load i32, ptr @s_playermodel, align 8
%66 = load i32, ptr @MAX_PLAYERMODELS, align 4
%67 = icmp slt i32 %65, %66
%68 = select i1 %64, i1 %67, i1 false
br i1 %68, label %39, label %69, !llvm.loop !16
69: ; preds = %59, %31, %25, %28
%70 = add nuw nsw i32 %15, 1
%71 = add nsw i32 %16, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %14, i64 %72
%74 = icmp slt i32 %70, %5
%75 = load i32, ptr @s_playermodel, align 8
%76 = load i32, ptr @MAX_PLAYERMODELS, align 4
%77 = icmp slt i32 %75, %76
%78 = select i1 %74, i1 %77, i1 false
br i1 %78, label %13, label %79, !llvm.loop !18
79: ; preds = %69, %0
%80 = phi i32 [ %7, %0 ], [ %75, %69 ]
%81 = load i32, ptr @MAX_MODELSPERPAGE, align 4, !tbaa !15
%82 = sdiv i32 %80, %81
%83 = srem i32 %80, %81
%84 = icmp ne i32 %83, 0
%85 = zext i1 %84 to i32
%86 = add nsw i32 %82, %85
store i32 %86, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @s_playermodel, i64 0, i32 1), align 4, !tbaa !19
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %1) #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 i64 @trap_Cvar_VariableValue(ptr noundef) local_unnamed_addr #2
declare i32 @trap_FS_GetFileList(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3
declare ptr @va(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @COM_StripExtension(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @Q_stricmpn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @Com_sprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @trap_S_RegisterSound(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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !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, !7, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_playermodel.c_PlayerModel_BuildList.c'
source_filename = "AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_playermodel.c_PlayerModel_BuildList.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, ptr, i64 }
@.str = private unnamed_addr constant [16 x i8] c"com_buildscript\00", align 1
@s_playermodel = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str.1 = private unnamed_addr constant [15 x i8] c"models/players\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@MAX_PLAYERMODELS = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [18 x i8] c"models/players/%s\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"tga\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"icon_\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"models/players/%s/%s\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"sound/player/announce/%s_wins.wav\00", align 1
@qfalse = common local_unnamed_addr global i32 0, align 4
@MAX_MODELSPERPAGE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @PlayerModel_BuildList], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @PlayerModel_BuildList() #0 {
%1 = alloca [2048 x i8], align 1
%2 = alloca [2048 x i8], align 1
%3 = alloca [64 x i8], align 1
call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #3
%4 = tail call i64 @trap_Cvar_VariableValue(ptr noundef nonnull @.str) #3
store i64 0, ptr getelementptr inbounds (i8, ptr @s_playermodel, i64 16), align 8, !tbaa !6
store i32 0, ptr @s_playermodel, align 8, !tbaa !13
%5 = call i32 @trap_FS_GetFileList(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, ptr noundef nonnull %1, i32 noundef 2048) #3
%6 = icmp sgt i32 %5, 0
%7 = load i32, ptr @s_playermodel, align 8
%8 = load i32, ptr @MAX_PLAYERMODELS, align 4
%9 = icmp slt i32 %7, %8
%10 = select i1 %6, i1 %9, i1 false
br i1 %10, label %11, label %93
11: ; preds = %0
%12 = icmp eq i64 %4, 0
br label %13
13: ; preds = %11, %83
%14 = phi ptr [ %1, %11 ], [ %87, %83 ]
%15 = phi i32 [ 0, %11 ], [ %84, %83 ]
%16 = call i32 @strlen(ptr noundef %14) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %25, label %18
18: ; preds = %13
%19 = add nsw i32 %16, -1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %14, i64 %20
%22 = load i8, ptr %21, align 1, !tbaa !14
%23 = icmp eq i8 %22, 47
br i1 %23, label %24, label %25
24: ; preds = %18
store i8 0, ptr %21, align 1, !tbaa !14
br label %25
25: ; preds = %13, %18, %24
%26 = load i8, ptr %14, align 1
%27 = zext i8 %26 to i32
%28 = add nsw i32 %27, -46
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %42
30: ; preds = %25
%31 = getelementptr inbounds i8, ptr %14, i64 1
%32 = load i8, ptr %31, align 1
%33 = icmp eq i8 %32, 0
br i1 %33, label %83, label %34
34: ; preds = %30
%35 = zext i8 %32 to i32
%36 = add nsw i32 %35, -46
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %42
38: ; preds = %34
%39 = getelementptr inbounds i8, ptr %14, i64 2
%40 = load i8, ptr %39, align 1
%41 = zext i8 %40 to i32
br label %42
42: ; preds = %25, %34, %38
%43 = phi i32 [ %36, %34 ], [ %41, %38 ], [ %28, %25 ]
%44 = icmp eq i32 %43, 0
br i1 %44, label %83, label %45
45: ; preds = %42
%46 = call ptr @va(ptr noundef nonnull @.str.5, ptr noundef nonnull %14) #3
%47 = call i32 @trap_FS_GetFileList(ptr noundef %46, ptr noundef nonnull @.str.6, ptr noundef nonnull %2, i32 noundef 2048) #3
%48 = icmp sgt i32 %47, 0
%49 = load i32, ptr @s_playermodel, align 8
%50 = load i32, ptr @MAX_PLAYERMODELS, align 4
%51 = icmp slt i32 %49, %50
%52 = select i1 %48, i1 %51, i1 false
br i1 %52, label %53, label %83
53: ; preds = %45, %73
%54 = phi ptr [ %77, %73 ], [ %2, %45 ]
%55 = phi i32 [ %74, %73 ], [ 0, %45 ]
%56 = call i32 @strlen(ptr noundef %54) #3
%57 = call i32 @COM_StripExtension(ptr noundef %54, ptr noundef nonnull %3) #3
%58 = call i32 @Q_stricmpn(ptr noundef nonnull %3, ptr noundef nonnull @.str.7, i32 noundef 5) #3
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %68
60: ; preds = %53
%61 = load ptr, ptr getelementptr inbounds (i8, ptr @s_playermodel, i64 8), align 8, !tbaa !15
%62 = load i32, ptr @s_playermodel, align 8, !tbaa !13
%63 = add nsw i32 %62, 1
store i32 %63, ptr @s_playermodel, align 8, !tbaa !13
%64 = sext i32 %62 to i64
%65 = getelementptr inbounds i32, ptr %61, i64 %64
%66 = load i32, ptr %65, align 4, !tbaa !16
%67 = call i32 @Com_sprintf(i32 noundef %66, i32 noundef 4, ptr noundef nonnull @.str.8, ptr noundef nonnull %14, ptr noundef nonnull %3) #3
br label %68
68: ; preds = %60, %53
br i1 %12, label %73, label %69
69: ; preds = %68
%70 = call ptr @va(ptr noundef nonnull @.str.9, ptr noundef nonnull %3) #3
%71 = load i32, ptr @qfalse, align 4, !tbaa !16
%72 = call i32 @trap_S_RegisterSound(ptr noundef %70, i32 noundef %71) #3
br label %73
73: ; preds = %68, %69
%74 = add nuw nsw i32 %55, 1
%75 = add nsw i32 %56, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %54, i64 %76
%78 = icmp slt i32 %74, %47
%79 = load i32, ptr @s_playermodel, align 8
%80 = load i32, ptr @MAX_PLAYERMODELS, align 4
%81 = icmp slt i32 %79, %80
%82 = select i1 %78, i1 %81, i1 false
br i1 %82, label %53, label %83, !llvm.loop !17
83: ; preds = %73, %45, %30, %42
%84 = add nuw nsw i32 %15, 1
%85 = add nsw i32 %16, 1
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %14, i64 %86
%88 = icmp slt i32 %84, %5
%89 = load i32, ptr @s_playermodel, align 8
%90 = load i32, ptr @MAX_PLAYERMODELS, align 4
%91 = icmp slt i32 %89, %90
%92 = select i1 %88, i1 %91, i1 false
br i1 %92, label %13, label %93, !llvm.loop !19
93: ; preds = %83, %0
%94 = phi i32 [ %7, %0 ], [ %89, %83 ]
%95 = load i32, ptr @MAX_MODELSPERPAGE, align 4, !tbaa !16
%96 = freeze i32 %94
%97 = freeze i32 %95
%98 = sdiv i32 %96, %97
%99 = mul i32 %98, %97
%100 = sub i32 %96, %99
%101 = icmp ne i32 %100, 0
%102 = zext i1 %101 to i32
%103 = add nsw i32 %98, %102
store i32 %103, ptr getelementptr inbounds (i8, ptr @s_playermodel, i64 4), align 4, !tbaa !20
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @trap_Cvar_VariableValue(ptr noundef) local_unnamed_addr #2
declare i32 @trap_FS_GetFileList(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare ptr @va(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @COM_StripExtension(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @Q_stricmpn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @Com_sprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @trap_S_RegisterSound(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, !12, i64 16}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !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, !8, i64 0}
!14 = !{!9, !9, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!8, !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{!7, !8, i64 4}
| Quake-III-Arena_code_q3_ui_extr_ui_playermodel.c_PlayerModel_BuildList |
; ModuleID = 'AnghaBench/RetroArch/deps/lua/src/extr_ldblib.c_treatstackoption.c'
source_filename = "AnghaBench/RetroArch/deps/lua/src/extr_ldblib.c_treatstackoption.c"
target datalayout = "e-m:e-p270:32:32-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 @treatstackoption], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @treatstackoption(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = icmp eq ptr %0, %1
br i1 %4, label %5, label %7
5: ; preds = %3
%6 = tail call i32 @lua_rotate(ptr noundef %0, i32 noundef -2, i32 noundef 1) #2
br label %9
7: ; preds = %3
%8 = tail call i32 @lua_xmove(ptr noundef %1, ptr noundef %0, i32 noundef 1) #2
br label %9
9: ; preds = %7, %5
%10 = tail call i32 @lua_setfield(ptr noundef %0, i32 noundef -2, ptr noundef %2) #2
ret void
}
declare i32 @lua_rotate(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_xmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_setfield(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/RetroArch/deps/lua/src/extr_ldblib.c_treatstackoption.c'
source_filename = "AnghaBench/RetroArch/deps/lua/src/extr_ldblib.c_treatstackoption.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 @treatstackoption], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @treatstackoption(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = icmp eq ptr %0, %1
br i1 %4, label %5, label %7
5: ; preds = %3
%6 = tail call i32 @lua_rotate(ptr noundef %0, i32 noundef -2, i32 noundef 1) #2
br label %9
7: ; preds = %3
%8 = tail call i32 @lua_xmove(ptr noundef %1, ptr noundef %0, i32 noundef 1) #2
br label %9
9: ; preds = %7, %5
%10 = tail call i32 @lua_setfield(ptr noundef %0, i32 noundef -2, ptr noundef %2) #2
ret void
}
declare i32 @lua_rotate(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_xmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_setfield(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)"}
| RetroArch_deps_lua_src_extr_ldblib.c_treatstackoption |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx.xml.h_REG_A6XX_VFD_DEST_CNTL_INSTR.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx.xml.h_REG_A6XX_VFD_DEST_CNTL_INSTR.c"
target datalayout = "e-m:e-p270:32:32-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 @REG_A6XX_VFD_DEST_CNTL_INSTR], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i32 @REG_A6XX_VFD_DEST_CNTL_INSTR(i32 noundef %0) #0 {
%2 = add nsw i32 %0, 41168
ret i32 %2
}
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/gpu/drm/msm/adreno/extr_a6xx.xml.h_REG_A6XX_VFD_DEST_CNTL_INSTR.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx.xml.h_REG_A6XX_VFD_DEST_CNTL_INSTR.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 @REG_A6XX_VFD_DEST_CNTL_INSTR], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 -2147442480, -2147483648) i32 @REG_A6XX_VFD_DEST_CNTL_INSTR(i32 noundef %0) #0 {
%2 = add nsw i32 %0, 41168
ret i32 %2
}
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_gpu_drm_msm_adreno_extr_a6xx.xml.h_REG_A6XX_VFD_DEST_CNTL_INSTR |
; ModuleID = 'AnghaBench/linux/drivers/media/pci/ttpci/extr_av7110_ca.c_CI_handle.c'
source_filename = "AnghaBench/linux/drivers/media/pci/ttpci/extr_av7110_ca.c_CI_handle.c"
target datalayout = "e-m:e-p270:32:32-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 }
@.str = private unnamed_addr constant [11 x i8] c"av7110:%p\0A\00", align 1
@CA_CI_MODULE_PRESENT = dso_local local_unnamed_addr global i32 0, align 4
@CA_CI_MODULE_READY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @CI_handle(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @dprintk(i32 noundef 8, ptr noundef nonnull @.str, ptr noundef %0) #2
%5 = icmp slt i32 %2, 3
br i1 %5, label %38, label %6
6: ; preds = %3
%7 = load i32, ptr %1, align 4, !tbaa !5
%8 = icmp eq i32 %7, 129
br i1 %8, label %9, label %38
9: ; preds = %6
%10 = getelementptr inbounds i32, ptr %1, i64 2
%11 = load i32, ptr %10, align 4, !tbaa !5
%12 = add i32 %11, -1
%13 = icmp ult i32 %12, 2
br i1 %13, label %14, label %38
14: ; preds = %9
%15 = getelementptr inbounds i32, ptr %1, i64 1
%16 = load i32, ptr %15, align 4, !tbaa !5
switch i32 %16, label %38 [
i32 0, label %17
i32 1, label %22
i32 2, label %30
]
17: ; preds = %14
%18 = load ptr, ptr %0, align 8, !tbaa !9
%19 = zext nneg i32 %11 to i64
%20 = getelementptr %struct.TYPE_2__, ptr %18, i64 %19
%21 = getelementptr %struct.TYPE_2__, ptr %20, i64 -1
store i32 0, ptr %21, align 4, !tbaa !12
br label %38
22: ; preds = %14
%23 = load i32, ptr @CA_CI_MODULE_PRESENT, align 4, !tbaa !5
%24 = load ptr, ptr %0, align 8, !tbaa !9
%25 = zext nneg i32 %11 to i64
%26 = getelementptr %struct.TYPE_2__, ptr %24, i64 %25
%27 = getelementptr %struct.TYPE_2__, ptr %26, i64 -1
%28 = load i32, ptr %27, align 4, !tbaa !12
%29 = or i32 %28, %23
store i32 %29, ptr %27, align 4, !tbaa !12
br label %38
30: ; preds = %14
%31 = load i32, ptr @CA_CI_MODULE_READY, align 4, !tbaa !5
%32 = load ptr, ptr %0, align 8, !tbaa !9
%33 = zext nneg i32 %11 to i64
%34 = getelementptr %struct.TYPE_2__, ptr %32, i64 %33
%35 = getelementptr %struct.TYPE_2__, ptr %34, i64 -1
%36 = load i32, ptr %35, align 4, !tbaa !12
%37 = or i32 %36, %31
store i32 %37, ptr %35, align 4, !tbaa !12
br label %38
38: ; preds = %9, %6, %17, %22, %30, %14, %3
ret void
}
declare i32 @dprintk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"av7110", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/pci/ttpci/extr_av7110_ca.c_CI_handle.c'
source_filename = "AnghaBench/linux/drivers/media/pci/ttpci/extr_av7110_ca.c_CI_handle.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 }
@.str = private unnamed_addr constant [11 x i8] c"av7110:%p\0A\00", align 1
@CA_CI_MODULE_PRESENT = common local_unnamed_addr global i32 0, align 4
@CA_CI_MODULE_READY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @CI_handle(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @dprintk(i32 noundef 8, ptr noundef nonnull @.str, ptr noundef %0) #2
%5 = icmp slt i32 %2, 3
br i1 %5, label %38, label %6
6: ; preds = %3
%7 = load i32, ptr %1, align 4, !tbaa !6
%8 = icmp eq i32 %7, 129
br i1 %8, label %9, label %38
9: ; preds = %6
%10 = getelementptr inbounds i8, ptr %1, i64 8
%11 = load i32, ptr %10, align 4, !tbaa !6
%12 = add i32 %11, -1
%13 = icmp ult i32 %12, 2
br i1 %13, label %14, label %38
14: ; preds = %9
%15 = getelementptr inbounds i8, ptr %1, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !6
switch i32 %16, label %38 [
i32 0, label %17
i32 1, label %22
i32 2, label %30
]
17: ; preds = %14
%18 = load ptr, ptr %0, align 8, !tbaa !10
%19 = zext nneg i32 %11 to i64
%20 = getelementptr %struct.TYPE_2__, ptr %18, i64 %19
%21 = getelementptr i8, ptr %20, i64 -4
store i32 0, ptr %21, align 4, !tbaa !13
br label %38
22: ; preds = %14
%23 = load i32, ptr @CA_CI_MODULE_PRESENT, align 4, !tbaa !6
%24 = load ptr, ptr %0, align 8, !tbaa !10
%25 = zext nneg i32 %11 to i64
%26 = getelementptr %struct.TYPE_2__, ptr %24, i64 %25
%27 = getelementptr i8, ptr %26, i64 -4
%28 = load i32, ptr %27, align 4, !tbaa !13
%29 = or i32 %28, %23
store i32 %29, ptr %27, align 4, !tbaa !13
br label %38
30: ; preds = %14
%31 = load i32, ptr @CA_CI_MODULE_READY, align 4, !tbaa !6
%32 = load ptr, ptr %0, align 8, !tbaa !10
%33 = zext nneg i32 %11 to i64
%34 = getelementptr %struct.TYPE_2__, ptr %32, i64 %33
%35 = getelementptr i8, ptr %34, i64 -4
%36 = load i32, ptr %35, align 4, !tbaa !13
%37 = or i32 %36, %31
store i32 %37, ptr %35, align 4, !tbaa !13
br label %38
38: ; preds = %9, %6, %17, %22, %30, %14, %3
ret void
}
declare i32 @dprintk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"av7110", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
| linux_drivers_media_pci_ttpci_extr_av7110_ca.c_CI_handle |
; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/host/extr_....uwbuwb.h___uwb_dev_addr_assigned.c'
source_filename = "AnghaBench/linux/drivers/staging/wusbcore/host/extr_....uwbuwb.h___uwb_dev_addr_assigned.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@__uwb_dev_addr_assigned_check = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__uwb_dev_addr_assigned], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @__uwb_dev_addr_assigned(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @__uwb_dev_addr_assigned_check, align 4, !tbaa !5
%4 = tail call i32 @uwb_dev_for_each(ptr noundef %0, i32 noundef %3, ptr noundef %1) #2
ret i32 %4
}
declare i32 @uwb_dev_for_each(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/host/extr_....uwbuwb.h___uwb_dev_addr_assigned.c'
source_filename = "AnghaBench/linux/drivers/staging/wusbcore/host/extr_....uwbuwb.h___uwb_dev_addr_assigned.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__uwb_dev_addr_assigned_check = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__uwb_dev_addr_assigned], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @__uwb_dev_addr_assigned(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @__uwb_dev_addr_assigned_check, align 4, !tbaa !6
%4 = tail call i32 @uwb_dev_for_each(ptr noundef %0, i32 noundef %3, ptr noundef %1) #2
ret i32 %4
}
declare i32 @uwb_dev_for_each(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_staging_wusbcore_host_extr_....uwbuwb.h___uwb_dev_addr_assigned |
; ModuleID = 'AnghaBench/systemd/src/network/generator/extr_network-generator.c_network_set_hostname.c'
source_filename = "AnghaBench/systemd/src/network/generator/extr_network-generator.c_network_set_hostname.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @network_set_hostname], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @network_set_hostname(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @network_get(ptr noundef %0, ptr noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @ENODEV, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %11
9: ; preds = %3
%10 = tail call i32 @free_and_strdup(ptr noundef nonnull %4, ptr noundef %2) #2
br label %11
11: ; preds = %9, %6
%12 = phi i32 [ %10, %9 ], [ %8, %6 ]
ret i32 %12
}
declare ptr @network_get(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free_and_strdup(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/systemd/src/network/generator/extr_network-generator.c_network_set_hostname.c'
source_filename = "AnghaBench/systemd/src/network/generator/extr_network-generator.c_network_set_hostname.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENODEV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @network_set_hostname], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @network_set_hostname(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @network_get(ptr noundef %0, ptr noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @ENODEV, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %11
9: ; preds = %3
%10 = tail call i32 @free_and_strdup(ptr noundef nonnull %4, ptr noundef %2) #2
br label %11
11: ; preds = %9, %6
%12 = phi i32 [ %10, %9 ], [ %8, %6 ]
ret i32 %12
}
declare ptr @network_get(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free_and_strdup(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| systemd_src_network_generator_extr_network-generator.c_network_set_hostname |
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-object.c_pdf_array_get_text_string.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-object.c_pdf_array_get_text_string.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @pdf_array_get_text_string(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @pdf_array_get(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
%5 = tail call ptr @pdf_to_text_string(ptr noundef %0, i32 noundef %4) #2
ret ptr %5
}
declare ptr @pdf_to_text_string(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pdf_array_get(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/sumatrapdf/mupdf/source/pdf/extr_pdf-object.c_pdf_array_get_text_string.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-object.c_pdf_array_get_text_string.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 @pdf_array_get_text_string(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @pdf_array_get(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
%5 = tail call ptr @pdf_to_text_string(ptr noundef %0, i32 noundef %4) #2
ret ptr %5
}
declare ptr @pdf_to_text_string(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pdf_array_get(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)"}
| sumatrapdf_mupdf_source_pdf_extr_pdf-object.c_pdf_array_get_text_string |
; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_be_aas_bspc.c_AAS_CalcReachAndClusters.c'
source_filename = "AnghaBench/lab/engine/code/bspc/extr_be_aas_bspc.c_AAS_CalcReachAndClusters.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, i64, i32 }
%struct.quakefile_s = type { i32, ptr }
@.str = private unnamed_addr constant [26 x i8] c"loading collision map...\0A\00", align 1
@qfalse = dso_local local_unnamed_addr global i32 0, align 4
@aasworld = dso_local global %struct.TYPE_2__ zeroinitializer, align 8
@worldmodel = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @AAS_CalcReachAndClusters(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @Log_Print(ptr noundef nonnull @.str) #3
%3 = getelementptr inbounds %struct.quakefile_s, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr %0, align 8, !tbaa !12
%9 = tail call i32 @strcpy(ptr noundef nonnull %4, i32 noundef %8) #3
br label %10
10: ; preds = %7, %1
%11 = load i32, ptr @qfalse, align 4, !tbaa !11
%12 = tail call i32 @CM_LoadMap(ptr noundef nonnull %0, i32 noundef %11, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @aasworld, i64 0, i32 2)) #3
%13 = tail call i32 @CM_InlineModel(i32 noundef 0) #3
store i32 %13, ptr @worldmodel, align 4, !tbaa !11
%14 = tail call i32 (...) @AAS_InitBotImport() #3
%15 = tail call i32 (...) @AAS_LoadBSPFile() #3
%16 = tail call i32 (...) @AAS_InitSettings() #3
%17 = tail call i32 (...) @AAS_InitAASLinkHeap() #3
%18 = tail call i32 (...) @AAS_InitAASLinkedEntities() #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) @aasworld, i8 0, i64 16, i1 false)
%19 = tail call i32 (...) @AAS_SetViewPortalsAsClusterPortals() #3
%20 = tail call i32 (...) @AAS_InitReachability() #3
%21 = tail call i64 @AAS_ContinueInitReachability(float noundef 0.000000e+00) #3
%22 = icmp eq i64 %21, 0
br i1 %22, label %28, label %23
23: ; preds = %10, %23
%24 = phi float [ %25, %23 ], [ 0.000000e+00, %10 ]
%25 = fadd float %24, 1.000000e+00
%26 = tail call i64 @AAS_ContinueInitReachability(float noundef %25) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %23, !llvm.loop !13
28: ; preds = %23, %10
%29 = tail call i32 (...) @AAS_InitClustering() #3
ret void
}
declare i32 @Log_Print(ptr noundef) local_unnamed_addr #1
declare i32 @strcpy(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CM_LoadMap(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @CM_InlineModel(i32 noundef) local_unnamed_addr #1
declare i32 @AAS_InitBotImport(...) local_unnamed_addr #1
declare i32 @AAS_LoadBSPFile(...) local_unnamed_addr #1
declare i32 @AAS_InitSettings(...) local_unnamed_addr #1
declare i32 @AAS_InitAASLinkHeap(...) local_unnamed_addr #1
declare i32 @AAS_InitAASLinkedEntities(...) local_unnamed_addr #1
declare i32 @AAS_SetViewPortalsAsClusterPortals(...) local_unnamed_addr #1
declare i32 @AAS_InitReachability(...) local_unnamed_addr #1
declare i64 @AAS_ContinueInitReachability(float noundef) local_unnamed_addr #1
declare i32 @AAS_InitClustering(...) 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 = !{!"quakefile_s", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_be_aas_bspc.c_AAS_CalcReachAndClusters.c'
source_filename = "AnghaBench/lab/engine/code/bspc/extr_be_aas_bspc.c_AAS_CalcReachAndClusters.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64, i64, i32 }
@.str = private unnamed_addr constant [26 x i8] c"loading collision map...\0A\00", align 1
@qfalse = common local_unnamed_addr global i32 0, align 4
@aasworld = common global %struct.TYPE_2__ zeroinitializer, align 8
@worldmodel = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @AAS_CalcReachAndClusters(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @Log_Print(ptr noundef nonnull @.str) #3
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr %0, align 8, !tbaa !13
%9 = tail call i32 @strcpy(ptr noundef nonnull %4, i32 noundef %8) #3
br label %10
10: ; preds = %7, %1
%11 = load i32, ptr @qfalse, align 4, !tbaa !12
%12 = tail call i32 @CM_LoadMap(ptr noundef nonnull %0, i32 noundef %11, ptr noundef nonnull getelementptr inbounds (i8, ptr @aasworld, i64 16)) #3
%13 = tail call i32 @CM_InlineModel(i32 noundef 0) #3
store i32 %13, ptr @worldmodel, align 4, !tbaa !12
%14 = tail call i32 @AAS_InitBotImport() #3
%15 = tail call i32 @AAS_LoadBSPFile() #3
%16 = tail call i32 @AAS_InitSettings() #3
%17 = tail call i32 @AAS_InitAASLinkHeap() #3
%18 = tail call i32 @AAS_InitAASLinkedEntities() #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) @aasworld, i8 0, i64 16, i1 false)
%19 = tail call i32 @AAS_SetViewPortalsAsClusterPortals() #3
%20 = tail call i32 @AAS_InitReachability() #3
%21 = tail call i64 @AAS_ContinueInitReachability(float noundef 0.000000e+00) #3
%22 = icmp eq i64 %21, 0
br i1 %22, label %28, label %23
23: ; preds = %10, %23
%24 = phi float [ %25, %23 ], [ 0.000000e+00, %10 ]
%25 = fadd float %24, 1.000000e+00
%26 = tail call i64 @AAS_ContinueInitReachability(float noundef %25) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %23, !llvm.loop !14
28: ; preds = %23, %10
%29 = tail call i32 @AAS_InitClustering() #3
ret void
}
declare i32 @Log_Print(ptr noundef) local_unnamed_addr #1
declare i32 @strcpy(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CM_LoadMap(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @CM_InlineModel(i32 noundef) local_unnamed_addr #1
declare i32 @AAS_InitBotImport(...) local_unnamed_addr #1
declare i32 @AAS_LoadBSPFile(...) local_unnamed_addr #1
declare i32 @AAS_InitSettings(...) local_unnamed_addr #1
declare i32 @AAS_InitAASLinkHeap(...) local_unnamed_addr #1
declare i32 @AAS_InitAASLinkedEntities(...) local_unnamed_addr #1
declare i32 @AAS_SetViewPortalsAsClusterPortals(...) local_unnamed_addr #1
declare i32 @AAS_InitReachability(...) local_unnamed_addr #1
declare i64 @AAS_ContinueInitReachability(float noundef) local_unnamed_addr #1
declare i32 @AAS_InitClustering(...) 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 = !{!"quakefile_s", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| lab_engine_code_bspc_extr_be_aas_bspc.c_AAS_CalcReachAndClusters |
; ModuleID = 'AnghaBench/tengine/src/core/extr_ngx_file.c_ngx_conf_set_access_slot.c'
source_filename = "AnghaBench/tengine/src/core/extr_ngx_file.c_ngx_conf_set_access_slot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i64, ptr }
%struct.TYPE_10__ = type { ptr }
@NGX_CONF_UNSET_UINT = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [13 x i8] c"is duplicate\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"user:\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"group:\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"all:\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"rw\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@NGX_CONF_OK = dso_local local_unnamed_addr global ptr null, align 8
@NGX_LOG_EMERG = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [19 x i8] c"invalid value \22%V\22\00", align 1
@NGX_CONF_ERROR = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @ngx_conf_set_access_slot(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i8, ptr %2, i64 %5
%7 = load i64, ptr %6, align 8, !tbaa !10
%8 = load i64, ptr @NGX_CONF_UNSET_UINT, align 8, !tbaa !10
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %58
10: ; preds = %3
%11 = load ptr, ptr %0, align 8, !tbaa !12
%12 = getelementptr inbounds %struct.TYPE_9__, ptr %11, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !15
store i64 0, ptr %6, align 8, !tbaa !10
%14 = load i64, ptr %11, align 8, !tbaa !17
%15 = icmp ugt i64 %14, 1
br i1 %15, label %16, label %50
16: ; preds = %10, %39
%17 = phi i64 [ %32, %39 ], [ 384, %10 ]
%18 = phi i64 [ %44, %39 ], [ 1, %10 ]
%19 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %18
%20 = load ptr, ptr %19, align 8, !tbaa !18
%21 = tail call i64 @ngx_strncmp(ptr noundef %20, ptr noundef nonnull @.str.1, i32 noundef 5) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %16
%24 = tail call i64 @ngx_strncmp(ptr noundef %20, ptr noundef nonnull @.str.2, i32 noundef 6) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %23
%27 = tail call i64 @ngx_strncmp(ptr noundef %20, ptr noundef nonnull @.str.3, i32 noundef 4) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %53
29: ; preds = %26, %23, %16
%30 = phi i64 [ 5, %16 ], [ 6, %23 ], [ 4, %26 ]
%31 = phi i64 [ 6, %16 ], [ 3, %23 ], [ 0, %26 ]
%32 = phi i64 [ 0, %16 ], [ %17, %23 ], [ %17, %26 ]
%33 = getelementptr inbounds i32, ptr %20, i64 %30
%34 = tail call i64 @ngx_strcmp(ptr noundef nonnull %33, ptr noundef nonnull @.str.4) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %29
%37 = tail call i64 @ngx_strcmp(ptr noundef nonnull %33, ptr noundef nonnull @.str.5) #2
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %53
39: ; preds = %36, %29
%40 = phi i64 [ 6, %29 ], [ 4, %36 ]
%41 = shl nuw nsw i64 %40, %31
%42 = load i64, ptr %6, align 8, !tbaa !10
%43 = or i64 %42, %41
store i64 %43, ptr %6, align 8, !tbaa !10
%44 = add nuw i64 %18, 1
%45 = load ptr, ptr %0, align 8, !tbaa !12
%46 = load i64, ptr %45, align 8, !tbaa !17
%47 = icmp ult i64 %44, %46
br i1 %47, label %16, label %48, !llvm.loop !20
48: ; preds = %39
%49 = or i64 %43, %32
br label %50
50: ; preds = %48, %10
%51 = phi i64 [ 384, %10 ], [ %49, %48 ]
store i64 %51, ptr %6, align 8, !tbaa !10
%52 = load ptr, ptr @NGX_CONF_OK, align 8, !tbaa !22
br label %58
53: ; preds = %36, %26
%54 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %18
%55 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !23
%56 = tail call i32 @ngx_conf_log_error(i32 noundef %55, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.6, ptr noundef nonnull %54) #2
%57 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !22
br label %58
58: ; preds = %3, %53, %50
%59 = phi ptr [ %57, %53 ], [ %52, %50 ], [ @.str, %3 ]
ret ptr %59
}
declare i64 @ngx_strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ngx_strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_12__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_11__", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !14, i64 8}
!16 = !{!"TYPE_9__", !11, i64 0, !14, i64 8}
!17 = !{!16, !11, i64 0}
!18 = !{!19, !14, i64 0}
!19 = !{!"TYPE_10__", !14, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!14, !14, i64 0}
!23 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/tengine/src/core/extr_ngx_file.c_ngx_conf_set_access_slot.c'
source_filename = "AnghaBench/tengine/src/core/extr_ngx_file.c_ngx_conf_set_access_slot.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_10__ = type { ptr }
@NGX_CONF_UNSET_UINT = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [13 x i8] c"is duplicate\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"user:\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"group:\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"all:\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"rw\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@NGX_CONF_OK = common local_unnamed_addr global ptr null, align 8
@NGX_LOG_EMERG = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [19 x i8] c"invalid value \22%V\22\00", align 1
@NGX_CONF_ERROR = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @ngx_conf_set_access_slot(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i8, ptr %2, i64 %5
%7 = load i64, ptr %6, align 8, !tbaa !11
%8 = load i64, ptr @NGX_CONF_UNSET_UINT, align 8, !tbaa !11
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %58
10: ; preds = %3
%11 = load ptr, ptr %0, align 8, !tbaa !13
%12 = getelementptr inbounds i8, ptr %11, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !16
store i64 0, ptr %6, align 8, !tbaa !11
%14 = load i64, ptr %11, align 8, !tbaa !18
%15 = icmp ugt i64 %14, 1
br i1 %15, label %16, label %50
16: ; preds = %10, %39
%17 = phi i64 [ %32, %39 ], [ 384, %10 ]
%18 = phi i64 [ %44, %39 ], [ 1, %10 ]
%19 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %18
%20 = load ptr, ptr %19, align 8, !tbaa !19
%21 = tail call i64 @ngx_strncmp(ptr noundef %20, ptr noundef nonnull @.str.1, i32 noundef 5) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %16
%24 = tail call i64 @ngx_strncmp(ptr noundef %20, ptr noundef nonnull @.str.2, i32 noundef 6) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %23
%27 = tail call i64 @ngx_strncmp(ptr noundef %20, ptr noundef nonnull @.str.3, i32 noundef 4) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %53
29: ; preds = %26, %23, %16
%30 = phi i64 [ 20, %16 ], [ 24, %23 ], [ 16, %26 ]
%31 = phi i64 [ 6, %16 ], [ 3, %23 ], [ 0, %26 ]
%32 = phi i64 [ 0, %16 ], [ %17, %23 ], [ %17, %26 ]
%33 = getelementptr inbounds i8, ptr %20, i64 %30
%34 = tail call i64 @ngx_strcmp(ptr noundef nonnull %33, ptr noundef nonnull @.str.4) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %29
%37 = tail call i64 @ngx_strcmp(ptr noundef nonnull %33, ptr noundef nonnull @.str.5) #2
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %53
39: ; preds = %36, %29
%40 = phi i64 [ 6, %29 ], [ 4, %36 ]
%41 = shl nuw nsw i64 %40, %31
%42 = load i64, ptr %6, align 8, !tbaa !11
%43 = or i64 %42, %41
store i64 %43, ptr %6, align 8, !tbaa !11
%44 = add nuw i64 %18, 1
%45 = load ptr, ptr %0, align 8, !tbaa !13
%46 = load i64, ptr %45, align 8, !tbaa !18
%47 = icmp ult i64 %44, %46
br i1 %47, label %16, label %48, !llvm.loop !21
48: ; preds = %39
%49 = or i64 %43, %32
br label %50
50: ; preds = %48, %10
%51 = phi i64 [ 384, %10 ], [ %49, %48 ]
store i64 %51, ptr %6, align 8, !tbaa !11
%52 = load ptr, ptr @NGX_CONF_OK, align 8, !tbaa !23
br label %58
53: ; preds = %36, %26
%54 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %18
%55 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !24
%56 = tail call i32 @ngx_conf_log_error(i32 noundef %55, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.6, ptr noundef nonnull %54) #2
%57 = load ptr, ptr @NGX_CONF_ERROR, align 8, !tbaa !23
br label %58
58: ; preds = %3, %53, %50
%59 = phi ptr [ %57, %53 ], [ %52, %50 ], [ @.str, %3 ]
ret ptr %59
}
declare i64 @ngx_strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ngx_strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_12__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_11__", !15, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!17, !15, i64 8}
!17 = !{!"TYPE_9__", !12, i64 0, !15, i64 8}
!18 = !{!17, !12, i64 0}
!19 = !{!20, !15, i64 0}
!20 = !{!"TYPE_10__", !15, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!15, !15, i64 0}
!24 = !{!8, !8, i64 0}
| tengine_src_core_extr_ngx_file.c_ngx_conf_set_access_slot |
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3_prepare16.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3_prepare16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3_prepare16(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call i32 @sqlite3Prepare16(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0, ptr noundef %3, ptr noundef %4) #2
%7 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
%8 = icmp eq i32 %6, %7
%9 = icmp eq ptr %3, null
%10 = or i1 %9, %8
br i1 %10, label %15, label %11
11: ; preds = %5
%12 = load ptr, ptr %3, align 8, !tbaa !9
%13 = icmp eq ptr %12, null
%14 = zext i1 %13 to i32
br label %15
15: ; preds = %11, %5
%16 = phi i32 [ 1, %5 ], [ %14, %11 ]
%17 = tail call i32 @assert(i32 noundef %16) #2
ret i32 %6
}
declare i32 @sqlite3Prepare16(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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/mimikatz/modules/extr_sqlite3_omit.c_sqlite3_prepare16.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3_prepare16.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sqlite3_prepare16(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call i32 @sqlite3Prepare16(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0, ptr noundef %3, ptr noundef %4) #2
%7 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
%8 = icmp eq i32 %6, %7
%9 = icmp eq ptr %3, null
%10 = or i1 %9, %8
br i1 %10, label %15, label %11
11: ; preds = %5
%12 = load ptr, ptr %3, align 8, !tbaa !10
%13 = icmp eq ptr %12, null
%14 = zext i1 %13 to i32
br label %15
15: ; preds = %11, %5
%16 = phi i32 [ 1, %5 ], [ %14, %11 ]
%17 = tail call i32 @assert(i32 noundef %16) #2
ret i32 %6
}
declare i32 @sqlite3Prepare16(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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}
| mimikatz_modules_extr_sqlite3_omit.c_sqlite3_prepare16 |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_mid.c_dnv_exit.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_mid.c_dnv_exit.c"
target datalayout = "e-m:e-p270:32:32-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.mid8250 = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @dnv_exit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dnv_exit(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.mid8250, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @hsu_dma_remove(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %1, %5
ret void
}
declare i32 @hsu_dma_remove(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"mid8250", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_mid.c_dnv_exit.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_mid.c_dnv_exit.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 @dnv_exit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dnv_exit(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @hsu_dma_remove(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %1, %5
ret void
}
declare i32 @hsu_dma_remove(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"mid8250", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_tty_serial_8250_extr_8250_mid.c_dnv_exit |
; ModuleID = 'AnghaBench/freebsd/sys/dev/cp/extr_cpddk.c_cp_start_e1.c'
source_filename = "AnghaBench/freebsd/sys/dev/cp/extr_cpddk.c_cp_start_e1.c"
target datalayout = "e-m:e-p270:32:32-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 }
; Function Attrs: nounwind uwtable
define dso_local void @cp_start_e1(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = icmp eq i32 %2, 3
br i1 %3, label %4, label %10
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = icmp eq i32 %6, 1
br i1 %7, label %10, label %8
8: ; preds = %4
store i32 1, ptr %5, align 4, !tbaa !10
%9 = tail call i32 @i(ptr noundef nonnull %0, i32 noundef 23, i32 noundef 16) #2
br label %10
10: ; preds = %1, %4, %8
ret void
}
declare i32 @i(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/cp/extr_cpddk.c_cp_start_e1.c'
source_filename = "AnghaBench/freebsd/sys/dev/cp/extr_cpddk.c_cp_start_e1.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 @cp_start_e1(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = icmp eq i32 %2, 3
br i1 %3, label %4, label %10
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = icmp eq i32 %6, 1
br i1 %7, label %10, label %8
8: ; preds = %4
store i32 1, ptr %5, align 4, !tbaa !11
%9 = tail call i32 @i(ptr noundef nonnull %0, i32 noundef 23, i32 noundef 16) #2
br label %10
10: ; preds = %1, %4, %8
ret void
}
declare i32 @i(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
| freebsd_sys_dev_cp_extr_cpddk.c_cp_start_e1 |
; ModuleID = 'AnghaBench/TDengine/src/util/src/extr_tdes.c_print_char_as_binary.c'
source_filename = "AnghaBench/TDengine/src/util/src/extr_tdes.c_print_char_as_binary.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @print_char_as_binary(i8 noundef signext %0) local_unnamed_addr #0 {
%2 = sext i8 %0 to i32
%3 = icmp sgt i8 %0, -1
%4 = select i1 %3, ptr @.str.1, ptr @.str
%5 = tail call i32 @printf(ptr noundef nonnull %4) #2
%6 = and i32 %2, 64
%7 = icmp eq i32 %6, 0
%8 = select i1 %7, ptr @.str.1, ptr @.str
%9 = tail call i32 @printf(ptr noundef nonnull %8) #2
%10 = and i32 %2, 32
%11 = icmp eq i32 %10, 0
%12 = select i1 %11, ptr @.str.1, ptr @.str
%13 = tail call i32 @printf(ptr noundef nonnull %12) #2
%14 = and i32 %2, 16
%15 = icmp eq i32 %14, 0
%16 = select i1 %15, ptr @.str.1, ptr @.str
%17 = tail call i32 @printf(ptr noundef nonnull %16) #2
%18 = and i32 %2, 8
%19 = icmp eq i32 %18, 0
%20 = select i1 %19, ptr @.str.1, ptr @.str
%21 = tail call i32 @printf(ptr noundef nonnull %20) #2
%22 = and i32 %2, 4
%23 = icmp eq i32 %22, 0
%24 = select i1 %23, ptr @.str.1, ptr @.str
%25 = tail call i32 @printf(ptr noundef nonnull %24) #2
%26 = and i32 %2, 2
%27 = icmp eq i32 %26, 0
%28 = select i1 %27, ptr @.str.1, ptr @.str
%29 = tail call i32 @printf(ptr noundef nonnull %28) #2
%30 = and i32 %2, 1
%31 = icmp eq i32 %30, 0
%32 = select i1 %31, ptr @.str.1, ptr @.str
%33 = tail call i32 @printf(ptr noundef nonnull %32) #2
ret void
}
declare i32 @printf(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/TDengine/src/util/src/extr_tdes.c_print_char_as_binary.c'
source_filename = "AnghaBench/TDengine/src/util/src/extr_tdes.c_print_char_as_binary.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @print_char_as_binary(i8 noundef signext %0) local_unnamed_addr #0 {
%2 = sext i8 %0 to i32
%3 = icmp sgt i8 %0, -1
%4 = select i1 %3, ptr @.str.1, ptr @.str
%5 = tail call i32 @printf(ptr noundef nonnull %4) #2
%6 = and i32 %2, 64
%7 = icmp eq i32 %6, 0
%8 = select i1 %7, ptr @.str.1, ptr @.str
%9 = tail call i32 @printf(ptr noundef nonnull %8) #2
%10 = and i32 %2, 32
%11 = icmp eq i32 %10, 0
%12 = select i1 %11, ptr @.str.1, ptr @.str
%13 = tail call i32 @printf(ptr noundef nonnull %12) #2
%14 = and i32 %2, 16
%15 = icmp eq i32 %14, 0
%16 = select i1 %15, ptr @.str.1, ptr @.str
%17 = tail call i32 @printf(ptr noundef nonnull %16) #2
%18 = and i32 %2, 8
%19 = icmp eq i32 %18, 0
%20 = select i1 %19, ptr @.str.1, ptr @.str
%21 = tail call i32 @printf(ptr noundef nonnull %20) #2
%22 = and i32 %2, 4
%23 = icmp eq i32 %22, 0
%24 = select i1 %23, ptr @.str.1, ptr @.str
%25 = tail call i32 @printf(ptr noundef nonnull %24) #2
%26 = and i32 %2, 2
%27 = icmp eq i32 %26, 0
%28 = select i1 %27, ptr @.str.1, ptr @.str
%29 = tail call i32 @printf(ptr noundef nonnull %28) #2
%30 = and i32 %2, 1
%31 = icmp eq i32 %30, 0
%32 = select i1 %31, ptr @.str.1, ptr @.str
%33 = tail call i32 @printf(ptr noundef nonnull %32) #2
ret void
}
declare i32 @printf(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)"}
| TDengine_src_util_src_extr_tdes.c_print_char_as_binary |
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-logitech-hidpp.c_hidpp_ff_find_effect.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-logitech-hidpp.c_hidpp_ff_find_effect.c"
target datalayout = "e-m:e-p270:32:32-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.hidpp_ff_private_data = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @hidpp_ff_find_effect], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal i32 @hidpp_ff_find_effect(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %20
5: ; preds = %2
%6 = getelementptr inbounds %struct.hidpp_ff_private_data, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = zext nneg i32 %3 to i64
br label %9
9: ; preds = %5, %17
%10 = phi i64 [ 0, %5 ], [ %18, %17 ]
%11 = getelementptr inbounds i32, ptr %7, i64 %10
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = icmp eq i32 %12, %1
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = trunc i64 %10 to i32
%16 = add nuw nsw i32 %15, 1
br label %20
17: ; preds = %9
%18 = add nuw nsw i64 %10, 1
%19 = icmp eq i64 %18, %8
br i1 %19, label %20, label %9, !llvm.loop !13
20: ; preds = %17, %2, %14
%21 = phi i32 [ %16, %14 ], [ 0, %2 ], [ 0, %17 ]
ret i32 %21
}
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, !7, i64 0}
!6 = !{!"hidpp_ff_private_data", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-logitech-hidpp.c_hidpp_ff_find_effect.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-logitech-hidpp.c_hidpp_ff_find_effect.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 @hidpp_ff_find_effect], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @hidpp_ff_find_effect(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %20
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = zext nneg i32 %3 to i64
br label %9
9: ; preds = %5, %17
%10 = phi i64 [ 0, %5 ], [ %18, %17 ]
%11 = getelementptr inbounds i32, ptr %7, i64 %10
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = icmp eq i32 %12, %1
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = trunc nuw nsw i64 %10 to i32
%16 = add nuw nsw i32 %15, 1
br label %20
17: ; preds = %9
%18 = add nuw nsw i64 %10, 1
%19 = icmp eq i64 %18, %8
br i1 %19, label %20, label %9, !llvm.loop !14
20: ; preds = %17, %2, %14
%21 = phi i32 [ %16, %14 ], [ 0, %2 ], [ 0, %17 ]
ret i32 %21
}
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, !8, i64 0}
!7 = !{!"hidpp_ff_private_data", !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 = !{!7, !11, i64 8}
!13 = !{!8, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| linux_drivers_hid_extr_hid-logitech-hidpp.c_hidpp_ff_find_effect |
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_tables_api.c_nft_value_init.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nf_tables_api.c_nft_value_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.nft_data_desc = type { i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@EOVERFLOW = dso_local local_unnamed_addr global i32 0, align 4
@NFT_DATA_VALUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nft_value_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nft_value_init(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef writeonly %3, ptr noundef %4) #0 {
%6 = tail call i32 @nla_len(ptr noundef %4) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = load i32, ptr @EINVAL, align 4, !tbaa !5
%10 = sub nsw i32 0, %9
br label %21
11: ; preds = %5
%12 = icmp ugt i32 %6, %2
br i1 %12, label %13, label %16
13: ; preds = %11
%14 = load i32, ptr @EOVERFLOW, align 4, !tbaa !5
%15 = sub nsw i32 0, %14
br label %21
16: ; preds = %11
%17 = load i32, ptr %1, align 4, !tbaa !9
%18 = tail call i32 @nla_memcpy(i32 noundef %17, ptr noundef %4, i32 noundef %6) #2
%19 = load i32, ptr @NFT_DATA_VALUE, align 4, !tbaa !5
%20 = getelementptr inbounds %struct.nft_data_desc, ptr %3, i64 0, i32 1
store i32 %19, ptr %20, align 4, !tbaa !11
store i32 %6, ptr %3, align 4, !tbaa !13
br label %21
21: ; preds = %16, %13, %8
%22 = phi i32 [ %10, %8 ], [ %15, %13 ], [ 0, %16 ]
ret i32 %22
}
declare i32 @nla_len(ptr noundef) local_unnamed_addr #1
declare i32 @nla_memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"nft_data", !6, i64 0}
!11 = !{!12, !6, i64 4}
!12 = !{!"nft_data_desc", !6, i64 0, !6, i64 4}
!13 = !{!12, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_tables_api.c_nft_value_init.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nf_tables_api.c_nft_value_init.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
@EOVERFLOW = common local_unnamed_addr global i32 0, align 4
@NFT_DATA_VALUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nft_value_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @nft_value_init(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef writeonly %3, ptr noundef %4) #0 {
%6 = tail call i32 @nla_len(ptr noundef %4) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = load i32, ptr @EINVAL, align 4, !tbaa !6
%10 = sub nsw i32 0, %9
br label %21
11: ; preds = %5
%12 = icmp ugt i32 %6, %2
br i1 %12, label %13, label %16
13: ; preds = %11
%14 = load i32, ptr @EOVERFLOW, align 4, !tbaa !6
%15 = sub nsw i32 0, %14
br label %21
16: ; preds = %11
%17 = load i32, ptr %1, align 4, !tbaa !10
%18 = tail call i32 @nla_memcpy(i32 noundef %17, ptr noundef %4, i32 noundef %6) #2
%19 = load i32, ptr @NFT_DATA_VALUE, align 4, !tbaa !6
%20 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %19, ptr %20, align 4, !tbaa !12
store i32 %6, ptr %3, align 4, !tbaa !14
br label %21
21: ; preds = %16, %13, %8
%22 = phi i32 [ %10, %8 ], [ %15, %13 ], [ 0, %16 ]
ret i32 %22
}
declare i32 @nla_len(ptr noundef) local_unnamed_addr #1
declare i32 @nla_memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"nft_data", !7, i64 0}
!12 = !{!13, !7, i64 4}
!13 = !{!"nft_data_desc", !7, i64 0, !7, i64 4}
!14 = !{!13, !7, i64 0}
| linux_net_netfilter_extr_nf_tables_api.c_nft_value_init |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_engine_pm.c_switch_to_kernel_context.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_engine_pm.c_switch_to_kernel_context.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.intel_engine_cs = type { i64, i64, i32, i32, i32 }
%struct.i915_request = type { %struct.TYPE_4__, i32 }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@GFP_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4
@I915_PRIORITY_UNPREEMPTABLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @switch_to_kernel_context], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @switch_to_kernel_context(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.intel_engine_cs, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = icmp eq i64 %2, %4
br i1 %5, label %36, label %6
6: ; preds = %1
%7 = getelementptr inbounds %struct.intel_engine_cs, ptr %0, i64 0, i32 4
%8 = load i32, ptr %7, align 8, !tbaa !12
%9 = tail call i64 @intel_gt_is_wedged(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %36
11: ; preds = %6
%12 = getelementptr inbounds %struct.intel_engine_cs, ptr %0, i64 0, i32 2
%13 = load i32, ptr %12, align 8, !tbaa !13
%14 = tail call i64 @__timeline_mark_lock(i32 noundef %13) #2
%15 = load i32, ptr %12, align 8, !tbaa !13
%16 = load i32, ptr @GFP_NOWAIT, align 4, !tbaa !14
%17 = tail call ptr @__i915_request_create(i32 noundef %15, i32 noundef %16) #2
%18 = tail call i64 @IS_ERR(ptr noundef %17) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %32
20: ; preds = %11
%21 = getelementptr inbounds %struct.i915_request, ptr %17, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !15
%23 = tail call i32 @intel_timeline_enter(i32 noundef %22) #2
%24 = load i64, ptr %3, align 8, !tbaa !11
%25 = add nsw i64 %24, 1
store i64 %25, ptr %0, align 8, !tbaa !5
%26 = tail call i32 @i915_request_add_active_barriers(ptr noundef %17) #2
%27 = load i32, ptr @I915_PRIORITY_UNPREEMPTABLE, align 4, !tbaa !14
store i32 %27, ptr %17, align 4, !tbaa !19
%28 = tail call i32 @__i915_request_commit(ptr noundef nonnull %17) #2
%29 = getelementptr inbounds %struct.intel_engine_cs, ptr %0, i64 0, i32 3
%30 = tail call i32 @__intel_wakeref_defer_park(ptr noundef nonnull %29) #2
%31 = tail call i32 @__i915_request_queue(ptr noundef nonnull %17, ptr noundef null) #2
br label %32
32: ; preds = %11, %20
%33 = phi i32 [ 1, %11 ], [ 0, %20 ]
%34 = load i32, ptr %12, align 8, !tbaa !13
%35 = tail call i32 @__timeline_mark_unlock(i32 noundef %34, i64 noundef %14) #2
br label %36
36: ; preds = %6, %1, %32
%37 = phi i32 [ %33, %32 ], [ 1, %1 ], [ 1, %6 ]
ret i32 %37
}
declare i64 @intel_gt_is_wedged(i32 noundef) local_unnamed_addr #1
declare i64 @__timeline_mark_lock(i32 noundef) local_unnamed_addr #1
declare ptr @__i915_request_create(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @intel_timeline_enter(i32 noundef) local_unnamed_addr #1
declare i32 @i915_request_add_active_barriers(ptr noundef) local_unnamed_addr #1
declare i32 @__i915_request_commit(ptr noundef) local_unnamed_addr #1
declare i32 @__intel_wakeref_defer_park(ptr noundef) local_unnamed_addr #1
declare i32 @__i915_request_queue(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @__timeline_mark_unlock(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 = !{!"intel_engine_cs", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !10, i64 24}
!13 = !{!6, !10, i64 16}
!14 = !{!10, !10, i64 0}
!15 = !{!16, !10, i64 4}
!16 = !{!"i915_request", !17, i64 0, !10, i64 4}
!17 = !{!"TYPE_4__", !18, i64 0}
!18 = !{!"TYPE_3__", !10, i64 0}
!19 = !{!16, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_engine_pm.c_switch_to_kernel_context.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_engine_pm.c_switch_to_kernel_context.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_NOWAIT = common local_unnamed_addr global i32 0, align 4
@I915_PRIORITY_UNPREEMPTABLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @switch_to_kernel_context], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @switch_to_kernel_context(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !12
%5 = icmp eq i64 %2, %4
br i1 %5, label %36, label %6
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 24
%8 = load i32, ptr %7, align 8, !tbaa !13
%9 = tail call i64 @intel_gt_is_wedged(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %36
11: ; preds = %6
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load i32, ptr %12, align 8, !tbaa !14
%14 = tail call i64 @__timeline_mark_lock(i32 noundef %13) #2
%15 = load i32, ptr %12, align 8, !tbaa !14
%16 = load i32, ptr @GFP_NOWAIT, align 4, !tbaa !15
%17 = tail call ptr @__i915_request_create(i32 noundef %15, i32 noundef %16) #2
%18 = tail call i64 @IS_ERR(ptr noundef %17) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %32
20: ; preds = %11
%21 = getelementptr inbounds i8, ptr %17, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !16
%23 = tail call i32 @intel_timeline_enter(i32 noundef %22) #2
%24 = load i64, ptr %3, align 8, !tbaa !12
%25 = add nsw i64 %24, 1
store i64 %25, ptr %0, align 8, !tbaa !6
%26 = tail call i32 @i915_request_add_active_barriers(ptr noundef %17) #2
%27 = load i32, ptr @I915_PRIORITY_UNPREEMPTABLE, align 4, !tbaa !15
store i32 %27, ptr %17, align 4, !tbaa !20
%28 = tail call i32 @__i915_request_commit(ptr noundef nonnull %17) #2
%29 = getelementptr inbounds i8, ptr %0, i64 20
%30 = tail call i32 @__intel_wakeref_defer_park(ptr noundef nonnull %29) #2
%31 = tail call i32 @__i915_request_queue(ptr noundef nonnull %17, ptr noundef null) #2
br label %32
32: ; preds = %11, %20
%33 = phi i32 [ 1, %11 ], [ 0, %20 ]
%34 = load i32, ptr %12, align 8, !tbaa !14
%35 = tail call i32 @__timeline_mark_unlock(i32 noundef %34, i64 noundef %14) #2
br label %36
36: ; preds = %6, %1, %32
%37 = phi i32 [ %33, %32 ], [ 1, %1 ], [ 1, %6 ]
ret i32 %37
}
declare i64 @intel_gt_is_wedged(i32 noundef) local_unnamed_addr #1
declare i64 @__timeline_mark_lock(i32 noundef) local_unnamed_addr #1
declare ptr @__i915_request_create(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @intel_timeline_enter(i32 noundef) local_unnamed_addr #1
declare i32 @i915_request_add_active_barriers(ptr noundef) local_unnamed_addr #1
declare i32 @__i915_request_commit(ptr noundef) local_unnamed_addr #1
declare i32 @__intel_wakeref_defer_park(ptr noundef) local_unnamed_addr #1
declare i32 @__i915_request_queue(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @__timeline_mark_unlock(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 = !{!"intel_engine_cs", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !11, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !11, i64 24}
!14 = !{!7, !11, i64 16}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !11, i64 4}
!17 = !{!"i915_request", !18, i64 0, !11, i64 4}
!18 = !{!"TYPE_4__", !19, i64 0}
!19 = !{!"TYPE_3__", !11, i64 0}
!20 = !{!17, !11, i64 0}
| linux_drivers_gpu_drm_i915_gt_extr_intel_engine_pm.c_switch_to_kernel_context |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_test_ison.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_test_ison.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @wlc_phy_test_ison(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"brcms_phy", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_test_ison.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_test_ison.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @wlc_phy_test_ison(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"brcms_phy", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_net_wireless_brcm80211_brcmsmac_phy_extr_phy_cmn.c_wlc_phy_test_ison |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_lib.c_SSL_client_version.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_lib.c_SSL_client_version.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @SSL_client_version(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_lib.c_SSL_client_version.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_lib.c_SSL_client_version.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @SSL_client_version(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_crypto_openssl_ssl_extr_ssl_lib.c_SSL_client_version |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/cifs/extr_cache.c_cifs_fscache_inode_get_attr.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/cifs/extr_cache.c_cifs_fscache_inode_get_attr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @cifs_fscache_inode_get_attr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @cifs_fscache_inode_get_attr(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
store i32 %3, ptr %1, align 4, !tbaa !11
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"cifsInodeInfo", !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}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/cifs/extr_cache.c_cifs_fscache_inode_get_attr.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/cifs/extr_cache.c_cifs_fscache_inode_get_attr.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 @cifs_fscache_inode_get_attr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @cifs_fscache_inode_get_attr(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
store i32 %3, ptr %1, align 4, !tbaa !12
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"cifsInodeInfo", !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}
| fastsocket_kernel_fs_cifs_extr_cache.c_cifs_fscache_inode_get_attr |
; ModuleID = 'AnghaBench/lab/q3map2/libs/l_net/extr_l_net_berkeley.c_WINS_Read.c'
source_filename = "AnghaBench/lab/q3map2/libs/l_net/extr_l_net_berkeley.c_WINS_Read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@errno = dso_local local_unnamed_addr global i64 0, align 8
@EAGAIN = dso_local local_unnamed_addr global i64 0, align 8
@ENOTCONN = dso_local local_unnamed_addr global i64 0, align 8
@SOCKET_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"WINS_Read: %s\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @WINS_Read(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 4, ptr %5, align 4, !tbaa !5
%6 = icmp eq ptr %3, null
br i1 %6, label %17, label %7
7: ; preds = %4
%8 = call i32 @recvfrom(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0, ptr noundef nonnull %3, ptr noundef nonnull %5) #3
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %30
10: ; preds = %7
%11 = load i64, ptr @errno, align 8, !tbaa !9
%12 = load i64, ptr @EAGAIN, align 8, !tbaa !9
%13 = icmp eq i64 %11, %12
%14 = load i64, ptr @ENOTCONN, align 8
%15 = icmp eq i64 %11, %14
%16 = select i1 %13, i1 true, i1 %15
br i1 %16, label %38, label %30
17: ; preds = %4
%18 = tail call i32 @recv(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %38, label %20
20: ; preds = %17
%21 = load i32, ptr @SOCKET_ERROR, align 4, !tbaa !5
%22 = icmp eq i32 %18, %21
br i1 %22, label %23, label %30
23: ; preds = %20
%24 = load i64, ptr @errno, align 8, !tbaa !9
%25 = load i64, ptr @EAGAIN, align 8, !tbaa !9
%26 = icmp eq i64 %24, %25
%27 = load i64, ptr @ENOTCONN, align 8
%28 = icmp eq i64 %24, %27
%29 = select i1 %26, i1 true, i1 %28
br i1 %29, label %38, label %30
30: ; preds = %23, %10, %20, %7
%31 = phi i32 [ %8, %7 ], [ %18, %20 ], [ -1, %10 ], [ %18, %23 ]
%32 = load i32, ptr @SOCKET_ERROR, align 4, !tbaa !5
%33 = icmp eq i32 %31, %32
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = call i32 (...) @WSAGetLastError() #3
%36 = call i32 @WINS_ErrorMessage(i32 noundef %35) #3
%37 = call i32 @WinPrint(ptr noundef nonnull @.str, i32 noundef %36) #3
br label %38
38: ; preds = %30, %34, %23, %17, %10
%39 = phi i32 [ 0, %10 ], [ -1, %17 ], [ 0, %23 ], [ %31, %34 ], [ %31, %30 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %39
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @WinPrint(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @WINS_ErrorMessage(i32 noundef) local_unnamed_addr #2
declare i32 @WSAGetLastError(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/lab/q3map2/libs/l_net/extr_l_net_berkeley.c_WINS_Read.c'
source_filename = "AnghaBench/lab/q3map2/libs/l_net/extr_l_net_berkeley.c_WINS_Read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@errno = common local_unnamed_addr global i64 0, align 8
@EAGAIN = common local_unnamed_addr global i64 0, align 8
@ENOTCONN = common local_unnamed_addr global i64 0, align 8
@SOCKET_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"WINS_Read: %s\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @WINS_Read(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 4, ptr %5, align 4, !tbaa !6
%6 = icmp eq ptr %3, null
br i1 %6, label %17, label %7
7: ; preds = %4
%8 = call i32 @recvfrom(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0, ptr noundef nonnull %3, ptr noundef nonnull %5) #3
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %30
10: ; preds = %7
%11 = load i64, ptr @errno, align 8, !tbaa !10
%12 = load i64, ptr @EAGAIN, align 8, !tbaa !10
%13 = icmp eq i64 %11, %12
%14 = load i64, ptr @ENOTCONN, align 8
%15 = icmp eq i64 %11, %14
%16 = select i1 %13, i1 true, i1 %15
br i1 %16, label %38, label %30
17: ; preds = %4
%18 = tail call i32 @recv(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %38, label %20
20: ; preds = %17
%21 = load i32, ptr @SOCKET_ERROR, align 4, !tbaa !6
%22 = icmp eq i32 %18, %21
br i1 %22, label %23, label %30
23: ; preds = %20
%24 = load i64, ptr @errno, align 8, !tbaa !10
%25 = load i64, ptr @EAGAIN, align 8, !tbaa !10
%26 = icmp eq i64 %24, %25
%27 = load i64, ptr @ENOTCONN, align 8
%28 = icmp eq i64 %24, %27
%29 = select i1 %26, i1 true, i1 %28
br i1 %29, label %38, label %30
30: ; preds = %23, %10, %20, %7
%31 = phi i32 [ %8, %7 ], [ %18, %20 ], [ -1, %10 ], [ %18, %23 ]
%32 = load i32, ptr @SOCKET_ERROR, align 4, !tbaa !6
%33 = icmp eq i32 %31, %32
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = call i32 @WSAGetLastError() #3
%36 = call i32 @WINS_ErrorMessage(i32 noundef %35) #3
%37 = call i32 @WinPrint(ptr noundef nonnull @.str, i32 noundef %36) #3
br label %38
38: ; preds = %30, %34, %23, %17, %10
%39 = phi i32 [ 0, %10 ], [ -1, %17 ], [ 0, %23 ], [ %31, %34 ], [ %31, %30 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %39
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @WinPrint(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @WINS_ErrorMessage(i32 noundef) local_unnamed_addr #2
declare i32 @WSAGetLastError(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| lab_q3map2_libs_l_net_extr_l_net_berkeley.c_WINS_Read |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_em.c_serial8250_em_remove.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_em.c_serial8250_em_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.serial8250_em_priv = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @serial8250_em_remove], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @serial8250_em_remove(ptr noundef %0) #0 {
%2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.serial8250_em_priv, ptr %2, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i32 @serial8250_unregister_port(i32 noundef %4) #2
%6 = load i32, ptr %2, align 4, !tbaa !10
%7 = tail call i32 @clk_disable_unprepare(i32 noundef %6) #2
ret i32 0
}
declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @serial8250_unregister_port(i32 noundef) local_unnamed_addr #1
declare i32 @clk_disable_unprepare(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 = !{!"serial8250_em_priv", !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}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_em.c_serial8250_em_remove.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_em.c_serial8250_em_remove.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 @serial8250_em_remove], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @serial8250_em_remove(ptr noundef %0) #0 {
%2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i32 @serial8250_unregister_port(i32 noundef %4) #2
%6 = load i32, ptr %2, align 4, !tbaa !11
%7 = tail call i32 @clk_disable_unprepare(i32 noundef %6) #2
ret i32 0
}
declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @serial8250_unregister_port(i32 noundef) local_unnamed_addr #1
declare i32 @clk_disable_unprepare(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 = !{!"serial8250_em_priv", !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}
| linux_drivers_tty_serial_8250_extr_8250_em.c_serial8250_em_remove |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.