IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/linux/drivers/android/extr_binder_alloc.c_binder_alloc_get_vma.c'
source_filename = "AnghaBench/linux/drivers/android/extr_binder_alloc.c_binder_alloc_get_vma.c"
target datalayout = "e-m:e-p270:32:32-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 @binder_alloc_get_vma], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @binder_alloc_get_vma(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i32 (...) @smp_rmb() #2
%6 = load ptr, ptr %0, align 8, !tbaa !5
br label %7
7: ; preds = %4, %1
%8 = phi ptr [ %6, %4 ], [ null, %1 ]
ret ptr %8
}
declare i32 @smp_rmb(...) 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 = !{!"binder_alloc", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/android/extr_binder_alloc.c_binder_alloc_get_vma.c'
source_filename = "AnghaBench/linux/drivers/android/extr_binder_alloc.c_binder_alloc_get_vma.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 @binder_alloc_get_vma], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @binder_alloc_get_vma(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i32 @smp_rmb() #2
%6 = load ptr, ptr %0, align 8, !tbaa !6
br label %7
7: ; preds = %4, %1
%8 = phi ptr [ %6, %4 ], [ null, %1 ]
ret ptr %8
}
declare i32 @smp_rmb(...) 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 = !{!"binder_alloc", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_android_extr_binder_alloc.c_binder_alloc_get_vma |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_w83l786ng.c_w83l786ng_write_value.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_w83l786ng.c_w83l786ng_write_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @w83l786ng_write_value], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @w83l786ng_write_value(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_w83l786ng.c_w83l786ng_write_value.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_w83l786ng.c_w83l786ng_write_value.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 @w83l786ng_write_value], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @w83l786ng_write_value(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @i2c_smbus_write_byte_data(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)"}
| linux_drivers_hwmon_extr_w83l786ng.c_w83l786ng_write_value |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_dirent_uri.c_uri_skip_ancestor.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_dirent_uri.c_uri_skip_ancestor.c"
target datalayout = "e-m:e-p270:32:32-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 [1 x i8] zeroinitializer, align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @uri_skip_ancestor], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @uri_skip_ancestor(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0)
%4 = tail call i32 @svn_uri_is_canonical(ptr noundef %0, ptr noundef null) #3
%5 = tail call i32 @assert(i32 noundef %4) #3
%6 = tail call i32 @svn_uri_is_canonical(ptr noundef %1, ptr noundef null) #3
%7 = tail call i32 @assert(i32 noundef %6) #3
%8 = tail call i64 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %3) #3
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %1, i64 %3
%12 = load i8, ptr %11, align 1, !tbaa !5
switch i8 %12, label %15 [
i8 0, label %16
i8 47, label %13
]
13: ; preds = %10
%14 = getelementptr inbounds i8, ptr %11, i64 1
br label %16
15: ; preds = %10
br label %16
16: ; preds = %10, %2, %15, %13
%17 = phi ptr [ %14, %13 ], [ null, %15 ], [ null, %2 ], [ @.str, %10 ]
ret ptr %17
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @svn_uri_is_canonical(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @strncmp(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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_dirent_uri.c_uri_skip_ancestor.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_dirent_uri.c_uri_skip_ancestor.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@llvm.used = appending global [1 x ptr] [ptr @uri_skip_ancestor], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @uri_skip_ancestor(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #3
%4 = tail call i32 @svn_uri_is_canonical(ptr noundef %0, ptr noundef null) #3
%5 = tail call i32 @assert(i32 noundef %4) #3
%6 = tail call i32 @svn_uri_is_canonical(ptr noundef %1, ptr noundef null) #3
%7 = tail call i32 @assert(i32 noundef %6) #3
%8 = tail call i64 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %3) #3
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %1, i64 %3
%12 = load i8, ptr %11, align 1, !tbaa !6
switch i8 %12, label %15 [
i8 0, label %16
i8 47, label %13
]
13: ; preds = %10
%14 = getelementptr inbounds i8, ptr %11, i64 1
br label %16
15: ; preds = %10
br label %16
16: ; preds = %10, %2, %15, %13
%17 = phi ptr [ %14, %13 ], [ null, %15 ], [ null, %2 ], [ @.str, %10 ]
ret ptr %17
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @svn_uri_is_canonical(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @strncmp(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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_subversion_subversion_libsvn_subr_extr_dirent_uri.c_uri_skip_ancestor |
; ModuleID = 'AnghaBench/linux/arch/arm/mach-integrator/extr_lm.c_lm_driver_register.c'
source_filename = "AnghaBench/linux/arch/arm/mach-integrator/extr_lm.c_lm_driver_register.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@lm_bustype = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @lm_driver_register(ptr noundef %0) local_unnamed_addr #0 {
store ptr @lm_bustype, ptr %0, align 8, !tbaa !5
%2 = tail call i32 @driver_register(ptr noundef nonnull %0) #2
ret i32 %2
}
declare i32 @driver_register(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"lm_driver", !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/linux/arch/arm/mach-integrator/extr_lm.c_lm_driver_register.c'
source_filename = "AnghaBench/linux/arch/arm/mach-integrator/extr_lm.c_lm_driver_register.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@lm_bustype = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @lm_driver_register(ptr noundef %0) local_unnamed_addr #0 {
store ptr @lm_bustype, ptr %0, align 8, !tbaa !6
%2 = tail call i32 @driver_register(ptr noundef nonnull %0) #2
ret i32 %2
}
declare i32 @driver_register(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"lm_driver", !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"}
| linux_arch_arm_mach-integrator_extr_lm.c_lm_driver_register |
; ModuleID = 'AnghaBench/vlc/modules/hw/vdpau/extr_instance.c_vdp_get_x11.c'
source_filename = "AnghaBench/vlc/modules/hw/vdpau/extr_instance.c_vdp_get_x11.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, ptr, ptr }
@VDP_STATUS_RESOURCES = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [8 x i8] c"DISPLAY\00", align 1
@VDP_STATUS_ERROR = dso_local local_unnamed_addr global i64 0, align 8
@lock = dso_local global i32 0, align 4
@VDP_STATUS_OK = dso_local local_unnamed_addr global i64 0, align 8
@list = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i64 @vdp_get_x11(ptr noundef %0, i32 noundef %1, ptr noalias nocapture noundef writeonly %2, ptr noalias nocapture noundef writeonly %3) local_unnamed_addr #0 {
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
%6 = icmp eq ptr %0, null
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = tail call ptr @getenv(ptr noundef nonnull @.str)
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = load i64, ptr @VDP_STATUS_ERROR, align 8, !tbaa !5
br label %45
12: ; preds = %7, %4
%13 = phi ptr [ %8, %7 ], [ %0, %4 ]
%14 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @lock) #4
%15 = tail call ptr @vdp_instance_lookup(ptr noundef nonnull %13, i32 noundef %1) #4
store ptr %15, ptr %5, align 8, !tbaa !9
%16 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @lock) #4
%17 = icmp eq ptr %15, null
br i1 %17, label %18, label %39
18: ; preds = %12
%19 = call i64 @vdp_instance_create(ptr noundef nonnull %13, i32 noundef %1, ptr noundef nonnull %5) #4
%20 = load i64, ptr @VDP_STATUS_OK, align 8, !tbaa !5
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %45
22: ; preds = %18
%23 = call i32 @pthread_mutex_lock(ptr noundef nonnull @lock) #4
%24 = call ptr @vdp_instance_lookup(ptr noundef nonnull %13, i32 noundef %1) #4
%25 = icmp ne ptr %24, null
%26 = zext i1 %25 to i32
%27 = call i64 @unlikely(i32 noundef %26) #4
%28 = icmp eq i64 %27, 0
br i1 %28, label %33, label %29
29: ; preds = %22
%30 = call i32 @pthread_mutex_unlock(ptr noundef nonnull @lock) #4
%31 = load ptr, ptr %5, align 8, !tbaa !9
%32 = call i32 @vdp_instance_destroy(ptr noundef %31) #4
br label %39
33: ; preds = %22
%34 = load ptr, ptr @list, align 8, !tbaa !9
%35 = load ptr, ptr %5, align 8, !tbaa !9
%36 = getelementptr inbounds %struct.TYPE_6__, ptr %35, i64 0, i32 2
store ptr %34, ptr %36, align 8, !tbaa !11
store ptr %35, ptr @list, align 8, !tbaa !9
%37 = call i32 @pthread_mutex_unlock(ptr noundef nonnull @lock) #4
%38 = load ptr, ptr %5, align 8, !tbaa !9
br label %39
39: ; preds = %29, %33, %12
%40 = phi ptr [ %24, %29 ], [ %38, %33 ], [ %15, %12 ]
%41 = getelementptr inbounds %struct.TYPE_6__, ptr %40, i64 0, i32 1
%42 = load ptr, ptr %41, align 8, !tbaa !14
store ptr %42, ptr %2, align 8, !tbaa !9
%43 = load i32, ptr %40, align 8, !tbaa !15
store i32 %43, ptr %3, align 4, !tbaa !16
%44 = load i64, ptr @VDP_STATUS_OK, align 8, !tbaa !5
br label %45
45: ; preds = %18, %39, %10
%46 = phi i64 [ %11, %10 ], [ %44, %39 ], [ %19, %18 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
ret i64 %46
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #2
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #3
declare ptr @vdp_instance_lookup(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #3
declare i64 @vdp_instance_create(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @unlikely(i32 noundef) local_unnamed_addr #3
declare i32 @vdp_instance_destroy(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 = { nofree nounwind 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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"TYPE_6__", !13, i64 0, !10, i64 8, !10, i64 16}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !13, i64 0}
!16 = !{!13, !13, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/hw/vdpau/extr_instance.c_vdp_get_x11.c'
source_filename = "AnghaBench/vlc/modules/hw/vdpau/extr_instance.c_vdp_get_x11.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VDP_STATUS_RESOURCES = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [8 x i8] c"DISPLAY\00", align 1
@VDP_STATUS_ERROR = common local_unnamed_addr global i64 0, align 8
@lock = common global i32 0, align 4
@VDP_STATUS_OK = common local_unnamed_addr global i64 0, align 8
@list = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @vdp_get_x11(ptr noundef %0, i32 noundef %1, ptr noalias nocapture noundef writeonly %2, ptr noalias nocapture noundef writeonly %3) local_unnamed_addr #0 {
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
%6 = icmp eq ptr %0, null
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = tail call ptr @getenv(ptr noundef nonnull @.str)
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = load i64, ptr @VDP_STATUS_ERROR, align 8, !tbaa !6
br label %45
12: ; preds = %7, %4
%13 = phi ptr [ %8, %7 ], [ %0, %4 ]
%14 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @lock) #4
%15 = tail call ptr @vdp_instance_lookup(ptr noundef nonnull %13, i32 noundef %1) #4
store ptr %15, ptr %5, align 8, !tbaa !10
%16 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @lock) #4
%17 = icmp eq ptr %15, null
br i1 %17, label %18, label %39
18: ; preds = %12
%19 = call i64 @vdp_instance_create(ptr noundef nonnull %13, i32 noundef %1, ptr noundef nonnull %5) #4
%20 = load i64, ptr @VDP_STATUS_OK, align 8, !tbaa !6
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %45
22: ; preds = %18
%23 = call i32 @pthread_mutex_lock(ptr noundef nonnull @lock) #4
%24 = call ptr @vdp_instance_lookup(ptr noundef nonnull %13, i32 noundef %1) #4
%25 = icmp ne ptr %24, null
%26 = zext i1 %25 to i32
%27 = call i64 @unlikely(i32 noundef %26) #4
%28 = icmp eq i64 %27, 0
br i1 %28, label %33, label %29
29: ; preds = %22
%30 = call i32 @pthread_mutex_unlock(ptr noundef nonnull @lock) #4
%31 = load ptr, ptr %5, align 8, !tbaa !10
%32 = call i32 @vdp_instance_destroy(ptr noundef %31) #4
br label %39
33: ; preds = %22
%34 = load ptr, ptr @list, align 8, !tbaa !10
%35 = load ptr, ptr %5, align 8, !tbaa !10
%36 = getelementptr inbounds i8, ptr %35, i64 16
store ptr %34, ptr %36, align 8, !tbaa !12
store ptr %35, ptr @list, align 8, !tbaa !10
%37 = call i32 @pthread_mutex_unlock(ptr noundef nonnull @lock) #4
%38 = load ptr, ptr %5, align 8, !tbaa !10
br label %39
39: ; preds = %29, %33, %12
%40 = phi ptr [ %24, %29 ], [ %38, %33 ], [ %15, %12 ]
%41 = getelementptr inbounds i8, ptr %40, i64 8
%42 = load ptr, ptr %41, align 8, !tbaa !15
store ptr %42, ptr %2, align 8, !tbaa !10
%43 = load i32, ptr %40, align 8, !tbaa !16
store i32 %43, ptr %3, align 4, !tbaa !17
%44 = load i64, ptr @VDP_STATUS_OK, align 8, !tbaa !6
br label %45
45: ; preds = %18, %39, %10
%46 = phi i64 [ %11, %10 ], [ %44, %39 ], [ %19, %18 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
ret i64 %46
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #2
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #3
declare ptr @vdp_instance_lookup(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #3
declare i64 @vdp_instance_create(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @unlikely(i32 noundef) local_unnamed_addr #3
declare i32 @vdp_instance_destroy(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 = { nofree nounwind 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, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"TYPE_6__", !14, i64 0, !11, i64 8, !11, i64 16}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !11, i64 8}
!16 = !{!13, !14, i64 0}
!17 = !{!14, !14, i64 0}
| vlc_modules_hw_vdpau_extr_instance.c_vdp_get_x11 |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_keyboard.c_fn_null.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_keyboard.c_fn_null.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @fn_null], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @fn_null(ptr nocapture readnone %0) #0 {
%2 = tail call i32 (...) @compute_shiftstate() #2
ret void
}
declare i32 @compute_shiftstate(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_keyboard.c_fn_null.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_keyboard.c_fn_null.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 @fn_null], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @fn_null(ptr nocapture readnone %0) #0 {
%2 = tail call i32 @compute_shiftstate() #2
ret void
}
declare i32 @compute_shiftstate(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_char_extr_keyboard.c_fn_null |
; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_sha.c_av_sha_alloc.c'
source_filename = "AnghaBench/FFmpeg/libavutil/extr_sha.c_av_sha_alloc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @av_sha_alloc() local_unnamed_addr #0 {
%1 = tail call ptr @av_mallocz(i32 noundef 4) #2
ret ptr %1
}
declare ptr @av_mallocz(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_sha.c_av_sha_alloc.c'
source_filename = "AnghaBench/FFmpeg/libavutil/extr_sha.c_av_sha_alloc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @av_sha_alloc() local_unnamed_addr #0 {
%1 = tail call ptr @av_mallocz(i32 noundef 4) #2
ret ptr %1
}
declare ptr @av_mallocz(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| FFmpeg_libavutil_extr_sha.c_av_sha_alloc |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/kernel/extr_i8253.c_init_pit_timer.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/mips/kernel/extr_i8253.c_init_pit_timer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@i8253_lock = dso_local global i32 0, align 4
@PIT_MODE = dso_local local_unnamed_addr global i32 0, align 4
@LATCH = dso_local local_unnamed_addr global i32 0, align 4
@PIT_CH0 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @init_pit_timer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @init_pit_timer(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call i32 @spin_lock(ptr noundef nonnull @i8253_lock) #2
switch i32 %0, label %29 [
i32 131, label %4
i32 129, label %15
i32 128, label %15
i32 132, label %26
]
4: ; preds = %2
%5 = load i32, ptr @PIT_MODE, align 4, !tbaa !5
%6 = tail call i32 @outb_p(i32 noundef 52, i32 noundef %5) #2
%7 = load i32, ptr @LATCH, align 4, !tbaa !5
%8 = and i32 %7, 255
%9 = load i32, ptr @PIT_CH0, align 4, !tbaa !5
%10 = tail call i32 @outb_p(i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr @LATCH, align 4, !tbaa !5
%12 = ashr i32 %11, 8
%13 = load i32, ptr @PIT_CH0, align 4, !tbaa !5
%14 = tail call i32 @outb(i32 noundef %12, i32 noundef %13) #2
br label %29
15: ; preds = %2, %2
%16 = load i32, ptr %1, align 4, !tbaa !9
%17 = add i32 %16, -131
%18 = icmp ult i32 %17, 2
br i1 %18, label %19, label %29
19: ; preds = %15
%20 = load i32, ptr @PIT_MODE, align 4, !tbaa !5
%21 = tail call i32 @outb_p(i32 noundef 48, i32 noundef %20) #2
%22 = load i32, ptr @PIT_CH0, align 4, !tbaa !5
%23 = tail call i32 @outb_p(i32 noundef 0, i32 noundef %22) #2
%24 = load i32, ptr @PIT_CH0, align 4, !tbaa !5
%25 = tail call i32 @outb_p(i32 noundef 0, i32 noundef %24) #2
br label %29
26: ; preds = %2
%27 = load i32, ptr @PIT_MODE, align 4, !tbaa !5
%28 = tail call i32 @outb_p(i32 noundef 56, i32 noundef %27) #2
br label %29
29: ; preds = %15, %19, %2, %26, %4
%30 = tail call i32 @spin_unlock(ptr noundef nonnull @i8253_lock) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @outb_p(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 = !{!"clock_event_device", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/kernel/extr_i8253.c_init_pit_timer.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/mips/kernel/extr_i8253.c_init_pit_timer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@i8253_lock = common global i32 0, align 4
@PIT_MODE = common local_unnamed_addr global i32 0, align 4
@LATCH = common local_unnamed_addr global i32 0, align 4
@PIT_CH0 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @init_pit_timer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @init_pit_timer(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call i32 @spin_lock(ptr noundef nonnull @i8253_lock) #2
switch i32 %0, label %29 [
i32 131, label %4
i32 129, label %15
i32 128, label %15
i32 132, label %26
]
4: ; preds = %2
%5 = load i32, ptr @PIT_MODE, align 4, !tbaa !6
%6 = tail call i32 @outb_p(i32 noundef 52, i32 noundef %5) #2
%7 = load i32, ptr @LATCH, align 4, !tbaa !6
%8 = and i32 %7, 255
%9 = load i32, ptr @PIT_CH0, align 4, !tbaa !6
%10 = tail call i32 @outb_p(i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr @LATCH, align 4, !tbaa !6
%12 = ashr i32 %11, 8
%13 = load i32, ptr @PIT_CH0, align 4, !tbaa !6
%14 = tail call i32 @outb(i32 noundef %12, i32 noundef %13) #2
br label %29
15: ; preds = %2, %2
%16 = load i32, ptr %1, align 4, !tbaa !10
%17 = add i32 %16, -131
%18 = icmp ult i32 %17, 2
br i1 %18, label %19, label %29
19: ; preds = %15
%20 = load i32, ptr @PIT_MODE, align 4, !tbaa !6
%21 = tail call i32 @outb_p(i32 noundef 48, i32 noundef %20) #2
%22 = load i32, ptr @PIT_CH0, align 4, !tbaa !6
%23 = tail call i32 @outb_p(i32 noundef 0, i32 noundef %22) #2
%24 = load i32, ptr @PIT_CH0, align 4, !tbaa !6
%25 = tail call i32 @outb_p(i32 noundef 0, i32 noundef %24) #2
br label %29
26: ; preds = %2
%27 = load i32, ptr @PIT_MODE, align 4, !tbaa !6
%28 = tail call i32 @outb_p(i32 noundef 56, i32 noundef %27) #2
br label %29
29: ; preds = %15, %19, %2, %26, %4
%30 = tail call i32 @spin_unlock(ptr noundef nonnull @i8253_lock) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @outb_p(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!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 = !{!"clock_event_device", !7, i64 0}
| fastsocket_kernel_arch_mips_kernel_extr_i8253.c_init_pit_timer |
; ModuleID = 'AnghaBench/systemd/src/core/extr_unit.c_unit_dequeue_rewatch_pids.c'
source_filename = "AnghaBench/systemd/src/core/extr_unit.c_unit_dequeue_rewatch_pids.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SD_EVENT_OFF = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [70 x i8] c"Failed to disable event source for tidying watched PIDs, ignoring: %m\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @unit_dequeue_rewatch_pids(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %14, label %5
5: ; preds = %1
%6 = load i32, ptr @SD_EVENT_OFF, align 4, !tbaa !10
%7 = tail call i32 @sd_event_source_set_enabled(i64 noundef %3, i32 noundef %6) #2
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = tail call i32 @log_warning_errno(i32 noundef %7, ptr noundef nonnull @.str) #2
br label %11
11: ; preds = %9, %5
%12 = load i64, ptr %0, align 8, !tbaa !5
%13 = tail call i64 @sd_event_source_unref(i64 noundef %12) #2
store i64 %13, ptr %0, align 8, !tbaa !5
br label %14
14: ; preds = %1, %11
ret void
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @sd_event_source_set_enabled(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @log_warning_errno(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @sd_event_source_unref(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !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/systemd/src/core/extr_unit.c_unit_dequeue_rewatch_pids.c'
source_filename = "AnghaBench/systemd/src/core/extr_unit.c_unit_dequeue_rewatch_pids.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SD_EVENT_OFF = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [70 x i8] c"Failed to disable event source for tidying watched PIDs, ignoring: %m\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @unit_dequeue_rewatch_pids(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %14, label %5
5: ; preds = %1
%6 = load i32, ptr @SD_EVENT_OFF, align 4, !tbaa !11
%7 = tail call i32 @sd_event_source_set_enabled(i64 noundef %3, i32 noundef %6) #2
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = tail call i32 @log_warning_errno(i32 noundef %7, ptr noundef nonnull @.str) #2
br label %11
11: ; preds = %9, %5
%12 = load i64, ptr %0, align 8, !tbaa !6
%13 = tail call i64 @sd_event_source_unref(i64 noundef %12) #2
store i64 %13, ptr %0, align 8, !tbaa !6
br label %14
14: ; preds = %1, %11
ret void
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @sd_event_source_set_enabled(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @log_warning_errno(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @sd_event_source_unref(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !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}
| systemd_src_core_extr_unit.c_unit_dequeue_rewatch_pids |
; ModuleID = 'AnghaBench/esp-idf/components/wear_levelling/test/extr_test_wl.c_read_write_task.c'
source_filename = "AnghaBench/esp-idf/components/wear_levelling/test/extr_test_wl.c_read_write_task.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, i32, ptr, i64, i32, i64, i32 }
@ESP_OK = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [33 x i8] c"E: i=%d, cnt=%d rval=%d val=%d\0A\0A\00", align 1
@ESP_FAIL = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_write_task], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @read_write_task(ptr nocapture noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 6
%5 = load i32, ptr %4, align 8, !tbaa !5
%6 = tail call i32 @srand(i32 noundef %5) #3
%7 = load i64, ptr %0, align 8, !tbaa !12
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load ptr, ptr @ESP_OK, align 8, !tbaa !13
br label %54
11: ; preds = %1
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 5
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 4
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 3
br label %15
15: ; preds = %11, %48
%16 = phi i64 [ 0, %11 ], [ %50, %48 ]
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%17 = call i32 (...) @rand() #3
store i32 %17, ptr %2, align 4, !tbaa !14
%18 = load i64, ptr %12, align 8, !tbaa !15
%19 = icmp eq i64 %18, 0
br i1 %19, label %30, label %20
20: ; preds = %15
%21 = load i32, ptr %13, align 8, !tbaa !16
%22 = load i64, ptr %14, align 8, !tbaa !17
%23 = shl i64 %16, 2
%24 = add i64 %22, %23
%25 = call ptr @wl_write(i32 noundef %21, i64 noundef %24, ptr noundef nonnull %2, i32 noundef 4) #3
%26 = load ptr, ptr @ESP_OK, align 8, !tbaa !13
%27 = icmp eq ptr %25, %26
br i1 %27, label %48, label %28
28: ; preds = %20
%29 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2
store ptr %25, ptr %29, align 8, !tbaa !18
br label %53
30: ; preds = %15
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%31 = load i32, ptr %13, align 8, !tbaa !16
%32 = load i64, ptr %14, align 8, !tbaa !17
%33 = shl i64 %16, 2
%34 = add i64 %32, %33
%35 = call ptr @wl_read(i32 noundef %31, i64 noundef %34, ptr noundef nonnull %3, i32 noundef 4) #3
%36 = load ptr, ptr @ESP_OK, align 8, !tbaa !13
%37 = icmp eq ptr %35, %36
%38 = load i32, ptr %3, align 4, !tbaa !14
%39 = load i32, ptr %2, align 4, !tbaa !14
%40 = icmp eq i32 %38, %39
%41 = select i1 %37, i1 %40, i1 false
br i1 %41, label %42, label %43
42: ; preds = %30
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
br label %48
43: ; preds = %30
%44 = load i64, ptr %0, align 8, !tbaa !12
%45 = call i32 @ets_printf(ptr noundef nonnull @.str, i64 noundef %16, i64 noundef %44, i32 noundef %38, i32 noundef %39) #3
%46 = load ptr, ptr @ESP_FAIL, align 8, !tbaa !13
%47 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2
store ptr %46, ptr %47, align 8, !tbaa !18
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
br label %53
48: ; preds = %42, %20
%49 = phi ptr [ %35, %42 ], [ %25, %20 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
%50 = add nuw i64 %16, 1
%51 = load i64, ptr %0, align 8, !tbaa !12
%52 = icmp ult i64 %50, %51
br i1 %52, label %15, label %54, !llvm.loop !19
53: ; preds = %28, %43
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %57
54: ; preds = %48, %9
%55 = phi ptr [ %10, %9 ], [ %49, %48 ]
%56 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2
store ptr %55, ptr %56, align 8, !tbaa !18
br label %57
57: ; preds = %53, %54
%58 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%59 = load i32, ptr %58, align 8, !tbaa !21
%60 = call i32 @xSemaphoreGive(i32 noundef %59) #3
%61 = call i32 @vTaskDelay(i32 noundef 1) #3
%62 = call i32 @vTaskDelete(ptr noundef null) #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 @srand(i32 noundef) local_unnamed_addr #2
declare i32 @rand(...) local_unnamed_addr #2
declare ptr @wl_write(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @wl_read(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ets_printf(ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @xSemaphoreGive(i32 noundef) local_unnamed_addr #2
declare i32 @vTaskDelay(i32 noundef) local_unnamed_addr #2
declare i32 @vTaskDelete(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 48}
!6 = !{!"TYPE_2__", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24, !10, i64 32, !7, i64 40, !10, i64 48}
!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 = !{!6, !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !7, i64 40}
!16 = !{!6, !10, i64 32}
!17 = !{!6, !7, i64 24}
!18 = !{!6, !11, i64 16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/esp-idf/components/wear_levelling/test/extr_test_wl.c_read_write_task.c'
source_filename = "AnghaBench/esp-idf/components/wear_levelling/test/extr_test_wl.c_read_write_task.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ESP_OK = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [33 x i8] c"E: i=%d, cnt=%d rval=%d val=%d\0A\0A\00", align 1
@ESP_FAIL = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @read_write_task], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @read_write_task(ptr nocapture noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = getelementptr inbounds i8, ptr %0, i64 48
%5 = load i32, ptr %4, align 8, !tbaa !6
%6 = tail call i32 @srand(i32 noundef %5) #3
%7 = load i64, ptr %0, align 8, !tbaa !13
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load ptr, ptr @ESP_OK, align 8, !tbaa !14
br label %54
11: ; preds = %1
%12 = getelementptr inbounds i8, ptr %0, i64 40
%13 = getelementptr inbounds i8, ptr %0, i64 32
%14 = getelementptr inbounds i8, ptr %0, i64 24
br label %15
15: ; preds = %11, %48
%16 = phi i64 [ 0, %11 ], [ %50, %48 ]
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%17 = call i32 @rand() #3
store i32 %17, ptr %2, align 4, !tbaa !15
%18 = load i64, ptr %12, align 8, !tbaa !16
%19 = icmp eq i64 %18, 0
br i1 %19, label %30, label %20
20: ; preds = %15
%21 = load i32, ptr %13, align 8, !tbaa !17
%22 = load i64, ptr %14, align 8, !tbaa !18
%23 = shl i64 %16, 2
%24 = add i64 %22, %23
%25 = call ptr @wl_write(i32 noundef %21, i64 noundef %24, ptr noundef nonnull %2, i32 noundef 4) #3
%26 = load ptr, ptr @ESP_OK, align 8, !tbaa !14
%27 = icmp eq ptr %25, %26
br i1 %27, label %48, label %28
28: ; preds = %20
%29 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %25, ptr %29, align 8, !tbaa !19
br label %53
30: ; preds = %15
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%31 = load i32, ptr %13, align 8, !tbaa !17
%32 = load i64, ptr %14, align 8, !tbaa !18
%33 = shl i64 %16, 2
%34 = add i64 %32, %33
%35 = call ptr @wl_read(i32 noundef %31, i64 noundef %34, ptr noundef nonnull %3, i32 noundef 4) #3
%36 = load ptr, ptr @ESP_OK, align 8, !tbaa !14
%37 = icmp eq ptr %35, %36
%38 = load i32, ptr %3, align 4, !tbaa !15
%39 = load i32, ptr %2, align 4, !tbaa !15
%40 = icmp eq i32 %38, %39
%41 = select i1 %37, i1 %40, i1 false
br i1 %41, label %42, label %43
42: ; preds = %30
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
br label %48
43: ; preds = %30
%44 = load i64, ptr %0, align 8, !tbaa !13
%45 = call i32 @ets_printf(ptr noundef nonnull @.str, i64 noundef %16, i64 noundef %44, i32 noundef %38, i32 noundef %39) #3
%46 = load ptr, ptr @ESP_FAIL, align 8, !tbaa !14
%47 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %46, ptr %47, align 8, !tbaa !19
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
br label %53
48: ; preds = %42, %20
%49 = phi ptr [ %36, %42 ], [ %26, %20 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
%50 = add nuw i64 %16, 1
%51 = load i64, ptr %0, align 8, !tbaa !13
%52 = icmp ult i64 %50, %51
br i1 %52, label %15, label %54, !llvm.loop !20
53: ; preds = %28, %43
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %57
54: ; preds = %48, %9
%55 = phi ptr [ %10, %9 ], [ %49, %48 ]
%56 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %55, ptr %56, align 8, !tbaa !19
br label %57
57: ; preds = %53, %54
%58 = getelementptr inbounds i8, ptr %0, i64 8
%59 = load i32, ptr %58, align 8, !tbaa !22
%60 = call i32 @xSemaphoreGive(i32 noundef %59) #3
%61 = call i32 @vTaskDelay(i32 noundef 1) #3
%62 = call i32 @vTaskDelete(ptr noundef null) #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 @srand(i32 noundef) local_unnamed_addr #2
declare i32 @rand(...) local_unnamed_addr #2
declare ptr @wl_write(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @wl_read(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ets_printf(ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @xSemaphoreGive(i32 noundef) local_unnamed_addr #2
declare i32 @vTaskDelay(i32 noundef) local_unnamed_addr #2
declare i32 @vTaskDelete(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 48}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24, !11, i64 32, !8, i64 40, !11, i64 48}
!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 = !{!7, !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!7, !8, i64 40}
!17 = !{!7, !11, i64 32}
!18 = !{!7, !8, i64 24}
!19 = !{!7, !12, i64 16}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!7, !11, i64 8}
| esp-idf_components_wear_levelling_test_extr_test_wl.c_read_write_task |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/sym53c8xx_2/extr_sym_hipd.c_sym_int_sbmc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/sym53c8xx_2/extr_sym_hipd.c_sym_int_sbmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@nc_stest4 = dso_local local_unnamed_addr global i32 0, align 4
@SMODE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"%s: SCSI BUS mode change from %s to %s.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @sym_int_sbmc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sym_int_sbmc(ptr noundef %0) #0 {
%2 = tail call ptr @sym_get_hcb(ptr noundef %0) #2
%3 = load i32, ptr @nc_stest4, align 4, !tbaa !5
%4 = tail call i32 @INB(ptr noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @SMODE, align 4, !tbaa !5
%6 = and i32 %5, %4
%7 = tail call ptr @sym_name(ptr noundef %2) #2
%8 = load i32, ptr %2, align 4, !tbaa !9
%9 = tail call ptr @sym_scsi_bus_mode(i32 noundef %8) #2
%10 = tail call ptr @sym_scsi_bus_mode(i32 noundef %6) #2
%11 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %7, ptr noundef %9, ptr noundef %10) #2
%12 = tail call i32 @sym_start_up(ptr noundef %0, i32 noundef 2) #2
ret void
}
declare ptr @sym_get_hcb(ptr noundef) local_unnamed_addr #1
declare i32 @INB(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @sym_name(ptr noundef) local_unnamed_addr #1
declare ptr @sym_scsi_bus_mode(i32 noundef) local_unnamed_addr #1
declare i32 @sym_start_up(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 = !{!"sym_hcb", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/sym53c8xx_2/extr_sym_hipd.c_sym_int_sbmc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/sym53c8xx_2/extr_sym_hipd.c_sym_int_sbmc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@nc_stest4 = common local_unnamed_addr global i32 0, align 4
@SMODE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"%s: SCSI BUS mode change from %s to %s.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @sym_int_sbmc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sym_int_sbmc(ptr noundef %0) #0 {
%2 = tail call ptr @sym_get_hcb(ptr noundef %0) #2
%3 = load i32, ptr @nc_stest4, align 4, !tbaa !6
%4 = tail call i32 @INB(ptr noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @SMODE, align 4, !tbaa !6
%6 = and i32 %5, %4
%7 = tail call ptr @sym_name(ptr noundef %2) #2
%8 = load i32, ptr %2, align 4, !tbaa !10
%9 = tail call ptr @sym_scsi_bus_mode(i32 noundef %8) #2
%10 = tail call ptr @sym_scsi_bus_mode(i32 noundef %6) #2
%11 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %7, ptr noundef %9, ptr noundef %10) #2
%12 = tail call i32 @sym_start_up(ptr noundef %0, i32 noundef 2) #2
ret void
}
declare ptr @sym_get_hcb(ptr noundef) local_unnamed_addr #1
declare i32 @INB(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @sym_name(ptr noundef) local_unnamed_addr #1
declare ptr @sym_scsi_bus_mode(i32 noundef) local_unnamed_addr #1
declare i32 @sym_start_up(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 = !{!"sym_hcb", !7, i64 0}
| fastsocket_kernel_drivers_scsi_sym53c8xx_2_extr_sym_hipd.c_sym_int_sbmc |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarI2FromBool.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarI2FromBool.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@VARIANT_BOOL = dso_local local_unnamed_addr global i32 0, align 4
@VarI2FromBool = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_VarI2FromBool], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_VarI2FromBool() #0 {
%1 = load i32, ptr @VARIANT_BOOL, align 4, !tbaa !5
%2 = tail call i32 @CONVVARS(i32 noundef %1) #2
%3 = load i32, ptr @VarI2FromBool, align 4, !tbaa !5
%4 = tail call i32 @CONVERTRANGE(i32 noundef %3, i32 noundef -32768, i32 noundef 32768) #2
ret void
}
declare i32 @CONVVARS(i32 noundef) local_unnamed_addr #1
declare i32 @CONVERTRANGE(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/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarI2FromBool.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarI2FromBool.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VARIANT_BOOL = common local_unnamed_addr global i32 0, align 4
@VarI2FromBool = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @test_VarI2FromBool], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_VarI2FromBool() #0 {
%1 = load i32, ptr @VARIANT_BOOL, align 4, !tbaa !6
%2 = tail call i32 @CONVVARS(i32 noundef %1) #2
%3 = load i32, ptr @VarI2FromBool, align 4, !tbaa !6
%4 = tail call i32 @CONVERTRANGE(i32 noundef %3, i32 noundef -32768, i32 noundef 32768) #2
ret void
}
declare i32 @CONVVARS(i32 noundef) local_unnamed_addr #1
declare i32 @CONVERTRANGE(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"}
| reactos_modules_rostests_winetests_oleaut32_extr_vartype.c_test_VarI2FromBool |
; ModuleID = 'AnghaBench/git/extr_convert.c_git_path_check_encoding.c'
source_filename = "AnghaBench/git/extr_convert.c_git_path_check_encoding.c"
target datalayout = "e-m:e-p270:32:32-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 [47 x i8] c"true/false are no valid working-tree-encodings\00", align 1
@default_encoding = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @git_path_check_encoding], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @git_path_check_encoding(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i64 @ATTR_UNSET(ptr noundef %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %22
5: ; preds = %1
%6 = tail call i32 @strlen(ptr noundef %2) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %22, label %8
8: ; preds = %5
%9 = tail call i64 @ATTR_TRUE(ptr noundef %2) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = tail call i64 @ATTR_FALSE(ptr noundef %2) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11, %8
%15 = tail call i32 @_(ptr noundef nonnull @.str) #2
%16 = tail call i32 @die(i32 noundef %15) #2
br label %17
17: ; preds = %14, %11
%18 = load i32, ptr @default_encoding, align 4, !tbaa !10
%19 = tail call i64 @same_encoding(ptr noundef %2, i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
%21 = select i1 %20, ptr %2, ptr null
br label %22
22: ; preds = %17, %1, %5
%23 = phi ptr [ null, %5 ], [ null, %1 ], [ %21, %17 ]
ret ptr %23
}
declare i64 @ATTR_UNSET(ptr noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i64 @ATTR_TRUE(ptr noundef) local_unnamed_addr #1
declare i64 @ATTR_FALSE(ptr noundef) local_unnamed_addr #1
declare i32 @die(i32 noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
declare i64 @same_encoding(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 = !{!"attr_check_item", !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/git/extr_convert.c_git_path_check_encoding.c'
source_filename = "AnghaBench/git/extr_convert.c_git_path_check_encoding.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 [47 x i8] c"true/false are no valid working-tree-encodings\00", align 1
@default_encoding = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @git_path_check_encoding], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @git_path_check_encoding(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i64 @ATTR_UNSET(ptr noundef %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %22
5: ; preds = %1
%6 = tail call i32 @strlen(ptr noundef %2) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %22, label %8
8: ; preds = %5
%9 = tail call i64 @ATTR_TRUE(ptr noundef %2) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = tail call i64 @ATTR_FALSE(ptr noundef %2) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11, %8
%15 = tail call i32 @_(ptr noundef nonnull @.str) #2
%16 = tail call i32 @die(i32 noundef %15) #2
br label %17
17: ; preds = %14, %11
%18 = load i32, ptr @default_encoding, align 4, !tbaa !11
%19 = tail call i64 @same_encoding(ptr noundef %2, i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
%21 = select i1 %20, ptr %2, ptr null
br label %22
22: ; preds = %17, %1, %5
%23 = phi ptr [ null, %5 ], [ null, %1 ], [ %21, %17 ]
ret ptr %23
}
declare i64 @ATTR_UNSET(ptr noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i64 @ATTR_TRUE(ptr noundef) local_unnamed_addr #1
declare i64 @ATTR_FALSE(ptr noundef) local_unnamed_addr #1
declare i32 @die(i32 noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
declare i64 @same_encoding(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 = !{!"attr_check_item", !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}
| git_extr_convert.c_git_path_check_encoding |
; ModuleID = 'AnghaBench/Atlas/src/extr_network-mysqld-packet.c_sql_token_equal.c'
source_filename = "AnghaBench/Atlas/src/extr_network-mysqld-packet.c_sql_token_equal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, ptr }
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@TK_LITERAL = dso_local local_unnamed_addr global i64 0, align 8
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sql_token_equal(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = icmp eq i64 %4, %1
br i1 %5, label %6, label %18
6: ; preds = %3
%7 = load i64, ptr @TK_LITERAL, align 8, !tbaa !11
%8 = icmp eq i64 %7, %1
br i1 %8, label %9, label %17
9: ; preds = %6
%10 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = tail call i32 @g_string_ascii_up(ptr noundef %11) #2
%13 = load ptr, ptr %10, align 8, !tbaa !12
%14 = load i32, ptr %13, align 4, !tbaa !13
%15 = tail call i64 @strcmp(i32 noundef %14, ptr noundef %2) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %9, %6
br label %18
18: ; preds = %9, %3, %17
%19 = phi ptr [ @TRUE, %17 ], [ @FALSE, %3 ], [ @FALSE, %9 ]
%20 = load i32, ptr %19, align 4, !tbaa !16
ret i32 %20
}
declare i32 @g_string_ascii_up(ptr noundef) local_unnamed_addr #1
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 0}
!6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_5__", !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!15, !15, i64 0}
| ; ModuleID = 'AnghaBench/Atlas/src/extr_network-mysqld-packet.c_sql_token_equal.c'
source_filename = "AnghaBench/Atlas/src/extr_network-mysqld-packet.c_sql_token_equal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FALSE = common local_unnamed_addr global i32 0, align 4
@TK_LITERAL = common local_unnamed_addr global i64 0, align 8
@TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sql_token_equal(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = icmp eq i64 %4, %1
br i1 %5, label %6, label %18
6: ; preds = %3
%7 = load i64, ptr @TK_LITERAL, align 8, !tbaa !12
%8 = icmp eq i64 %7, %1
br i1 %8, label %9, label %17
9: ; preds = %6
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !13
%12 = tail call i32 @g_string_ascii_up(ptr noundef %11) #2
%13 = load ptr, ptr %10, align 8, !tbaa !13
%14 = load i32, ptr %13, align 4, !tbaa !14
%15 = tail call i64 @strcmp(i32 noundef %14, ptr noundef %2) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %9, %6
br label %18
18: ; preds = %9, %3, %17
%19 = phi ptr [ @TRUE, %17 ], [ @FALSE, %3 ], [ @FALSE, %9 ]
%20 = load i32, ptr %19, align 4, !tbaa !17
ret i32 %20
}
declare i32 @g_string_ascii_up(ptr noundef) local_unnamed_addr #1
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 0}
!7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_5__", !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!16, !16, i64 0}
| Atlas_src_extr_network-mysqld-packet.c_sql_token_equal |
; ModuleID = 'AnghaBench/linux/drivers/vhost/extr_vringh.c_vringh_complete_multi_user.c'
source_filename = "AnghaBench/linux/drivers/vhost/extr_vringh.c_vringh_complete_multi_user.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@putu16_user = dso_local local_unnamed_addr global i32 0, align 4
@putused_user = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @vringh_complete_multi_user(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @putu16_user, align 4, !tbaa !5
%5 = load i32, ptr @putused_user, align 4, !tbaa !5
%6 = tail call i32 @__vringh_complete(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %4, i32 noundef %5) #2
ret i32 %6
}
declare i32 @__vringh_complete(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/vhost/extr_vringh.c_vringh_complete_multi_user.c'
source_filename = "AnghaBench/linux/drivers/vhost/extr_vringh.c_vringh_complete_multi_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@putu16_user = common local_unnamed_addr global i32 0, align 4
@putused_user = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @vringh_complete_multi_user(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @putu16_user, align 4, !tbaa !6
%5 = load i32, ptr @putused_user, align 4, !tbaa !6
%6 = tail call i32 @__vringh_complete(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %4, i32 noundef %5) #2
ret i32 %6
}
declare i32 @__vringh_complete(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_vhost_extr_vringh.c_vringh_complete_multi_user |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/ui/extr_ui_shared.c_Item_Init.c'
source_filename = "AnghaBench/Quake-III-Arena/code/ui/extr_ui_shared.c_Item_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_4__ = type { float, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @Item_Init(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 8) #2
store float 0x3FE19999A0000000, ptr %0, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%4 = tail call i32 @Window_Init(ptr noundef nonnull %3) #2
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Window_Init(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, !10, i64 4}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/ui/extr_ui_shared.c_Item_Init.c'
source_filename = "AnghaBench/Quake-III-Arena/code/ui/extr_ui_shared.c_Item_Init.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 @Item_Init(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 8) #2
store float 0x3FE19999A0000000, ptr %0, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = tail call i32 @Window_Init(ptr noundef nonnull %3) #2
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Window_Init(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, !11, i64 4}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
| Quake-III-Arena_code_ui_extr_ui_shared.c_Item_Init |
; ModuleID = 'AnghaBench/freebsd/sys/dev/twa/extr_tw_osl_freebsd.c_twa_shutdown.c'
source_filename = "AnghaBench/freebsd/sys/dev/twa/extr_tw_osl_freebsd.c_twa_shutdown.c"
target datalayout = "e-m:e-p270:32:32-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.twa_softc = type { i32, ptr }
@.str = private unnamed_addr constant [8 x i8] c"entered\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"error = %d\00", align 1
@TW_CL_SEVERITY_ERROR_STRING = dso_local local_unnamed_addr global i32 0, align 4
@TW_CL_MESSAGE_SOURCE_FREEBSD_DRIVER = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [43 x i8] c"Failed to shutdown Common Layer/controller\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @twa_shutdown], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @twa_shutdown(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = tail call i32 @tw_osli_dbg_dprintf(i32 noundef 3, ptr noundef %2, ptr noundef nonnull @.str) #2
%4 = tail call i32 @twa_teardown_intr(ptr noundef %2) #2
%5 = getelementptr inbounds %struct.twa_softc, ptr %2, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = tail call i32 @callout_drain(ptr noundef %6) #2
%8 = load ptr, ptr %5, align 8, !tbaa !5
%9 = getelementptr inbounds i32, ptr %8, i64 1
%10 = tail call i32 @callout_drain(ptr noundef nonnull %9) #2
%11 = tail call i32 @tw_cl_shutdown_ctlr(ptr noundef %2, i32 noundef 0) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %1
%14 = load i32, ptr @TW_CL_SEVERITY_ERROR_STRING, align 4, !tbaa !11
%15 = load i32, ptr @TW_CL_MESSAGE_SOURCE_FREEBSD_DRIVER, align 4, !tbaa !11
%16 = tail call i32 @tw_osli_printf(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, i32 noundef %14, i32 noundef %15, i32 noundef 8213, ptr noundef nonnull @.str.2, i32 noundef %11) #2
br label %17
17: ; preds = %13, %1
ret i32 %11
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @tw_osli_dbg_dprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @twa_teardown_intr(ptr noundef) local_unnamed_addr #1
declare i32 @callout_drain(ptr noundef) local_unnamed_addr #1
declare i32 @tw_cl_shutdown_ctlr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tw_osli_printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"twa_softc", !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}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/twa/extr_tw_osl_freebsd.c_twa_shutdown.c'
source_filename = "AnghaBench/freebsd/sys/dev/twa/extr_tw_osl_freebsd.c_twa_shutdown.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"entered\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"error = %d\00", align 1
@TW_CL_SEVERITY_ERROR_STRING = common local_unnamed_addr global i32 0, align 4
@TW_CL_MESSAGE_SOURCE_FREEBSD_DRIVER = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [43 x i8] c"Failed to shutdown Common Layer/controller\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @twa_shutdown], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @twa_shutdown(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = tail call i32 @tw_osli_dbg_dprintf(i32 noundef 3, ptr noundef %2, ptr noundef nonnull @.str) #2
%4 = tail call i32 @twa_teardown_intr(ptr noundef %2) #2
%5 = getelementptr inbounds i8, ptr %2, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = tail call i32 @callout_drain(ptr noundef %6) #2
%8 = load ptr, ptr %5, align 8, !tbaa !6
%9 = getelementptr inbounds i8, ptr %8, i64 4
%10 = tail call i32 @callout_drain(ptr noundef nonnull %9) #2
%11 = tail call i32 @tw_cl_shutdown_ctlr(ptr noundef %2, i32 noundef 0) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %1
%14 = load i32, ptr @TW_CL_SEVERITY_ERROR_STRING, align 4, !tbaa !12
%15 = load i32, ptr @TW_CL_MESSAGE_SOURCE_FREEBSD_DRIVER, align 4, !tbaa !12
%16 = tail call i32 @tw_osli_printf(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, i32 noundef %14, i32 noundef %15, i32 noundef 8213, ptr noundef nonnull @.str.2, i32 noundef %11) #2
br label %17
17: ; preds = %13, %1
ret i32 %11
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @tw_osli_dbg_dprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @twa_teardown_intr(ptr noundef) local_unnamed_addr #1
declare i32 @callout_drain(ptr noundef) local_unnamed_addr #1
declare i32 @tw_cl_shutdown_ctlr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tw_osli_printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"twa_softc", !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}
| freebsd_sys_dev_twa_extr_tw_osl_freebsd.c_twa_shutdown |
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_analog.c_patch_ad1981.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_analog.c_patch_ad1981.c"
target datalayout = "e-m:e-p270:32:32-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 }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@HDA_OUTPUT = dso_local local_unnamed_addr global i32 0, align 4
@ad1981_fixup_tbl = dso_local local_unnamed_addr global i32 0, align 4
@ad1981_fixups = dso_local local_unnamed_addr global i32 0, align 4
@HDA_FIXUP_ACT_PRE_PROBE = dso_local local_unnamed_addr global i32 0, align 4
@HDA_FIXUP_ACT_PROBE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @patch_ad1981], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @patch_ad1981(ptr noundef %0) #0 {
%2 = tail call i32 @alloc_ad_spec(ptr noundef %0) #2
%3 = icmp slt i32 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%6 = sub nsw i32 0, %5
br label %28
7: ; preds = %1
%8 = load ptr, ptr %0, align 8, !tbaa !9
store i32 14, ptr %8, align 4, !tbaa !12
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 1
store i32 16, ptr %9, align 4, !tbaa !15
%10 = load i32, ptr @HDA_OUTPUT, align 4, !tbaa !5
%11 = tail call i32 @set_beep_amp(ptr noundef nonnull %8, i32 noundef 13, i32 noundef 0, i32 noundef %10) #2
%12 = load i32, ptr @ad1981_fixup_tbl, align 4, !tbaa !5
%13 = load i32, ptr @ad1981_fixups, align 4, !tbaa !5
%14 = tail call i32 @snd_hda_pick_fixup(ptr noundef nonnull %0, ptr noundef null, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr @HDA_FIXUP_ACT_PRE_PROBE, align 4, !tbaa !5
%16 = tail call i32 @snd_hda_apply_fixup(ptr noundef nonnull %0, i32 noundef %15) #2
%17 = tail call i32 @ad198x_parse_auto_config(ptr noundef nonnull %0, i32 noundef 0) #2
%18 = icmp slt i32 %17, 0
br i1 %18, label %25, label %19
19: ; preds = %7
%20 = tail call i32 @ad1983_add_spdif_mux_ctl(ptr noundef nonnull %0) #2
%21 = icmp slt i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %19
%23 = load i32, ptr @HDA_FIXUP_ACT_PROBE, align 4, !tbaa !5
%24 = tail call i32 @snd_hda_apply_fixup(ptr noundef nonnull %0, i32 noundef %23) #2
br label %28
25: ; preds = %19, %7
%26 = phi i32 [ %17, %7 ], [ %20, %19 ]
%27 = tail call i32 @snd_hda_gen_free(ptr noundef nonnull %0) #2
br label %28
28: ; preds = %25, %22, %4
%29 = phi i32 [ %6, %4 ], [ %26, %25 ], [ 0, %22 ]
ret i32 %29
}
declare i32 @alloc_ad_spec(ptr noundef) local_unnamed_addr #1
declare i32 @set_beep_amp(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_hda_pick_fixup(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_hda_apply_fixup(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ad198x_parse_auto_config(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ad1983_add_spdif_mux_ctl(ptr noundef) local_unnamed_addr #1
declare i32 @snd_hda_gen_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"hda_codec", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"ad198x_spec", !14, i64 0}
!14 = !{!"TYPE_2__", !6, i64 0, !6, i64 4}
!15 = !{!13, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_analog.c_patch_ad1981.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_analog.c_patch_ad1981.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@HDA_OUTPUT = common local_unnamed_addr global i32 0, align 4
@ad1981_fixup_tbl = common local_unnamed_addr global i32 0, align 4
@ad1981_fixups = common local_unnamed_addr global i32 0, align 4
@HDA_FIXUP_ACT_PRE_PROBE = common local_unnamed_addr global i32 0, align 4
@HDA_FIXUP_ACT_PROBE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @patch_ad1981], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @patch_ad1981(ptr noundef %0) #0 {
%2 = tail call i32 @alloc_ad_spec(ptr noundef %0) #2
%3 = icmp slt i32 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%6 = sub nsw i32 0, %5
br label %27
7: ; preds = %1
%8 = load ptr, ptr %0, align 8, !tbaa !10
store <2 x i32> <i32 14, i32 16>, ptr %8, align 4, !tbaa !6
%9 = load i32, ptr @HDA_OUTPUT, align 4, !tbaa !6
%10 = tail call i32 @set_beep_amp(ptr noundef nonnull %8, i32 noundef 13, i32 noundef 0, i32 noundef %9) #2
%11 = load i32, ptr @ad1981_fixup_tbl, align 4, !tbaa !6
%12 = load i32, ptr @ad1981_fixups, align 4, !tbaa !6
%13 = tail call i32 @snd_hda_pick_fixup(ptr noundef nonnull %0, ptr noundef null, i32 noundef %11, i32 noundef %12) #2
%14 = load i32, ptr @HDA_FIXUP_ACT_PRE_PROBE, align 4, !tbaa !6
%15 = tail call i32 @snd_hda_apply_fixup(ptr noundef nonnull %0, i32 noundef %14) #2
%16 = tail call i32 @ad198x_parse_auto_config(ptr noundef nonnull %0, i32 noundef 0) #2
%17 = icmp slt i32 %16, 0
br i1 %17, label %24, label %18
18: ; preds = %7
%19 = tail call i32 @ad1983_add_spdif_mux_ctl(ptr noundef nonnull %0) #2
%20 = icmp slt i32 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %18
%22 = load i32, ptr @HDA_FIXUP_ACT_PROBE, align 4, !tbaa !6
%23 = tail call i32 @snd_hda_apply_fixup(ptr noundef nonnull %0, i32 noundef %22) #2
br label %27
24: ; preds = %18, %7
%25 = phi i32 [ %16, %7 ], [ %19, %18 ]
%26 = tail call i32 @snd_hda_gen_free(ptr noundef nonnull %0) #2
br label %27
27: ; preds = %24, %21, %4
%28 = phi i32 [ %6, %4 ], [ %25, %24 ], [ 0, %21 ]
ret i32 %28
}
declare i32 @alloc_ad_spec(ptr noundef) local_unnamed_addr #1
declare i32 @set_beep_amp(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_hda_pick_fixup(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_hda_apply_fixup(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ad198x_parse_auto_config(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ad1983_add_spdif_mux_ctl(ptr noundef) local_unnamed_addr #1
declare i32 @snd_hda_gen_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"hda_codec", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| linux_sound_pci_hda_extr_patch_analog.c_patch_ad1981 |
; ModuleID = 'AnghaBench/TDengine/src/client/src/extr_tscFunctionImpl.c_top_bot_datablock_filter.c'
source_filename = "AnghaBench/TDengine/src/client/src/extr_tscFunctionImpl.c_top_bot_datablock_filter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_13__ = type { i32, ptr }
%struct.TYPE_12__ = type { i64, ptr }
%struct.TYPE_10__ = type { i32, i32 }
@TSDB_FUNC_TOP = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @top_bot_datablock_filter(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call ptr @GET_RES_INFO(ptr noundef %0) #2
%6 = load i64, ptr %5, align 8, !tbaa !5
%7 = inttoptr i64 %6 to ptr
%8 = load i64, ptr %7, align 8, !tbaa !10
%9 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = load i64, ptr %10, align 8, !tbaa !16
%12 = icmp slt i64 %8, %11
br i1 %12, label %80, label %13
13: ; preds = %4
%14 = getelementptr inbounds %struct.TYPE_12__, ptr %7, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !18
%16 = load i64, ptr @TSDB_FUNC_TOP, align 8, !tbaa !19
%17 = icmp eq i64 %16, %1
%18 = load i32, ptr %0, align 8, !tbaa !20
br i1 %17, label %19, label %48
19: ; preds = %13
switch i32 %18, label %77 [
i32 128, label %20
i32 129, label %25
i32 130, label %30
i32 133, label %35
i32 131, label %40
i32 132, label %44
]
20: ; preds = %19
%21 = tail call i32 @GET_INT8_VAL(ptr noundef %3) #2
%22 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !21
%24 = icmp sgt i32 %21, %23
br label %77
25: ; preds = %19
%26 = tail call i32 @GET_INT16_VAL(ptr noundef %3) #2
%27 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 1
%28 = load i32, ptr %27, align 4, !tbaa !21
%29 = icmp sgt i32 %26, %28
br label %77
30: ; preds = %19
%31 = tail call i32 @GET_INT32_VAL(ptr noundef %3) #2
%32 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 1
%33 = load i32, ptr %32, align 4, !tbaa !21
%34 = icmp sgt i32 %31, %33
br label %77
35: ; preds = %19
%36 = tail call i32 @GET_INT64_VAL(ptr noundef %3) #2
%37 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 1
%38 = load i32, ptr %37, align 4, !tbaa !21
%39 = icmp sgt i32 %36, %38
br label %77
40: ; preds = %19
%41 = tail call i32 @GET_FLOAT_VAL(ptr noundef %3) #2
%42 = load i32, ptr %15, align 4, !tbaa !24
%43 = icmp sgt i32 %41, %42
br label %77
44: ; preds = %19
%45 = tail call i32 @GET_DOUBLE_VAL(ptr noundef %3) #2
%46 = load i32, ptr %15, align 4, !tbaa !24
%47 = icmp sgt i32 %45, %46
br label %77
48: ; preds = %13
switch i32 %18, label %77 [
i32 128, label %49
i32 129, label %54
i32 130, label %59
i32 133, label %64
i32 131, label %69
i32 132, label %73
]
49: ; preds = %48
%50 = tail call i32 @GET_INT8_VAL(ptr noundef %2) #2
%51 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 1
%52 = load i32, ptr %51, align 4, !tbaa !21
%53 = icmp slt i32 %50, %52
br label %77
54: ; preds = %48
%55 = tail call i32 @GET_INT16_VAL(ptr noundef %2) #2
%56 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 1
%57 = load i32, ptr %56, align 4, !tbaa !21
%58 = icmp slt i32 %55, %57
br label %77
59: ; preds = %48
%60 = tail call i32 @GET_INT32_VAL(ptr noundef %2) #2
%61 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 1
%62 = load i32, ptr %61, align 4, !tbaa !21
%63 = icmp slt i32 %60, %62
br label %77
64: ; preds = %48
%65 = tail call i32 @GET_INT64_VAL(ptr noundef %2) #2
%66 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 1
%67 = load i32, ptr %66, align 4, !tbaa !21
%68 = icmp slt i32 %65, %67
br label %77
69: ; preds = %48
%70 = tail call i32 @GET_FLOAT_VAL(ptr noundef %2) #2
%71 = load i32, ptr %15, align 4, !tbaa !24
%72 = icmp slt i32 %70, %71
br label %77
73: ; preds = %48
%74 = tail call i32 @GET_DOUBLE_VAL(ptr noundef %2) #2
%75 = load i32, ptr %15, align 4, !tbaa !24
%76 = icmp slt i32 %74, %75
br label %77
77: ; preds = %48, %19, %73, %69, %64, %59, %54, %49, %44, %40, %35, %30, %25, %20
%78 = phi i1 [ %47, %44 ], [ %43, %40 ], [ %39, %35 ], [ %34, %30 ], [ %29, %25 ], [ %24, %20 ], [ %76, %73 ], [ %72, %69 ], [ %68, %64 ], [ %63, %59 ], [ %58, %54 ], [ %53, %49 ], [ true, %19 ], [ true, %48 ]
%79 = zext i1 %78 to i32
br label %80
80: ; preds = %4, %77
%81 = phi i32 [ %79, %77 ], [ 1, %4 ]
ret i32 %81
}
declare ptr @GET_RES_INFO(ptr noundef) local_unnamed_addr #1
declare i32 @GET_INT8_VAL(ptr noundef) local_unnamed_addr #1
declare i32 @GET_INT16_VAL(ptr noundef) local_unnamed_addr #1
declare i32 @GET_INT32_VAL(ptr noundef) local_unnamed_addr #1
declare i32 @GET_INT64_VAL(ptr noundef) local_unnamed_addr #1
declare i32 @GET_FLOAT_VAL(ptr noundef) local_unnamed_addr #1
declare i32 @GET_DOUBLE_VAL(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_14__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_12__", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"TYPE_13__", !15, i64 0, !12, i64 8}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_9__", !7, i64 0}
!18 = !{!11, !12, i64 8}
!19 = !{!7, !7, i64 0}
!20 = !{!14, !15, i64 0}
!21 = !{!22, !15, i64 4}
!22 = !{!"TYPE_11__", !23, i64 0}
!23 = !{!"TYPE_10__", !15, i64 0, !15, i64 4}
!24 = !{!22, !15, i64 0}
| ; ModuleID = 'AnghaBench/TDengine/src/client/src/extr_tscFunctionImpl.c_top_bot_datablock_filter.c'
source_filename = "AnghaBench/TDengine/src/client/src/extr_tscFunctionImpl.c_top_bot_datablock_filter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TSDB_FUNC_TOP = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @top_bot_datablock_filter(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call ptr @GET_RES_INFO(ptr noundef %0) #2
%6 = load i64, ptr %5, align 8, !tbaa !6
%7 = inttoptr i64 %6 to ptr
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !14
%11 = load i64, ptr %10, align 8, !tbaa !17
%12 = icmp slt i64 %8, %11
br i1 %12, label %80, label %13
13: ; preds = %4
%14 = getelementptr inbounds i8, ptr %7, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !19
%16 = load i64, ptr @TSDB_FUNC_TOP, align 8, !tbaa !20
%17 = icmp eq i64 %16, %1
%18 = load i32, ptr %0, align 8, !tbaa !21
br i1 %17, label %19, label %48
19: ; preds = %13
switch i32 %18, label %77 [
i32 128, label %20
i32 129, label %25
i32 130, label %30
i32 133, label %35
i32 131, label %40
i32 132, label %44
]
20: ; preds = %19
%21 = tail call i32 @GET_INT8_VAL(ptr noundef %3) #2
%22 = getelementptr inbounds i8, ptr %15, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !22
%24 = icmp sgt i32 %21, %23
br label %77
25: ; preds = %19
%26 = tail call i32 @GET_INT16_VAL(ptr noundef %3) #2
%27 = getelementptr inbounds i8, ptr %15, i64 4
%28 = load i32, ptr %27, align 4, !tbaa !22
%29 = icmp sgt i32 %26, %28
br label %77
30: ; preds = %19
%31 = tail call i32 @GET_INT32_VAL(ptr noundef %3) #2
%32 = getelementptr inbounds i8, ptr %15, i64 4
%33 = load i32, ptr %32, align 4, !tbaa !22
%34 = icmp sgt i32 %31, %33
br label %77
35: ; preds = %19
%36 = tail call i32 @GET_INT64_VAL(ptr noundef %3) #2
%37 = getelementptr inbounds i8, ptr %15, i64 4
%38 = load i32, ptr %37, align 4, !tbaa !22
%39 = icmp sgt i32 %36, %38
br label %77
40: ; preds = %19
%41 = tail call i32 @GET_FLOAT_VAL(ptr noundef %3) #2
%42 = load i32, ptr %15, align 4, !tbaa !25
%43 = icmp sgt i32 %41, %42
br label %77
44: ; preds = %19
%45 = tail call i32 @GET_DOUBLE_VAL(ptr noundef %3) #2
%46 = load i32, ptr %15, align 4, !tbaa !25
%47 = icmp sgt i32 %45, %46
br label %77
48: ; preds = %13
switch i32 %18, label %77 [
i32 128, label %49
i32 129, label %54
i32 130, label %59
i32 133, label %64
i32 131, label %69
i32 132, label %73
]
49: ; preds = %48
%50 = tail call i32 @GET_INT8_VAL(ptr noundef %2) #2
%51 = getelementptr inbounds i8, ptr %15, i64 4
%52 = load i32, ptr %51, align 4, !tbaa !22
%53 = icmp slt i32 %50, %52
br label %77
54: ; preds = %48
%55 = tail call i32 @GET_INT16_VAL(ptr noundef %2) #2
%56 = getelementptr inbounds i8, ptr %15, i64 4
%57 = load i32, ptr %56, align 4, !tbaa !22
%58 = icmp slt i32 %55, %57
br label %77
59: ; preds = %48
%60 = tail call i32 @GET_INT32_VAL(ptr noundef %2) #2
%61 = getelementptr inbounds i8, ptr %15, i64 4
%62 = load i32, ptr %61, align 4, !tbaa !22
%63 = icmp slt i32 %60, %62
br label %77
64: ; preds = %48
%65 = tail call i32 @GET_INT64_VAL(ptr noundef %2) #2
%66 = getelementptr inbounds i8, ptr %15, i64 4
%67 = load i32, ptr %66, align 4, !tbaa !22
%68 = icmp slt i32 %65, %67
br label %77
69: ; preds = %48
%70 = tail call i32 @GET_FLOAT_VAL(ptr noundef %2) #2
%71 = load i32, ptr %15, align 4, !tbaa !25
%72 = icmp slt i32 %70, %71
br label %77
73: ; preds = %48
%74 = tail call i32 @GET_DOUBLE_VAL(ptr noundef %2) #2
%75 = load i32, ptr %15, align 4, !tbaa !25
%76 = icmp slt i32 %74, %75
br label %77
77: ; preds = %48, %19, %73, %69, %64, %59, %54, %49, %44, %40, %35, %30, %25, %20
%78 = phi i1 [ %47, %44 ], [ %43, %40 ], [ %39, %35 ], [ %34, %30 ], [ %29, %25 ], [ %24, %20 ], [ %76, %73 ], [ %72, %69 ], [ %68, %64 ], [ %63, %59 ], [ %58, %54 ], [ %53, %49 ], [ true, %19 ], [ true, %48 ]
%79 = zext i1 %78 to i32
br label %80
80: ; preds = %4, %77
%81 = phi i32 [ %79, %77 ], [ 1, %4 ]
ret i32 %81
}
declare ptr @GET_RES_INFO(ptr noundef) local_unnamed_addr #1
declare i32 @GET_INT8_VAL(ptr noundef) local_unnamed_addr #1
declare i32 @GET_INT16_VAL(ptr noundef) local_unnamed_addr #1
declare i32 @GET_INT32_VAL(ptr noundef) local_unnamed_addr #1
declare i32 @GET_INT64_VAL(ptr noundef) local_unnamed_addr #1
declare i32 @GET_FLOAT_VAL(ptr noundef) local_unnamed_addr #1
declare i32 @GET_DOUBLE_VAL(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_14__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_12__", !8, i64 0, !13, i64 8}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !13, i64 8}
!15 = !{!"TYPE_13__", !16, i64 0, !13, i64 8}
!16 = !{!"int", !9, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_9__", !8, i64 0}
!19 = !{!12, !13, i64 8}
!20 = !{!8, !8, i64 0}
!21 = !{!15, !16, i64 0}
!22 = !{!23, !16, i64 4}
!23 = !{!"TYPE_11__", !24, i64 0}
!24 = !{!"TYPE_10__", !16, i64 0, !16, i64 4}
!25 = !{!23, !16, i64 0}
| TDengine_src_client_src_extr_tscFunctionImpl.c_top_bot_datablock_filter |
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_174.c_make_http_request.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_174.c_make_http_request.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EXP_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"malloc()\00", align 1
@shellcode = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [3 x i8] c":x\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"GET / HTTP/1.0\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"%sHost: %s\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"%sAuthorization: Basic %s\0D\0A\0D\0A\0D\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @make_http_request(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @EXP_SIZE, align 4, !tbaa !5
%6 = tail call i64 @malloc(i32 noundef %5) #5
%7 = inttoptr i64 %6 to ptr
%8 = icmp eq i64 %6, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = tail call i32 @perror(ptr noundef nonnull @.str) #5
%11 = tail call i32 @exit(i32 noundef 1) #6
unreachable
12: ; preds = %4
%13 = load i32, ptr @EXP_SIZE, align 4, !tbaa !5
%14 = tail call i32 @memset(ptr noundef nonnull %7, i32 noundef 144, i32 noundef %13) #5
%15 = getelementptr inbounds i8, ptr %7, i64 256
%16 = load ptr, ptr @shellcode, align 8, !tbaa !9
%17 = tail call i32 @strlen(ptr noundef %16) #5
%18 = sext i32 %17 to i64
%19 = sub nsw i64 0, %18
%20 = getelementptr inbounds i8, ptr %15, i64 %19
%21 = load ptr, ptr @shellcode, align 8, !tbaa !9
%22 = tail call i32 @strcpy(ptr noundef nonnull %20, ptr noundef %21) #5
%23 = load i32, ptr @EXP_SIZE, align 4, !tbaa !5
%24 = icmp sgt i32 %23, 261
br i1 %24, label %25, label %34
25: ; preds = %12, %25
%26 = phi i64 [ %29, %25 ], [ 256, %12 ]
%27 = getelementptr inbounds i8, ptr %7, i64 %26
%28 = tail call i32 @memcpy(ptr noundef nonnull %27, ptr noundef %3, i32 noundef 4) #5
%29 = add nuw nsw i64 %26, 4
%30 = load i32, ptr @EXP_SIZE, align 4, !tbaa !5
%31 = add nsw i32 %30, -5
%32 = sext i32 %31 to i64
%33 = icmp slt i64 %29, %32
br i1 %33, label %25, label %34, !llvm.loop !11
34: ; preds = %25, %12
%35 = phi i32 [ %23, %12 ], [ %30, %25 ]
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %7, i64 %36
%38 = getelementptr inbounds i8, ptr %37, i64 -4
%39 = tail call i32 @strcpy(ptr noundef nonnull %38, ptr noundef nonnull @.str.1) #5
%40 = load i32, ptr @EXP_SIZE, align 4, !tbaa !5
%41 = tail call ptr @encode_base64(i32 noundef %40, ptr noundef nonnull %7) #5
%42 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef %1) #5
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(17) %0, ptr noundef nonnull align 1 dereferenceable(17) @.str.2, i64 17, i1 false)
%43 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %0, ptr noundef %2)
%44 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef %0, ptr noundef %41)
ret void
}
declare i64 @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @perror(ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @encode_base64(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #3
; Function Attrs: 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) #4
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind }
attributes #6 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_174.c_make_http_request.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_174.c_make_http_request.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EXP_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"malloc()\00", align 1
@shellcode = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [3 x i8] c":x\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"GET / HTTP/1.0\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"%sHost: %s\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"%sAuthorization: Basic %s\0D\0A\0D\0A\0D\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @make_http_request(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @EXP_SIZE, align 4, !tbaa !6
%6 = tail call i64 @malloc(i32 noundef %5) #5
%7 = inttoptr i64 %6 to ptr
%8 = icmp eq i64 %6, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = tail call i32 @perror(ptr noundef nonnull @.str) #5
%11 = tail call i32 @exit(i32 noundef 1) #6
unreachable
12: ; preds = %4
%13 = load i32, ptr @EXP_SIZE, align 4, !tbaa !6
%14 = tail call i32 @memset(ptr noundef nonnull %7, i32 noundef 144, i32 noundef %13) #5
%15 = getelementptr inbounds i8, ptr %7, i64 256
%16 = load ptr, ptr @shellcode, align 8, !tbaa !10
%17 = tail call i32 @strlen(ptr noundef %16) #5
%18 = sext i32 %17 to i64
%19 = sub nsw i64 0, %18
%20 = getelementptr inbounds i8, ptr %15, i64 %19
%21 = load ptr, ptr @shellcode, align 8, !tbaa !10
%22 = tail call i32 @strcpy(ptr noundef nonnull %20, ptr noundef %21) #5
%23 = load i32, ptr @EXP_SIZE, align 4, !tbaa !6
%24 = icmp sgt i32 %23, 261
br i1 %24, label %25, label %34
25: ; preds = %12, %25
%26 = phi i64 [ %29, %25 ], [ 256, %12 ]
%27 = getelementptr inbounds i8, ptr %7, i64 %26
%28 = tail call i32 @memcpy(ptr noundef nonnull %27, ptr noundef %3, i32 noundef 4) #5
%29 = add nuw nsw i64 %26, 4
%30 = load i32, ptr @EXP_SIZE, align 4, !tbaa !6
%31 = add nsw i32 %30, -5
%32 = sext i32 %31 to i64
%33 = icmp slt i64 %29, %32
br i1 %33, label %25, label %34, !llvm.loop !12
34: ; preds = %25, %12
%35 = phi i32 [ %23, %12 ], [ %30, %25 ]
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %7, i64 %36
%38 = getelementptr inbounds i8, ptr %37, i64 -4
%39 = tail call i32 @strcpy(ptr noundef nonnull %38, ptr noundef nonnull @.str.1) #5
%40 = load i32, ptr @EXP_SIZE, align 4, !tbaa !6
%41 = tail call ptr @encode_base64(i32 noundef %40, ptr noundef nonnull %7) #5
%42 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef %1) #5
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(17) %0, ptr noundef nonnull align 1 dereferenceable(17) @.str.2, i64 17, i1 false)
%43 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %0, ptr noundef %2)
%44 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef %0, ptr noundef %41)
ret void
}
declare i64 @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @perror(ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @encode_base64(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #3
; Function Attrs: 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) #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind }
attributes #6 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| exploitdb_exploits_linux_remote_extr_174.c_make_http_request |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/omap/extr_blizzard.c__restore_regs.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/omap/extr_blizzard.c__restore_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"
%struct.blizzard_reg_list = type { i32, i32 }
@blizzard_reg_cache = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @_restore_regs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @_restore_regs(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 0
br i1 %3, label %4, label %26
4: ; preds = %2, %22
%5 = phi i32 [ %23, %22 ], [ 0, %2 ]
%6 = phi ptr [ %24, %22 ], [ %0, %2 ]
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = getelementptr inbounds %struct.blizzard_reg_list, ptr %6, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = icmp sgt i32 %7, %9
br i1 %10, label %22, label %11
11: ; preds = %4, %11
%12 = phi i32 [ %19, %11 ], [ %7, %4 ]
%13 = load ptr, ptr @blizzard_reg_cache, align 8, !tbaa !11
%14 = sdiv i32 %12, 2
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = tail call i32 @blizzard_write_reg(i32 noundef %12, i32 noundef %17) #2
%19 = add nsw i32 %12, 2
%20 = load i32, ptr %8, align 4, !tbaa !10
%21 = icmp sgt i32 %19, %20
br i1 %21, label %22, label %11, !llvm.loop !14
22: ; preds = %11, %4
%23 = add nuw nsw i32 %5, 1
%24 = getelementptr inbounds %struct.blizzard_reg_list, ptr %6, i64 1
%25 = icmp eq i32 %23, %1
br i1 %25, label %26, label %4, !llvm.loop !16
26: ; preds = %22, %2
ret void
}
declare i32 @blizzard_write_reg(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 = !{!"blizzard_reg_list", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/omap/extr_blizzard.c__restore_regs.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/omap/extr_blizzard.c__restore_regs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@blizzard_reg_cache = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @_restore_regs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @_restore_regs(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 0
br i1 %3, label %4, label %26
4: ; preds = %2, %22
%5 = phi i32 [ %23, %22 ], [ 0, %2 ]
%6 = phi ptr [ %24, %22 ], [ %0, %2 ]
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %6, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = icmp sgt i32 %7, %9
br i1 %10, label %22, label %11
11: ; preds = %4, %11
%12 = phi i32 [ %19, %11 ], [ %7, %4 ]
%13 = load ptr, ptr @blizzard_reg_cache, align 8, !tbaa !12
%14 = sdiv i32 %12, 2
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = tail call i32 @blizzard_write_reg(i32 noundef %12, i32 noundef %17) #2
%19 = add nsw i32 %12, 2
%20 = load i32, ptr %8, align 4, !tbaa !11
%21 = icmp sgt i32 %19, %20
br i1 %21, label %22, label %11, !llvm.loop !15
22: ; preds = %11, %4
%23 = add nuw nsw i32 %5, 1
%24 = getelementptr inbounds i8, ptr %6, i64 8
%25 = icmp eq i32 %23, %1
br i1 %25, label %26, label %4, !llvm.loop !17
26: ; preds = %22, %2
ret void
}
declare i32 @blizzard_write_reg(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 = !{!"blizzard_reg_list", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
| fastsocket_kernel_drivers_video_omap_extr_blizzard.c__restore_regs |
; ModuleID = 'AnghaBench/sqlcipher/src/extr_pragma.c_pragmaVtabDisconnect.c'
source_filename = "AnghaBench/sqlcipher/src/extr_pragma.c_pragmaVtabDisconnect.c"
target datalayout = "e-m:e-p270:32:32-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
@llvm.compiler.used = appending global [1 x ptr] [ptr @pragmaVtabDisconnect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pragmaVtabDisconnect(ptr noundef %0) #0 {
%2 = tail call i32 @sqlite3_free(ptr noundef %0) #2
%3 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
ret i32 %3
}
declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/sqlcipher/src/extr_pragma.c_pragmaVtabDisconnect.c'
source_filename = "AnghaBench/sqlcipher/src/extr_pragma.c_pragmaVtabDisconnect.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
@llvm.used = appending global [1 x ptr] [ptr @pragmaVtabDisconnect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pragmaVtabDisconnect(ptr noundef %0) #0 {
%2 = tail call i32 @sqlite3_free(ptr noundef %0) #2
%3 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
ret i32 %3
}
declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| sqlcipher_src_extr_pragma.c_pragmaVtabDisconnect |
; ModuleID = 'AnghaBench/linux/sound/soc/extr_soc-dapm.c_soc_dapm_async_complete.c'
source_filename = "AnghaBench/linux/sound/soc/extr_soc-dapm.c_soc_dapm_async_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @soc_dapm_async_complete], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @soc_dapm_async_complete(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @snd_soc_component_async_complete(i64 noundef %2) #2
br label %6
6: ; preds = %4, %1
ret void
}
declare i32 @snd_soc_component_async_complete(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_soc_dapm_context", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/sound/soc/extr_soc-dapm.c_soc_dapm_async_complete.c'
source_filename = "AnghaBench/linux/sound/soc/extr_soc-dapm.c_soc_dapm_async_complete.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 @soc_dapm_async_complete], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @soc_dapm_async_complete(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @snd_soc_component_async_complete(i64 noundef %2) #2
br label %6
6: ; preds = %4, %1
ret void
}
declare i32 @snd_soc_component_async_complete(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_soc_dapm_context", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_sound_soc_extr_soc-dapm.c_soc_dapm_async_complete |
; ModuleID = 'AnghaBench/linux/drivers/vme/extr_vme.c_vme_bus_num.c'
source_filename = "AnghaBench/linux/drivers/vme/extr_vme.c_vme_bus_num.c"
target datalayout = "e-m:e-p270:32:32-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 [20 x i8] c"Can't find VME bus\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @vme_bus_num(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = tail call i32 @pr_err(ptr noundef nonnull @.str) #2
%6 = load i32, ptr @EINVAL, align 4, !tbaa !10
%7 = sub nsw i32 0, %6
br label %10
8: ; preds = %1
%9 = load i32, ptr %2, align 4, !tbaa !12
br label %10
10: ; preds = %8, %4
%11 = phi i32 [ %9, %8 ], [ %7, %4 ]
ret i32 %11
}
declare i32 @pr_err(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"vme_dev", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"vme_bridge", !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/vme/extr_vme.c_vme_bus_num.c'
source_filename = "AnghaBench/linux/drivers/vme/extr_vme.c_vme_bus_num.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 [20 x i8] c"Can't find VME bus\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @vme_bus_num(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = tail call i32 @pr_err(ptr noundef nonnull @.str) #2
%6 = load i32, ptr @EINVAL, align 4, !tbaa !11
%7 = sub nsw i32 0, %6
br label %10
8: ; preds = %1
%9 = load i32, ptr %2, align 4, !tbaa !13
br label %10
10: ; preds = %8, %4
%11 = phi i32 [ %9, %8 ], [ %7, %4 ]
ret i32 %11
}
declare i32 @pr_err(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"vme_dev", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"vme_bridge", !12, i64 0}
| linux_drivers_vme_extr_vme.c_vme_bus_num |
; ModuleID = 'AnghaBench/lab/engine/code/botlib/extr_be_aas_reach.c_AAS_FreeReachability.c'
source_filename = "AnghaBench/lab/engine/code/botlib/extr_be_aas_reach.c_AAS_FreeReachability.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { %struct.TYPE_5__* }
@nextreachability = dso_local local_unnamed_addr global %struct.TYPE_5__* null, align 8
@numlreachabilities = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @AAS_FreeReachability(%struct.TYPE_5__* noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @Com_Memset(%struct.TYPE_5__* noundef %0, i32 noundef 0, i32 noundef 8) #2
%3 = load %struct.TYPE_5__*, %struct.TYPE_5__** @nextreachability, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_5__, %struct.TYPE_5__* %0, i64 0, i32 0
store %struct.TYPE_5__* %3, %struct.TYPE_5__** %4, align 8, !tbaa !9
store %struct.TYPE_5__* %0, %struct.TYPE_5__** @nextreachability, align 8, !tbaa !5
%5 = load i32, i32* @numlreachabilities, align 4, !tbaa !11
%6 = add nsw i32 %5, -1
store i32 %6, i32* @numlreachabilities, align 4, !tbaa !11
ret void
}
declare i32 @Com_Memset(%struct.TYPE_5__* noundef, i32 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 = !{!"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}
| ; ModuleID = 'AnghaBench/lab/engine/code/botlib/extr_be_aas_reach.c_AAS_FreeReachability.c'
source_filename = "AnghaBench/lab/engine/code/botlib/extr_be_aas_reach.c_AAS_FreeReachability.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@nextreachability = common local_unnamed_addr global ptr null, align 8
@numlreachabilities = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @AAS_FreeReachability(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @Com_Memset(ptr noundef %0, i32 noundef 0, i32 noundef 8) #2
%3 = load ptr, ptr @nextreachability, align 8, !tbaa !6
store ptr %3, ptr %0, align 8, !tbaa !10
store ptr %0, ptr @nextreachability, align 8, !tbaa !6
%4 = load i32, ptr @numlreachabilities, align 4, !tbaa !12
%5 = add nsw i32 %4, -1
store i32 %5, ptr @numlreachabilities, align 4, !tbaa !12
ret void
}
declare i32 @Com_Memset(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 = !{!"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}
| lab_engine_code_botlib_extr_be_aas_reach.c_AAS_FreeReachability |
; ModuleID = 'AnghaBench/linux/drivers/leds/extr_led-core.c_led_parse_fwnode_props.c'
source_filename = "AnghaBench/linux/drivers/leds/extr_led-core.c_led_parse_fwnode_props.c"
target datalayout = "e-m:e-p270:32:32-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.led_properties = type { i64, i32, i64, i32, i32, i32 }
@.str = private unnamed_addr constant [6 x i8] c"label\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"Error parsing 'label' property (%d)\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"color\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Error parsing 'color' property (%d)\0A\00", align 1
@LED_COLOR_ID_MAX = dso_local local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [35 x i8] c"LED color identifier out of range\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"function\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"Error parsing 'function' property (%d)\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"function-enumerator\00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c"Error parsing 'function-enumerator' property (%d)\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @led_parse_fwnode_props], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @led_parse_fwnode_props(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = icmp eq ptr %1, null
br i1 %4, label %50, label %5
5: ; preds = %3
%6 = tail call i64 @fwnode_property_present(ptr noundef nonnull %1, ptr noundef nonnull @.str) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %14, label %8
8: ; preds = %5
%9 = getelementptr inbounds %struct.led_properties, ptr %2, i64 0, i32 5
%10 = tail call i32 @fwnode_property_read_string(ptr noundef nonnull %1, ptr noundef nonnull @.str, ptr noundef nonnull %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %50, label %12
12: ; preds = %8
%13 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %10) #2
br label %50
14: ; preds = %5
%15 = tail call i64 @fwnode_property_present(ptr noundef nonnull %1, ptr noundef nonnull @.str.2) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %30, label %17
17: ; preds = %14
%18 = tail call i32 @fwnode_property_read_u32(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, ptr noundef %2) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %17
%21 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %18) #2
br label %30
22: ; preds = %17
%23 = load i64, ptr %2, align 8, !tbaa !5
%24 = load i64, ptr @LED_COLOR_ID_MAX, align 8, !tbaa !11
%25 = icmp slt i64 %23, %24
br i1 %25, label %28, label %26
26: ; preds = %22
%27 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.4) #2
br label %30
28: ; preds = %22
%29 = getelementptr inbounds %struct.led_properties, ptr %2, i64 0, i32 1
store i32 1, ptr %29, align 8, !tbaa !12
br label %30
30: ; preds = %20, %28, %26, %14
%31 = tail call i64 @fwnode_property_present(ptr noundef nonnull %1, ptr noundef nonnull @.str.5) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %50, label %33
33: ; preds = %30
%34 = getelementptr inbounds %struct.led_properties, ptr %2, i64 0, i32 4
%35 = tail call i32 @fwnode_property_read_string(ptr noundef nonnull %1, ptr noundef nonnull @.str.5, ptr noundef nonnull %34) #2
%36 = icmp eq i32 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %33
%38 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef %35) #2
br label %39
39: ; preds = %37, %33
%40 = tail call i64 @fwnode_property_present(ptr noundef nonnull %1, ptr noundef nonnull @.str.7) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %50, label %42
42: ; preds = %39
%43 = getelementptr inbounds %struct.led_properties, ptr %2, i64 0, i32 2
%44 = tail call i32 @fwnode_property_read_u32(ptr noundef nonnull %1, ptr noundef nonnull @.str.7, ptr noundef nonnull %43) #2
%45 = icmp eq i32 %44, 0
br i1 %45, label %48, label %46
46: ; preds = %42
%47 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.8, i32 noundef %44) #2
br label %50
48: ; preds = %42
%49 = getelementptr inbounds %struct.led_properties, ptr %2, i64 0, i32 3
store i32 1, ptr %49, align 8, !tbaa !13
br label %50
50: ; preds = %46, %48, %39, %30, %8, %12, %3
ret void
}
declare i64 @fwnode_property_present(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fwnode_property_read_string(ptr noundef, 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
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"led_properties", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !10, i64 24}
| ; ModuleID = 'AnghaBench/linux/drivers/leds/extr_led-core.c_led_parse_fwnode_props.c'
source_filename = "AnghaBench/linux/drivers/leds/extr_led-core.c_led_parse_fwnode_props.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 [6 x i8] c"label\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"Error parsing 'label' property (%d)\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"color\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Error parsing 'color' property (%d)\0A\00", align 1
@LED_COLOR_ID_MAX = common local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [35 x i8] c"LED color identifier out of range\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"function\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"Error parsing 'function' property (%d)\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"function-enumerator\00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c"Error parsing 'function-enumerator' property (%d)\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @led_parse_fwnode_props], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @led_parse_fwnode_props(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = icmp eq ptr %1, null
br i1 %4, label %50, label %5
5: ; preds = %3
%6 = tail call i64 @fwnode_property_present(ptr noundef nonnull %1, ptr noundef nonnull @.str) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %14, label %8
8: ; preds = %5
%9 = getelementptr inbounds i8, ptr %2, i64 32
%10 = tail call i32 @fwnode_property_read_string(ptr noundef nonnull %1, ptr noundef nonnull @.str, ptr noundef nonnull %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %50, label %12
12: ; preds = %8
%13 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %10) #2
br label %50
14: ; preds = %5
%15 = tail call i64 @fwnode_property_present(ptr noundef nonnull %1, ptr noundef nonnull @.str.2) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %30, label %17
17: ; preds = %14
%18 = tail call i32 @fwnode_property_read_u32(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, ptr noundef %2) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %17
%21 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %18) #2
br label %30
22: ; preds = %17
%23 = load i64, ptr %2, align 8, !tbaa !6
%24 = load i64, ptr @LED_COLOR_ID_MAX, align 8, !tbaa !12
%25 = icmp slt i64 %23, %24
br i1 %25, label %28, label %26
26: ; preds = %22
%27 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.4) #2
br label %30
28: ; preds = %22
%29 = getelementptr inbounds i8, ptr %2, i64 8
store i32 1, ptr %29, align 8, !tbaa !13
br label %30
30: ; preds = %20, %28, %26, %14
%31 = tail call i64 @fwnode_property_present(ptr noundef nonnull %1, ptr noundef nonnull @.str.5) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %50, label %33
33: ; preds = %30
%34 = getelementptr inbounds i8, ptr %2, i64 28
%35 = tail call i32 @fwnode_property_read_string(ptr noundef nonnull %1, ptr noundef nonnull @.str.5, ptr noundef nonnull %34) #2
%36 = icmp eq i32 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %33
%38 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef %35) #2
br label %39
39: ; preds = %37, %33
%40 = tail call i64 @fwnode_property_present(ptr noundef nonnull %1, ptr noundef nonnull @.str.7) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %50, label %42
42: ; preds = %39
%43 = getelementptr inbounds i8, ptr %2, i64 16
%44 = tail call i32 @fwnode_property_read_u32(ptr noundef nonnull %1, ptr noundef nonnull @.str.7, ptr noundef nonnull %43) #2
%45 = icmp eq i32 %44, 0
br i1 %45, label %48, label %46
46: ; preds = %42
%47 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.8, i32 noundef %44) #2
br label %50
48: ; preds = %42
%49 = getelementptr inbounds i8, ptr %2, i64 24
store i32 1, ptr %49, align 8, !tbaa !14
br label %50
50: ; preds = %46, %48, %39, %30, %8, %12, %3
ret void
}
declare i64 @fwnode_property_present(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fwnode_property_read_string(ptr noundef, 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
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"led_properties", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !11, i64 28, !11, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !11, i64 24}
| linux_drivers_leds_extr_led-core.c_led_parse_fwnode_props |
; ModuleID = 'AnghaBench/freebsd/sys/cddl/compat/opensolaris/kern/extr_opensolaris_taskq.c_system_taskq_fini.c'
source_filename = "AnghaBench/freebsd/sys/cddl/compat/opensolaris/kern/extr_opensolaris_taskq.c_system_taskq_fini.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@system_taskq = dso_local local_unnamed_addr global i32 0, align 4
@taskq_zone = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @system_taskq_fini], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @system_taskq_fini(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @system_taskq, align 4, !tbaa !5
%3 = tail call i32 @taskq_destroy(i32 noundef %2) #2
%4 = load i32, ptr @taskq_zone, align 4, !tbaa !5
%5 = tail call i32 @uma_zdestroy(i32 noundef %4) #2
ret void
}
declare i32 @taskq_destroy(i32 noundef) local_unnamed_addr #1
declare i32 @uma_zdestroy(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/cddl/compat/opensolaris/kern/extr_opensolaris_taskq.c_system_taskq_fini.c'
source_filename = "AnghaBench/freebsd/sys/cddl/compat/opensolaris/kern/extr_opensolaris_taskq.c_system_taskq_fini.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@system_taskq = common local_unnamed_addr global i32 0, align 4
@taskq_zone = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @system_taskq_fini], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @system_taskq_fini(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @system_taskq, align 4, !tbaa !6
%3 = tail call i32 @taskq_destroy(i32 noundef %2) #2
%4 = load i32, ptr @taskq_zone, align 4, !tbaa !6
%5 = tail call i32 @uma_zdestroy(i32 noundef %4) #2
ret void
}
declare i32 @taskq_destroy(i32 noundef) local_unnamed_addr #1
declare i32 @uma_zdestroy(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_cddl_compat_opensolaris_kern_extr_opensolaris_taskq.c_system_taskq_fini |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/extr_ec.c_ec_check_ibf0.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/extr_ec.c_ec_check_ibf0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ACPI_EC_FLAG_IBF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ec_check_ibf0], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ec_check_ibf0(ptr noundef %0) #0 {
%2 = tail call i32 @acpi_ec_read_status(ptr noundef %0) #2
%3 = load i32, ptr @ACPI_EC_FLAG_IBF, align 4, !tbaa !5
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
declare i32 @acpi_ec_read_status(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/extr_ec.c_ec_check_ibf0.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/extr_ec.c_ec_check_ibf0.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ACPI_EC_FLAG_IBF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ec_check_ibf0], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @ec_check_ibf0(ptr noundef %0) #0 {
%2 = tail call i32 @acpi_ec_read_status(ptr noundef %0) #2
%3 = load i32, ptr @ACPI_EC_FLAG_IBF, align 4, !tbaa !6
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
declare i32 @acpi_ec_read_status(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_acpi_extr_ec.c_ec_check_ibf0 |
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nft_numgen.c_nft_ng_random_eval.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nft_numgen.c_nft_ng_random_eval.c"
target datalayout = "e-m:e-p270:32:32-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 @nft_ng_random_eval], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nft_ng_random_eval(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 {
%4 = tail call ptr @nft_expr_priv(ptr noundef %0) #2
%5 = tail call i32 @nft_ng_random_gen(ptr noundef %4) #2
%6 = load ptr, ptr %1, align 8, !tbaa !5
%7 = load i64, ptr %4, align 8, !tbaa !10
%8 = getelementptr inbounds i32, ptr %6, i64 %7
store i32 %5, ptr %8, align 4, !tbaa !13
ret void
}
declare ptr @nft_expr_priv(ptr noundef) local_unnamed_addr #1
declare i32 @nft_ng_random_gen(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"nft_regs", !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 = !{!"nft_ng_random", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nft_numgen.c_nft_ng_random_eval.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nft_numgen.c_nft_ng_random_eval.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 @nft_ng_random_eval], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nft_ng_random_eval(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 {
%4 = tail call ptr @nft_expr_priv(ptr noundef %0) #2
%5 = tail call i32 @nft_ng_random_gen(ptr noundef %4) #2
%6 = load ptr, ptr %1, align 8, !tbaa !6
%7 = load i64, ptr %4, align 8, !tbaa !11
%8 = getelementptr inbounds i32, ptr %6, i64 %7
store i32 %5, ptr %8, align 4, !tbaa !14
ret void
}
declare ptr @nft_expr_priv(ptr noundef) local_unnamed_addr #1
declare i32 @nft_ng_random_gen(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"nft_regs", !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 = !{!"nft_ng_random", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
| linux_net_netfilter_extr_nft_numgen.c_nft_ng_random_eval |
; ModuleID = 'AnghaBench/obs-studio/libobs/graphics/extr_..utilcf-lexer.h_cf_def_getparam.c'
source_filename = "AnghaBench/obs-studio/libobs/graphics/extr_..utilcf-lexer.h_cf_def_getparam.c"
target datalayout = "e-m:e-p270:32:32-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.cf_token = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @cf_def_getparam], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal ptr @cf_def_getparam(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.cf_token, ptr %3, i64 %1
ret ptr %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"cf_def", !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/obs-studio/libobs/graphics/extr_..utilcf-lexer.h_cf_def_getparam.c'
source_filename = "AnghaBench/obs-studio/libobs/graphics/extr_..utilcf-lexer.h_cf_def_getparam.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.cf_token = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @cf_def_getparam], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal ptr @cf_def_getparam(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds %struct.cf_token, ptr %3, i64 %1
ret ptr %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"cf_def", !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"}
| obs-studio_libobs_graphics_extr_..utilcf-lexer.h_cf_def_getparam |
; ModuleID = 'AnghaBench/linux/drivers/misc/vmw_vmci/extr_vmci_guest.c_vmci_guest_cid_update.c'
source_filename = "AnghaBench/linux/drivers/misc/vmw_vmci/extr_vmci_guest.c_vmci_guest_cid_update.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ctx_update_sub_id = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [30 x i8] c"Invalid subscriber (ID=0x%x)\0A\00", align 1
@VMCI_INVALID_ID = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [20 x i8] c"Invalid event data\0A\00", align 1
@.str.2 = private unnamed_addr constant [65 x i8] c"Updating context from (ID=0x%x) to (ID=0x%x) on event (type=%d)\0A\00", align 1
@vm_context_id = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @vmci_guest_cid_update], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vmci_guest_cid_update(i64 noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = tail call ptr @vmci_event_data_const_payload(ptr noundef %1) #2
%5 = load i64, ptr @ctx_update_sub_id, align 8, !tbaa !5
%6 = icmp eq i64 %5, %0
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 (ptr, ...) @pr_devel(ptr noundef nonnull @.str, i64 noundef %0) #2
br label %22
9: ; preds = %3
%10 = icmp eq ptr %1, null
br i1 %10, label %15, label %11
11: ; preds = %9
%12 = load i64, ptr %4, align 8, !tbaa !9
%13 = load i64, ptr @VMCI_INVALID_ID, align 8, !tbaa !5
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %11, %9
%16 = tail call i32 (ptr, ...) @pr_devel(ptr noundef nonnull @.str.1) #2
br label %22
17: ; preds = %11
%18 = load i64, ptr @vm_context_id, align 8, !tbaa !5
%19 = load i32, ptr %1, align 4, !tbaa !11
%20 = tail call i32 (ptr, ...) @pr_devel(ptr noundef nonnull @.str.2, i64 noundef %18, i64 noundef %12, i32 noundef %19) #2
%21 = load i64, ptr %4, align 8, !tbaa !9
store i64 %21, ptr @vm_context_id, align 8, !tbaa !5
br label %22
22: ; preds = %17, %15, %7
ret void
}
declare ptr @vmci_event_data_const_payload(ptr noundef) local_unnamed_addr #1
declare i32 @pr_devel(ptr noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"vmci_event_payld_ctx", !6, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"vmci_event_data", !13, i64 0}
!13 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/misc/vmw_vmci/extr_vmci_guest.c_vmci_guest_cid_update.c'
source_filename = "AnghaBench/linux/drivers/misc/vmw_vmci/extr_vmci_guest.c_vmci_guest_cid_update.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ctx_update_sub_id = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [30 x i8] c"Invalid subscriber (ID=0x%x)\0A\00", align 1
@VMCI_INVALID_ID = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [20 x i8] c"Invalid event data\0A\00", align 1
@.str.2 = private unnamed_addr constant [65 x i8] c"Updating context from (ID=0x%x) to (ID=0x%x) on event (type=%d)\0A\00", align 1
@vm_context_id = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @vmci_guest_cid_update], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vmci_guest_cid_update(i64 noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = tail call ptr @vmci_event_data_const_payload(ptr noundef %1) #2
%5 = load i64, ptr @ctx_update_sub_id, align 8, !tbaa !6
%6 = icmp eq i64 %5, %0
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 (ptr, ...) @pr_devel(ptr noundef nonnull @.str, i64 noundef %0) #2
br label %22
9: ; preds = %3
%10 = icmp eq ptr %1, null
br i1 %10, label %15, label %11
11: ; preds = %9
%12 = load i64, ptr %4, align 8, !tbaa !10
%13 = load i64, ptr @VMCI_INVALID_ID, align 8, !tbaa !6
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %11, %9
%16 = tail call i32 (ptr, ...) @pr_devel(ptr noundef nonnull @.str.1) #2
br label %22
17: ; preds = %11
%18 = load i64, ptr @vm_context_id, align 8, !tbaa !6
%19 = load i32, ptr %1, align 4, !tbaa !12
%20 = tail call i32 (ptr, ...) @pr_devel(ptr noundef nonnull @.str.2, i64 noundef %18, i64 noundef %12, i32 noundef %19) #2
%21 = load i64, ptr %4, align 8, !tbaa !10
store i64 %21, ptr @vm_context_id, align 8, !tbaa !6
br label %22
22: ; preds = %17, %15, %7
ret void
}
declare ptr @vmci_event_data_const_payload(ptr noundef) local_unnamed_addr #1
declare i32 @pr_devel(ptr noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"vmci_event_payld_ctx", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"vmci_event_data", !14, i64 0}
!14 = !{!"int", !8, i64 0}
| linux_drivers_misc_vmw_vmci_extr_vmci_guest.c_vmci_guest_cid_update |
; ModuleID = 'AnghaBench/linux/drivers/pnp/extr_resource.c_pnp_test_handler.c'
source_filename = "AnghaBench/linux/drivers/pnp/extr_resource.c_pnp_test_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pnp_test_handler], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @pnp_test_handler(i32 %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5
ret i32 %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/pnp/extr_resource.c_pnp_test_handler.c'
source_filename = "AnghaBench/linux/drivers/pnp/extr_resource.c_pnp_test_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pnp_test_handler], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @pnp_test_handler(i32 %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6
ret i32 %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_pnp_extr_resource.c_pnp_test_handler |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/alx/extr_main.c_alx_free_buffers.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/alx/extr_main.c_alx_free_buffers.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.alx_priv = type { i32, ptr }
%struct.TYPE_2__ = type { i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @alx_free_buffers], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @alx_free_buffers(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %25
4: ; preds = %1
%5 = getelementptr inbounds %struct.alx_priv, ptr %0, i64 0, i32 1
br label %6
6: ; preds = %4, %20
%7 = phi i32 [ %2, %4 ], [ %21, %20 ]
%8 = phi i64 [ 0, %4 ], [ %22, %20 ]
%9 = load ptr, ptr %5, align 8, !tbaa !11
%10 = getelementptr inbounds ptr, ptr %9, i64 %8
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = icmp eq ptr %11, null
br i1 %12, label %20, label %13
13: ; preds = %6
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %13
%18 = tail call i32 @alx_free_txring_buf(i64 noundef %15) #2
%19 = load i32, ptr %0, align 8, !tbaa !5
br label %20
20: ; preds = %6, %13, %17
%21 = phi i32 [ %7, %6 ], [ %7, %13 ], [ %19, %17 ]
%22 = add nuw nsw i64 %8, 1
%23 = sext i32 %21 to i64
%24 = icmp slt i64 %22, %23
br i1 %24, label %6, label %25, !llvm.loop !16
25: ; preds = %20, %1
%26 = getelementptr inbounds %struct.alx_priv, ptr %0, i64 0, i32 1
%27 = load ptr, ptr %26, align 8, !tbaa !11
%28 = load ptr, ptr %27, align 8, !tbaa !12
%29 = icmp eq ptr %28, null
br i1 %29, label %35, label %30
30: ; preds = %25
%31 = load i64, ptr %28, align 8, !tbaa !18
%32 = icmp eq i64 %31, 0
br i1 %32, label %35, label %33
33: ; preds = %30
%34 = tail call i32 @alx_free_rxring_buf(i64 noundef %31) #2
br label %35
35: ; preds = %33, %30, %25
ret void
}
declare i32 @alx_free_txring_buf(i64 noundef) local_unnamed_addr #1
declare i32 @alx_free_rxring_buf(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 = !{!"alx_priv", !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 = !{!10, !10, i64 0}
!13 = !{!14, !15, i64 8}
!14 = !{!"TYPE_2__", !15, i64 0, !15, i64 8}
!15 = !{!"long", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!14, !15, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/alx/extr_main.c_alx_free_buffers.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/alx/extr_main.c_alx_free_buffers.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 @alx_free_buffers], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @alx_free_buffers(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %25
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
br label %6
6: ; preds = %4, %20
%7 = phi i32 [ %2, %4 ], [ %21, %20 ]
%8 = phi i64 [ 0, %4 ], [ %22, %20 ]
%9 = load ptr, ptr %5, align 8, !tbaa !12
%10 = getelementptr inbounds ptr, ptr %9, i64 %8
%11 = load ptr, ptr %10, align 8, !tbaa !13
%12 = icmp eq ptr %11, null
br i1 %12, label %20, label %13
13: ; preds = %6
%14 = getelementptr inbounds i8, ptr %11, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %13
%18 = tail call i32 @alx_free_txring_buf(i64 noundef %15) #2
%19 = load i32, ptr %0, align 8, !tbaa !6
br label %20
20: ; preds = %6, %13, %17
%21 = phi i32 [ %7, %6 ], [ %7, %13 ], [ %19, %17 ]
%22 = add nuw nsw i64 %8, 1
%23 = sext i32 %21 to i64
%24 = icmp slt i64 %22, %23
br i1 %24, label %6, label %25, !llvm.loop !17
25: ; preds = %20, %1
%26 = getelementptr inbounds i8, ptr %0, i64 8
%27 = load ptr, ptr %26, align 8, !tbaa !12
%28 = load ptr, ptr %27, align 8, !tbaa !13
%29 = icmp eq ptr %28, null
br i1 %29, label %35, label %30
30: ; preds = %25
%31 = load i64, ptr %28, align 8, !tbaa !19
%32 = icmp eq i64 %31, 0
br i1 %32, label %35, label %33
33: ; preds = %30
%34 = tail call i32 @alx_free_rxring_buf(i64 noundef %31) #2
br label %35
35: ; preds = %33, %30, %25
ret void
}
declare i32 @alx_free_txring_buf(i64 noundef) local_unnamed_addr #1
declare i32 @alx_free_rxring_buf(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 = !{!"alx_priv", !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 = !{!11, !11, i64 0}
!14 = !{!15, !16, i64 8}
!15 = !{!"TYPE_2__", !16, i64 0, !16, i64 8}
!16 = !{!"long", !9, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!15, !16, i64 0}
| linux_drivers_net_ethernet_atheros_alx_extr_main.c_alx_free_buffers |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/engine/extr_eng_table.c_int_unregister_cb.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/engine/extr_eng_table.c_int_unregister_cb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, i64, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @int_unregister_cb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @int_unregister_cb(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = tail call i32 @sk_ENGINE_find(i32 noundef %4, ptr noundef %1) #2
%6 = icmp sgt i32 %5, -1
br i1 %6, label %7, label %16
7: ; preds = %2
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
br label %9
9: ; preds = %7, %9
%10 = phi i32 [ %5, %7 ], [ %14, %9 ]
%11 = load i32, ptr %3, align 8, !tbaa !5
%12 = tail call i32 @sk_ENGINE_delete(i32 noundef %11, i32 noundef %10) #2
store i64 0, ptr %8, align 8, !tbaa !12
%13 = load i32, ptr %3, align 8, !tbaa !5
%14 = tail call i32 @sk_ENGINE_find(i32 noundef %13, ptr noundef %1) #2
%15 = icmp sgt i32 %14, -1
br i1 %15, label %9, label %16, !llvm.loop !13
16: ; preds = %9, %2
%17 = load ptr, ptr %0, align 8, !tbaa !15
%18 = icmp eq ptr %17, %1
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = tail call i32 @engine_unlocked_finish(ptr noundef %1, i32 noundef 0) #2
store ptr null, ptr %0, align 8, !tbaa !15
br label %21
21: ; preds = %19, %16
ret void
}
declare i32 @sk_ENGINE_find(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sk_ENGINE_delete(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @engine_unlocked_finish(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, !11, i64 16}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/engine/extr_eng_table.c_int_unregister_cb.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/engine/extr_eng_table.c_int_unregister_cb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @int_unregister_cb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @int_unregister_cb(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = tail call i32 @sk_ENGINE_find(i32 noundef %4, ptr noundef %1) #2
%6 = icmp sgt i32 %5, -1
br i1 %6, label %7, label %16
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %0, i64 8
br label %9
9: ; preds = %7, %9
%10 = phi i32 [ %5, %7 ], [ %14, %9 ]
%11 = load i32, ptr %3, align 8, !tbaa !6
%12 = tail call i32 @sk_ENGINE_delete(i32 noundef %11, i32 noundef %10) #2
store i64 0, ptr %8, align 8, !tbaa !13
%13 = load i32, ptr %3, align 8, !tbaa !6
%14 = tail call i32 @sk_ENGINE_find(i32 noundef %13, ptr noundef %1) #2
%15 = icmp sgt i32 %14, -1
br i1 %15, label %9, label %16, !llvm.loop !14
16: ; preds = %9, %2
%17 = load ptr, ptr %0, align 8, !tbaa !16
%18 = icmp eq ptr %17, %1
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = tail call i32 @engine_unlocked_finish(ptr noundef %1, i32 noundef 0) #2
store ptr null, ptr %0, align 8, !tbaa !16
br label %21
21: ; preds = %19, %16
ret void
}
declare i32 @sk_ENGINE_find(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sk_ENGINE_delete(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @engine_unlocked_finish(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, !12, i64 16}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !11, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!7, !8, i64 0}
| freebsd_crypto_openssl_crypto_engine_extr_eng_table.c_int_unregister_cb |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_subr_sbuf.c_sbuf_bcpy.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_subr_sbuf.c_sbuf_bcpy.c"
target datalayout = "e-m:e-p270:32:32-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 @sbuf_bcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @assert_sbuf_integrity(ptr noundef %0) #2
%5 = tail call i32 @assert_sbuf_state(ptr noundef %0, i32 noundef 0) #2
%6 = tail call i32 @sbuf_clear(ptr noundef %0) #2
%7 = tail call i32 @sbuf_bcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2
ret i32 %7
}
declare i32 @assert_sbuf_integrity(ptr noundef) local_unnamed_addr #1
declare i32 @assert_sbuf_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sbuf_clear(ptr noundef) local_unnamed_addr #1
declare i32 @sbuf_bcat(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_subr_sbuf.c_sbuf_bcpy.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_subr_sbuf.c_sbuf_bcpy.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 @sbuf_bcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @assert_sbuf_integrity(ptr noundef %0) #2
%5 = tail call i32 @assert_sbuf_state(ptr noundef %0, i32 noundef 0) #2
%6 = tail call i32 @sbuf_clear(ptr noundef %0) #2
%7 = tail call i32 @sbuf_bcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2
ret i32 %7
}
declare i32 @assert_sbuf_integrity(ptr noundef) local_unnamed_addr #1
declare i32 @assert_sbuf_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sbuf_clear(ptr noundef) local_unnamed_addr #1
declare i32 @sbuf_bcat(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| darwin-xnu_bsd_kern_extr_subr_sbuf.c_sbuf_bcpy |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_dm-snap.c_stop_merge.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_dm-snap.c_stop_merge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SHUTDOWN_MERGE = dso_local local_unnamed_addr global i32 0, align 4
@RUNNING_MERGE = dso_local local_unnamed_addr global i32 0, align 4
@wait_schedule = dso_local local_unnamed_addr global i32 0, align 4
@TASK_UNINTERRUPTIBLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @stop_merge], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @stop_merge(ptr noundef %0) #0 {
%2 = load i32, ptr @SHUTDOWN_MERGE, align 4, !tbaa !5
%3 = tail call i32 @set_bit(i32 noundef %2, ptr noundef %0) #2
%4 = load i32, ptr @RUNNING_MERGE, align 4, !tbaa !5
%5 = load i32, ptr @wait_schedule, align 4, !tbaa !5
%6 = load i32, ptr @TASK_UNINTERRUPTIBLE, align 4, !tbaa !5
%7 = tail call i32 @wait_on_bit(ptr noundef %0, i32 noundef %4, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @SHUTDOWN_MERGE, align 4, !tbaa !5
%9 = tail call i32 @clear_bit(i32 noundef %8, ptr noundef %0) #2
ret void
}
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wait_on_bit(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_dm-snap.c_stop_merge.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_dm-snap.c_stop_merge.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SHUTDOWN_MERGE = common local_unnamed_addr global i32 0, align 4
@RUNNING_MERGE = common local_unnamed_addr global i32 0, align 4
@wait_schedule = common local_unnamed_addr global i32 0, align 4
@TASK_UNINTERRUPTIBLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @stop_merge], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @stop_merge(ptr noundef %0) #0 {
%2 = load i32, ptr @SHUTDOWN_MERGE, align 4, !tbaa !6
%3 = tail call i32 @set_bit(i32 noundef %2, ptr noundef %0) #2
%4 = load i32, ptr @RUNNING_MERGE, align 4, !tbaa !6
%5 = load i32, ptr @wait_schedule, align 4, !tbaa !6
%6 = load i32, ptr @TASK_UNINTERRUPTIBLE, align 4, !tbaa !6
%7 = tail call i32 @wait_on_bit(ptr noundef %0, i32 noundef %4, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @SHUTDOWN_MERGE, align 4, !tbaa !6
%9 = tail call i32 @clear_bit(i32 noundef %8, ptr noundef %0) #2
ret void
}
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wait_on_bit(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_md_extr_dm-snap.c_stop_merge |
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-axi-clkgen.c_axi_clkgen_set_rate.c'
source_filename = "AnghaBench/linux/drivers/clk/extr_clk-axi-clkgen.c_axi_clkgen_set_rate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@MMCM_REG_CLKOUT0_1 = dso_local local_unnamed_addr global i32 0, align 4
@MMCM_REG_CLKOUT0_2 = dso_local local_unnamed_addr global i32 0, align 4
@MMCM_REG_CLK_DIV = dso_local local_unnamed_addr global i32 0, align 4
@MMCM_REG_CLK_FB1 = dso_local local_unnamed_addr global i32 0, align 4
@MMCM_REG_CLK_FB2 = dso_local local_unnamed_addr global i32 0, align 4
@MMCM_REG_LOCK1 = dso_local local_unnamed_addr global i32 0, align 4
@MMCM_REG_LOCK2 = dso_local local_unnamed_addr global i32 0, align 4
@MMCM_REG_LOCK3 = dso_local local_unnamed_addr global i32 0, align 4
@MMCM_REG_FILTER1 = dso_local local_unnamed_addr global i32 0, align 4
@MMCM_REG_FILTER2 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @axi_clkgen_set_rate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @axi_clkgen_set_rate(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = tail call ptr @clk_hw_to_axi_clkgen(ptr noundef %0) #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 4, 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
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
%12 = icmp eq i64 %2, 0
%13 = icmp eq i64 %1, 0
%14 = or i1 %13, %12
br i1 %14, label %15, label %18
15: ; preds = %3
%16 = load i32, ptr @EINVAL, align 4, !tbaa !5
%17 = sub nsw i32 0, %16
br label %99
18: ; preds = %3
%19 = call i32 @axi_clkgen_calc_params(i64 noundef %2, i64 noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%20 = load i32, ptr %4, align 4, !tbaa !5
%21 = icmp eq i32 %20, 0
%22 = load i32, ptr %6, align 4
%23 = icmp eq i32 %22, 0
%24 = select i1 %21, i1 true, i1 %23
%25 = load i32, ptr %5, align 4
%26 = icmp eq i32 %25, 0
%27 = select i1 %24, i1 true, i1 %26
br i1 %27, label %28, label %31
28: ; preds = %18
%29 = load i32, ptr @EINVAL, align 4, !tbaa !5
%30 = sub nsw i32 0, %29
br label %99
31: ; preds = %18
%32 = add i32 %25, -1
%33 = call i32 @axi_clkgen_lookup_filter(i32 noundef %32) #3
%34 = load i32, ptr %5, align 4, !tbaa !5
%35 = add i32 %34, -1
%36 = call i32 @axi_clkgen_lookup_lock(i32 noundef %35) #3
%37 = load i32, ptr %6, align 4, !tbaa !5
%38 = call i32 @axi_clkgen_calc_clk_params(i32 noundef %37, ptr noundef nonnull %10, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %7) #3
%39 = load i32, ptr @MMCM_REG_CLKOUT0_1, align 4, !tbaa !5
%40 = load i32, ptr %8, align 4, !tbaa !5
%41 = shl i32 %40, 6
%42 = load i32, ptr %10, align 4, !tbaa !5
%43 = or i32 %41, %42
%44 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %39, i32 noundef %43, i32 noundef 61439) #3
%45 = load i32, ptr @MMCM_REG_CLKOUT0_2, align 4, !tbaa !5
%46 = load i32, ptr %9, align 4, !tbaa !5
%47 = shl i32 %46, 7
%48 = load i32, ptr %7, align 4, !tbaa !5
%49 = shl i32 %48, 6
%50 = or i32 %49, %47
%51 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %45, i32 noundef %50, i32 noundef 1023) #3
%52 = load i32, ptr %4, align 4, !tbaa !5
%53 = call i32 @axi_clkgen_calc_clk_params(i32 noundef %52, ptr noundef nonnull %10, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %7) #3
%54 = load i32, ptr @MMCM_REG_CLK_DIV, align 4, !tbaa !5
%55 = load i32, ptr %9, align 4, !tbaa !5
%56 = shl i32 %55, 13
%57 = load i32, ptr %7, align 4, !tbaa !5
%58 = shl i32 %57, 12
%59 = or i32 %58, %56
%60 = load i32, ptr %8, align 4, !tbaa !5
%61 = shl i32 %60, 6
%62 = or i32 %59, %61
%63 = load i32, ptr %10, align 4, !tbaa !5
%64 = or i32 %62, %63
%65 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %54, i32 noundef %64, i32 noundef 16383) #3
%66 = load i32, ptr %5, align 4, !tbaa !5
%67 = call i32 @axi_clkgen_calc_clk_params(i32 noundef %66, ptr noundef nonnull %10, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %7) #3
%68 = load i32, ptr @MMCM_REG_CLK_FB1, align 4, !tbaa !5
%69 = load i32, ptr %8, align 4, !tbaa !5
%70 = shl i32 %69, 6
%71 = load i32, ptr %10, align 4, !tbaa !5
%72 = or i32 %70, %71
%73 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %68, i32 noundef %72, i32 noundef 61439) #3
%74 = load i32, ptr @MMCM_REG_CLK_FB2, align 4, !tbaa !5
%75 = load i32, ptr %9, align 4, !tbaa !5
%76 = shl i32 %75, 7
%77 = load i32, ptr %7, align 4, !tbaa !5
%78 = shl i32 %77, 6
%79 = or i32 %78, %76
%80 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %74, i32 noundef %79, i32 noundef 1023) #3
%81 = load i32, ptr @MMCM_REG_LOCK1, align 4, !tbaa !5
%82 = and i32 %36, 1023
%83 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %81, i32 noundef %82, i32 noundef 1023) #3
%84 = load i32, ptr @MMCM_REG_LOCK2, align 4, !tbaa !5
%85 = lshr i32 %36, 6
%86 = and i32 %85, 31744
%87 = or disjoint i32 %86, 1
%88 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %84, i32 noundef %87, i32 noundef 32767) #3
%89 = load i32, ptr @MMCM_REG_LOCK3, align 4, !tbaa !5
%90 = lshr i32 %36, 14
%91 = and i32 %90, 31744
%92 = or disjoint i32 %91, 1001
%93 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %89, i32 noundef %92, i32 noundef 32767) #3
%94 = load i32, ptr @MMCM_REG_FILTER1, align 4, !tbaa !5
%95 = ashr i32 %33, 16
%96 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %94, i32 noundef %95, i32 noundef 39168) #3
%97 = load i32, ptr @MMCM_REG_FILTER2, align 4, !tbaa !5
%98 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %97, i32 noundef %33, i32 noundef 39168) #3
br label %99
99: ; preds = %31, %28, %15
%100 = phi i32 [ %17, %15 ], [ %30, %28 ], [ 0, %31 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, 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
ret i32 %100
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @clk_hw_to_axi_clkgen(ptr noundef) local_unnamed_addr #2
declare i32 @axi_clkgen_calc_params(i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @axi_clkgen_lookup_filter(i32 noundef) local_unnamed_addr #2
declare i32 @axi_clkgen_lookup_lock(i32 noundef) local_unnamed_addr #2
declare i32 @axi_clkgen_calc_clk_params(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @axi_clkgen_mmcm_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-axi-clkgen.c_axi_clkgen_set_rate.c'
source_filename = "AnghaBench/linux/drivers/clk/extr_clk-axi-clkgen.c_axi_clkgen_set_rate.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
@MMCM_REG_CLKOUT0_1 = common local_unnamed_addr global i32 0, align 4
@MMCM_REG_CLKOUT0_2 = common local_unnamed_addr global i32 0, align 4
@MMCM_REG_CLK_DIV = common local_unnamed_addr global i32 0, align 4
@MMCM_REG_CLK_FB1 = common local_unnamed_addr global i32 0, align 4
@MMCM_REG_CLK_FB2 = common local_unnamed_addr global i32 0, align 4
@MMCM_REG_LOCK1 = common local_unnamed_addr global i32 0, align 4
@MMCM_REG_LOCK2 = common local_unnamed_addr global i32 0, align 4
@MMCM_REG_LOCK3 = common local_unnamed_addr global i32 0, align 4
@MMCM_REG_FILTER1 = common local_unnamed_addr global i32 0, align 4
@MMCM_REG_FILTER2 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @axi_clkgen_set_rate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @axi_clkgen_set_rate(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = tail call ptr @clk_hw_to_axi_clkgen(ptr noundef %0) #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 4, 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
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
%12 = icmp eq i64 %2, 0
%13 = icmp eq i64 %1, 0
%14 = or i1 %13, %12
br i1 %14, label %15, label %18
15: ; preds = %3
%16 = load i32, ptr @EINVAL, align 4, !tbaa !6
%17 = sub nsw i32 0, %16
br label %99
18: ; preds = %3
%19 = call i32 @axi_clkgen_calc_params(i64 noundef %2, i64 noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%20 = load i32, ptr %4, align 4, !tbaa !6
%21 = icmp eq i32 %20, 0
%22 = load i32, ptr %6, align 4
%23 = icmp eq i32 %22, 0
%24 = select i1 %21, i1 true, i1 %23
%25 = load i32, ptr %5, align 4
%26 = icmp eq i32 %25, 0
%27 = select i1 %24, i1 true, i1 %26
br i1 %27, label %28, label %31
28: ; preds = %18
%29 = load i32, ptr @EINVAL, align 4, !tbaa !6
%30 = sub nsw i32 0, %29
br label %99
31: ; preds = %18
%32 = add i32 %25, -1
%33 = call i32 @axi_clkgen_lookup_filter(i32 noundef %32) #3
%34 = load i32, ptr %5, align 4, !tbaa !6
%35 = add i32 %34, -1
%36 = call i32 @axi_clkgen_lookup_lock(i32 noundef %35) #3
%37 = load i32, ptr %6, align 4, !tbaa !6
%38 = call i32 @axi_clkgen_calc_clk_params(i32 noundef %37, ptr noundef nonnull %10, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %7) #3
%39 = load i32, ptr @MMCM_REG_CLKOUT0_1, align 4, !tbaa !6
%40 = load i32, ptr %8, align 4, !tbaa !6
%41 = shl i32 %40, 6
%42 = load i32, ptr %10, align 4, !tbaa !6
%43 = or i32 %41, %42
%44 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %39, i32 noundef %43, i32 noundef 61439) #3
%45 = load i32, ptr @MMCM_REG_CLKOUT0_2, align 4, !tbaa !6
%46 = load i32, ptr %9, align 4, !tbaa !6
%47 = shl i32 %46, 7
%48 = load i32, ptr %7, align 4, !tbaa !6
%49 = shl i32 %48, 6
%50 = or i32 %49, %47
%51 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %45, i32 noundef %50, i32 noundef 1023) #3
%52 = load i32, ptr %4, align 4, !tbaa !6
%53 = call i32 @axi_clkgen_calc_clk_params(i32 noundef %52, ptr noundef nonnull %10, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %7) #3
%54 = load i32, ptr @MMCM_REG_CLK_DIV, align 4, !tbaa !6
%55 = load i32, ptr %9, align 4, !tbaa !6
%56 = shl i32 %55, 13
%57 = load i32, ptr %7, align 4, !tbaa !6
%58 = shl i32 %57, 12
%59 = or i32 %58, %56
%60 = load i32, ptr %8, align 4, !tbaa !6
%61 = shl i32 %60, 6
%62 = or i32 %59, %61
%63 = load i32, ptr %10, align 4, !tbaa !6
%64 = or i32 %62, %63
%65 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %54, i32 noundef %64, i32 noundef 16383) #3
%66 = load i32, ptr %5, align 4, !tbaa !6
%67 = call i32 @axi_clkgen_calc_clk_params(i32 noundef %66, ptr noundef nonnull %10, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %7) #3
%68 = load i32, ptr @MMCM_REG_CLK_FB1, align 4, !tbaa !6
%69 = load i32, ptr %8, align 4, !tbaa !6
%70 = shl i32 %69, 6
%71 = load i32, ptr %10, align 4, !tbaa !6
%72 = or i32 %70, %71
%73 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %68, i32 noundef %72, i32 noundef 61439) #3
%74 = load i32, ptr @MMCM_REG_CLK_FB2, align 4, !tbaa !6
%75 = load i32, ptr %9, align 4, !tbaa !6
%76 = shl i32 %75, 7
%77 = load i32, ptr %7, align 4, !tbaa !6
%78 = shl i32 %77, 6
%79 = or i32 %78, %76
%80 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %74, i32 noundef %79, i32 noundef 1023) #3
%81 = load i32, ptr @MMCM_REG_LOCK1, align 4, !tbaa !6
%82 = and i32 %36, 1023
%83 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %81, i32 noundef %82, i32 noundef 1023) #3
%84 = load i32, ptr @MMCM_REG_LOCK2, align 4, !tbaa !6
%85 = lshr i32 %36, 6
%86 = and i32 %85, 31744
%87 = or disjoint i32 %86, 1
%88 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %84, i32 noundef %87, i32 noundef 32767) #3
%89 = load i32, ptr @MMCM_REG_LOCK3, align 4, !tbaa !6
%90 = lshr i32 %36, 14
%91 = and i32 %90, 31744
%92 = or disjoint i32 %91, 1001
%93 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %89, i32 noundef %92, i32 noundef 32767) #3
%94 = load i32, ptr @MMCM_REG_FILTER1, align 4, !tbaa !6
%95 = ashr i32 %33, 16
%96 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %94, i32 noundef %95, i32 noundef 39168) #3
%97 = load i32, ptr @MMCM_REG_FILTER2, align 4, !tbaa !6
%98 = call i32 @axi_clkgen_mmcm_write(ptr noundef %11, i32 noundef %97, i32 noundef %33, i32 noundef 39168) #3
br label %99
99: ; preds = %31, %28, %15
%100 = phi i32 [ %17, %15 ], [ %30, %28 ], [ 0, %31 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, 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
ret i32 %100
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @clk_hw_to_axi_clkgen(ptr noundef) local_unnamed_addr #2
declare i32 @axi_clkgen_calc_params(i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @axi_clkgen_lookup_filter(i32 noundef) local_unnamed_addr #2
declare i32 @axi_clkgen_lookup_lock(i32 noundef) local_unnamed_addr #2
declare i32 @axi_clkgen_calc_clk_params(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @axi_clkgen_mmcm_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_clk_extr_clk-axi-clkgen.c_axi_clkgen_set_rate |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/ieee80211/extr_ieee80211_softmac.c_assoc_rq_parse.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/ieee80211/extr_ieee80211_softmac.c_assoc_rq_parse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sk_buff = type { i32, i64 }
@ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @assoc_rq_parse(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.sk_buff, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = inttoptr i64 %4 to ptr
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = load i32, ptr @ETH_ALEN, align 4, !tbaa !14
%8 = tail call i32 @memcpy(ptr noundef %1, i32 noundef %6, i32 noundef %7) #2
ret i32 0
}
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"sk_buff", !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 = !{!12, !7, i64 0}
!12 = !{!"ieee80211_assoc_request_frame", !13, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
!14 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/ieee80211/extr_ieee80211_softmac.c_assoc_rq_parse.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/ieee80211/extr_ieee80211_softmac.c_assoc_rq_parse.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETH_ALEN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @assoc_rq_parse(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = inttoptr i64 %4 to ptr
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = load i32, ptr @ETH_ALEN, align 4, !tbaa !15
%8 = tail call i32 @memcpy(ptr noundef %1, i32 noundef %6, i32 noundef %7) #2
ret i32 0
}
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"sk_buff", !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 = !{!13, !8, i64 0}
!13 = !{!"ieee80211_assoc_request_frame", !14, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
!15 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_staging_rtl8192e_ieee80211_extr_ieee80211_softmac.c_assoc_rq_parse |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/coda/extr_coda-jpeg.c_coda_set_jpeg_compression_quality.c'
source_filename = "AnghaBench/linux/drivers/media/platform/coda/extr_coda-jpeg.c_coda_set_jpeg_compression_quality.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, ptr }
@luma_q = dso_local local_unnamed_addr global i32 0, align 4
@chroma_q = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @coda_set_jpeg_compression_quality(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
store i32 %1, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @llvm.smin.i32(i32 %1, i32 100)
%4 = tail call i32 @llvm.smax.i32(i32 %3, i32 5)
%5 = icmp slt i32 %1, 50
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = trunc i32 %4 to i16
%8 = udiv i16 5000, %7
%9 = zext nneg i16 %8 to i32
br label %13
10: ; preds = %2
%11 = shl nuw nsw i32 %4, 1
%12 = sub nuw nsw i32 200, %11
br label %13
13: ; preds = %10, %6
%14 = phi i32 [ %9, %6 ], [ %12, %10 ]
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%16 = load ptr, ptr %15, align 8, !tbaa !12
%17 = load i64, ptr %16, align 8, !tbaa !13
%18 = icmp eq i64 %17, 0
br i1 %18, label %26, label %19
19: ; preds = %13
%20 = load i32, ptr @luma_q, align 4, !tbaa !15
%21 = tail call i32 @memcpy(i64 noundef %17, i32 noundef %20, i32 noundef 64) #3
%22 = load ptr, ptr %15, align 8, !tbaa !12
%23 = load i64, ptr %22, align 8, !tbaa !13
%24 = tail call i32 @coda_scale_quant_table(i64 noundef %23, i32 noundef %14) #3
%25 = load ptr, ptr %15, align 8, !tbaa !12
br label %26
26: ; preds = %19, %13
%27 = phi ptr [ %25, %19 ], [ %16, %13 ]
%28 = getelementptr inbounds i64, ptr %27, i64 1
%29 = load i64, ptr %28, align 8, !tbaa !13
%30 = icmp eq i64 %29, 0
br i1 %30, label %38, label %31
31: ; preds = %26
%32 = load i32, ptr @chroma_q, align 4, !tbaa !15
%33 = tail call i32 @memcpy(i64 noundef %29, i32 noundef %32, i32 noundef 64) #3
%34 = load ptr, ptr %15, align 8, !tbaa !12
%35 = getelementptr inbounds i64, ptr %34, i64 1
%36 = load i64, ptr %35, align 8, !tbaa !13
%37 = tail call i32 @coda_scale_quant_table(i64 noundef %36, i32 noundef %14) #3
br label %38
38: ; preds = %31, %26
ret void
}
declare i32 @memcpy(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @coda_scale_quant_table(i64 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.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, !8, i64 0}
!6 = !{!"coda_ctx", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!6, !11, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/coda/extr_coda-jpeg.c_coda_set_jpeg_compression_quality.c'
source_filename = "AnghaBench/linux/drivers/media/platform/coda/extr_coda-jpeg.c_coda_set_jpeg_compression_quality.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@luma_q = common local_unnamed_addr global i32 0, align 4
@chroma_q = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @coda_set_jpeg_compression_quality(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
store i32 %1, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @llvm.smin.i32(i32 %1, i32 100)
%4 = tail call i32 @llvm.smax.i32(i32 %3, i32 5)
%5 = icmp slt i32 %1, 50
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = trunc nuw nsw i32 %4 to i16
%8 = udiv i16 5000, %7
%9 = zext nneg i16 %8 to i32
br label %13
10: ; preds = %2
%11 = shl nuw nsw i32 %4, 1
%12 = sub nuw nsw i32 200, %11
br label %13
13: ; preds = %10, %6
%14 = phi i32 [ %9, %6 ], [ %12, %10 ]
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = load ptr, ptr %15, align 8, !tbaa !13
%17 = load i64, ptr %16, align 8, !tbaa !14
%18 = icmp eq i64 %17, 0
br i1 %18, label %26, label %19
19: ; preds = %13
%20 = load i32, ptr @luma_q, align 4, !tbaa !16
%21 = tail call i32 @memcpy(i64 noundef %17, i32 noundef %20, i32 noundef 64) #3
%22 = load ptr, ptr %15, align 8, !tbaa !13
%23 = load i64, ptr %22, align 8, !tbaa !14
%24 = tail call i32 @coda_scale_quant_table(i64 noundef %23, i32 noundef %14) #3
%25 = load ptr, ptr %15, align 8, !tbaa !13
br label %26
26: ; preds = %19, %13
%27 = phi ptr [ %25, %19 ], [ %16, %13 ]
%28 = getelementptr inbounds i8, ptr %27, i64 8
%29 = load i64, ptr %28, align 8, !tbaa !14
%30 = icmp eq i64 %29, 0
br i1 %30, label %38, label %31
31: ; preds = %26
%32 = load i32, ptr @chroma_q, align 4, !tbaa !16
%33 = tail call i32 @memcpy(i64 noundef %29, i32 noundef %32, i32 noundef 64) #3
%34 = load ptr, ptr %15, align 8, !tbaa !13
%35 = getelementptr inbounds i8, ptr %34, i64 8
%36 = load i64, ptr %35, align 8, !tbaa !14
%37 = tail call i32 @coda_scale_quant_table(i64 noundef %36, i32 noundef %14) #3
br label %38
38: ; preds = %31, %26
ret void
}
declare i32 @memcpy(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @coda_scale_quant_table(i64 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.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, !9, i64 0}
!7 = !{!"coda_ctx", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!7, !12, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !10, i64 0}
!16 = !{!9, !9, i64 0}
| linux_drivers_media_platform_coda_extr_coda-jpeg.c_coda_set_jpeg_compression_quality |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igbvf/extr_vf.c_e1000_read_mac_addr_vf.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igbvf/extr_vf.c_e1000_read_mac_addr_vf.c"
target datalayout = "e-m:e-p270:32:32-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 }
@ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4
@E1000_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_read_mac_addr_vf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @e1000_read_mac_addr_vf(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !11
%5 = load i32, ptr @ETH_ALEN, align 4, !tbaa !12
%6 = tail call i32 @memcpy(i32 noundef %3, i32 noundef %4, i32 noundef %5) #2
%7 = load i32, ptr @E1000_SUCCESS, align 4, !tbaa !12
ret i32 %7
}
declare i32 @memcpy(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, !8, i64 4}
!6 = !{!"e1000_hw", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!6, !8, i64 0}
!12 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igbvf/extr_vf.c_e1000_read_mac_addr_vf.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igbvf/extr_vf.c_e1000_read_mac_addr_vf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETH_ALEN = common local_unnamed_addr global i32 0, align 4
@E1000_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @e1000_read_mac_addr_vf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @e1000_read_mac_addr_vf(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !12
%5 = load i32, ptr @ETH_ALEN, align 4, !tbaa !13
%6 = tail call i32 @memcpy(i32 noundef %3, i32 noundef %4, i32 noundef %5) #2
%7 = load i32, ptr @E1000_SUCCESS, align 4, !tbaa !13
ret i32 %7
}
declare i32 @memcpy(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, !9, i64 4}
!7 = !{!"e1000_hw", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!7, !9, i64 0}
!13 = !{!9, !9, i64 0}
| linux_drivers_net_ethernet_intel_igbvf_extr_vf.c_e1000_read_mac_addr_vf |
; ModuleID = 'AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_config.c_mpt3sas_config_get_enclosure_pg0.c'
source_filename = "AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_config.c_mpt3sas_config_get_enclosure_pg0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, i32, %struct.TYPE_5__, i32, i32 }
%struct.TYPE_5__ = type { i32, i64, i32 }
@MPI2_FUNCTION_CONFIG = dso_local local_unnamed_addr global i32 0, align 4
@MPI2_CONFIG_ACTION_PAGE_HEADER = dso_local local_unnamed_addr global i32 0, align 4
@MPI2_CONFIG_PAGETYPE_EXTENDED = dso_local local_unnamed_addr global i32 0, align 4
@MPI2_CONFIG_EXTPAGETYPE_ENCLOSURE = dso_local local_unnamed_addr global i32 0, align 4
@MPI2_SASENCLOSURE0_PAGEVERSION = dso_local local_unnamed_addr global i32 0, align 4
@MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@MPI2_CONFIG_ACTION_PAGE_READ_CURRENT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mpt3sas_config_get_enclosure_pg0(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = alloca %struct.TYPE_6__, align 8
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #3
%7 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 48) #3
%8 = load i32, ptr @MPI2_FUNCTION_CONFIG, align 4, !tbaa !5
%9 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 5
store i32 %8, ptr %9, align 4, !tbaa !9
%10 = load i32, ptr @MPI2_CONFIG_ACTION_PAGE_HEADER, align 4, !tbaa !5
store i32 %10, ptr %6, align 8, !tbaa !13
%11 = load i32, ptr @MPI2_CONFIG_PAGETYPE_EXTENDED, align 4, !tbaa !5
%12 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 3
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 3, i32 2
store i32 %11, ptr %13, align 8, !tbaa !14
%14 = load i32, ptr @MPI2_CONFIG_EXTPAGETYPE_ENCLOSURE, align 4, !tbaa !5
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 4
store i32 %14, ptr %15, align 8, !tbaa !15
%16 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 3, i32 1
store i64 0, ptr %16, align 8, !tbaa !16
%17 = load i32, ptr @MPI2_SASENCLOSURE0_PAGEVERSION, align 4, !tbaa !5
store i32 %17, ptr %12, align 8, !tbaa !17
%18 = load ptr, ptr %0, align 8, !tbaa !18
%19 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 2
%20 = call i32 %18(ptr noundef nonnull %0, ptr noundef nonnull %19) #3
%21 = load i32, ptr @MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, align 4, !tbaa !5
%22 = call i32 @_config_request(ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef %1, i32 noundef %21, ptr noundef null, i32 noundef 0) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %31
24: ; preds = %5
%25 = or i32 %4, %3
%26 = call i32 @cpu_to_le32(i32 noundef %25) #3
%27 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 1
store i32 %26, ptr %27, align 4, !tbaa !21
%28 = load i32, ptr @MPI2_CONFIG_ACTION_PAGE_READ_CURRENT, align 4, !tbaa !5
store i32 %28, ptr %6, align 8, !tbaa !13
%29 = load i32, ptr @MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, align 4, !tbaa !5
%30 = call i32 @_config_request(ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef %1, i32 noundef %29, ptr noundef %2, i32 noundef 4) #3
br label %31
31: ; preds = %5, %24
%32 = phi i32 [ %22, %5 ], [ %30, %24 ]
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #3
ret i32 %32
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_config_request(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cpu_to_le32(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 44}
!10 = !{!"TYPE_6__", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16, !6, i64 40, !6, i64 44}
!11 = !{!"TYPE_5__", !6, i64 0, !12, i64 8, !6, i64 16}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !6, i64 0}
!14 = !{!10, !6, i64 32}
!15 = !{!10, !6, i64 40}
!16 = !{!10, !12, i64 24}
!17 = !{!10, !6, i64 16}
!18 = !{!19, !20, i64 0}
!19 = !{!"MPT3SAS_ADAPTER", !20, i64 0}
!20 = !{!"any pointer", !7, i64 0}
!21 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_config.c_mpt3sas_config_get_enclosure_pg0.c'
source_filename = "AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_config.c_mpt3sas_config_get_enclosure_pg0.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, i32, i32, %struct.TYPE_5__, i32, i32 }
%struct.TYPE_5__ = type { i32, i64, i32 }
@MPI2_FUNCTION_CONFIG = common local_unnamed_addr global i32 0, align 4
@MPI2_CONFIG_ACTION_PAGE_HEADER = common local_unnamed_addr global i32 0, align 4
@MPI2_CONFIG_PAGETYPE_EXTENDED = common local_unnamed_addr global i32 0, align 4
@MPI2_CONFIG_EXTPAGETYPE_ENCLOSURE = common local_unnamed_addr global i32 0, align 4
@MPI2_SASENCLOSURE0_PAGEVERSION = common local_unnamed_addr global i32 0, align 4
@MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@MPI2_CONFIG_ACTION_PAGE_READ_CURRENT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @mpt3sas_config_get_enclosure_pg0(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = alloca %struct.TYPE_6__, align 8
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #3
%7 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 48) #3
%8 = load i32, ptr @MPI2_FUNCTION_CONFIG, align 4, !tbaa !6
%9 = getelementptr inbounds i8, ptr %6, i64 44
store i32 %8, ptr %9, align 4, !tbaa !10
%10 = load i32, ptr @MPI2_CONFIG_ACTION_PAGE_HEADER, align 4, !tbaa !6
store i32 %10, ptr %6, align 8, !tbaa !14
%11 = load i32, ptr @MPI2_CONFIG_PAGETYPE_EXTENDED, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %6, i64 16
%13 = getelementptr inbounds i8, ptr %6, i64 32
store i32 %11, ptr %13, align 8, !tbaa !15
%14 = load i32, ptr @MPI2_CONFIG_EXTPAGETYPE_ENCLOSURE, align 4, !tbaa !6
%15 = getelementptr inbounds i8, ptr %6, i64 40
store i32 %14, ptr %15, align 8, !tbaa !16
%16 = getelementptr inbounds i8, ptr %6, i64 24
store i64 0, ptr %16, align 8, !tbaa !17
%17 = load i32, ptr @MPI2_SASENCLOSURE0_PAGEVERSION, align 4, !tbaa !6
store i32 %17, ptr %12, align 8, !tbaa !18
%18 = load ptr, ptr %0, align 8, !tbaa !19
%19 = getelementptr inbounds i8, ptr %6, i64 8
%20 = call i32 %18(ptr noundef nonnull %0, ptr noundef nonnull %19) #3
%21 = load i32, ptr @MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, align 4, !tbaa !6
%22 = call i32 @_config_request(ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef %1, i32 noundef %21, ptr noundef null, i32 noundef 0) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %31
24: ; preds = %5
%25 = or i32 %4, %3
%26 = call i32 @cpu_to_le32(i32 noundef %25) #3
%27 = getelementptr inbounds i8, ptr %6, i64 4
store i32 %26, ptr %27, align 4, !tbaa !22
%28 = load i32, ptr @MPI2_CONFIG_ACTION_PAGE_READ_CURRENT, align 4, !tbaa !6
store i32 %28, ptr %6, align 8, !tbaa !14
%29 = load i32, ptr @MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, align 4, !tbaa !6
%30 = call i32 @_config_request(ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef %1, i32 noundef %29, ptr noundef %2, i32 noundef 4) #3
br label %31
31: ; preds = %5, %24
%32 = phi i32 [ %22, %5 ], [ %30, %24 ]
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #3
ret i32 %32
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_config_request(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cpu_to_le32(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 44}
!11 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !7, i64 40, !7, i64 44}
!12 = !{!"TYPE_5__", !7, i64 0, !13, i64 8, !7, i64 16}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !7, i64 0}
!15 = !{!11, !7, i64 32}
!16 = !{!11, !7, i64 40}
!17 = !{!11, !13, i64 24}
!18 = !{!11, !7, i64 16}
!19 = !{!20, !21, i64 0}
!20 = !{!"MPT3SAS_ADAPTER", !21, i64 0}
!21 = !{!"any pointer", !8, i64 0}
!22 = !{!11, !7, i64 4}
| linux_drivers_scsi_mpt3sas_extr_mpt3sas_config.c_mpt3sas_config_get_enclosure_pg0 |
; ModuleID = 'AnghaBench/mjolnir/Mjolnir/lua/extr_lua.c_docall.c'
source_filename = "AnghaBench/mjolnir/Mjolnir/lua/extr_lua.c_docall.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@msghandler = dso_local local_unnamed_addr global i32 0, align 4
@globalL = dso_local local_unnamed_addr global ptr null, align 8
@SIGINT = dso_local local_unnamed_addr global i32 0, align 4
@laction = dso_local local_unnamed_addr global i32 0, align 4
@SIG_DFL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @docall], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @docall(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @lua_gettop(ptr noundef %0) #2
%5 = sub nsw i32 %4, %1
%6 = load i32, ptr @msghandler, align 4, !tbaa !5
%7 = tail call i32 @lua_pushcfunction(ptr noundef %0, i32 noundef %6) #2
%8 = tail call i32 @lua_insert(ptr noundef %0, i32 noundef %5) #2
store ptr %0, ptr @globalL, align 8, !tbaa !9
%9 = load i32, ptr @SIGINT, align 4, !tbaa !5
%10 = load i32, ptr @laction, align 4, !tbaa !5
%11 = tail call i32 @signal(i32 noundef %9, i32 noundef %10) #2
%12 = tail call i32 @lua_pcall(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %5) #2
%13 = load i32, ptr @SIGINT, align 4, !tbaa !5
%14 = load i32, ptr @SIG_DFL, align 4, !tbaa !5
%15 = tail call i32 @signal(i32 noundef %13, i32 noundef %14) #2
%16 = tail call i32 @lua_remove(ptr noundef %0, i32 noundef %5) #2
ret i32 %12
}
declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #1
declare i32 @lua_pushcfunction(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_insert(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @signal(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pcall(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_remove(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/mjolnir/Mjolnir/lua/extr_lua.c_docall.c'
source_filename = "AnghaBench/mjolnir/Mjolnir/lua/extr_lua.c_docall.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@msghandler = common local_unnamed_addr global i32 0, align 4
@globalL = common local_unnamed_addr global ptr null, align 8
@SIGINT = common local_unnamed_addr global i32 0, align 4
@laction = common local_unnamed_addr global i32 0, align 4
@SIG_DFL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @docall], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @docall(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @lua_gettop(ptr noundef %0) #2
%5 = sub nsw i32 %4, %1
%6 = load i32, ptr @msghandler, align 4, !tbaa !6
%7 = tail call i32 @lua_pushcfunction(ptr noundef %0, i32 noundef %6) #2
%8 = tail call i32 @lua_insert(ptr noundef %0, i32 noundef %5) #2
store ptr %0, ptr @globalL, align 8, !tbaa !10
%9 = load i32, ptr @SIGINT, align 4, !tbaa !6
%10 = load i32, ptr @laction, align 4, !tbaa !6
%11 = tail call i32 @signal(i32 noundef %9, i32 noundef %10) #2
%12 = tail call i32 @lua_pcall(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %5) #2
%13 = load i32, ptr @SIGINT, align 4, !tbaa !6
%14 = load i32, ptr @SIG_DFL, align 4, !tbaa !6
%15 = tail call i32 @signal(i32 noundef %13, i32 noundef %14) #2
%16 = tail call i32 @lua_remove(ptr noundef %0, i32 noundef %5) #2
ret i32 %12
}
declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #1
declare i32 @lua_pushcfunction(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_insert(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @signal(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pcall(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_remove(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| mjolnir_Mjolnir_lua_extr_lua.c_docall |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v9.c_acquire_queue.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v9.c_acquire_queue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @acquire_queue], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @acquire_queue(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @get_amdgpu_device(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = sdiv i32 %1, %5
%7 = add nsw i32 %6, 1
%8 = srem i32 %1, %5
%9 = tail call i32 @lock_srbm(ptr noundef %0, i32 noundef %7, i32 noundef %8, i32 noundef %2, i32 noundef 0) #2
ret void
}
declare ptr @get_amdgpu_device(ptr noundef) local_unnamed_addr #1
declare i32 @lock_srbm(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, !9, i64 0}
!6 = !{!"amdgpu_device", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v9.c_acquire_queue.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v9.c_acquire_queue.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @acquire_queue], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @acquire_queue(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @get_amdgpu_device(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = freeze i32 %5
%7 = sdiv i32 %1, %6
%8 = add nsw i32 %7, 1
%9 = mul i32 %7, %6
%10 = sub i32 %1, %9
%11 = tail call i32 @lock_srbm(ptr noundef %0, i32 noundef %8, i32 noundef %10, i32 noundef %2, i32 noundef 0) #2
ret void
}
declare ptr @get_amdgpu_device(ptr noundef) local_unnamed_addr #1
declare i32 @lock_srbm(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, !10, i64 0}
!7 = !{!"amdgpu_device", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_amd_amdgpu_extr_amdgpu_amdkfd_gfx_v9.c_acquire_queue |
; ModuleID = 'AnghaBench/postgres/src/pl/plpython/extr_plpy_typeio.c_PLy_input_setup_tuple.c'
source_filename = "AnghaBench/postgres/src/pl/plpython/extr_plpy_typeio.c_PLy_input_setup_tuple.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_15__ = type { i64, i64, i64, i32, %struct.TYPE_13__ }
%struct.TYPE_13__ = type { %struct.TYPE_12__ }
%struct.TYPE_12__ = type { i32, ptr, ptr }
%struct.TYPE_16__ = type { i64, i64, i64 }
@PLyDict_FromComposite = dso_local local_unnamed_addr global i64 0, align 8
@RECORDOID = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @PLy_input_setup_tuple(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr @PLyDict_FromComposite, align 8, !tbaa !14
%6 = icmp eq i64 %4, %5
%7 = zext i1 %6 to i32
%8 = tail call i32 @Assert(i32 noundef %7) #2
%9 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 1
%10 = load i64, ptr %9, align 8, !tbaa !15
%11 = load i64, ptr @RECORDOID, align 8, !tbaa !14
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %19
13: ; preds = %3
%14 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 2
%15 = load i64, ptr %14, align 8, !tbaa !16
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 4, i32 0, i32 2
store ptr %1, ptr %18, align 8, !tbaa !17
br label %19
19: ; preds = %17, %13, %3
%20 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 4
%21 = load i32, ptr %20, align 8, !tbaa !18
%22 = load i32, ptr %1, align 4, !tbaa !19
%23 = icmp eq i32 %21, %22
br i1 %23, label %39, label %24
24: ; preds = %19
%25 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 4, i32 0, i32 1
%26 = load ptr, ptr %25, align 8, !tbaa !21
%27 = icmp eq ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = tail call i32 @pfree(ptr noundef nonnull %26) #2
%30 = load i32, ptr %1, align 4, !tbaa !19
br label %31
31: ; preds = %28, %24
%32 = phi i32 [ %30, %28 ], [ %22, %24 ]
store i32 %32, ptr %20, align 8, !tbaa !18
%33 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 3
%34 = load i32, ptr %33, align 8, !tbaa !22
%35 = mul i32 %32, 56
%36 = tail call i64 @MemoryContextAllocZero(i32 noundef %34, i32 noundef %35) #2
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %25, align 8, !tbaa !21
%38 = load i32, ptr %1, align 4, !tbaa !19
br label %39
39: ; preds = %31, %19
%40 = phi i32 [ %38, %31 ], [ %21, %19 ]
%41 = icmp sgt i32 %40, 0
br i1 %41, label %42, label %77
42: ; preds = %39
%43 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 4, i32 0, i32 1
%44 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 3
br label %45
45: ; preds = %42, %72
%46 = phi i64 [ 0, %42 ], [ %73, %72 ]
%47 = trunc i64 %46 to i32
%48 = tail call ptr @TupleDescAttr(ptr noundef nonnull %1, i32 noundef %47) #2
%49 = load ptr, ptr %43, align 8, !tbaa !21
%50 = getelementptr inbounds %struct.TYPE_15__, ptr %49, i64 %46
%51 = getelementptr inbounds %struct.TYPE_16__, ptr %48, i64 0, i32 2
%52 = load i64, ptr %51, align 8, !tbaa !23
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %72
54: ; preds = %45
%55 = getelementptr inbounds %struct.TYPE_15__, ptr %49, i64 %46, i32 1
%56 = load i64, ptr %55, align 8, !tbaa !15
%57 = load i64, ptr %48, align 8, !tbaa !25
%58 = icmp eq i64 %56, %57
br i1 %58, label %62, label %59
59: ; preds = %54
%60 = getelementptr inbounds %struct.TYPE_16__, ptr %48, i64 0, i32 1
%61 = load i64, ptr %60, align 8, !tbaa !26
br label %68
62: ; preds = %54
%63 = getelementptr inbounds %struct.TYPE_15__, ptr %49, i64 %46, i32 2
%64 = load i64, ptr %63, align 8, !tbaa !16
%65 = getelementptr inbounds %struct.TYPE_16__, ptr %48, i64 0, i32 1
%66 = load i64, ptr %65, align 8, !tbaa !26
%67 = icmp eq i64 %64, %66
br i1 %67, label %72, label %68
68: ; preds = %59, %62
%69 = phi i64 [ %61, %59 ], [ %66, %62 ]
%70 = load i32, ptr %44, align 8, !tbaa !22
%71 = tail call i32 @PLy_input_setup_func(ptr noundef nonnull %50, i32 noundef %70, i64 noundef %57, i64 noundef %69, ptr noundef %2) #2
br label %72
72: ; preds = %62, %45, %68
%73 = add nuw nsw i64 %46, 1
%74 = load i32, ptr %1, align 4, !tbaa !19
%75 = sext i32 %74 to i64
%76 = icmp slt i64 %73, %75
br i1 %76, label %45, label %77, !llvm.loop !27
77: ; preds = %72, %39
ret void
}
declare i32 @Assert(i32 noundef) local_unnamed_addr #1
declare i32 @pfree(ptr noundef) local_unnamed_addr #1
declare i64 @MemoryContextAllocZero(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @TupleDescAttr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLy_input_setup_func(ptr noundef, i32 noundef, i64 noundef, i64 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_15__", !7, i64 0, !7, 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 = !{!"TYPE_13__", !12, i64 0}
!12 = !{!"TYPE_12__", !10, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 8}
!16 = !{!6, !7, i64 16}
!17 = !{!6, !13, i64 48}
!18 = !{!6, !10, i64 32}
!19 = !{!20, !10, i64 0}
!20 = !{!"TYPE_14__", !10, i64 0}
!21 = !{!6, !13, i64 40}
!22 = !{!6, !10, i64 24}
!23 = !{!24, !7, i64 16}
!24 = !{!"TYPE_16__", !7, i64 0, !7, i64 8, !7, i64 16}
!25 = !{!24, !7, i64 0}
!26 = !{!24, !7, i64 8}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/postgres/src/pl/plpython/extr_plpy_typeio.c_PLy_input_setup_tuple.c'
source_filename = "AnghaBench/postgres/src/pl/plpython/extr_plpy_typeio.c_PLy_input_setup_tuple.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_15__ = type { i64, i64, i64, i32, %struct.TYPE_13__ }
%struct.TYPE_13__ = type { %struct.TYPE_12__ }
%struct.TYPE_12__ = type { i32, ptr, ptr }
@PLyDict_FromComposite = common local_unnamed_addr global i64 0, align 8
@RECORDOID = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @PLy_input_setup_tuple(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr @PLyDict_FromComposite, align 8, !tbaa !15
%6 = icmp eq i64 %4, %5
%7 = zext i1 %6 to i32
%8 = tail call i32 @Assert(i32 noundef %7) #2
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load i64, ptr %9, align 8, !tbaa !16
%11 = load i64, ptr @RECORDOID, align 8, !tbaa !15
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %19
13: ; preds = %3
%14 = getelementptr inbounds i8, ptr %0, i64 16
%15 = load i64, ptr %14, align 8, !tbaa !17
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = getelementptr inbounds i8, ptr %0, i64 48
store ptr %1, ptr %18, align 8, !tbaa !18
br label %19
19: ; preds = %17, %13, %3
%20 = getelementptr inbounds i8, ptr %0, i64 32
%21 = load i32, ptr %20, align 8, !tbaa !19
%22 = load i32, ptr %1, align 4, !tbaa !20
%23 = icmp eq i32 %21, %22
br i1 %23, label %39, label %24
24: ; preds = %19
%25 = getelementptr inbounds i8, ptr %0, i64 40
%26 = load ptr, ptr %25, align 8, !tbaa !22
%27 = icmp eq ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = tail call i32 @pfree(ptr noundef nonnull %26) #2
%30 = load i32, ptr %1, align 4, !tbaa !20
br label %31
31: ; preds = %28, %24
%32 = phi i32 [ %30, %28 ], [ %22, %24 ]
store i32 %32, ptr %20, align 8, !tbaa !19
%33 = getelementptr inbounds i8, ptr %0, i64 24
%34 = load i32, ptr %33, align 8, !tbaa !23
%35 = mul i32 %32, 56
%36 = tail call i64 @MemoryContextAllocZero(i32 noundef %34, i32 noundef %35) #2
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %25, align 8, !tbaa !22
%38 = load i32, ptr %1, align 4, !tbaa !20
br label %39
39: ; preds = %31, %19
%40 = phi i32 [ %38, %31 ], [ %21, %19 ]
%41 = icmp sgt i32 %40, 0
br i1 %41, label %42, label %77
42: ; preds = %39
%43 = getelementptr inbounds i8, ptr %0, i64 40
%44 = getelementptr inbounds i8, ptr %0, i64 24
br label %45
45: ; preds = %42, %72
%46 = phi i64 [ 0, %42 ], [ %73, %72 ]
%47 = trunc nuw nsw i64 %46 to i32
%48 = tail call ptr @TupleDescAttr(ptr noundef nonnull %1, i32 noundef %47) #2
%49 = load ptr, ptr %43, align 8, !tbaa !22
%50 = getelementptr inbounds %struct.TYPE_15__, ptr %49, i64 %46
%51 = getelementptr inbounds i8, ptr %48, i64 16
%52 = load i64, ptr %51, align 8, !tbaa !24
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %72
54: ; preds = %45
%55 = getelementptr inbounds i8, ptr %50, i64 8
%56 = load i64, ptr %55, align 8, !tbaa !16
%57 = load i64, ptr %48, align 8, !tbaa !26
%58 = icmp eq i64 %56, %57
br i1 %58, label %62, label %59
59: ; preds = %54
%60 = getelementptr inbounds i8, ptr %48, i64 8
%61 = load i64, ptr %60, align 8, !tbaa !27
br label %68
62: ; preds = %54
%63 = getelementptr inbounds i8, ptr %50, i64 16
%64 = load i64, ptr %63, align 8, !tbaa !17
%65 = getelementptr inbounds i8, ptr %48, i64 8
%66 = load i64, ptr %65, align 8, !tbaa !27
%67 = icmp eq i64 %64, %66
br i1 %67, label %72, label %68
68: ; preds = %59, %62
%69 = phi i64 [ %61, %59 ], [ %66, %62 ]
%70 = load i32, ptr %44, align 8, !tbaa !23
%71 = tail call i32 @PLy_input_setup_func(ptr noundef nonnull %50, i32 noundef %70, i64 noundef %57, i64 noundef %69, ptr noundef %2) #2
br label %72
72: ; preds = %62, %45, %68
%73 = add nuw nsw i64 %46, 1
%74 = load i32, ptr %1, align 4, !tbaa !20
%75 = sext i32 %74 to i64
%76 = icmp slt i64 %73, %75
br i1 %76, label %45, label %77, !llvm.loop !28
77: ; preds = %72, %39
ret void
}
declare i32 @Assert(i32 noundef) local_unnamed_addr #1
declare i32 @pfree(ptr noundef) local_unnamed_addr #1
declare i64 @MemoryContextAllocZero(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @TupleDescAttr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PLy_input_setup_func(ptr noundef, i32 noundef, i64 noundef, i64 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_15__", !8, i64 0, !8, 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 = !{!"TYPE_13__", !13, i64 0}
!13 = !{!"TYPE_12__", !11, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 8}
!17 = !{!7, !8, i64 16}
!18 = !{!7, !14, i64 48}
!19 = !{!7, !11, i64 32}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_14__", !11, i64 0}
!22 = !{!7, !14, i64 40}
!23 = !{!7, !11, i64 24}
!24 = !{!25, !8, i64 16}
!25 = !{!"TYPE_16__", !8, i64 0, !8, i64 8, !8, i64 16}
!26 = !{!25, !8, i64 0}
!27 = !{!25, !8, i64 8}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
| postgres_src_pl_plpython_extr_plpy_typeio.c_PLy_input_setup_tuple |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_asr_16_pd.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_asr_16_pd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FLAG_N = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4
@VFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_V = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_X = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_C = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @m68k_op_asr_16_pd() local_unnamed_addr #0 {
%1 = tail call i32 (...) @EA_AY_PD_16() #2
%2 = tail call i32 @m68ki_read_16(i32 noundef %1) #2
%3 = ashr i32 %2, 1
%4 = tail call i64 @GET_MSB_16(i32 noundef %2) #2
%5 = icmp eq i64 %4, 0
%6 = or i32 %3, 32768
%7 = select i1 %5, i32 %3, i32 %6
%8 = tail call i32 @m68ki_write_16(i32 noundef %1, i32 noundef %7) #2
%9 = tail call i32 @NFLAG_16(i32 noundef %7) #2
store i32 %9, ptr @FLAG_N, align 4, !tbaa !5
store i32 %7, ptr @FLAG_Z, align 4, !tbaa !5
%10 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !5
store i32 %10, ptr @FLAG_V, align 4, !tbaa !5
%11 = shl i32 %2, 8
store i32 %11, ptr @FLAG_X, align 4, !tbaa !5
store i32 %11, ptr @FLAG_C, align 4, !tbaa !5
ret void
}
declare i32 @EA_AY_PD_16(...) local_unnamed_addr #1
declare i32 @m68ki_read_16(i32 noundef) local_unnamed_addr #1
declare i64 @GET_MSB_16(i32 noundef) local_unnamed_addr #1
declare i32 @m68ki_write_16(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NFLAG_16(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/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_asr_16_pd.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_asr_16_pd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FLAG_N = common local_unnamed_addr global i32 0, align 4
@FLAG_Z = common local_unnamed_addr global i32 0, align 4
@VFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4
@FLAG_V = common local_unnamed_addr global i32 0, align 4
@FLAG_X = common local_unnamed_addr global i32 0, align 4
@FLAG_C = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @m68k_op_asr_16_pd() local_unnamed_addr #0 {
%1 = tail call i32 @EA_AY_PD_16() #2
%2 = tail call i32 @m68ki_read_16(i32 noundef %1) #2
%3 = ashr i32 %2, 1
%4 = tail call i64 @GET_MSB_16(i32 noundef %2) #2
%5 = icmp eq i64 %4, 0
%6 = or i32 %3, 32768
%7 = select i1 %5, i32 %3, i32 %6
%8 = tail call i32 @m68ki_write_16(i32 noundef %1, i32 noundef %7) #2
%9 = tail call i32 @NFLAG_16(i32 noundef %7) #2
store i32 %9, ptr @FLAG_N, align 4, !tbaa !6
store i32 %7, ptr @FLAG_Z, align 4, !tbaa !6
%10 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !6
store i32 %10, ptr @FLAG_V, align 4, !tbaa !6
%11 = shl i32 %2, 8
store i32 %11, ptr @FLAG_X, align 4, !tbaa !6
store i32 %11, ptr @FLAG_C, align 4, !tbaa !6
ret void
}
declare i32 @EA_AY_PD_16(...) local_unnamed_addr #1
declare i32 @m68ki_read_16(i32 noundef) local_unnamed_addr #1
declare i64 @GET_MSB_16(i32 noundef) local_unnamed_addr #1
declare i32 @m68ki_write_16(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NFLAG_16(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_Yabause_yabause_src_musashi_extr_m68kopac.c_m68k_op_asr_16_pd |
; ModuleID = 'AnghaBench/tig/src/extr_options.c_option_color_command.c'
source_filename = "AnghaBench/tig/src/extr_options.c_option_color_command.c"
target datalayout = "e-m:e-p270:32:32-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.line_rule = type { i32, i32 }
%struct.line_info = type { i32, i32, i32 }
@.str = private unnamed_addr constant [58 x i8] c"Invalid color mapping: color area fgcolor bgcolor [attrs]\00", align 1
@SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@option_color_command.obsolete = internal global [24 x [2 x ptr]] [[2 x ptr] [ptr @.str.1, ptr @.str.2], [2 x ptr] [ptr @.str.3, ptr @.str.4], [2 x ptr] [ptr @.str.5, ptr @.str.6], [2 x ptr] [ptr @.str.7, ptr @.str.8], [2 x ptr] [ptr @.str.9, ptr @.str.10], [2 x ptr] [ptr @.str.11, ptr @.str.12], [2 x ptr] [ptr @.str.13, ptr @.str.14], [2 x ptr] [ptr @.str.15, ptr @.str.16], [2 x ptr] [ptr @.str.17, ptr @.str.18], [2 x ptr] [ptr @.str.19, ptr @.str.20], [2 x ptr] [ptr @.str.21, ptr @.str.22], [2 x ptr] [ptr @.str.23, ptr @.str.24], [2 x ptr] [ptr @.str.25, ptr @.str.26], [2 x ptr] [ptr @.str.27, ptr @.str.28], [2 x ptr] [ptr @.str.29, ptr @.str.30], [2 x ptr] [ptr @.str.31, ptr @.str.32], [2 x ptr] [ptr @.str.33, ptr @.str.34], [2 x ptr] [ptr @.str.35, ptr @.str.36], [2 x ptr] [ptr @.str.37, ptr @.str.38], [2 x ptr] [ptr @.str.39, ptr @.str.40], [2 x ptr] [ptr @.str.41, ptr @.str.42], [2 x ptr] [ptr @.str.43, ptr @.str.44], [2 x ptr] [ptr @.str.45, ptr @.str.46], [2 x ptr] [ptr @.str.47, ptr @.str.48]], align 16
@.str.1 = private unnamed_addr constant [6 x i8] c"acked\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"' Acked-by'\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"diff-copy-from\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"'copy from '\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"diff-copy-to\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"'copy to '\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"diff-deleted-file-mode\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"'deleted file mode '\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"diff-dissimilarity\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c"'dissimilarity '\00", align 1
@.str.11 = private unnamed_addr constant [17 x i8] c"diff-rename-from\00", align 1
@.str.12 = private unnamed_addr constant [15 x i8] c"'rename from '\00", align 1
@.str.13 = private unnamed_addr constant [15 x i8] c"diff-rename-to\00", align 1
@.str.14 = private unnamed_addr constant [13 x i8] c"'rename to '\00", align 1
@.str.15 = private unnamed_addr constant [10 x i8] c"diff-tree\00", align 1
@.str.16 = private unnamed_addr constant [13 x i8] c"'diff-tree '\00", align 1
@.str.17 = private unnamed_addr constant [9 x i8] c"filename\00", align 1
@.str.18 = private unnamed_addr constant [5 x i8] c"file\00", align 1
@.str.19 = private unnamed_addr constant [12 x i8] c"help-keymap\00", align 1
@.str.20 = private unnamed_addr constant [13 x i8] c"help.section\00", align 1
@.str.21 = private unnamed_addr constant [14 x i8] c"main-revgraph\00", align 1
@.str.22 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.23 = private unnamed_addr constant [9 x i8] c"pp-adate\00", align 1
@.str.24 = private unnamed_addr constant [15 x i8] c"'AuthorDate: '\00", align 1
@.str.25 = private unnamed_addr constant [10 x i8] c"pp-author\00", align 1
@.str.26 = private unnamed_addr constant [11 x i8] c"'Author: '\00", align 1
@.str.27 = private unnamed_addr constant [9 x i8] c"pp-cdate\00", align 1
@.str.28 = private unnamed_addr constant [15 x i8] c"'CommitDate: '\00", align 1
@.str.29 = private unnamed_addr constant [10 x i8] c"pp-commit\00", align 1
@.str.30 = private unnamed_addr constant [11 x i8] c"'Commit: '\00", align 1
@.str.31 = private unnamed_addr constant [8 x i8] c"pp-date\00", align 1
@.str.32 = private unnamed_addr constant [9 x i8] c"'Date: '\00", align 1
@.str.33 = private unnamed_addr constant [9 x i8] c"reviewed\00", align 1
@.str.34 = private unnamed_addr constant [18 x i8] c"' Reviewed-by'\00", align 1
@.str.35 = private unnamed_addr constant [8 x i8] c"signoff\00", align 1
@.str.36 = private unnamed_addr constant [20 x i8] c"' Signed-off-by'\00", align 1
@.str.37 = private unnamed_addr constant [10 x i8] c"stat-head\00", align 1
@.str.38 = private unnamed_addr constant [14 x i8] c"status.header\00", align 1
@.str.39 = private unnamed_addr constant [13 x i8] c"stat-section\00", align 1
@.str.40 = private unnamed_addr constant [15 x i8] c"status.section\00", align 1
@.str.41 = private unnamed_addr constant [7 x i8] c"tested\00", align 1
@.str.42 = private unnamed_addr constant [16 x i8] c"' Tested-by'\00", align 1
@.str.43 = private unnamed_addr constant [9 x i8] c"tree-dir\00", align 1
@.str.44 = private unnamed_addr constant [15 x i8] c"tree.directory\00", align 1
@.str.45 = private unnamed_addr constant [10 x i8] c"tree-file\00", align 1
@.str.46 = private unnamed_addr constant [10 x i8] c"tree.file\00", align 1
@.str.47 = private unnamed_addr constant [10 x i8] c"tree-head\00", align 1
@.str.48 = private unnamed_addr constant [12 x i8] c"tree.header\00", align 1
@.str.49 = private unnamed_addr constant [15 x i8] c"%s is obsolete\00", align 1
@.str.50 = private unnamed_addr constant [23 x i8] c"Unknown color name: %s\00", align 1
@.str.51 = private unnamed_addr constant [27 x i8] c"%s has been replaced by %s\00", align 1
@.str.52 = private unnamed_addr constant [18 x i8] c"Unknown color: %s\00", align 1
@.str.53 = private unnamed_addr constant [28 x i8] c"Unknown color attribute: %s\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @option_color_command], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @option_color_command(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca %struct.line_rule, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !5
%6 = icmp slt i32 %0, 3
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = tail call i32 (ptr, ...) @error(ptr noundef nonnull @.str) #3
br label %93
9: ; preds = %2
%10 = load ptr, ptr %1, align 8, !tbaa !5
%11 = call i32 @parse_color_name(ptr noundef %10, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%12 = load i32, ptr @SUCCESS, align 4, !tbaa !9
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %93
14: ; preds = %9
%15 = load ptr, ptr %4, align 8, !tbaa !5
%16 = call ptr @add_line_rule(ptr noundef %15, ptr noundef nonnull %3) #3
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %51
18: ; preds = %14
%19 = call i32 @ARRAY_SIZE(ptr noundef nonnull @option_color_command.obsolete) #3
%20 = load i32, ptr %3, align 8, !tbaa !11
%21 = call i32 @find_remapped(ptr noundef nonnull @option_color_command.obsolete, i32 noundef %19, i32 noundef %20) #3
%22 = icmp eq i32 %21, -1
br i1 %22, label %43, label %23
23: ; preds = %18
%24 = sext i32 %21 to i64
%25 = getelementptr inbounds [24 x [2 x ptr]], ptr @option_color_command.obsolete, i64 0, i64 %24, i64 1
%26 = load ptr, ptr %25, align 8, !tbaa !5
%27 = load i8, ptr %26, align 1, !tbaa !13
%28 = icmp eq i8 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %23
%30 = load ptr, ptr %1, align 8, !tbaa !5
%31 = call i32 (ptr, ...) @error(ptr noundef nonnull @.str.49, ptr noundef %30) #3
br label %93
32: ; preds = %23
%33 = load ptr, ptr %4, align 8, !tbaa !5
%34 = icmp eq ptr %33, null
%35 = select i1 %34, ptr %4, ptr null
%36 = call i32 @parse_color_name(ptr noundef nonnull %26, ptr noundef nonnull %3, ptr noundef %35) #3
%37 = load i32, ptr @SUCCESS, align 4, !tbaa !9
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %93
39: ; preds = %32
%40 = load ptr, ptr %4, align 8, !tbaa !5
%41 = call ptr @add_line_rule(ptr noundef %40, ptr noundef nonnull %3) #3
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %46
43: ; preds = %18, %39
%44 = load ptr, ptr %1, align 8, !tbaa !5
%45 = call i32 (ptr, ...) @error(ptr noundef nonnull @.str.50, ptr noundef %44) #3
br label %93
46: ; preds = %39
%47 = getelementptr inbounds [24 x [2 x ptr]], ptr @option_color_command.obsolete, i64 0, i64 %24
%48 = load ptr, ptr %47, align 16, !tbaa !5
%49 = load ptr, ptr %25, align 8, !tbaa !5
%50 = call i32 (ptr, ...) @error(ptr noundef nonnull @.str.51, ptr noundef %48, ptr noundef %49) #3
br label %51
51: ; preds = %46, %14
%52 = phi ptr [ %16, %14 ], [ %41, %46 ]
%53 = phi i32 [ %11, %14 ], [ %50, %46 ]
%54 = getelementptr inbounds %struct.line_info, ptr %52, i64 0, i32 2
%55 = getelementptr inbounds ptr, ptr %1, i64 1
%56 = load ptr, ptr %55, align 8, !tbaa !5
%57 = call i32 @set_color(ptr noundef nonnull %54, ptr noundef %56) #3
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %51
%60 = load ptr, ptr %55, align 8, !tbaa !5
%61 = call i32 (ptr, ...) @error(ptr noundef nonnull @.str.52, ptr noundef %60) #3
br label %93
62: ; preds = %51
%63 = getelementptr inbounds %struct.line_info, ptr %52, i64 0, i32 1
%64 = getelementptr inbounds ptr, ptr %1, i64 2
%65 = load ptr, ptr %64, align 8, !tbaa !5
%66 = call i32 @set_color(ptr noundef nonnull %63, ptr noundef %65) #3
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %62
%69 = load ptr, ptr %64, align 8, !tbaa !5
%70 = call i32 (ptr, ...) @error(ptr noundef nonnull @.str.52, ptr noundef %69) #3
br label %93
71: ; preds = %62
store i32 0, ptr %52, align 4, !tbaa !14
%72 = icmp eq i32 %0, 3
br i1 %72, label %93, label %73
73: ; preds = %71
%74 = zext nneg i32 %0 to i64
br label %75
75: ; preds = %73, %87
%76 = phi i64 [ %74, %73 ], [ %77, %87 ]
%77 = add nsw i64 %76, -1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%78 = and i64 %77, 4294967295
%79 = getelementptr inbounds ptr, ptr %1, i64 %78
%80 = load ptr, ptr %79, align 8, !tbaa !5
%81 = call i32 @set_attribute(ptr noundef nonnull %5, ptr noundef %80) #3
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %87
83: ; preds = %75
%84 = getelementptr inbounds ptr, ptr %1, i64 %78
%85 = load ptr, ptr %84, align 8, !tbaa !5
%86 = call i32 (ptr, ...) @error(ptr noundef nonnull @.str.53, ptr noundef %85) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br label %93
87: ; preds = %75
%88 = load i32, ptr %5, align 4, !tbaa !9
%89 = load i32, ptr %52, align 4, !tbaa !14
%90 = or i32 %89, %88
store i32 %90, ptr %52, align 4, !tbaa !14
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
%91 = trunc i64 %76 to i32
%92 = icmp sgt i32 %91, 4
br i1 %92, label %75, label %93, !llvm.loop !16
93: ; preds = %87, %71, %32, %29, %43, %83, %9, %68, %59, %7
%94 = phi i32 [ %8, %7 ], [ %70, %68 ], [ %61, %59 ], [ %11, %9 ], [ %86, %83 ], [ %36, %32 ], [ %31, %29 ], [ %45, %43 ], [ %53, %71 ], [ %53, %87 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %94
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @error(ptr noundef, ...) local_unnamed_addr #2
declare i32 @parse_color_name(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @add_line_rule(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @find_remapped(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @set_color(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @set_attribute(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"line_rule", !10, i64 0, !10, i64 4}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"line_info", !10, i64 0, !10, i64 4, !10, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/tig/src/extr_options.c_option_color_command.c'
source_filename = "AnghaBench/tig/src/extr_options.c_option_color_command.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.line_rule = type { i32, i32 }
@.str = private unnamed_addr constant [58 x i8] c"Invalid color mapping: color area fgcolor bgcolor [attrs]\00", align 1
@SUCCESS = common local_unnamed_addr global i32 0, align 4
@option_color_command.obsolete = internal global [24 x [2 x ptr]] [[2 x ptr] [ptr @.str.1, ptr @.str.2], [2 x ptr] [ptr @.str.3, ptr @.str.4], [2 x ptr] [ptr @.str.5, ptr @.str.6], [2 x ptr] [ptr @.str.7, ptr @.str.8], [2 x ptr] [ptr @.str.9, ptr @.str.10], [2 x ptr] [ptr @.str.11, ptr @.str.12], [2 x ptr] [ptr @.str.13, ptr @.str.14], [2 x ptr] [ptr @.str.15, ptr @.str.16], [2 x ptr] [ptr @.str.17, ptr @.str.18], [2 x ptr] [ptr @.str.19, ptr @.str.20], [2 x ptr] [ptr @.str.21, ptr @.str.22], [2 x ptr] [ptr @.str.23, ptr @.str.24], [2 x ptr] [ptr @.str.25, ptr @.str.26], [2 x ptr] [ptr @.str.27, ptr @.str.28], [2 x ptr] [ptr @.str.29, ptr @.str.30], [2 x ptr] [ptr @.str.31, ptr @.str.32], [2 x ptr] [ptr @.str.33, ptr @.str.34], [2 x ptr] [ptr @.str.35, ptr @.str.36], [2 x ptr] [ptr @.str.37, ptr @.str.38], [2 x ptr] [ptr @.str.39, ptr @.str.40], [2 x ptr] [ptr @.str.41, ptr @.str.42], [2 x ptr] [ptr @.str.43, ptr @.str.44], [2 x ptr] [ptr @.str.45, ptr @.str.46], [2 x ptr] [ptr @.str.47, ptr @.str.48]], align 8
@.str.1 = private unnamed_addr constant [6 x i8] c"acked\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"' Acked-by'\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"diff-copy-from\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"'copy from '\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"diff-copy-to\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"'copy to '\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"diff-deleted-file-mode\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"'deleted file mode '\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"diff-dissimilarity\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c"'dissimilarity '\00", align 1
@.str.11 = private unnamed_addr constant [17 x i8] c"diff-rename-from\00", align 1
@.str.12 = private unnamed_addr constant [15 x i8] c"'rename from '\00", align 1
@.str.13 = private unnamed_addr constant [15 x i8] c"diff-rename-to\00", align 1
@.str.14 = private unnamed_addr constant [13 x i8] c"'rename to '\00", align 1
@.str.15 = private unnamed_addr constant [10 x i8] c"diff-tree\00", align 1
@.str.16 = private unnamed_addr constant [13 x i8] c"'diff-tree '\00", align 1
@.str.17 = private unnamed_addr constant [9 x i8] c"filename\00", align 1
@.str.18 = private unnamed_addr constant [5 x i8] c"file\00", align 1
@.str.19 = private unnamed_addr constant [12 x i8] c"help-keymap\00", align 1
@.str.20 = private unnamed_addr constant [13 x i8] c"help.section\00", align 1
@.str.21 = private unnamed_addr constant [14 x i8] c"main-revgraph\00", align 1
@.str.22 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.23 = private unnamed_addr constant [9 x i8] c"pp-adate\00", align 1
@.str.24 = private unnamed_addr constant [15 x i8] c"'AuthorDate: '\00", align 1
@.str.25 = private unnamed_addr constant [10 x i8] c"pp-author\00", align 1
@.str.26 = private unnamed_addr constant [11 x i8] c"'Author: '\00", align 1
@.str.27 = private unnamed_addr constant [9 x i8] c"pp-cdate\00", align 1
@.str.28 = private unnamed_addr constant [15 x i8] c"'CommitDate: '\00", align 1
@.str.29 = private unnamed_addr constant [10 x i8] c"pp-commit\00", align 1
@.str.30 = private unnamed_addr constant [11 x i8] c"'Commit: '\00", align 1
@.str.31 = private unnamed_addr constant [8 x i8] c"pp-date\00", align 1
@.str.32 = private unnamed_addr constant [9 x i8] c"'Date: '\00", align 1
@.str.33 = private unnamed_addr constant [9 x i8] c"reviewed\00", align 1
@.str.34 = private unnamed_addr constant [18 x i8] c"' Reviewed-by'\00", align 1
@.str.35 = private unnamed_addr constant [8 x i8] c"signoff\00", align 1
@.str.36 = private unnamed_addr constant [20 x i8] c"' Signed-off-by'\00", align 1
@.str.37 = private unnamed_addr constant [10 x i8] c"stat-head\00", align 1
@.str.38 = private unnamed_addr constant [14 x i8] c"status.header\00", align 1
@.str.39 = private unnamed_addr constant [13 x i8] c"stat-section\00", align 1
@.str.40 = private unnamed_addr constant [15 x i8] c"status.section\00", align 1
@.str.41 = private unnamed_addr constant [7 x i8] c"tested\00", align 1
@.str.42 = private unnamed_addr constant [16 x i8] c"' Tested-by'\00", align 1
@.str.43 = private unnamed_addr constant [9 x i8] c"tree-dir\00", align 1
@.str.44 = private unnamed_addr constant [15 x i8] c"tree.directory\00", align 1
@.str.45 = private unnamed_addr constant [10 x i8] c"tree-file\00", align 1
@.str.46 = private unnamed_addr constant [10 x i8] c"tree.file\00", align 1
@.str.47 = private unnamed_addr constant [10 x i8] c"tree-head\00", align 1
@.str.48 = private unnamed_addr constant [12 x i8] c"tree.header\00", align 1
@.str.49 = private unnamed_addr constant [15 x i8] c"%s is obsolete\00", align 1
@.str.50 = private unnamed_addr constant [23 x i8] c"Unknown color name: %s\00", align 1
@.str.51 = private unnamed_addr constant [27 x i8] c"%s has been replaced by %s\00", align 1
@.str.52 = private unnamed_addr constant [18 x i8] c"Unknown color: %s\00", align 1
@.str.53 = private unnamed_addr constant [28 x i8] c"Unknown color attribute: %s\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @option_color_command], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @option_color_command(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca %struct.line_rule, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !6
%6 = icmp slt i32 %0, 3
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = tail call i32 (ptr, ...) @error(ptr noundef nonnull @.str) #3
br label %94
9: ; preds = %2
%10 = load ptr, ptr %1, align 8, !tbaa !6
%11 = call i32 @parse_color_name(ptr noundef %10, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%12 = load i32, ptr @SUCCESS, align 4, !tbaa !10
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %94
14: ; preds = %9
%15 = load ptr, ptr %4, align 8, !tbaa !6
%16 = call ptr @add_line_rule(ptr noundef %15, ptr noundef nonnull %3) #3
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %52
18: ; preds = %14
%19 = call i32 @ARRAY_SIZE(ptr noundef nonnull @option_color_command.obsolete) #3
%20 = load i32, ptr %3, align 8, !tbaa !12
%21 = call i32 @find_remapped(ptr noundef nonnull @option_color_command.obsolete, i32 noundef %19, i32 noundef %20) #3
%22 = icmp eq i32 %21, -1
br i1 %22, label %43, label %23
23: ; preds = %18
%24 = sext i32 %21 to i64
%25 = getelementptr inbounds [24 x [2 x ptr]], ptr @option_color_command.obsolete, i64 0, i64 %24, i64 1
%26 = load ptr, ptr %25, align 8, !tbaa !6
%27 = load i8, ptr %26, align 1, !tbaa !14
%28 = icmp eq i8 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %23
%30 = load ptr, ptr %1, align 8, !tbaa !6
%31 = call i32 (ptr, ...) @error(ptr noundef nonnull @.str.49, ptr noundef %30) #3
br label %94
32: ; preds = %23
%33 = load ptr, ptr %4, align 8, !tbaa !6
%34 = icmp eq ptr %33, null
%35 = select i1 %34, ptr %4, ptr null
%36 = call i32 @parse_color_name(ptr noundef nonnull %26, ptr noundef nonnull %3, ptr noundef %35) #3
%37 = load i32, ptr @SUCCESS, align 4, !tbaa !10
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %94
39: ; preds = %32
%40 = load ptr, ptr %4, align 8, !tbaa !6
%41 = call ptr @add_line_rule(ptr noundef %40, ptr noundef nonnull %3) #3
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %46
43: ; preds = %18, %39
%44 = load ptr, ptr %1, align 8, !tbaa !6
%45 = call i32 (ptr, ...) @error(ptr noundef nonnull @.str.50, ptr noundef %44) #3
br label %94
46: ; preds = %39
%47 = getelementptr inbounds [24 x [2 x ptr]], ptr @option_color_command.obsolete, i64 0, i64 %24
%48 = load ptr, ptr %47, align 8, !tbaa !6
%49 = getelementptr inbounds i8, ptr %47, i64 8
%50 = load ptr, ptr %49, align 8, !tbaa !6
%51 = call i32 (ptr, ...) @error(ptr noundef nonnull @.str.51, ptr noundef %48, ptr noundef %50) #3
br label %52
52: ; preds = %46, %14
%53 = phi ptr [ %16, %14 ], [ %41, %46 ]
%54 = phi i32 [ %11, %14 ], [ %51, %46 ]
%55 = getelementptr inbounds i8, ptr %53, i64 8
%56 = getelementptr inbounds i8, ptr %1, i64 8
%57 = load ptr, ptr %56, align 8, !tbaa !6
%58 = call i32 @set_color(ptr noundef nonnull %55, ptr noundef %57) #3
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %52
%61 = load ptr, ptr %56, align 8, !tbaa !6
%62 = call i32 (ptr, ...) @error(ptr noundef nonnull @.str.52, ptr noundef %61) #3
br label %94
63: ; preds = %52
%64 = getelementptr inbounds i8, ptr %53, i64 4
%65 = getelementptr inbounds i8, ptr %1, i64 16
%66 = load ptr, ptr %65, align 8, !tbaa !6
%67 = call i32 @set_color(ptr noundef nonnull %64, ptr noundef %66) #3
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %63
%70 = load ptr, ptr %65, align 8, !tbaa !6
%71 = call i32 (ptr, ...) @error(ptr noundef nonnull @.str.52, ptr noundef %70) #3
br label %94
72: ; preds = %63
store i32 0, ptr %53, align 4, !tbaa !15
%73 = icmp eq i32 %0, 3
br i1 %73, label %94, label %74
74: ; preds = %72
%75 = zext nneg i32 %0 to i64
br label %76
76: ; preds = %74, %88
%77 = phi i64 [ %75, %74 ], [ %78, %88 ]
%78 = add nsw i64 %77, -1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%79 = and i64 %78, 4294967295
%80 = getelementptr inbounds ptr, ptr %1, i64 %79
%81 = load ptr, ptr %80, align 8, !tbaa !6
%82 = call i32 @set_attribute(ptr noundef nonnull %5, ptr noundef %81) #3
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %88
84: ; preds = %76
%85 = getelementptr inbounds ptr, ptr %1, i64 %79
%86 = load ptr, ptr %85, align 8, !tbaa !6
%87 = call i32 (ptr, ...) @error(ptr noundef nonnull @.str.53, ptr noundef %86) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br label %94
88: ; preds = %76
%89 = load i32, ptr %5, align 4, !tbaa !10
%90 = load i32, ptr %53, align 4, !tbaa !15
%91 = or i32 %90, %89
store i32 %91, ptr %53, align 4, !tbaa !15
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
%92 = trunc nuw i64 %77 to i32
%93 = icmp sgt i32 %92, 4
br i1 %93, label %76, label %94, !llvm.loop !17
94: ; preds = %88, %72, %32, %29, %43, %84, %9, %69, %60, %7
%95 = phi i32 [ %8, %7 ], [ %71, %69 ], [ %62, %60 ], [ %11, %9 ], [ %87, %84 ], [ %36, %32 ], [ %31, %29 ], [ %45, %43 ], [ %54, %72 ], [ %54, %88 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %95
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @error(ptr noundef, ...) local_unnamed_addr #2
declare i32 @parse_color_name(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @add_line_rule(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @find_remapped(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @set_color(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @set_attribute(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"line_rule", !11, i64 0, !11, i64 4}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"line_info", !11, i64 0, !11, i64 4, !11, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| tig_src_extr_options.c_option_color_command |
; ModuleID = 'AnghaBench/libgit2/src/extr_revwalk.c_git_revwalk__push_commit.c'
source_filename = "AnghaBench/libgit2/src/extr_revwalk.c_git_revwalk__push_commit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i32, i32, i32, ptr, i32 }
%struct.TYPE_10__ = type { i64, i64, i64 }
@GIT_OBJECT_ANY = dso_local local_unnamed_addr global i32 0, align 4
@GIT_OBJECT_COMMIT = dso_local local_unnamed_addr global i32 0, align 4
@GIT_ENOTFOUND = dso_local local_unnamed_addr global i32 0, align 4
@GIT_EINVALIDSPEC = dso_local local_unnamed_addr global i32 0, align 4
@GIT_EPEEL = dso_local local_unnamed_addr global i32 0, align 4
@GIT_ERROR_INVALID = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"object is not a committish\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @git_revwalk__push_commit(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%8 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 4
%9 = load i32, ptr %8, align 8, !tbaa !5
%10 = load i32, ptr @GIT_OBJECT_ANY, align 4, !tbaa !11
%11 = call i32 @git_object_lookup(ptr noundef nonnull %6, i32 noundef %9, ptr noundef %1, i32 noundef %10) #3
%12 = icmp slt i32 %11, 0
br i1 %12, label %70, label %13
13: ; preds = %3
%14 = load ptr, ptr %6, align 8, !tbaa !12
%15 = load i32, ptr @GIT_OBJECT_COMMIT, align 4, !tbaa !11
%16 = call i32 @git_object_peel(ptr noundef nonnull %5, ptr noundef %14, i32 noundef %15) #3
%17 = load ptr, ptr %6, align 8, !tbaa !12
%18 = call i32 @git_object_free(ptr noundef %17) #3
%19 = load i32, ptr @GIT_ENOTFOUND, align 4, !tbaa !11
%20 = icmp eq i32 %16, %19
%21 = load i32, ptr @GIT_EINVALIDSPEC, align 4
%22 = icmp eq i32 %16, %21
%23 = select i1 %20, i1 true, i1 %22
%24 = load i32, ptr @GIT_EPEEL, align 4
%25 = icmp eq i32 %16, %24
%26 = select i1 %23, i1 true, i1 %25
br i1 %26, label %27, label %34
27: ; preds = %13
%28 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 2
%29 = load i64, ptr %28, align 8, !tbaa !13
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %70
31: ; preds = %27
%32 = load i32, ptr @GIT_ERROR_INVALID, align 4, !tbaa !11
%33 = call i32 @git_error_set(i32 noundef %32, ptr noundef nonnull @.str) #3
br label %70
34: ; preds = %13
%35 = icmp slt i32 %16, 0
br i1 %35, label %70, label %36
36: ; preds = %34
%37 = load ptr, ptr %5, align 8, !tbaa !12
%38 = call i32 @git_object_id(ptr noundef %37) #3
%39 = call i32 @git_oid_cpy(ptr noundef nonnull %4, i32 noundef %38) #3
%40 = load ptr, ptr %5, align 8, !tbaa !12
%41 = call i32 @git_object_free(ptr noundef %40) #3
%42 = call ptr @git_revwalk__commit_lookup(ptr noundef nonnull %0, ptr noundef nonnull %4) #3
%43 = icmp eq ptr %42, null
br i1 %43, label %70, label %44
44: ; preds = %36
%45 = load i64, ptr %42, align 8, !tbaa !16
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %70
47: ; preds = %44
%48 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 1
%49 = load i64, ptr %48, align 8, !tbaa !18
%50 = icmp eq i64 %49, 0
br i1 %50, label %53, label %51
51: ; preds = %47
store i32 1, ptr %0, align 8, !tbaa !19
%52 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1
store i32 1, ptr %52, align 4, !tbaa !20
br label %55
53: ; preds = %47
%54 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2
store i32 1, ptr %54, align 8, !tbaa !21
br label %55
55: ; preds = %53, %51
store i64 %49, ptr %42, align 8, !tbaa !16
%56 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 3
%57 = load ptr, ptr %56, align 8, !tbaa !22
store ptr %57, ptr %7, align 8, !tbaa !12
%58 = load i64, ptr %2, align 8, !tbaa !23
%59 = icmp eq i64 %58, 0
br i1 %59, label %63, label %60
60: ; preds = %55
%61 = call ptr @git_commit_list_insert_by_date(ptr noundef nonnull %42, ptr noundef nonnull %7) #3
%62 = icmp eq ptr %61, null
br i1 %62, label %66, label %63
63: ; preds = %60, %55
%64 = call ptr @git_commit_list_insert(ptr noundef nonnull %42, ptr noundef nonnull %7) #3
%65 = icmp eq ptr %64, null
br i1 %65, label %66, label %68
66: ; preds = %63, %60
%67 = call i32 (...) @git_error_set_oom() #3
br label %70
68: ; preds = %63
%69 = load ptr, ptr %7, align 8, !tbaa !12
store ptr %69, ptr %56, align 8, !tbaa !22
br label %70
70: ; preds = %44, %36, %34, %27, %3, %68, %66, %31
%71 = phi i32 [ -1, %31 ], [ -1, %66 ], [ 0, %68 ], [ %11, %3 ], [ 0, %27 ], [ %16, %34 ], [ -1, %36 ], [ 0, %44 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %71
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @git_object_lookup(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_object_peel(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_object_free(ptr noundef) local_unnamed_addr #2
declare i32 @git_error_set(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_oid_cpy(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_object_id(ptr noundef) local_unnamed_addr #2
declare ptr @git_revwalk__commit_lookup(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @git_commit_list_insert_by_date(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @git_commit_list_insert(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_error_set_oom(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"TYPE_11__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!14, !15, i64 16}
!14 = !{!"TYPE_10__", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !15, i64 0}
!17 = !{!"TYPE_12__", !15, i64 0}
!18 = !{!14, !15, i64 8}
!19 = !{!6, !7, i64 0}
!20 = !{!6, !7, i64 4}
!21 = !{!6, !7, i64 8}
!22 = !{!6, !10, i64 16}
!23 = !{!14, !15, i64 0}
| ; ModuleID = 'AnghaBench/libgit2/src/extr_revwalk.c_git_revwalk__push_commit.c'
source_filename = "AnghaBench/libgit2/src/extr_revwalk.c_git_revwalk__push_commit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GIT_OBJECT_ANY = common local_unnamed_addr global i32 0, align 4
@GIT_OBJECT_COMMIT = common local_unnamed_addr global i32 0, align 4
@GIT_ENOTFOUND = common local_unnamed_addr global i32 0, align 4
@GIT_EINVALIDSPEC = common local_unnamed_addr global i32 0, align 4
@GIT_EPEEL = common local_unnamed_addr global i32 0, align 4
@GIT_ERROR_INVALID = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"object is not a committish\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483648, 1) i32 @git_revwalk__push_commit(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%8 = getelementptr inbounds i8, ptr %0, i64 24
%9 = load i32, ptr %8, align 8, !tbaa !6
%10 = load i32, ptr @GIT_OBJECT_ANY, align 4, !tbaa !12
%11 = call i32 @git_object_lookup(ptr noundef nonnull %6, i32 noundef %9, ptr noundef %1, i32 noundef %10) #3
%12 = icmp slt i32 %11, 0
br i1 %12, label %69, label %13
13: ; preds = %3
%14 = load ptr, ptr %6, align 8, !tbaa !13
%15 = load i32, ptr @GIT_OBJECT_COMMIT, align 4, !tbaa !12
%16 = call i32 @git_object_peel(ptr noundef nonnull %5, ptr noundef %14, i32 noundef %15) #3
%17 = load ptr, ptr %6, align 8, !tbaa !13
%18 = call i32 @git_object_free(ptr noundef %17) #3
%19 = load i32, ptr @GIT_ENOTFOUND, align 4, !tbaa !12
%20 = icmp eq i32 %16, %19
%21 = load i32, ptr @GIT_EINVALIDSPEC, align 4
%22 = icmp eq i32 %16, %21
%23 = select i1 %20, i1 true, i1 %22
%24 = load i32, ptr @GIT_EPEEL, align 4
%25 = icmp eq i32 %16, %24
%26 = select i1 %23, i1 true, i1 %25
br i1 %26, label %27, label %34
27: ; preds = %13
%28 = getelementptr inbounds i8, ptr %2, i64 16
%29 = load i64, ptr %28, align 8, !tbaa !14
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %69
31: ; preds = %27
%32 = load i32, ptr @GIT_ERROR_INVALID, align 4, !tbaa !12
%33 = call i32 @git_error_set(i32 noundef %32, ptr noundef nonnull @.str) #3
br label %69
34: ; preds = %13
%35 = icmp slt i32 %16, 0
br i1 %35, label %69, label %36
36: ; preds = %34
%37 = load ptr, ptr %5, align 8, !tbaa !13
%38 = call i32 @git_object_id(ptr noundef %37) #3
%39 = call i32 @git_oid_cpy(ptr noundef nonnull %4, i32 noundef %38) #3
%40 = load ptr, ptr %5, align 8, !tbaa !13
%41 = call i32 @git_object_free(ptr noundef %40) #3
%42 = call ptr @git_revwalk__commit_lookup(ptr noundef nonnull %0, ptr noundef nonnull %4) #3
%43 = icmp eq ptr %42, null
br i1 %43, label %69, label %44
44: ; preds = %36
%45 = load i64, ptr %42, align 8, !tbaa !17
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %69
47: ; preds = %44
%48 = getelementptr inbounds i8, ptr %2, i64 8
%49 = load i64, ptr %48, align 8, !tbaa !19
%50 = icmp eq i64 %49, 0
br i1 %50, label %52, label %51
51: ; preds = %47
store <2 x i32> <i32 1, i32 1>, ptr %0, align 8, !tbaa !12
br label %54
52: ; preds = %47
%53 = getelementptr inbounds i8, ptr %0, i64 8
store i32 1, ptr %53, align 8, !tbaa !20
br label %54
54: ; preds = %52, %51
store i64 %49, ptr %42, align 8, !tbaa !17
%55 = getelementptr inbounds i8, ptr %0, i64 16
%56 = load ptr, ptr %55, align 8, !tbaa !21
store ptr %56, ptr %7, align 8, !tbaa !13
%57 = load i64, ptr %2, align 8, !tbaa !22
%58 = icmp eq i64 %57, 0
br i1 %58, label %62, label %59
59: ; preds = %54
%60 = call ptr @git_commit_list_insert_by_date(ptr noundef nonnull %42, ptr noundef nonnull %7) #3
%61 = icmp eq ptr %60, null
br i1 %61, label %65, label %62
62: ; preds = %59, %54
%63 = call ptr @git_commit_list_insert(ptr noundef nonnull %42, ptr noundef nonnull %7) #3
%64 = icmp eq ptr %63, null
br i1 %64, label %65, label %67
65: ; preds = %62, %59
%66 = call i32 @git_error_set_oom() #3
br label %69
67: ; preds = %62
%68 = load ptr, ptr %7, align 8, !tbaa !13
store ptr %68, ptr %55, align 8, !tbaa !21
br label %69
69: ; preds = %44, %36, %34, %27, %3, %67, %65, %31
%70 = phi i32 [ -1, %31 ], [ -1, %65 ], [ 0, %67 ], [ %11, %3 ], [ 0, %27 ], [ %16, %34 ], [ -1, %36 ], [ 0, %44 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %70
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @git_object_lookup(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_object_peel(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_object_free(ptr noundef) local_unnamed_addr #2
declare i32 @git_error_set(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_oid_cpy(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_object_id(ptr noundef) local_unnamed_addr #2
declare ptr @git_revwalk__commit_lookup(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @git_commit_list_insert_by_date(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @git_commit_list_insert(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_error_set_oom(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"TYPE_11__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !16, i64 16}
!15 = !{!"TYPE_10__", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"long", !9, i64 0}
!17 = !{!18, !16, i64 0}
!18 = !{!"TYPE_12__", !16, i64 0}
!19 = !{!15, !16, i64 8}
!20 = !{!7, !8, i64 8}
!21 = !{!7, !11, i64 16}
!22 = !{!15, !16, i64 0}
| libgit2_src_extr_revwalk.c_git_revwalk__push_commit |
; ModuleID = 'AnghaBench/libuv/samples/socks5-proxy/extr_client.c_conn_timer_reset.c'
source_filename = "AnghaBench/libuv/samples/socks5-proxy/extr_client.c_conn_timer_reset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@conn_timer_expire = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @conn_timer_reset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @conn_timer_reset(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%3 = load i32, ptr @conn_timer_expire, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !9
%5 = tail call i64 @uv_timer_start(ptr noundef nonnull %2, i32 noundef %3, i32 noundef %4, i32 noundef 0) #2
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
%8 = tail call i32 @CHECK(i32 noundef %7) #2
ret void
}
declare i32 @CHECK(i32 noundef) local_unnamed_addr #1
declare i64 @uv_timer_start(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_3__", !6, i64 0, !6, i64 4}
| ; ModuleID = 'AnghaBench/libuv/samples/socks5-proxy/extr_client.c_conn_timer_reset.c'
source_filename = "AnghaBench/libuv/samples/socks5-proxy/extr_client.c_conn_timer_reset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@conn_timer_expire = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @conn_timer_reset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @conn_timer_reset(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr @conn_timer_expire, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = tail call i64 @uv_timer_start(ptr noundef nonnull %2, i32 noundef %3, i32 noundef %4, i32 noundef 0) #2
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
%8 = tail call i32 @CHECK(i32 noundef %7) #2
ret void
}
declare i32 @CHECK(i32 noundef) local_unnamed_addr #1
declare i64 @uv_timer_start(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
| libuv_samples_socks5-proxy_extr_client.c_conn_timer_reset |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/common/extr_sae.c_sae_cn_confirm_ecc.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/common/extr_sae.c_sae_cn_confirm_ecc.c"
target datalayout = "e-m:e-p270:32:32-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 }
@SAE_MAX_ECC_PRIME_LEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sae_cn_confirm_ecc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sae_cn_confirm_ecc(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = load i32, ptr @SAE_MAX_ECC_PRIME_LEN, align 4, !tbaa !5
%9 = shl nsw i32 %8, 1
%10 = zext i32 %9 to i64
%11 = alloca i32, i64 %10, align 16
%12 = alloca i32, i64 %10, align 16
%13 = load ptr, ptr %0, align 8, !tbaa !9
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !12
%16 = load i32, ptr %13, align 4, !tbaa !14
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %11, i64 %17
%19 = call i32 @crypto_ec_point_to_bin(i32 noundef %15, ptr noundef %3, ptr noundef nonnull %11, ptr noundef nonnull %18) #2
%20 = load ptr, ptr %0, align 8, !tbaa !9
%21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !12
%23 = load i32, ptr %20, align 4, !tbaa !14
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %12, i64 %24
%26 = call i32 @crypto_ec_point_to_bin(i32 noundef %22, ptr noundef %5, ptr noundef nonnull %12, ptr noundef nonnull %25) #2
%27 = load ptr, ptr %0, align 8, !tbaa !9
%28 = load i32, ptr %27, align 4, !tbaa !14
%29 = shl nsw i32 %28, 1
%30 = call i32 @sae_cn_confirm(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %11, i32 noundef %29, ptr noundef %4, ptr noundef nonnull %12, i32 noundef %29, ptr noundef %6) #2
ret void
}
declare i32 @crypto_ec_point_to_bin(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sae_cn_confirm(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, 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, !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 = !{!"sae_data", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 4}
!13 = !{!"TYPE_2__", !6, i64 0, !6, i64 4}
!14 = !{!13, !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/common/extr_sae.c_sae_cn_confirm_ecc.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/common/extr_sae.c_sae_cn_confirm_ecc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SAE_MAX_ECC_PRIME_LEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sae_cn_confirm_ecc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sae_cn_confirm_ecc(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = load i32, ptr @SAE_MAX_ECC_PRIME_LEN, align 4, !tbaa !6
%9 = shl nsw i32 %8, 1
%10 = zext i32 %9 to i64
%11 = alloca i32, i64 %10, align 4
%12 = alloca i32, i64 %10, align 4
%13 = load ptr, ptr %0, align 8, !tbaa !10
%14 = getelementptr inbounds i8, ptr %13, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = load i32, ptr %13, align 4, !tbaa !15
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %11, i64 %17
%19 = call i32 @crypto_ec_point_to_bin(i32 noundef %15, ptr noundef %3, ptr noundef nonnull %11, ptr noundef nonnull %18) #2
%20 = load ptr, ptr %0, align 8, !tbaa !10
%21 = getelementptr inbounds i8, ptr %20, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !13
%23 = load i32, ptr %20, align 4, !tbaa !15
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %12, i64 %24
%26 = call i32 @crypto_ec_point_to_bin(i32 noundef %22, ptr noundef %5, ptr noundef nonnull %12, ptr noundef nonnull %25) #2
%27 = load ptr, ptr %0, align 8, !tbaa !10
%28 = load i32, ptr %27, align 4, !tbaa !15
%29 = shl nsw i32 %28, 1
%30 = call i32 @sae_cn_confirm(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %11, i32 noundef %29, ptr noundef %4, ptr noundef nonnull %12, i32 noundef %29, ptr noundef %6) #2
ret void
}
declare i32 @crypto_ec_point_to_bin(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sae_cn_confirm(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, 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, !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 = !{!"sae_data", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 4}
!14 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!15 = !{!14, !7, i64 0}
| freebsd_contrib_wpa_src_common_extr_sae.c_sae_cn_confirm_ecc |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_wrstabs.c_stab_start_class_type.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_wrstabs.c_stab_start_class_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr, ptr, i64 }
@FALSE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [7 x i8] c"~%%%ld\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"~%%%s\00", align 1
@TRUE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @stab_start_class_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @stab_start_class_type(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3, i32 noundef %4, i64 noundef %5, i64 noundef %6) #0 {
%8 = icmp eq i64 %5, 0
%9 = icmp ne i64 %6, 0
%10 = or i1 %8, %9
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = load i64, ptr @FALSE, align 8, !tbaa !5
br label %18
13: ; preds = %7
%14 = load ptr, ptr %0, align 8, !tbaa !9
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 0, i32 2
%16 = load i64, ptr %15, align 8, !tbaa !12
%17 = tail call ptr @stab_pop_type(ptr noundef nonnull %0) #2
br label %18
18: ; preds = %13, %11
%19 = phi i64 [ %12, %11 ], [ %16, %13 ]
%20 = phi ptr [ null, %11 ], [ %17, %13 ]
%21 = tail call i32 @stab_start_struct_type(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3, i32 noundef %4) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %53, label %23
23: ; preds = %18
br i1 %8, label %47, label %24
24: ; preds = %23
br i1 %9, label %25, label %36
25: ; preds = %24
%26 = load ptr, ptr %0, align 8, !tbaa !9
%27 = load ptr, ptr %26, align 8, !tbaa !14
%28 = icmp ne ptr %27, null
%29 = zext i1 %28 to i32
%30 = tail call i32 @assert(i32 noundef %29) #2
%31 = tail call i64 @xmalloc(i32 noundef 20) #2
%32 = inttoptr i64 %31 to ptr
%33 = load ptr, ptr %0, align 8, !tbaa !9
%34 = load ptr, ptr %33, align 8, !tbaa !14
%35 = tail call i32 @sprintf(ptr noundef %32, ptr noundef nonnull @.str, ptr noundef %34) #2
br label %43
36: ; preds = %24
%37 = tail call i32 @strlen(ptr noundef %20) #2
%38 = add nsw i32 %37, 3
%39 = tail call i64 @xmalloc(i32 noundef %38) #2
%40 = inttoptr i64 %39 to ptr
%41 = tail call i32 @sprintf(ptr noundef %40, ptr noundef nonnull @.str.1, ptr noundef %20) #2
%42 = tail call i32 @free(ptr noundef %20) #2
br label %43
43: ; preds = %36, %25
%44 = phi ptr [ %32, %25 ], [ %40, %36 ]
%45 = load ptr, ptr %0, align 8, !tbaa !9
%46 = getelementptr inbounds %struct.TYPE_2__, ptr %45, i64 0, i32 1
store ptr %44, ptr %46, align 8, !tbaa !15
br label %47
47: ; preds = %43, %23
%48 = icmp eq i64 %19, 0
br i1 %48, label %53, label %49
49: ; preds = %47
%50 = load i64, ptr @TRUE, align 8, !tbaa !5
%51 = load ptr, ptr %0, align 8, !tbaa !9
%52 = getelementptr inbounds %struct.TYPE_2__, ptr %51, i64 0, i32 2
store i64 %50, ptr %52, align 8, !tbaa !12
br label %53
53: ; preds = %47, %49, %18
%54 = phi ptr [ @FALSE, %18 ], [ @TRUE, %49 ], [ @TRUE, %47 ]
%55 = load i64, ptr %54, align 8, !tbaa !5
ret i64 %55
}
declare ptr @stab_pop_type(ptr noundef) local_unnamed_addr #1
declare i32 @stab_start_struct_type(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i64 @xmalloc(i32 noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"stab_write_handle", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 16}
!13 = !{!"TYPE_2__", !11, i64 0, !11, i64 8, !6, i64 16}
!14 = !{!13, !11, i64 0}
!15 = !{!13, !11, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_wrstabs.c_stab_start_class_type.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_wrstabs.c_stab_start_class_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FALSE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [7 x i8] c"~%%%ld\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"~%%%s\00", align 1
@TRUE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @stab_start_class_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @stab_start_class_type(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3, i32 noundef %4, i64 noundef %5, i64 noundef %6) #0 {
%8 = icmp eq i64 %5, 0
%9 = icmp ne i64 %6, 0
%10 = or i1 %8, %9
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = load i64, ptr @FALSE, align 8, !tbaa !6
br label %18
13: ; preds = %7
%14 = load ptr, ptr %0, align 8, !tbaa !10
%15 = getelementptr inbounds i8, ptr %14, i64 16
%16 = load i64, ptr %15, align 8, !tbaa !13
%17 = tail call ptr @stab_pop_type(ptr noundef nonnull %0) #2
br label %18
18: ; preds = %13, %11
%19 = phi i64 [ %12, %11 ], [ %16, %13 ]
%20 = phi ptr [ null, %11 ], [ %17, %13 ]
%21 = tail call i32 @stab_start_struct_type(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3, i32 noundef %4) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %53, label %23
23: ; preds = %18
br i1 %8, label %47, label %24
24: ; preds = %23
br i1 %9, label %25, label %36
25: ; preds = %24
%26 = load ptr, ptr %0, align 8, !tbaa !10
%27 = load ptr, ptr %26, align 8, !tbaa !15
%28 = icmp ne ptr %27, null
%29 = zext i1 %28 to i32
%30 = tail call i32 @assert(i32 noundef %29) #2
%31 = tail call i64 @xmalloc(i32 noundef 20) #2
%32 = inttoptr i64 %31 to ptr
%33 = load ptr, ptr %0, align 8, !tbaa !10
%34 = load ptr, ptr %33, align 8, !tbaa !15
%35 = tail call i32 @sprintf(ptr noundef %32, ptr noundef nonnull @.str, ptr noundef %34) #2
br label %43
36: ; preds = %24
%37 = tail call i32 @strlen(ptr noundef %20) #2
%38 = add nsw i32 %37, 3
%39 = tail call i64 @xmalloc(i32 noundef %38) #2
%40 = inttoptr i64 %39 to ptr
%41 = tail call i32 @sprintf(ptr noundef %40, ptr noundef nonnull @.str.1, ptr noundef %20) #2
%42 = tail call i32 @free(ptr noundef %20) #2
br label %43
43: ; preds = %36, %25
%44 = phi ptr [ %32, %25 ], [ %40, %36 ]
%45 = load ptr, ptr %0, align 8, !tbaa !10
%46 = getelementptr inbounds i8, ptr %45, i64 8
store ptr %44, ptr %46, align 8, !tbaa !16
br label %47
47: ; preds = %43, %23
%48 = icmp eq i64 %19, 0
br i1 %48, label %53, label %49
49: ; preds = %47
%50 = load i64, ptr @TRUE, align 8, !tbaa !6
%51 = load ptr, ptr %0, align 8, !tbaa !10
%52 = getelementptr inbounds i8, ptr %51, i64 16
store i64 %50, ptr %52, align 8, !tbaa !13
br label %53
53: ; preds = %47, %49, %18
%54 = phi ptr [ @FALSE, %18 ], [ @TRUE, %49 ], [ @TRUE, %47 ]
%55 = load i64, ptr %54, align 8, !tbaa !6
ret i64 %55
}
declare ptr @stab_pop_type(ptr noundef) local_unnamed_addr #1
declare i32 @stab_start_struct_type(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i64 @xmalloc(i32 noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"stab_write_handle", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 16}
!14 = !{!"TYPE_2__", !12, i64 0, !12, i64 8, !7, i64 16}
!15 = !{!14, !12, i64 0}
!16 = !{!14, !12, i64 8}
| freebsd_contrib_binutils_binutils_extr_wrstabs.c_stab_start_class_type |
; ModuleID = 'AnghaBench/disque/src/extr_rio.c_rioFdsetTell.c'
source_filename = "AnghaBench/disque/src/extr_rio.c_rioFdsetTell.c"
target datalayout = "e-m:e-p270:32:32-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 @rioFdsetTell], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @rioFdsetTell(ptr nocapture noundef readonly %0) #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, !9, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/disque/src/extr_rio.c_rioFdsetTell.c'
source_filename = "AnghaBench/disque/src/extr_rio.c_rioFdsetTell.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 @rioFdsetTell], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i32 @rioFdsetTell(ptr nocapture noundef readonly %0) #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, !10, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"TYPE_5__", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
| disque_src_extr_rio.c_rioFdsetTell |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_uipc_domain.c_pffinddomain.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_uipc_domain.c_pffinddomain.c"
target datalayout = "e-m:e-p270:32:32-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 @pffinddomain(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 (...) @domain_guard_deploy() #2
%3 = tail call ptr @pffinddomain_locked(i32 noundef %0) #2
%4 = tail call i32 @domain_guard_release(i32 noundef %2) #2
ret ptr %3
}
declare i32 @domain_guard_deploy(...) local_unnamed_addr #1
declare ptr @pffinddomain_locked(i32 noundef) local_unnamed_addr #1
declare i32 @domain_guard_release(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/darwin-xnu/bsd/kern/extr_uipc_domain.c_pffinddomain.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_uipc_domain.c_pffinddomain.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 @pffinddomain(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @domain_guard_deploy() #2
%3 = tail call ptr @pffinddomain_locked(i32 noundef %0) #2
%4 = tail call i32 @domain_guard_release(i32 noundef %2) #2
ret ptr %3
}
declare i32 @domain_guard_deploy(...) local_unnamed_addr #1
declare ptr @pffinddomain_locked(i32 noundef) local_unnamed_addr #1
declare i32 @domain_guard_release(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)"}
| darwin-xnu_bsd_kern_extr_uipc_domain.c_pffinddomain |
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_1487.c_SendBuffer.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_1487.c_SendBuffer.c"
target datalayout = "e-m:e-p270:32:32-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"SEND\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @SendBuffer(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @send(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0) #2
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = tail call i32 @fatal(ptr noundef nonnull @.str) #2
br label %8
8: ; preds = %6, %3
ret void
}
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fatal(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/exploitdb/exploits/linux/remote/extr_1487.c_SendBuffer.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_1487.c_SendBuffer.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"SEND\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @SendBuffer(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @send(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0) #2
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = tail call i32 @fatal(ptr noundef nonnull @.str) #2
br label %8
8: ; preds = %6, %3
ret void
}
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fatal(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)"}
| exploitdb_exploits_linux_remote_extr_1487.c_SendBuffer |
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_kgdb.c_gdb_cmd_memread.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_kgdb.c_gdb_cmd_memread.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@remcom_in_buffer = dso_local local_unnamed_addr global ptr null, align 8
@remcom_out_buffer = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gdb_cmd_memread], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gdb_cmd_memread(ptr nocapture readnone %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%5 = load ptr, ptr @remcom_in_buffer, align 8, !tbaa !5
%6 = getelementptr inbounds i8, ptr %5, i64 1
store ptr %6, ptr %2, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%7 = call i64 @kgdb_hex2long(ptr noundef nonnull %2, ptr noundef nonnull %4) #3
%8 = icmp sgt i64 %7, 0
br i1 %8, label %9, label %27
9: ; preds = %1
%10 = load ptr, ptr %2, align 8, !tbaa !5
%11 = getelementptr inbounds i8, ptr %10, i64 1
store ptr %11, ptr %2, align 8, !tbaa !5
%12 = load i8, ptr %10, align 1, !tbaa !9
%13 = icmp eq i8 %12, 44
br i1 %13, label %14, label %27
14: ; preds = %9
%15 = call i64 @kgdb_hex2long(ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%16 = icmp sgt i64 %15, 0
br i1 %16, label %17, label %27
17: ; preds = %14
%18 = load i64, ptr %4, align 8, !tbaa !10
%19 = inttoptr i64 %18 to ptr
%20 = load i32, ptr @remcom_out_buffer, align 4, !tbaa !12
%21 = load i64, ptr %3, align 8, !tbaa !10
%22 = call i32 @kgdb_mem2hex(ptr noundef %19, i32 noundef %20, i64 noundef %21) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %32, label %24
24: ; preds = %17
%25 = load i32, ptr @remcom_out_buffer, align 4, !tbaa !12
%26 = call i32 @error_packet(i32 noundef %25, i32 noundef %22) #3
br label %32
27: ; preds = %14, %9, %1
%28 = load i32, ptr @remcom_out_buffer, align 4, !tbaa !12
%29 = load i32, ptr @EINVAL, align 4, !tbaa !12
%30 = sub nsw i32 0, %29
%31 = call i32 @error_packet(i32 noundef %28, i32 noundef %30) #3
br label %32
32: ; preds = %17, %24, %27
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, 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 i64 @kgdb_hex2long(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kgdb_mem2hex(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @error_packet(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_kgdb.c_gdb_cmd_memread.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_kgdb.c_gdb_cmd_memread.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@remcom_in_buffer = common local_unnamed_addr global ptr null, align 8
@remcom_out_buffer = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gdb_cmd_memread], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gdb_cmd_memread(ptr nocapture readnone %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%5 = load ptr, ptr @remcom_in_buffer, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %5, i64 1
store ptr %6, ptr %2, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%7 = call i64 @kgdb_hex2long(ptr noundef nonnull %2, ptr noundef nonnull %4) #3
%8 = icmp sgt i64 %7, 0
br i1 %8, label %9, label %27
9: ; preds = %1
%10 = load ptr, ptr %2, align 8, !tbaa !6
%11 = getelementptr inbounds i8, ptr %10, i64 1
store ptr %11, ptr %2, align 8, !tbaa !6
%12 = load i8, ptr %10, align 1, !tbaa !10
%13 = icmp eq i8 %12, 44
br i1 %13, label %14, label %27
14: ; preds = %9
%15 = call i64 @kgdb_hex2long(ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%16 = icmp sgt i64 %15, 0
br i1 %16, label %17, label %27
17: ; preds = %14
%18 = load i64, ptr %4, align 8, !tbaa !11
%19 = inttoptr i64 %18 to ptr
%20 = load i32, ptr @remcom_out_buffer, align 4, !tbaa !13
%21 = load i64, ptr %3, align 8, !tbaa !11
%22 = call i32 @kgdb_mem2hex(ptr noundef %19, i32 noundef %20, i64 noundef %21) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %32, label %24
24: ; preds = %17
%25 = load i32, ptr @remcom_out_buffer, align 4, !tbaa !13
%26 = call i32 @error_packet(i32 noundef %25, i32 noundef %22) #3
br label %32
27: ; preds = %14, %9, %1
%28 = load i32, ptr @remcom_out_buffer, align 4, !tbaa !13
%29 = load i32, ptr @EINVAL, align 4, !tbaa !13
%30 = sub nsw i32 0, %29
%31 = call i32 @error_packet(i32 noundef %28, i32 noundef %30) #3
br label %32
32: ; preds = %17, %24, %27
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, 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 i64 @kgdb_hex2long(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kgdb_mem2hex(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @error_packet(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
| fastsocket_kernel_kernel_extr_kgdb.c_gdb_cmd_memread |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_r8a66597.h_get_intsts_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_r8a66597.h_get_intsts_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@INTSTS1 = dso_local local_unnamed_addr global i64 0, align 8
@INTSTS2 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_intsts_reg], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i64 @get_intsts_reg(i32 noundef %0) #0 {
%2 = icmp eq i32 %0, 0
%3 = load i64, ptr @INTSTS1, align 8
%4 = load i64, ptr @INTSTS2, align 8
%5 = select i1 %2, i64 %3, i64 %4
ret i64 %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)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_r8a66597.h_get_intsts_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_r8a66597.h_get_intsts_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INTSTS1 = common local_unnamed_addr global i64 0, align 8
@INTSTS2 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @get_intsts_reg], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i64 @get_intsts_reg(i32 noundef %0) #0 {
%2 = icmp eq i32 %0, 0
%3 = load i64, ptr @INTSTS1, align 8
%4 = load i64, ptr @INTSTS2, align 8
%5 = select i1 %2, i64 %3, i64 %4
ret i64 %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)"}
| fastsocket_kernel_drivers_usb_host_extr_r8a66597.h_get_intsts_reg |
; ModuleID = 'AnghaBench/freebsd/usr.bin/logins/extr_logins.c_list_users.c'
source_filename = "AnghaBench/freebsd/usr.bin/logins/extr_logins.c_list_users.c"
target datalayout = "e-m:e-p270:32:32-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.xpasswd = type { i64 }
@pwds = dso_local local_unnamed_addr global ptr null, align 8
@npwds = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @list_users], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @list_users() #0 {
%1 = load i32, ptr @npwds, align 4, !tbaa !5
%2 = icmp eq i32 %1, 0
br i1 %2, label %19, label %3
3: ; preds = %0
%4 = load ptr, ptr @pwds, align 8, !tbaa !9
br label %5
5: ; preds = %3, %14
%6 = phi i32 [ %15, %14 ], [ %1, %3 ]
%7 = phi i32 [ %16, %14 ], [ 0, %3 ]
%8 = phi ptr [ %17, %14 ], [ %4, %3 ]
%9 = load i64, ptr %8, align 8, !tbaa !11
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %5
%12 = tail call i32 @display_user(ptr noundef nonnull %8) #2
%13 = load i32, ptr @npwds, align 4, !tbaa !5
br label %14
14: ; preds = %5, %11
%15 = phi i32 [ %6, %5 ], [ %13, %11 ]
%16 = add nuw i32 %7, 1
%17 = getelementptr inbounds %struct.xpasswd, ptr %8, i64 1
%18 = icmp ult i32 %16, %15
br i1 %18, label %5, label %19, !llvm.loop !14
19: ; preds = %14, %0
ret void
}
declare i32 @display_user(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}
!11 = !{!12, !13, i64 0}
!12 = !{!"xpasswd", !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/usr.bin/logins/extr_logins.c_list_users.c'
source_filename = "AnghaBench/freebsd/usr.bin/logins/extr_logins.c_list_users.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@pwds = common local_unnamed_addr global ptr null, align 8
@npwds = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @list_users], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @list_users() #0 {
%1 = load i32, ptr @npwds, align 4, !tbaa !6
%2 = icmp eq i32 %1, 0
br i1 %2, label %19, label %3
3: ; preds = %0
%4 = load ptr, ptr @pwds, align 8, !tbaa !10
br label %5
5: ; preds = %3, %14
%6 = phi i32 [ %15, %14 ], [ %1, %3 ]
%7 = phi i32 [ %16, %14 ], [ 0, %3 ]
%8 = phi ptr [ %17, %14 ], [ %4, %3 ]
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %5
%12 = tail call i32 @display_user(ptr noundef nonnull %8) #2
%13 = load i32, ptr @npwds, align 4, !tbaa !6
br label %14
14: ; preds = %5, %11
%15 = phi i32 [ %6, %5 ], [ %13, %11 ]
%16 = add nuw i32 %7, 1
%17 = getelementptr inbounds i8, ptr %8, i64 8
%18 = icmp ult i32 %16, %15
br i1 %18, label %5, label %19, !llvm.loop !15
19: ; preds = %14, %0
ret void
}
declare i32 @display_user(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}
!12 = !{!13, !14, i64 0}
!13 = !{!"xpasswd", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| freebsd_usr.bin_logins_extr_logins.c_list_users |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_genattrtab.c_gen_bypass.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_genattrtab.c_gen_bypass.c"
target datalayout = "e-m:e-p270:32:32-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 @gen_bypass], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gen_bypass(i32 noundef %0) #0 {
%2 = tail call ptr @XSTR(i32 noundef %0, i32 noundef 1) #2
br label %3
3: ; preds = %19, %1
%4 = phi ptr [ %2, %1 ], [ %22, %19 ]
%5 = phi ptr [ %2, %1 ], [ %21, %19 ]
%6 = load i8, ptr %4, align 1, !tbaa !5
switch i8 %6, label %19 [
i8 0, label %23
i8 44, label %7
]
7: ; preds = %3
%8 = ptrtoint ptr %4 to i64
%9 = ptrtoint ptr %5 to i64
%10 = sub i64 %8, %9
%11 = trunc i64 %10 to i32
%12 = tail call i32 @gen_bypass_1(ptr noundef %5, i32 noundef %11) #2
br label %13
13: ; preds = %13, %7
%14 = phi ptr [ %4, %7 ], [ %15, %13 ]
%15 = getelementptr inbounds i8, ptr %14, i64 1
%16 = load i8, ptr %15, align 1, !tbaa !5
%17 = tail call i64 @ISSPACE(i8 noundef signext %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %13, !llvm.loop !8
19: ; preds = %13, %3
%20 = phi ptr [ %4, %3 ], [ %15, %13 ]
%21 = phi ptr [ %5, %3 ], [ %15, %13 ]
%22 = getelementptr inbounds i8, ptr %20, i64 1
br label %3, !llvm.loop !10
23: ; preds = %3
%24 = ptrtoint ptr %4 to i64
%25 = ptrtoint ptr %5 to i64
%26 = sub i64 %24, %25
%27 = trunc i64 %26 to i32
%28 = tail call i32 @gen_bypass_1(ptr noundef %5, i32 noundef %27) #2
ret void
}
declare ptr @XSTR(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gen_bypass_1(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ISSPACE(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_genattrtab.c_gen_bypass.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_genattrtab.c_gen_bypass.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 @gen_bypass], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gen_bypass(i32 noundef %0) #0 {
%2 = tail call ptr @XSTR(i32 noundef %0, i32 noundef 1) #2
br label %3
3: ; preds = %19, %1
%4 = phi ptr [ %2, %1 ], [ %22, %19 ]
%5 = phi ptr [ %2, %1 ], [ %21, %19 ]
%6 = load i8, ptr %4, align 1, !tbaa !6
switch i8 %6, label %19 [
i8 0, label %23
i8 44, label %7
]
7: ; preds = %3
%8 = ptrtoint ptr %4 to i64
%9 = ptrtoint ptr %5 to i64
%10 = sub i64 %8, %9
%11 = trunc i64 %10 to i32
%12 = tail call i32 @gen_bypass_1(ptr noundef %5, i32 noundef %11) #2
br label %13
13: ; preds = %13, %7
%14 = phi ptr [ %4, %7 ], [ %15, %13 ]
%15 = getelementptr inbounds i8, ptr %14, i64 1
%16 = load i8, ptr %15, align 1, !tbaa !6
%17 = tail call i64 @ISSPACE(i8 noundef signext %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %13, !llvm.loop !9
19: ; preds = %13, %3
%20 = phi ptr [ %4, %3 ], [ %15, %13 ]
%21 = phi ptr [ %5, %3 ], [ %15, %13 ]
%22 = getelementptr inbounds i8, ptr %20, i64 1
br label %3, !llvm.loop !11
23: ; preds = %3
%24 = ptrtoint ptr %4 to i64
%25 = ptrtoint ptr %5 to i64
%26 = sub i64 %24, %25
%27 = trunc i64 %26 to i32
%28 = tail call i32 @gen_bypass_1(ptr noundef %5, i32 noundef %27) #2
ret void
}
declare ptr @XSTR(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gen_bypass_1(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ISSPACE(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
| freebsd_contrib_gcc_extr_genattrtab.c_gen_bypass |
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_ca0132.c_zxr_headphone_gain_set.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_ca0132.c_zxr_headphone_gain_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @zxr_headphone_gain_set], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @zxr_headphone_gain_set(ptr noundef %0, i64 noundef %1) #0 {
%3 = tail call i32 @ca0113_mmio_gpio_set(ptr noundef %0, i32 noundef 1, i64 noundef %1) #2
ret i32 0
}
declare i32 @ca0113_mmio_gpio_set(ptr noundef, 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)"}
| ; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_ca0132.c_zxr_headphone_gain_set.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_ca0132.c_zxr_headphone_gain_set.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 @zxr_headphone_gain_set], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @zxr_headphone_gain_set(ptr noundef %0, i64 noundef %1) #0 {
%3 = tail call i32 @ca0113_mmio_gpio_set(ptr noundef %0, i32 noundef 1, i64 noundef %1) #2
ret i32 0
}
declare i32 @ca0113_mmio_gpio_set(ptr noundef, 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)"}
| linux_sound_pci_hda_extr_patch_ca0132.c_zxr_headphone_gain_set |
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libogc/extr_gx.c_GX_GetTexBufferSize.c'
source_filename = "AnghaBench/RetroArch/wii/libogc/libogc/extr_gx.c_GX_GetTexBufferSize.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@switch.table.GX_GetTexBufferSize = private unnamed_addr constant [24 x i32] [i32 3, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 2, i32 3, i32 2, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3], align 4
@switch.table.GX_GetTexBufferSize.1 = private unnamed_addr constant [24 x i32] [i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 3, i32 3, i32 2, i32 2, i32 3, i32 2, i32 2, i32 2, i32 3, i32 2, i32 3, i32 2, i32 2, i32 2, i32 2], align 4
; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable
define dso_local i32 @GX_GetTexBufferSize(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = add i32 %2, -128
%7 = icmp ult i32 %6, 24
br i1 %7, label %8, label %15
8: ; preds = %5
%9 = zext nneg i32 %6 to i64
%10 = getelementptr inbounds [24 x i32], ptr @switch.table.GX_GetTexBufferSize, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
%12 = zext nneg i32 %6 to i64
%13 = getelementptr inbounds [24 x i32], ptr @switch.table.GX_GetTexBufferSize.1, i64 0, i64 %12
%14 = load i32, ptr %13, align 4
br label %15
15: ; preds = %5, %8
%16 = phi i32 [ %11, %8 ], [ 2, %5 ]
%17 = phi i32 [ %14, %8 ], [ 2, %5 ]
%18 = and i32 %2, -3
%19 = icmp eq i32 %18, 129
%20 = icmp eq i32 %3, 0
br i1 %20, label %56, label %21
21: ; preds = %15
%22 = and i32 %4, 255
%23 = icmp eq i32 %22, 0
br i1 %23, label %70, label %24
24: ; preds = %21
%25 = shl nsw i32 -1, %17
%26 = xor i32 %25, -1
%27 = shl nsw i32 -1, %16
%28 = xor i32 %27, -1
%29 = select i1 %19, i32 6, i32 5
br label %30
30: ; preds = %24, %47
%31 = phi i32 [ %0, %24 ], [ %50, %47 ]
%32 = phi i32 [ %22, %24 ], [ %54, %47 ]
%33 = phi i32 [ 0, %24 ], [ %43, %47 ]
%34 = phi i32 [ %1, %24 ], [ %53, %47 ]
%35 = and i32 %31, 65535
%36 = and i32 %34, 65535
%37 = add nuw nsw i32 %36, %26
%38 = lshr i32 %37, %17
%39 = add nuw nsw i32 %35, %28
%40 = lshr i32 %39, %16
%41 = mul nuw nsw i32 %40, %38
%42 = shl i32 %41, %29
%43 = add nsw i32 %42, %33
%44 = icmp ne i32 %35, 1
%45 = icmp ne i32 %36, 1
%46 = select i1 %44, i1 true, i1 %45
br i1 %46, label %47, label %70
47: ; preds = %30
%48 = icmp sgt i32 %31, 1
%49 = lshr i32 %35, 1
%50 = select i1 %48, i32 %49, i32 1
%51 = icmp sgt i32 %34, 1
%52 = lshr i32 %36, 1
%53 = select i1 %51, i32 %52, i32 1
%54 = add nsw i32 %32, -1
%55 = icmp eq i32 %54, 0
br i1 %55, label %70, label %30
56: ; preds = %15
%57 = and i32 %0, 65535
%58 = shl nsw i32 -1, %16
%59 = xor i32 %58, -1
%60 = add nuw nsw i32 %57, %59
%61 = lshr i32 %60, %16
%62 = and i32 %1, 65535
%63 = shl nsw i32 -1, %17
%64 = xor i32 %63, -1
%65 = add nuw nsw i32 %62, %64
%66 = lshr i32 %65, %17
%67 = mul nuw nsw i32 %66, %61
%68 = select i1 %19, i32 6, i32 5
%69 = shl i32 %67, %68
br label %70
70: ; preds = %47, %30, %21, %56
%71 = phi i32 [ %69, %56 ], [ 0, %21 ], [ %43, %30 ], [ %43, %47 ]
ret i32 %71
}
attributes #0 = { nofree norecurse nosync nounwind 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/wii/libogc/libogc/extr_gx.c_GX_GetTexBufferSize.c'
source_filename = "AnghaBench/RetroArch/wii/libogc/libogc/extr_gx.c_GX_GetTexBufferSize.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@switch.table.GX_GetTexBufferSize = private unnamed_addr constant [24 x i32] [i32 3, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 2, i32 3, i32 2, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3], align 4
@switch.table.GX_GetTexBufferSize.1 = private unnamed_addr constant [24 x i32] [i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 3, i32 3, i32 2, i32 2, i32 3, i32 2, i32 2, i32 2, i32 3, i32 2, i32 3, i32 2, i32 2, i32 2, i32 2], align 4
; Function Attrs: nofree norecurse nosync nounwind ssp memory(none) uwtable(sync)
define i32 @GX_GetTexBufferSize(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = add i32 %2, -128
%7 = icmp ult i32 %6, 24
br i1 %7, label %8, label %15
8: ; preds = %5
%9 = zext nneg i32 %6 to i64
%10 = getelementptr inbounds [24 x i32], ptr @switch.table.GX_GetTexBufferSize, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
%12 = zext nneg i32 %6 to i64
%13 = getelementptr inbounds [24 x i32], ptr @switch.table.GX_GetTexBufferSize.1, i64 0, i64 %12
%14 = load i32, ptr %13, align 4
br label %15
15: ; preds = %5, %8
%16 = phi i32 [ %11, %8 ], [ 2, %5 ]
%17 = phi i32 [ %14, %8 ], [ 2, %5 ]
%18 = and i32 %2, -3
%19 = icmp eq i32 %18, 129
%20 = icmp eq i32 %3, 0
br i1 %20, label %56, label %21
21: ; preds = %15
%22 = and i32 %4, 255
%23 = icmp eq i32 %22, 0
br i1 %23, label %70, label %24
24: ; preds = %21
%25 = shl nsw i32 -1, %17
%26 = xor i32 %25, -1
%27 = shl nsw i32 -1, %16
%28 = xor i32 %27, -1
%29 = select i1 %19, i32 6, i32 5
br label %30
30: ; preds = %24, %47
%31 = phi i32 [ %0, %24 ], [ %50, %47 ]
%32 = phi i32 [ %22, %24 ], [ %54, %47 ]
%33 = phi i32 [ 0, %24 ], [ %43, %47 ]
%34 = phi i32 [ %1, %24 ], [ %53, %47 ]
%35 = and i32 %31, 65535
%36 = and i32 %34, 65535
%37 = add nuw nsw i32 %36, %26
%38 = lshr i32 %37, %17
%39 = add nuw nsw i32 %35, %28
%40 = lshr i32 %39, %16
%41 = mul nuw nsw i32 %40, %38
%42 = shl i32 %41, %29
%43 = add nuw nsw i32 %42, %33
%44 = icmp ne i32 %35, 1
%45 = icmp ne i32 %36, 1
%46 = select i1 %44, i1 true, i1 %45
br i1 %46, label %47, label %70
47: ; preds = %30
%48 = icmp sgt i32 %31, 1
%49 = lshr i32 %35, 1
%50 = select i1 %48, i32 %49, i32 1
%51 = icmp sgt i32 %34, 1
%52 = lshr i32 %36, 1
%53 = select i1 %51, i32 %52, i32 1
%54 = add nsw i32 %32, -1
%55 = icmp eq i32 %54, 0
br i1 %55, label %70, label %30
56: ; preds = %15
%57 = and i32 %0, 65535
%58 = shl nsw i32 -1, %16
%59 = xor i32 %58, -1
%60 = add nuw nsw i32 %57, %59
%61 = lshr i32 %60, %16
%62 = and i32 %1, 65535
%63 = shl nsw i32 -1, %17
%64 = xor i32 %63, -1
%65 = add nuw nsw i32 %62, %64
%66 = lshr i32 %65, %17
%67 = mul nuw nsw i32 %66, %61
%68 = select i1 %19, i32 6, i32 5
%69 = shl i32 %67, %68
br label %70
70: ; preds = %47, %30, %21, %56
%71 = phi i32 [ %69, %56 ], [ 0, %21 ], [ %43, %30 ], [ %43, %47 ]
ret i32 %71
}
attributes #0 = { nofree norecurse nosync nounwind ssp 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_wii_libogc_libogc_extr_gx.c_GX_GetTexBufferSize |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_ohci-tmio.c_tmio_stop_hc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_ohci-tmio.c_tmio_stop_hc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CCR_PM_GKEN = dso_local local_unnamed_addr global i32 0, align 4
@CCR_PM_CKRNEN = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"Unsupported amount of ports: %d\0A\00", align 1
@CCR_PM_USBPW3 = dso_local local_unnamed_addr global i32 0, align 4
@CCR_PM_USBPW2 = dso_local local_unnamed_addr global i32 0, align 4
@CCR_PM_USBPW1 = dso_local local_unnamed_addr global i32 0, align 4
@CCR_INTC = dso_local local_unnamed_addr global i64 0, align 8
@CCR_ILME = dso_local local_unnamed_addr global i64 0, align 8
@CCR_BASE = dso_local local_unnamed_addr global i64 0, align 8
@CCR_PM = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @tmio_stop_hc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tmio_stop_hc(ptr noundef %0) #0 {
%2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2
%3 = tail call ptr @hcd_to_ohci(ptr noundef %2) #2
%4 = tail call ptr @hcd_to_tmio(ptr noundef %2) #2
%5 = load i32, ptr @CCR_PM_GKEN, align 4, !tbaa !5
%6 = load i32, ptr @CCR_PM_CKRNEN, align 4, !tbaa !5
%7 = or i32 %6, %5
%8 = load i32, ptr %3, align 4, !tbaa !9
switch i32 %8, label %9 [
i32 3, label %11
i32 2, label %14
i32 1, label %18
]
9: ; preds = %1
%10 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %8) #2
br label %11
11: ; preds = %1, %9
%12 = load i32, ptr @CCR_PM_USBPW3, align 4, !tbaa !5
%13 = or i32 %12, %7
br label %14
14: ; preds = %1, %11
%15 = phi i32 [ %13, %11 ], [ %7, %1 ]
%16 = load i32, ptr @CCR_PM_USBPW2, align 4, !tbaa !5
%17 = or i32 %16, %15
br label %18
18: ; preds = %1, %14
%19 = phi i32 [ %17, %14 ], [ %7, %1 ]
%20 = load i32, ptr @CCR_PM_USBPW1, align 4, !tbaa !5
%21 = or i32 %20, %19
%22 = load i64, ptr %4, align 8, !tbaa !11
%23 = load i64, ptr @CCR_INTC, align 8, !tbaa !14
%24 = add nsw i64 %23, %22
%25 = tail call i32 @tmio_iowrite8(i32 noundef 0, i64 noundef %24) #2
%26 = load i64, ptr %4, align 8, !tbaa !11
%27 = load i64, ptr @CCR_ILME, align 8, !tbaa !14
%28 = add nsw i64 %27, %26
%29 = tail call i32 @tmio_iowrite8(i32 noundef 0, i64 noundef %28) #2
%30 = load i64, ptr %4, align 8, !tbaa !11
%31 = load i64, ptr @CCR_BASE, align 8, !tbaa !14
%32 = add nsw i64 %31, %30
%33 = tail call i32 @tmio_iowrite16(i32 noundef 0, i64 noundef %32) #2
%34 = load i64, ptr %4, align 8, !tbaa !11
%35 = load i64, ptr @CCR_BASE, align 8, !tbaa !14
%36 = add i64 %34, 2
%37 = add i64 %36, %35
%38 = tail call i32 @tmio_iowrite16(i32 noundef 0, i64 noundef %37) #2
%39 = load i64, ptr %4, align 8, !tbaa !11
%40 = load i64, ptr @CCR_PM, align 8, !tbaa !14
%41 = add nsw i64 %40, %39
%42 = tail call i32 @tmio_iowrite16(i32 noundef %21, i64 noundef %41) #2
ret void
}
declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1
declare ptr @hcd_to_ohci(ptr noundef) local_unnamed_addr #1
declare ptr @hcd_to_tmio(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tmio_iowrite8(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @tmio_iowrite16(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, !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 = !{!"ohci_hcd", !6, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"tmio_hcd", !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!13, !13, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_ohci-tmio.c_tmio_stop_hc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_ohci-tmio.c_tmio_stop_hc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CCR_PM_GKEN = common local_unnamed_addr global i32 0, align 4
@CCR_PM_CKRNEN = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"Unsupported amount of ports: %d\0A\00", align 1
@CCR_PM_USBPW3 = common local_unnamed_addr global i32 0, align 4
@CCR_PM_USBPW2 = common local_unnamed_addr global i32 0, align 4
@CCR_PM_USBPW1 = common local_unnamed_addr global i32 0, align 4
@CCR_INTC = common local_unnamed_addr global i64 0, align 8
@CCR_ILME = common local_unnamed_addr global i64 0, align 8
@CCR_BASE = common local_unnamed_addr global i64 0, align 8
@CCR_PM = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @tmio_stop_hc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tmio_stop_hc(ptr noundef %0) #0 {
%2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2
%3 = tail call ptr @hcd_to_ohci(ptr noundef %2) #2
%4 = tail call ptr @hcd_to_tmio(ptr noundef %2) #2
%5 = load i32, ptr @CCR_PM_GKEN, align 4, !tbaa !6
%6 = load i32, ptr @CCR_PM_CKRNEN, align 4, !tbaa !6
%7 = or i32 %6, %5
%8 = load i32, ptr %3, align 4, !tbaa !10
switch i32 %8, label %9 [
i32 3, label %11
i32 2, label %14
i32 1, label %18
]
9: ; preds = %1
%10 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %8) #2
br label %11
11: ; preds = %1, %9
%12 = load i32, ptr @CCR_PM_USBPW3, align 4, !tbaa !6
%13 = or i32 %12, %7
br label %14
14: ; preds = %1, %11
%15 = phi i32 [ %13, %11 ], [ %7, %1 ]
%16 = load i32, ptr @CCR_PM_USBPW2, align 4, !tbaa !6
%17 = or i32 %16, %15
br label %18
18: ; preds = %1, %14
%19 = phi i32 [ %17, %14 ], [ %7, %1 ]
%20 = load i32, ptr @CCR_PM_USBPW1, align 4, !tbaa !6
%21 = or i32 %20, %19
%22 = load i64, ptr %4, align 8, !tbaa !12
%23 = load i64, ptr @CCR_INTC, align 8, !tbaa !15
%24 = add nsw i64 %23, %22
%25 = tail call i32 @tmio_iowrite8(i32 noundef 0, i64 noundef %24) #2
%26 = load i64, ptr %4, align 8, !tbaa !12
%27 = load i64, ptr @CCR_ILME, align 8, !tbaa !15
%28 = add nsw i64 %27, %26
%29 = tail call i32 @tmio_iowrite8(i32 noundef 0, i64 noundef %28) #2
%30 = load i64, ptr %4, align 8, !tbaa !12
%31 = load i64, ptr @CCR_BASE, align 8, !tbaa !15
%32 = add nsw i64 %31, %30
%33 = tail call i32 @tmio_iowrite16(i32 noundef 0, i64 noundef %32) #2
%34 = load i64, ptr %4, align 8, !tbaa !12
%35 = load i64, ptr @CCR_BASE, align 8, !tbaa !15
%36 = add i64 %34, 2
%37 = add i64 %36, %35
%38 = tail call i32 @tmio_iowrite16(i32 noundef 0, i64 noundef %37) #2
%39 = load i64, ptr %4, align 8, !tbaa !12
%40 = load i64, ptr @CCR_PM, align 8, !tbaa !15
%41 = add nsw i64 %40, %39
%42 = tail call i32 @tmio_iowrite16(i32 noundef %21, i64 noundef %41) #2
ret void
}
declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1
declare ptr @hcd_to_ohci(ptr noundef) local_unnamed_addr #1
declare ptr @hcd_to_tmio(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tmio_iowrite8(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @tmio_iowrite16(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, !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 = !{!"ohci_hcd", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"tmio_hcd", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!14, !14, i64 0}
| fastsocket_kernel_drivers_usb_host_extr_ohci-tmio.c_tmio_stop_hc |
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Slot_xt_format1_Format_xt_flix64_slot1_28_set.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Slot_xt_format1_Format_xt_flix64_slot1_28_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @Slot_xt_format1_Format_xt_flix64_slot1_28_set], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @Slot_xt_format1_Format_xt_flix64_slot1_28_set(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = and i32 %3, 268435455
%5 = load i32, ptr %1, align 4, !tbaa !5
%6 = shl i32 %5, 28
%7 = or disjoint i32 %6, %4
store i32 %7, ptr %0, align 4, !tbaa !5
%8 = getelementptr inbounds i32, ptr %0, i64 1
%9 = load i32, ptr %8, align 4, !tbaa !5
%10 = and i32 %9, -65536
%11 = load i32, ptr %1, align 4, !tbaa !5
%12 = lshr i32 %11, 4
%13 = and i32 %12, 65535
%14 = or disjoint i32 %13, %10
store i32 %14, ptr %8, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Slot_xt_format1_Format_xt_flix64_slot1_28_set.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Slot_xt_format1_Format_xt_flix64_slot1_28_set.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 @Slot_xt_format1_Format_xt_flix64_slot1_28_set], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @Slot_xt_format1_Format_xt_flix64_slot1_28_set(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = and i32 %3, 268435455
%5 = load i32, ptr %1, align 4, !tbaa !6
%6 = shl i32 %5, 28
%7 = or disjoint i32 %6, %4
store i32 %7, ptr %0, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !6
%10 = and i32 %9, -65536
%11 = load i32, ptr %1, align 4, !tbaa !6
%12 = lshr i32 %11, 4
%13 = and i32 %12, 65535
%14 = or disjoint i32 %13, %10
store i32 %14, ptr %8, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Slot_xt_format1_Format_xt_flix64_slot1_28_set |
; ModuleID = 'AnghaBench/Atlas/src/extr_network-mysqld-proto.c_network_mysqld_proto_skip_network_header.c'
source_filename = "AnghaBench/Atlas/src/extr_network-mysqld-proto.c_network_mysqld_proto_skip_network_header.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NET_HEADER_SIZE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @network_mysqld_proto_skip_network_header(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @NET_HEADER_SIZE, align 4, !tbaa !5
%3 = tail call i32 @network_mysqld_proto_skip(ptr noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @network_mysqld_proto_skip(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Atlas/src/extr_network-mysqld-proto.c_network_mysqld_proto_skip_network_header.c'
source_filename = "AnghaBench/Atlas/src/extr_network-mysqld-proto.c_network_mysqld_proto_skip_network_header.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NET_HEADER_SIZE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @network_mysqld_proto_skip_network_header(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @NET_HEADER_SIZE, align 4, !tbaa !6
%3 = tail call i32 @network_mysqld_proto_skip(ptr noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @network_mysqld_proto_skip(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"}
| Atlas_src_extr_network-mysqld-proto.c_network_mysqld_proto_skip_network_header |
; ModuleID = 'AnghaBench/zstd/lib/compress/extr_zstd_compress.c_ZSTD_resetCCtx_internal.c'
source_filename = "AnghaBench/zstd/lib/compress/extr_zstd_compress.c_ZSTD_resetCCtx_internal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_23__ = type { %struct.TYPE_18__, %struct.TYPE_25__, %struct.TYPE_19__ }
%struct.TYPE_18__ = type { i64, i64, i32, i64, i32 }
%struct.TYPE_25__ = type { i64, i32 }
%struct.TYPE_19__ = type { i32 }
%struct.TYPE_24__ = type { i32, ptr, i64, i64, i64, ptr, i64, ptr, i64, %struct.TYPE_21__, ptr, %struct.TYPE_22__, %struct.TYPE_20__, i64, i32, i32, %struct.TYPE_23__, i64, i64, i32, i64, i32 }
%struct.TYPE_21__ = type { i32, ptr, ptr, i32 }
%struct.TYPE_22__ = type { %struct.TYPE_26__, ptr, ptr }
%struct.TYPE_26__ = type { %struct.TYPE_25__, i32 }
%struct.TYPE_20__ = type { i64, i64, ptr, ptr, ptr, ptr, ptr }
@.str = private unnamed_addr constant [52 x i8] c"ZSTD_resetCCtx_internal: pledgedSrcSize=%u, wlog=%u\00", align 1
@ZSTD_BLOCKSIZE_MAX = dso_local local_unnamed_addr global i64 0, align 8
@WILDCOPY_OVERLENGTH = dso_local local_unnamed_addr constant i64 0, align 8
@ZSTDb_buffered = dso_local local_unnamed_addr constant i64 0, align 8
@ZSTDirp_continue = dso_local local_unnamed_addr global i32 0, align 4
@ZSTDirp_reset = dso_local local_unnamed_addr global i32 0, align 4
@HUF_WORKSPACE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [77 x i8] c"Need %zuKB workspace, including %zuKB for match state, and %zuKB for buffers\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"windowSize: %zu - blockSize: %zu\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"Resize workspaceSize from %zuKB to %zuKB\00", align 1
@memory_allocation = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [24 x i8] c"static cctx : no resize\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"reserving object space\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"couldn't allocate prevCBlock\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"couldn't allocate nextCBlock\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"couldn't allocate entropyWorkspace\00", align 1
@ZSTD_CONTENTSIZE_UNKNOWN = dso_local local_unnamed_addr constant i64 0, align 8
@.str.9 = private unnamed_addr constant [38 x i8] c"pledged content size : %u ; flag : %u\00", align 1
@ZSTDcs_init = dso_local local_unnamed_addr global i32 0, align 4
@ZSTD_resetTarget_CCtx = dso_local local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [54 x i8] c"wksp: finished allocating, %zd bytes remain available\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ZSTD_resetCCtx_internal], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i64 @ZSTD_resetCCtx_internal(ptr noundef %0, ptr noundef byval(%struct.TYPE_23__) align 8 %1, i64 noundef %2, i32 noundef %3, i64 noundef %4) #0 {
%6 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 21
%7 = getelementptr inbounds %struct.TYPE_23__, ptr %1, i64 0, i32 1
%8 = load i64, ptr %7, align 8
%9 = tail call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 4, ptr noundef nonnull @.str, i64 noundef %2, i64 noundef %8) #4
%10 = getelementptr inbounds %struct.TYPE_23__, ptr %1, i64 0, i32 1, i32 1
%11 = load i32, ptr %10, align 8
%12 = tail call i32 @ZSTD_checkCParams(i64 %8, i32 %11) #4
%13 = tail call i32 @ZSTD_isError(i32 noundef %12) #4
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 noundef %15) #4
store i32 1, ptr %0, align 8, !tbaa !5
%17 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 3
%18 = load i64, ptr %17, align 8, !tbaa !20
%19 = icmp eq i64 %18, 0
br i1 %19, label %38, label %20
20: ; preds = %5
%21 = call i32 @ZSTD_ldm_adjustParameters(ptr noundef nonnull %1, ptr noundef nonnull %7) #4
%22 = load i64, ptr %1, align 8, !tbaa !21
%23 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 1
%24 = load i64, ptr %23, align 8, !tbaa !22
%25 = icmp uge i64 %22, %24
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 noundef %26) #4
%28 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 2
%29 = load i32, ptr %28, align 8, !tbaa !23
%30 = icmp slt i32 %29, 32
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 noundef %31) #4
%33 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 4
%34 = load i32, ptr %33, align 8, !tbaa !24
%35 = call i32 @ZSTD_rollingHash_primePower(i32 noundef %34) #4
%36 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 9, i32 3
store i32 %35, ptr %36, align 8, !tbaa !25
%37 = load i64, ptr %7, align 8, !tbaa !26
br label %38
38: ; preds = %20, %5
%39 = phi i64 [ %37, %20 ], [ %8, %5 ]
%40 = shl nuw i64 1, %39
%41 = call i64 @MIN(i64 noundef %40, i64 noundef %2) #4
%42 = call i64 @MAX(i32 noundef 1, i64 noundef %41) #4
%43 = load i64, ptr @ZSTD_BLOCKSIZE_MAX, align 8, !tbaa !27
%44 = call i64 @MIN(i64 noundef %43, i64 noundef %42) #4
%45 = load i32, ptr %10, align 8, !tbaa !28
%46 = icmp eq i32 %45, 3
%47 = select i1 %46, i64 3, i64 4
%48 = udiv i64 %44, %47
%49 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef %44) #4
%50 = shl i64 %48, 2
%51 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef %50) #4
%52 = add nsw i32 %51, %49
%53 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef %50) #4
%54 = mul nsw i32 %53, 3
%55 = add nsw i32 %52, %54
%56 = sext i32 %55 to i64
%57 = icmp eq i64 %4, 0
br i1 %57, label %58, label %62
58: ; preds = %38
%59 = call i32 @ZSTD_compressBound(i64 noundef %44) #4
%60 = add nsw i32 %59, 1
%61 = sext i32 %60 to i64
br label %62
62: ; preds = %38, %58
%63 = phi i64 [ %61, %58 ], [ 0, %38 ]
%64 = add i64 %44, %42
%65 = select i1 %57, i64 %64, i64 0
%66 = call i64 @ZSTD_sizeof_matchState(ptr noundef nonnull %7, i32 noundef 1) #4
%67 = call i64 @ZSTD_ldm_getMaxNbSeq(ptr noundef nonnull byval(%struct.TYPE_18__) align 8 %1, i64 noundef %44) #4
%68 = load i32, ptr @ZSTDirp_continue, align 4, !tbaa !29
%69 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 11
%70 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 11, i32 0, i32 1
%71 = load i32, ptr %70, align 8, !tbaa !30
%72 = call i64 @ZSTD_indexTooCloseToMax(i32 noundef %71) #4
%73 = icmp eq i64 %72, 0
%74 = load i32, ptr @ZSTDirp_reset, align 4
%75 = select i1 %73, i32 %68, i32 %74
%76 = call i32 @ZSTD_cwksp_bump_oversized_duration(ptr noundef nonnull %6, i32 noundef 0) #4
%77 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 20
%78 = load i64, ptr %77, align 8, !tbaa !31
%79 = icmp eq i64 %78, 0
br i1 %79, label %83, label %80
80: ; preds = %62
%81 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef 328) #4
%82 = sext i32 %81 to i64
br label %83
83: ; preds = %62, %80
%84 = phi i64 [ %82, %80 ], [ 0, %62 ]
%85 = load i32, ptr @HUF_WORKSPACE_SIZE, align 4, !tbaa !29
%86 = sext i32 %85 to i64
%87 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef %86) #4
%88 = sext i32 %87 to i64
%89 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef 4) #4
%90 = shl nsw i32 %89, 1
%91 = sext i32 %90 to i64
%92 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef %65) #4
%93 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef %63) #4
%94 = add nsw i32 %93, %92
%95 = sext i32 %94 to i64
%96 = call i64 @ZSTD_ldm_getTableSize(ptr noundef nonnull byval(%struct.TYPE_18__) align 8 %1) #4
%97 = shl i64 %67, 2
%98 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef %97) #4
%99 = sext i32 %98 to i64
%100 = add i64 %66, %56
%101 = add i64 %100, %84
%102 = add i64 %101, %88
%103 = add i64 %102, %91
%104 = add i64 %103, %96
%105 = add i64 %104, %95
%106 = add i64 %105, %99
%107 = call i32 @ZSTD_cwksp_sizeof(ptr noundef nonnull %6) #4
%108 = sext i32 %107 to i64
%109 = icmp ugt i64 %106, %108
%110 = call i32 @ZSTD_cwksp_check_wasteful(ptr noundef nonnull %6, i64 noundef %106) #4
%111 = lshr i64 %106, 10
%112 = lshr i64 %66, 10
%113 = lshr i64 %95, 10
%114 = call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 4, ptr noundef nonnull @.str.1, i64 noundef %111, i64 noundef %112, i64 noundef %113) #4
%115 = call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 4, ptr noundef nonnull @.str.2, i64 noundef %42, i64 noundef %44) #4
%116 = icmp ne i32 %110, 0
%117 = select i1 %109, i1 true, i1 %116
br i1 %117, label %118, label %158
118: ; preds = %83
%119 = call i32 @ZSTD_cwksp_sizeof(ptr noundef nonnull %6) #4
%120 = ashr i32 %119, 10
%121 = call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 4, ptr noundef nonnull @.str.3, i32 noundef %120, i64 noundef %111) #4
%122 = load i64, ptr %77, align 8, !tbaa !31
%123 = load i32, ptr @memory_allocation, align 4, !tbaa !29
%124 = call i32 @RETURN_ERROR_IF(i64 noundef %122, i32 noundef %123, ptr noundef nonnull @.str.4) #4
%125 = load i32, ptr @ZSTDirp_reset, align 4, !tbaa !29
%126 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 19
%127 = load i32, ptr %126, align 8, !tbaa !32
%128 = call i32 @ZSTD_cwksp_free(ptr noundef nonnull %6, i32 noundef %127) #4
%129 = load i32, ptr %126, align 8, !tbaa !32
%130 = call i32 @ZSTD_cwksp_create(ptr noundef nonnull %6, i64 noundef %106, i32 noundef %129) #4
%131 = call i32 @FORWARD_IF_ERROR(i32 noundef %130) #4
%132 = call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 5, ptr noundef nonnull @.str.5) #4
%133 = call i32 @ZSTD_cwksp_check_available(ptr noundef nonnull %6, i32 noundef 8) #4
%134 = call i32 @assert(i32 noundef %133) #4
%135 = call i64 @ZSTD_cwksp_reserve_object(ptr noundef nonnull %6, i32 noundef 4) #4
%136 = inttoptr i64 %135 to ptr
%137 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 11, i32 1
store ptr %136, ptr %137, align 8, !tbaa !33
%138 = icmp eq i64 %135, 0
%139 = zext i1 %138 to i64
%140 = load i32, ptr @memory_allocation, align 4, !tbaa !29
%141 = call i32 @RETURN_ERROR_IF(i64 noundef %139, i32 noundef %140, ptr noundef nonnull @.str.6) #4
%142 = call i64 @ZSTD_cwksp_reserve_object(ptr noundef nonnull %6, i32 noundef 4) #4
%143 = inttoptr i64 %142 to ptr
%144 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 11, i32 2
store ptr %143, ptr %144, align 8, !tbaa !34
%145 = icmp eq i64 %142, 0
%146 = zext i1 %145 to i64
%147 = load i32, ptr @memory_allocation, align 4, !tbaa !29
%148 = call i32 @RETURN_ERROR_IF(i64 noundef %146, i32 noundef %147, ptr noundef nonnull @.str.7) #4
%149 = load i32, ptr @HUF_WORKSPACE_SIZE, align 4, !tbaa !29
%150 = call i64 @ZSTD_cwksp_reserve_object(ptr noundef nonnull %6, i32 noundef %149) #4
%151 = inttoptr i64 %150 to ptr
%152 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 1
store ptr %151, ptr %152, align 8, !tbaa !35
%153 = load ptr, ptr %144, align 8, !tbaa !34
%154 = icmp eq ptr %153, null
%155 = zext i1 %154 to i64
%156 = load i32, ptr @memory_allocation, align 4, !tbaa !29
%157 = call i32 @RETURN_ERROR_IF(i64 noundef %155, i32 noundef %156, ptr noundef nonnull @.str.8) #4
br label %158
158: ; preds = %83, %118
%159 = phi i32 [ %125, %118 ], [ %75, %83 ]
%160 = call i32 @ZSTD_cwksp_clear(ptr noundef nonnull %6) #4
%161 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 16
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %161, ptr noundef nonnull align 8 dereferenceable(64) %1, i64 64, i1 false), !tbaa.struct !36
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %69, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !37
%162 = add nsw i64 %2, 1
%163 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 2
store i64 %162, ptr %163, align 8, !tbaa !38
%164 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 17
%165 = icmp eq i64 %2, 0
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %164, i8 0, i64 16, i1 false)
%166 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 16, i32 2
br i1 %165, label %169, label %167
167: ; preds = %158
%168 = load i32, ptr %166, align 8, !tbaa !39
br label %170
169: ; preds = %158
store i32 0, ptr %166, align 8, !tbaa !39
br label %170
170: ; preds = %167, %169
%171 = phi i32 [ %168, %167 ], [ 0, %169 ]
%172 = trunc i64 %2 to i32
%173 = call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 4, ptr noundef nonnull @.str.9, i32 noundef %172, i32 noundef %171) #4
%174 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 3
store i64 %44, ptr %174, align 8, !tbaa !40
%175 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 15
%176 = call i32 @XXH64_reset(ptr noundef nonnull %175, i32 noundef 0) #4
%177 = load i32, ptr @ZSTDcs_init, align 4, !tbaa !29
%178 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 14
store i32 %177, ptr %178, align 8, !tbaa !41
%179 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 13
store i64 0, ptr %179, align 8, !tbaa !42
%180 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 11, i32 1
%181 = load ptr, ptr %180, align 8, !tbaa !33
%182 = call i32 @ZSTD_reset_compressedBlockState(ptr noundef %181) #4
%183 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %6, i64 noundef %44) #4
%184 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 12
%185 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 12, i32 6
store ptr %183, ptr %185, align 8, !tbaa !43
store i64 %44, ptr %184, align 8, !tbaa !44
%186 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 4
store i64 %65, ptr %186, align 8, !tbaa !45
%187 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %6, i64 noundef %65) #4
%188 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 5
store ptr %187, ptr %188, align 8, !tbaa !46
%189 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 6
store i64 %63, ptr %189, align 8, !tbaa !47
%190 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %6, i64 noundef %63) #4
%191 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 7
store ptr %190, ptr %191, align 8, !tbaa !48
%192 = load i64, ptr %17, align 8, !tbaa !20
%193 = icmp eq i64 %192, 0
br i1 %193, label %203, label %194
194: ; preds = %170
%195 = load i64, ptr %1, align 8, !tbaa !21
%196 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 1
%197 = load i64, ptr %196, align 8, !tbaa !22
%198 = sub i64 %195, %197
%199 = shl nuw i64 1, %198
%200 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %6, i64 noundef %199) #4
%201 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 9, i32 2
store ptr %200, ptr %201, align 8, !tbaa !49
%202 = call i32 @memset(ptr noundef %200, i32 noundef 0, i64 noundef %199) #4
br label %203
203: ; preds = %194, %170
%204 = call i32 @ZSTD_referenceExternalSequences(ptr noundef nonnull %0, ptr noundef null, i32 noundef 0) #4
%205 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 12, i32 1
store i64 %48, ptr %205, align 8, !tbaa !50
%206 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %6, i64 noundef %50) #4
%207 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 12, i32 5
store ptr %206, ptr %207, align 8, !tbaa !51
%208 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %6, i64 noundef %50) #4
%209 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 12, i32 4
store ptr %208, ptr %209, align 8, !tbaa !52
%210 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %6, i64 noundef %50) #4
%211 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 12, i32 3
store ptr %210, ptr %211, align 8, !tbaa !53
%212 = call i64 @ZSTD_cwksp_reserve_aligned(ptr noundef nonnull %6, i64 noundef %50) #4
%213 = inttoptr i64 %212 to ptr
%214 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 12, i32 2
store ptr %213, ptr %214, align 8, !tbaa !54
%215 = load i32, ptr @ZSTD_resetTarget_CCtx, align 4, !tbaa !29
%216 = call i32 @ZSTD_reset_matchState(ptr noundef nonnull %69, ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef %3, i32 noundef %159, i32 noundef %215) #4
%217 = call i32 @FORWARD_IF_ERROR(i32 noundef %216) #4
%218 = load i64, ptr %17, align 8, !tbaa !20
%219 = icmp eq i64 %218, 0
br i1 %219, label %234, label %220
220: ; preds = %203
%221 = load i64, ptr %1, align 8, !tbaa !21
%222 = shl i64 4, %221
%223 = call i64 @ZSTD_cwksp_reserve_aligned(ptr noundef nonnull %6, i64 noundef %222) #4
%224 = inttoptr i64 %223 to ptr
%225 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 9
%226 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 9, i32 1
store ptr %224, ptr %226, align 8, !tbaa !55
%227 = call i32 @memset(ptr noundef %224, i32 noundef 0, i64 noundef %222) #4
%228 = call i64 @ZSTD_cwksp_reserve_aligned(ptr noundef nonnull %6, i64 noundef %97) #4
%229 = inttoptr i64 %228 to ptr
%230 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 10
store ptr %229, ptr %230, align 8, !tbaa !56
%231 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 8
store i64 %67, ptr %231, align 8, !tbaa !57
%232 = call i32 @memset(ptr noundef nonnull %225, i32 noundef 0, i64 noundef 4) #4
%233 = call i32 @ZSTD_window_clear(ptr noundef nonnull %225) #4
br label %234
234: ; preds = %220, %203
%235 = call i32 @ZSTD_cwksp_available_space(ptr noundef nonnull %6) #4
%236 = call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 3, ptr noundef nonnull @.str.10, i32 noundef %235) #4
ret i64 0
}
declare i32 @DEBUGLOG(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @ZSTD_isError(i32 noundef) local_unnamed_addr #1
declare i32 @ZSTD_checkCParams(i64, i32) local_unnamed_addr #1
declare i32 @ZSTD_ldm_adjustParameters(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ZSTD_rollingHash_primePower(i32 noundef) local_unnamed_addr #1
declare i64 @MAX(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @MIN(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ZSTD_cwksp_alloc_size(i64 noundef) local_unnamed_addr #1
declare i32 @ZSTD_compressBound(i64 noundef) local_unnamed_addr #1
declare i64 @ZSTD_sizeof_matchState(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_ldm_getMaxNbSeq(ptr noundef byval(%struct.TYPE_18__) align 8, i64 noundef) local_unnamed_addr #1
declare i64 @ZSTD_indexTooCloseToMax(i32 noundef) local_unnamed_addr #1
declare i32 @ZSTD_cwksp_bump_oversized_duration(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_ldm_getTableSize(ptr noundef byval(%struct.TYPE_18__) align 8) local_unnamed_addr #1
declare i32 @ZSTD_cwksp_sizeof(ptr noundef) local_unnamed_addr #1
declare i32 @ZSTD_cwksp_check_wasteful(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @RETURN_ERROR_IF(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ZSTD_cwksp_free(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FORWARD_IF_ERROR(i32 noundef) local_unnamed_addr #1
declare i32 @ZSTD_cwksp_create(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ZSTD_cwksp_check_available(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_cwksp_reserve_object(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ZSTD_cwksp_clear(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @XXH64_reset(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ZSTD_reset_compressedBlockState(ptr noundef) local_unnamed_addr #1
declare ptr @ZSTD_cwksp_reserve_buffer(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ZSTD_referenceExternalSequences(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_cwksp_reserve_aligned(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ZSTD_reset_matchState(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ZSTD_window_clear(ptr noundef) local_unnamed_addr #1
declare i32 @ZSTD_cwksp_available_space(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_24__", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !10, i64 40, !11, i64 48, !10, i64 56, !11, i64 64, !12, i64 72, !10, i64 104, !13, i64 112, !16, i64 152, !11, i64 208, !7, i64 216, !7, i64 220, !17, i64 224, !11, i64 288, !11, i64 296, !7, i64 304, !11, i64 312, !7, i64 320}
!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 = !{!"TYPE_21__", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24}
!13 = !{!"TYPE_22__", !14, i64 0, !10, i64 24, !10, i64 32}
!14 = !{!"TYPE_26__", !15, i64 0, !7, i64 16}
!15 = !{!"TYPE_25__", !11, i64 0, !7, i64 8}
!16 = !{!"TYPE_20__", !11, i64 0, !11, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48}
!17 = !{!"TYPE_23__", !18, i64 0, !15, i64 40, !19, i64 56}
!18 = !{!"TYPE_18__", !11, i64 0, !11, i64 8, !7, i64 16, !11, i64 24, !7, i64 32}
!19 = !{!"TYPE_19__", !7, i64 0}
!20 = !{!17, !11, i64 24}
!21 = !{!17, !11, i64 0}
!22 = !{!17, !11, i64 8}
!23 = !{!17, !7, i64 16}
!24 = !{!17, !7, i64 32}
!25 = !{!6, !7, i64 96}
!26 = !{!17, !11, i64 40}
!27 = !{!11, !11, i64 0}
!28 = !{!17, !7, i64 48}
!29 = !{!7, !7, i64 0}
!30 = !{!6, !7, i64 128}
!31 = !{!6, !11, i64 312}
!32 = !{!6, !7, i64 304}
!33 = !{!6, !10, i64 136}
!34 = !{!6, !10, i64 144}
!35 = !{!6, !10, i64 8}
!36 = !{i64 0, i64 8, !27, i64 8, i64 8, !27, i64 16, i64 4, !29, i64 24, i64 8, !27, i64 32, i64 4, !29, i64 40, i64 8, !27, i64 48, i64 4, !29, i64 56, i64 4, !29}
!37 = !{i64 0, i64 8, !27, i64 8, i64 4, !29}
!38 = !{!6, !11, i64 16}
!39 = !{!6, !7, i64 280}
!40 = !{!6, !11, i64 24}
!41 = !{!6, !7, i64 216}
!42 = !{!6, !11, i64 208}
!43 = !{!6, !10, i64 200}
!44 = !{!6, !11, i64 152}
!45 = !{!6, !11, i64 32}
!46 = !{!6, !10, i64 40}
!47 = !{!6, !11, i64 48}
!48 = !{!6, !10, i64 56}
!49 = !{!6, !10, i64 88}
!50 = !{!6, !11, i64 160}
!51 = !{!6, !10, i64 192}
!52 = !{!6, !10, i64 184}
!53 = !{!6, !10, i64 176}
!54 = !{!6, !10, i64 168}
!55 = !{!6, !10, i64 80}
!56 = !{!6, !10, i64 104}
!57 = !{!6, !11, i64 64}
| ; ModuleID = 'AnghaBench/zstd/lib/compress/extr_zstd_compress.c_ZSTD_resetCCtx_internal.c'
source_filename = "AnghaBench/zstd/lib/compress/extr_zstd_compress.c_ZSTD_resetCCtx_internal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_18__ = type { i64, i64, i32, i64, i32 }
@.str = private unnamed_addr constant [52 x i8] c"ZSTD_resetCCtx_internal: pledgedSrcSize=%u, wlog=%u\00", align 1
@ZSTD_BLOCKSIZE_MAX = common local_unnamed_addr global i64 0, align 8
@WILDCOPY_OVERLENGTH = common local_unnamed_addr global i64 0, align 8
@ZSTDb_buffered = common local_unnamed_addr global i64 0, align 8
@ZSTDirp_continue = common local_unnamed_addr global i32 0, align 4
@ZSTDirp_reset = common local_unnamed_addr global i32 0, align 4
@HUF_WORKSPACE_SIZE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [77 x i8] c"Need %zuKB workspace, including %zuKB for match state, and %zuKB for buffers\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"windowSize: %zu - blockSize: %zu\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"Resize workspaceSize from %zuKB to %zuKB\00", align 1
@memory_allocation = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [24 x i8] c"static cctx : no resize\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"reserving object space\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"couldn't allocate prevCBlock\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"couldn't allocate nextCBlock\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"couldn't allocate entropyWorkspace\00", align 1
@ZSTD_CONTENTSIZE_UNKNOWN = common local_unnamed_addr global i64 0, align 8
@.str.9 = private unnamed_addr constant [38 x i8] c"pledged content size : %u ; flag : %u\00", align 1
@ZSTDcs_init = common local_unnamed_addr global i32 0, align 4
@ZSTD_resetTarget_CCtx = common local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [54 x i8] c"wksp: finished allocating, %zd bytes remain available\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ZSTD_resetCCtx_internal], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i64 @ZSTD_resetCCtx_internal(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, i64 noundef %4) #0 {
%6 = alloca %struct.TYPE_18__, align 8
%7 = alloca %struct.TYPE_18__, align 8
%8 = getelementptr inbounds i8, ptr %0, i64 320
%9 = getelementptr inbounds i8, ptr %1, i64 40
%10 = load i64, ptr %9, align 8, !tbaa !6
%11 = tail call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 4, ptr noundef nonnull @.str, i64 noundef %2, i64 noundef %10) #5
%12 = load i64, ptr %9, align 8
%13 = insertvalue [2 x i64] poison, i64 %12, 0
%14 = getelementptr inbounds i8, ptr %1, i64 48
%15 = load i64, ptr %14, align 8
%16 = insertvalue [2 x i64] %13, i64 %15, 1
%17 = tail call i32 @ZSTD_checkCParams([2 x i64] %16) #5
%18 = tail call i32 @ZSTD_isError(i32 noundef %17) #5
%19 = icmp eq i32 %18, 0
%20 = zext i1 %19 to i32
%21 = tail call i32 @assert(i32 noundef %20) #5
store i32 1, ptr %0, align 8, !tbaa !15
%22 = getelementptr inbounds i8, ptr %1, i64 24
%23 = load i64, ptr %22, align 8, !tbaa !22
%24 = icmp eq i64 %23, 0
br i1 %24, label %42, label %25
25: ; preds = %5
%26 = tail call i32 @ZSTD_ldm_adjustParameters(ptr noundef nonnull %1, ptr noundef nonnull %9) #5
%27 = load i64, ptr %1, align 8, !tbaa !23
%28 = getelementptr inbounds i8, ptr %1, i64 8
%29 = load i64, ptr %28, align 8, !tbaa !24
%30 = icmp uge i64 %27, %29
%31 = zext i1 %30 to i32
%32 = tail call i32 @assert(i32 noundef %31) #5
%33 = getelementptr inbounds i8, ptr %1, i64 16
%34 = load i32, ptr %33, align 8, !tbaa !25
%35 = icmp slt i32 %34, 32
%36 = zext i1 %35 to i32
%37 = tail call i32 @assert(i32 noundef %36) #5
%38 = getelementptr inbounds i8, ptr %1, i64 32
%39 = load i32, ptr %38, align 8, !tbaa !26
%40 = tail call i32 @ZSTD_rollingHash_primePower(i32 noundef %39) #5
%41 = getelementptr inbounds i8, ptr %0, i64 96
store i32 %40, ptr %41, align 8, !tbaa !27
br label %42
42: ; preds = %25, %5
%43 = load i64, ptr %9, align 8, !tbaa !6
%44 = shl nuw i64 1, %43
%45 = tail call i64 @MIN(i64 noundef %44, i64 noundef %2) #5
%46 = tail call i64 @MAX(i32 noundef 1, i64 noundef %45) #5
%47 = load i64, ptr @ZSTD_BLOCKSIZE_MAX, align 8, !tbaa !28
%48 = tail call i64 @MIN(i64 noundef %47, i64 noundef %46) #5
%49 = load i32, ptr %14, align 8, !tbaa !29
%50 = icmp eq i32 %49, 3
%51 = select i1 %50, i64 3, i64 4
%52 = udiv i64 %48, %51
%53 = load i64, ptr @WILDCOPY_OVERLENGTH, align 8, !tbaa !28
%54 = add i64 %53, %48
%55 = tail call i32 @ZSTD_cwksp_alloc_size(i64 noundef %54) #5
%56 = shl i64 %52, 2
%57 = tail call i32 @ZSTD_cwksp_alloc_size(i64 noundef %56) #5
%58 = add nsw i32 %57, %55
%59 = tail call i32 @ZSTD_cwksp_alloc_size(i64 noundef %56) #5
%60 = mul nsw i32 %59, 3
%61 = add nsw i32 %58, %60
%62 = sext i32 %61 to i64
%63 = load i64, ptr @ZSTDb_buffered, align 8, !tbaa !28
%64 = icmp eq i64 %63, %4
br i1 %64, label %65, label %70
65: ; preds = %42
%66 = tail call i32 @ZSTD_compressBound(i64 noundef %48) #5
%67 = add nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = load i64, ptr @ZSTDb_buffered, align 8, !tbaa !28
br label %70
70: ; preds = %42, %65
%71 = phi i64 [ %69, %65 ], [ %63, %42 ]
%72 = phi i64 [ %68, %65 ], [ 0, %42 ]
%73 = icmp eq i64 %71, %4
%74 = add i64 %48, %46
%75 = select i1 %73, i64 %74, i64 0
%76 = tail call i64 @ZSTD_sizeof_matchState(ptr noundef nonnull %9, i32 noundef 1) #5
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #5
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(40) %1, i64 40, i1 false), !tbaa.struct !30
%77 = call i64 @ZSTD_ldm_getMaxNbSeq(ptr noundef nonnull %6, i64 noundef %48) #5
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #5
%78 = load i32, ptr @ZSTDirp_continue, align 4, !tbaa !31
%79 = getelementptr inbounds i8, ptr %0, i64 112
%80 = getelementptr inbounds i8, ptr %0, i64 128
%81 = load i32, ptr %80, align 8, !tbaa !32
%82 = call i64 @ZSTD_indexTooCloseToMax(i32 noundef %81) #5
%83 = icmp eq i64 %82, 0
%84 = load i32, ptr @ZSTDirp_reset, align 4
%85 = select i1 %83, i32 %78, i32 %84
%86 = call i32 @ZSTD_cwksp_bump_oversized_duration(ptr noundef nonnull %8, i32 noundef 0) #5
%87 = getelementptr inbounds i8, ptr %0, i64 312
%88 = load i64, ptr %87, align 8, !tbaa !33
%89 = icmp eq i64 %88, 0
br i1 %89, label %93, label %90
90: ; preds = %70
%91 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef 328) #5
%92 = sext i32 %91 to i64
br label %93
93: ; preds = %70, %90
%94 = phi i64 [ %92, %90 ], [ 0, %70 ]
%95 = load i32, ptr @HUF_WORKSPACE_SIZE, align 4, !tbaa !31
%96 = sext i32 %95 to i64
%97 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef %96) #5
%98 = sext i32 %97 to i64
%99 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef 4) #5
%100 = shl nsw i32 %99, 1
%101 = sext i32 %100 to i64
%102 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef %75) #5
%103 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef %72) #5
%104 = add nsw i32 %103, %102
%105 = sext i32 %104 to i64
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #5
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull align 8 dereferenceable(40) %1, i64 40, i1 false), !tbaa.struct !30
%106 = call i64 @ZSTD_ldm_getTableSize(ptr noundef nonnull %7) #5
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #5
%107 = shl i64 %77, 2
%108 = call i32 @ZSTD_cwksp_alloc_size(i64 noundef %107) #5
%109 = sext i32 %108 to i64
%110 = add i64 %76, %62
%111 = add i64 %110, %94
%112 = add i64 %111, %98
%113 = add i64 %112, %101
%114 = add i64 %113, %105
%115 = add i64 %114, %106
%116 = add i64 %115, %109
%117 = call i32 @ZSTD_cwksp_sizeof(ptr noundef nonnull %8) #5
%118 = sext i32 %117 to i64
%119 = icmp ugt i64 %116, %118
%120 = call i32 @ZSTD_cwksp_check_wasteful(ptr noundef nonnull %8, i64 noundef %116) #5
%121 = lshr i64 %116, 10
%122 = lshr i64 %76, 10
%123 = lshr i64 %105, 10
%124 = call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 4, ptr noundef nonnull @.str.1, i64 noundef %121, i64 noundef %122, i64 noundef %123) #5
%125 = call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 4, ptr noundef nonnull @.str.2, i64 noundef %46, i64 noundef %48) #5
%126 = icmp ne i32 %120, 0
%127 = select i1 %119, i1 true, i1 %126
br i1 %127, label %128, label %168
128: ; preds = %93
%129 = call i32 @ZSTD_cwksp_sizeof(ptr noundef nonnull %8) #5
%130 = ashr i32 %129, 10
%131 = call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 4, ptr noundef nonnull @.str.3, i32 noundef %130, i64 noundef %121) #5
%132 = load i64, ptr %87, align 8, !tbaa !33
%133 = load i32, ptr @memory_allocation, align 4, !tbaa !31
%134 = call i32 @RETURN_ERROR_IF(i64 noundef %132, i32 noundef %133, ptr noundef nonnull @.str.4) #5
%135 = load i32, ptr @ZSTDirp_reset, align 4, !tbaa !31
%136 = getelementptr inbounds i8, ptr %0, i64 304
%137 = load i32, ptr %136, align 8, !tbaa !34
%138 = call i32 @ZSTD_cwksp_free(ptr noundef nonnull %8, i32 noundef %137) #5
%139 = load i32, ptr %136, align 8, !tbaa !34
%140 = call i32 @ZSTD_cwksp_create(ptr noundef nonnull %8, i64 noundef %116, i32 noundef %139) #5
%141 = call i32 @FORWARD_IF_ERROR(i32 noundef %140) #5
%142 = call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 5, ptr noundef nonnull @.str.5) #5
%143 = call i32 @ZSTD_cwksp_check_available(ptr noundef nonnull %8, i32 noundef 8) #5
%144 = call i32 @assert(i32 noundef %143) #5
%145 = call i64 @ZSTD_cwksp_reserve_object(ptr noundef nonnull %8, i32 noundef 4) #5
%146 = inttoptr i64 %145 to ptr
%147 = getelementptr inbounds i8, ptr %0, i64 136
store ptr %146, ptr %147, align 8, !tbaa !35
%148 = icmp eq i64 %145, 0
%149 = zext i1 %148 to i64
%150 = load i32, ptr @memory_allocation, align 4, !tbaa !31
%151 = call i32 @RETURN_ERROR_IF(i64 noundef %149, i32 noundef %150, ptr noundef nonnull @.str.6) #5
%152 = call i64 @ZSTD_cwksp_reserve_object(ptr noundef nonnull %8, i32 noundef 4) #5
%153 = inttoptr i64 %152 to ptr
%154 = getelementptr inbounds i8, ptr %0, i64 144
store ptr %153, ptr %154, align 8, !tbaa !36
%155 = icmp eq i64 %152, 0
%156 = zext i1 %155 to i64
%157 = load i32, ptr @memory_allocation, align 4, !tbaa !31
%158 = call i32 @RETURN_ERROR_IF(i64 noundef %156, i32 noundef %157, ptr noundef nonnull @.str.7) #5
%159 = load i32, ptr @HUF_WORKSPACE_SIZE, align 4, !tbaa !31
%160 = call i64 @ZSTD_cwksp_reserve_object(ptr noundef nonnull %8, i32 noundef %159) #5
%161 = inttoptr i64 %160 to ptr
%162 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %161, ptr %162, align 8, !tbaa !37
%163 = load ptr, ptr %154, align 8, !tbaa !36
%164 = icmp eq ptr %163, null
%165 = zext i1 %164 to i64
%166 = load i32, ptr @memory_allocation, align 4, !tbaa !31
%167 = call i32 @RETURN_ERROR_IF(i64 noundef %165, i32 noundef %166, ptr noundef nonnull @.str.8) #5
br label %168
168: ; preds = %93, %128
%169 = phi i32 [ %135, %128 ], [ %85, %93 ]
%170 = call i32 @ZSTD_cwksp_clear(ptr noundef nonnull %8) #5
%171 = getelementptr inbounds i8, ptr %0, i64 224
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %171, ptr noundef nonnull align 8 dereferenceable(64) %1, i64 64, i1 false), !tbaa.struct !38
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %79, ptr noundef nonnull align 8 dereferenceable(16) %9, i64 16, i1 false), !tbaa.struct !39
%172 = add nsw i64 %2, 1
%173 = getelementptr inbounds i8, ptr %0, i64 16
store i64 %172, ptr %173, align 8, !tbaa !40
%174 = getelementptr inbounds i8, ptr %0, i64 288
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %174, i8 0, i64 16, i1 false)
%175 = load i64, ptr @ZSTD_CONTENTSIZE_UNKNOWN, align 8, !tbaa !28
%176 = icmp eq i64 %175, %2
%177 = getelementptr inbounds i8, ptr %0, i64 280
br i1 %176, label %180, label %178
178: ; preds = %168
%179 = load i32, ptr %177, align 8, !tbaa !41
br label %181
180: ; preds = %168
store i32 0, ptr %177, align 8, !tbaa !41
br label %181
181: ; preds = %178, %180
%182 = phi i32 [ %179, %178 ], [ 0, %180 ]
%183 = trunc i64 %2 to i32
%184 = call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 4, ptr noundef nonnull @.str.9, i32 noundef %183, i32 noundef %182) #5
%185 = getelementptr inbounds i8, ptr %0, i64 24
store i64 %48, ptr %185, align 8, !tbaa !42
%186 = getelementptr inbounds i8, ptr %0, i64 220
%187 = call i32 @XXH64_reset(ptr noundef nonnull %186, i32 noundef 0) #5
%188 = load i32, ptr @ZSTDcs_init, align 4, !tbaa !31
%189 = getelementptr inbounds i8, ptr %0, i64 216
store i32 %188, ptr %189, align 8, !tbaa !43
%190 = getelementptr inbounds i8, ptr %0, i64 208
store i64 0, ptr %190, align 8, !tbaa !44
%191 = getelementptr inbounds i8, ptr %0, i64 136
%192 = load ptr, ptr %191, align 8, !tbaa !35
%193 = call i32 @ZSTD_reset_compressedBlockState(ptr noundef %192) #5
%194 = load i64, ptr @WILDCOPY_OVERLENGTH, align 8, !tbaa !28
%195 = add i64 %194, %48
%196 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %8, i64 noundef %195) #5
%197 = getelementptr inbounds i8, ptr %0, i64 152
%198 = getelementptr inbounds i8, ptr %0, i64 200
store ptr %196, ptr %198, align 8, !tbaa !45
store i64 %48, ptr %197, align 8, !tbaa !46
%199 = getelementptr inbounds i8, ptr %0, i64 32
store i64 %75, ptr %199, align 8, !tbaa !47
%200 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %8, i64 noundef %75) #5
%201 = getelementptr inbounds i8, ptr %0, i64 40
store ptr %200, ptr %201, align 8, !tbaa !48
%202 = getelementptr inbounds i8, ptr %0, i64 48
store i64 %72, ptr %202, align 8, !tbaa !49
%203 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %8, i64 noundef %72) #5
%204 = getelementptr inbounds i8, ptr %0, i64 56
store ptr %203, ptr %204, align 8, !tbaa !50
%205 = load i64, ptr %22, align 8, !tbaa !22
%206 = icmp eq i64 %205, 0
br i1 %206, label %216, label %207
207: ; preds = %181
%208 = load i64, ptr %1, align 8, !tbaa !23
%209 = getelementptr inbounds i8, ptr %1, i64 8
%210 = load i64, ptr %209, align 8, !tbaa !24
%211 = sub i64 %208, %210
%212 = shl nuw i64 1, %211
%213 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %8, i64 noundef %212) #5
%214 = getelementptr inbounds i8, ptr %0, i64 88
store ptr %213, ptr %214, align 8, !tbaa !51
%215 = call i32 @memset(ptr noundef %213, i32 noundef 0, i64 noundef %212) #5
br label %216
216: ; preds = %207, %181
%217 = call i32 @ZSTD_referenceExternalSequences(ptr noundef nonnull %0, ptr noundef null, i32 noundef 0) #5
%218 = getelementptr inbounds i8, ptr %0, i64 160
store i64 %52, ptr %218, align 8, !tbaa !52
%219 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %8, i64 noundef %56) #5
%220 = getelementptr inbounds i8, ptr %0, i64 192
store ptr %219, ptr %220, align 8, !tbaa !53
%221 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %8, i64 noundef %56) #5
%222 = getelementptr inbounds i8, ptr %0, i64 184
store ptr %221, ptr %222, align 8, !tbaa !54
%223 = call ptr @ZSTD_cwksp_reserve_buffer(ptr noundef nonnull %8, i64 noundef %56) #5
%224 = getelementptr inbounds i8, ptr %0, i64 176
store ptr %223, ptr %224, align 8, !tbaa !55
%225 = call i64 @ZSTD_cwksp_reserve_aligned(ptr noundef nonnull %8, i64 noundef %56) #5
%226 = inttoptr i64 %225 to ptr
%227 = getelementptr inbounds i8, ptr %0, i64 168
store ptr %226, ptr %227, align 8, !tbaa !56
%228 = load i32, ptr @ZSTD_resetTarget_CCtx, align 4, !tbaa !31
%229 = call i32 @ZSTD_reset_matchState(ptr noundef nonnull %79, ptr noundef nonnull %8, ptr noundef nonnull %9, i32 noundef %3, i32 noundef %169, i32 noundef %228) #5
%230 = call i32 @FORWARD_IF_ERROR(i32 noundef %229) #5
%231 = load i64, ptr %22, align 8, !tbaa !22
%232 = icmp eq i64 %231, 0
br i1 %232, label %247, label %233
233: ; preds = %216
%234 = load i64, ptr %1, align 8, !tbaa !23
%235 = shl i64 4, %234
%236 = call i64 @ZSTD_cwksp_reserve_aligned(ptr noundef nonnull %8, i64 noundef %235) #5
%237 = inttoptr i64 %236 to ptr
%238 = getelementptr inbounds i8, ptr %0, i64 72
%239 = getelementptr inbounds i8, ptr %0, i64 80
store ptr %237, ptr %239, align 8, !tbaa !57
%240 = call i32 @memset(ptr noundef %237, i32 noundef 0, i64 noundef %235) #5
%241 = call i64 @ZSTD_cwksp_reserve_aligned(ptr noundef nonnull %8, i64 noundef %107) #5
%242 = inttoptr i64 %241 to ptr
%243 = getelementptr inbounds i8, ptr %0, i64 104
store ptr %242, ptr %243, align 8, !tbaa !58
%244 = getelementptr inbounds i8, ptr %0, i64 64
store i64 %77, ptr %244, align 8, !tbaa !59
%245 = call i32 @memset(ptr noundef nonnull %238, i32 noundef 0, i64 noundef 4) #5
%246 = call i32 @ZSTD_window_clear(ptr noundef nonnull %238) #5
br label %247
247: ; preds = %233, %216
%248 = call i32 @ZSTD_cwksp_available_space(ptr noundef nonnull %8) #5
%249 = call i32 (i32, ptr, ...) @DEBUGLOG(i32 noundef 3, ptr noundef nonnull @.str.10, i32 noundef %248) #5
ret i64 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DEBUGLOG(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @ZSTD_isError(i32 noundef) local_unnamed_addr #2
declare i32 @ZSTD_checkCParams([2 x i64]) local_unnamed_addr #2
declare i32 @ZSTD_ldm_adjustParameters(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ZSTD_rollingHash_primePower(i32 noundef) local_unnamed_addr #2
declare i64 @MAX(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i64 @MIN(i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @ZSTD_cwksp_alloc_size(i64 noundef) local_unnamed_addr #2
declare i32 @ZSTD_compressBound(i64 noundef) local_unnamed_addr #2
declare i64 @ZSTD_sizeof_matchState(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ZSTD_ldm_getMaxNbSeq(ptr noundef, i64 noundef) local_unnamed_addr #2
; 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) #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @ZSTD_indexTooCloseToMax(i32 noundef) local_unnamed_addr #2
declare i32 @ZSTD_cwksp_bump_oversized_duration(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ZSTD_ldm_getTableSize(ptr noundef) local_unnamed_addr #2
declare i32 @ZSTD_cwksp_sizeof(ptr noundef) local_unnamed_addr #2
declare i32 @ZSTD_cwksp_check_wasteful(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @RETURN_ERROR_IF(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ZSTD_cwksp_free(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @FORWARD_IF_ERROR(i32 noundef) local_unnamed_addr #2
declare i32 @ZSTD_cwksp_create(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ZSTD_cwksp_check_available(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ZSTD_cwksp_reserve_object(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ZSTD_cwksp_clear(ptr noundef) local_unnamed_addr #2
declare i32 @XXH64_reset(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ZSTD_reset_compressedBlockState(ptr noundef) local_unnamed_addr #2
declare ptr @ZSTD_cwksp_reserve_buffer(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @ZSTD_referenceExternalSequences(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ZSTD_cwksp_reserve_aligned(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @ZSTD_reset_matchState(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ZSTD_window_clear(ptr noundef) local_unnamed_addr #2
declare i32 @ZSTD_cwksp_available_space(ptr noundef) local_unnamed_addr #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !9, i64 40}
!7 = !{!"TYPE_23__", !8, i64 0, !13, i64 40, !14, i64 56}
!8 = !{!"TYPE_18__", !9, i64 0, !9, i64 8, !12, i64 16, !9, i64 24, !12, i64 32}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!"TYPE_25__", !9, i64 0, !12, i64 8}
!14 = !{!"TYPE_19__", !12, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_24__", !12, i64 0, !17, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !17, i64 40, !9, i64 48, !17, i64 56, !9, i64 64, !18, i64 72, !17, i64 104, !19, i64 112, !21, i64 152, !9, i64 208, !12, i64 216, !12, i64 220, !7, i64 224, !9, i64 288, !9, i64 296, !12, i64 304, !9, i64 312, !12, i64 320}
!17 = !{!"any pointer", !10, i64 0}
!18 = !{!"TYPE_21__", !12, i64 0, !17, i64 8, !17, i64 16, !12, i64 24}
!19 = !{!"TYPE_22__", !20, i64 0, !17, i64 24, !17, i64 32}
!20 = !{!"TYPE_26__", !13, i64 0, !12, i64 16}
!21 = !{!"TYPE_20__", !9, i64 0, !9, i64 8, !17, i64 16, !17, i64 24, !17, i64 32, !17, i64 40, !17, i64 48}
!22 = !{!7, !9, i64 24}
!23 = !{!7, !9, i64 0}
!24 = !{!7, !9, i64 8}
!25 = !{!7, !12, i64 16}
!26 = !{!7, !12, i64 32}
!27 = !{!16, !12, i64 96}
!28 = !{!9, !9, i64 0}
!29 = !{!7, !12, i64 48}
!30 = !{i64 0, i64 8, !28, i64 8, i64 8, !28, i64 16, i64 4, !31, i64 24, i64 8, !28, i64 32, i64 4, !31}
!31 = !{!12, !12, i64 0}
!32 = !{!16, !12, i64 128}
!33 = !{!16, !9, i64 312}
!34 = !{!16, !12, i64 304}
!35 = !{!16, !17, i64 136}
!36 = !{!16, !17, i64 144}
!37 = !{!16, !17, i64 8}
!38 = !{i64 0, i64 8, !28, i64 8, i64 8, !28, i64 16, i64 4, !31, i64 24, i64 8, !28, i64 32, i64 4, !31, i64 40, i64 8, !28, i64 48, i64 4, !31, i64 56, i64 4, !31}
!39 = !{i64 0, i64 8, !28, i64 8, i64 4, !31}
!40 = !{!16, !9, i64 16}
!41 = !{!16, !12, i64 280}
!42 = !{!16, !9, i64 24}
!43 = !{!16, !12, i64 216}
!44 = !{!16, !9, i64 208}
!45 = !{!16, !17, i64 200}
!46 = !{!16, !9, i64 152}
!47 = !{!16, !9, i64 32}
!48 = !{!16, !17, i64 40}
!49 = !{!16, !9, i64 48}
!50 = !{!16, !17, i64 56}
!51 = !{!16, !17, i64 88}
!52 = !{!16, !9, i64 160}
!53 = !{!16, !17, i64 192}
!54 = !{!16, !17, i64 184}
!55 = !{!16, !17, i64 176}
!56 = !{!16, !17, i64 168}
!57 = !{!16, !17, i64 80}
!58 = !{!16, !17, i64 104}
!59 = !{!16, !9, i64 64}
| zstd_lib_compress_extr_zstd_compress.c_ZSTD_resetCCtx_internal |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/mm/extr_pageattr.c_set_memory_nx.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/mm/extr_pageattr.c_set_memory_nx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@_PAGE_NX = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @set_memory_nx(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8, !tbaa !5
%4 = load i32, ptr @_PAGE_NX, align 4, !tbaa !9
%5 = tail call i32 @__pgprot(i32 noundef %4) #2
%6 = call i32 @change_page_attr_set(ptr noundef nonnull %3, i32 noundef %1, i32 noundef %5, i32 noundef 0) #2
ret i32 %6
}
declare i32 @change_page_attr_set(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__pgprot(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/mm/extr_pageattr.c_set_memory_nx.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/mm/extr_pageattr.c_set_memory_nx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_PAGE_NX = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @set_memory_nx(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8, !tbaa !6
%4 = load i32, ptr @_PAGE_NX, align 4, !tbaa !10
%5 = tail call i32 @__pgprot(i32 noundef %4) #2
%6 = call i32 @change_page_attr_set(ptr noundef nonnull %3, i32 noundef %1, i32 noundef %5, i32 noundef 0) #2
ret i32 %6
}
declare i32 @change_page_attr_set(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__pgprot(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| fastsocket_kernel_arch_x86_mm_extr_pageattr.c_set_memory_nx |
; ModuleID = 'AnghaBench/zfs/module/lua/extr_ltable.c_luaH_new.c'
source_filename = "AnghaBench/zfs/module/lua/extr_ltable.c_luaH_new.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i64, ptr, i32, ptr }
@LUA_TTABLE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @luaH_new(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @LUA_TTABLE, align 4, !tbaa !5
%3 = tail call ptr @luaC_newobj(ptr noundef %0, i32 noundef %2, i32 noundef 32, ptr noundef null, i32 noundef 0) #3
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 3
store ptr null, ptr %4, align 8, !tbaa !9
%5 = tail call i32 @cast_byte(i32 noundef -1) #3
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 2
store i32 %5, ptr %6, align 8, !tbaa !13
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
%7 = tail call i32 @setnodevector(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 0) #3
ret ptr %3
}
declare ptr @luaC_newobj(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cast_byte(i32 noundef) local_unnamed_addr #1
declare i32 @setnodevector(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 24}
!10 = !{!"TYPE_5__", !11, i64 0, !12, i64 8, !6, i64 16, !12, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !6, i64 16}
| ; ModuleID = 'AnghaBench/zfs/module/lua/extr_ltable.c_luaH_new.c'
source_filename = "AnghaBench/zfs/module/lua/extr_ltable.c_luaH_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LUA_TTABLE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @luaH_new(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @LUA_TTABLE, align 4, !tbaa !6
%3 = tail call ptr @luaC_newobj(ptr noundef %0, i32 noundef %2, i32 noundef 32, ptr noundef null, i32 noundef 0) #3
%4 = getelementptr inbounds i8, ptr %3, i64 24
store ptr null, ptr %4, align 8, !tbaa !10
%5 = tail call i32 @cast_byte(i32 noundef -1) #3
%6 = getelementptr inbounds i8, ptr %3, i64 16
store i32 %5, ptr %6, align 8, !tbaa !14
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
%7 = tail call i32 @setnodevector(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 0) #3
ret ptr %3
}
declare ptr @luaC_newobj(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cast_byte(i32 noundef) local_unnamed_addr #1
declare i32 @setnodevector(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 24}
!11 = !{!"TYPE_5__", !12, i64 0, !13, i64 8, !7, i64 16, !13, i64 24}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !7, i64 16}
| zfs_module_lua_extr_ltable.c_luaH_new |
; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/wrappers/libproc/extr_libproc.c_proc_setcpu_percentage.c'
source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/libproc/extr_libproc.c_proc_setcpu_percentage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@PROC_POLICY_SCOPE_PROCESS = dso_local local_unnamed_addr global i32 0, align 4
@PROC_POLICY_ACTION_APPLY = dso_local local_unnamed_addr global i32 0, align 4
@PROC_POLICY_RESOURCE_USAGE = dso_local local_unnamed_addr global i32 0, align 4
@PROC_POLICY_RUSAGE_CPU = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @proc_setcpu_percentage(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_3__, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = call i32 @bzero(ptr noundef nonnull %4, i32 noundef 8) #3
store i32 %1, ptr %4, align 4, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 1
store i32 %2, ptr %6, align 4, !tbaa !10
%7 = load i32, ptr @PROC_POLICY_SCOPE_PROCESS, align 4, !tbaa !11
%8 = load i32, ptr @PROC_POLICY_ACTION_APPLY, align 4, !tbaa !11
%9 = load i32, ptr @PROC_POLICY_RESOURCE_USAGE, align 4, !tbaa !11
%10 = load i32, ptr @PROC_POLICY_RUSAGE_CPU, align 4, !tbaa !11
%11 = call i32 @__process_policy(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef nonnull %4, i32 noundef %0, i32 noundef 0) #3
%12 = icmp eq i32 %11, -1
%13 = load i32, ptr @errno, align 4
%14 = select i1 %12, i32 %13, i32 0
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %14
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @__process_policy(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/wrappers/libproc/extr_libproc.c_proc_setcpu_percentage.c'
source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/libproc/extr_libproc.c_proc_setcpu_percentage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32, i32 }
@PROC_POLICY_SCOPE_PROCESS = common local_unnamed_addr global i32 0, align 4
@PROC_POLICY_ACTION_APPLY = common local_unnamed_addr global i32 0, align 4
@PROC_POLICY_RESOURCE_USAGE = common local_unnamed_addr global i32 0, align 4
@PROC_POLICY_RUSAGE_CPU = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @proc_setcpu_percentage(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_3__, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = call i32 @bzero(ptr noundef nonnull %4, i32 noundef 8) #3
store i32 %1, ptr %4, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %2, ptr %6, align 4, !tbaa !11
%7 = load i32, ptr @PROC_POLICY_SCOPE_PROCESS, align 4, !tbaa !12
%8 = load i32, ptr @PROC_POLICY_ACTION_APPLY, align 4, !tbaa !12
%9 = load i32, ptr @PROC_POLICY_RESOURCE_USAGE, align 4, !tbaa !12
%10 = load i32, ptr @PROC_POLICY_RUSAGE_CPU, align 4, !tbaa !12
%11 = call i32 @__process_policy(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef nonnull %4, i32 noundef %0, i32 noundef 0) #3
%12 = icmp eq i32 %11, -1
%13 = load i32, ptr @errno, align 4
%14 = select i1 %12, i32 %13, i32 0
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %14
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @__process_policy(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!8, !8, i64 0}
| darwin-xnu_libsyscall_wrappers_libproc_extr_libproc.c_proc_setcpu_percentage |
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_subjRequiresPage.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_subjRequiresPage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i64, ptr }
%struct.TYPE_7__ = type { i32, ptr }
%struct.TYPE_6__ = type { i64, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @subjRequiresPage], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @subjRequiresPage(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr %0, align 8, !tbaa !11
%5 = load i32, ptr %3, align 8, !tbaa !12
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %28
7: ; preds = %1
%8 = getelementptr inbounds %struct.TYPE_7__, ptr %3, i64 0, i32 1
br label %9
9: ; preds = %7, %23
%10 = phi i32 [ %5, %7 ], [ %24, %23 ]
%11 = phi i64 [ 0, %7 ], [ %25, %23 ]
%12 = load ptr, ptr %8, align 8, !tbaa !15
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %12, i64 %11
%14 = load i64, ptr %13, align 8, !tbaa !16
%15 = icmp slt i64 %14, %4
br i1 %15, label %23, label %16
16: ; preds = %9
%17 = getelementptr inbounds %struct.TYPE_6__, ptr %12, i64 %11, i32 1
%18 = load i32, ptr %17, align 8, !tbaa !18
%19 = tail call i64 @sqlite3BitvecTestNotNull(i32 noundef %18, i64 noundef %4) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %28, label %21
21: ; preds = %16
%22 = load i32, ptr %3, align 8, !tbaa !12
br label %23
23: ; preds = %21, %9
%24 = phi i32 [ %22, %21 ], [ %10, %9 ]
%25 = add nuw nsw i64 %11, 1
%26 = sext i32 %24 to i64
%27 = icmp slt i64 %25, %26
br i1 %27, label %9, label %28, !llvm.loop !19
28: ; preds = %16, %23, %1
%29 = phi i32 [ 0, %1 ], [ 0, %23 ], [ 1, %16 ]
ret i32 %29
}
declare i64 @sqlite3BitvecTestNotNull(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, !10, i64 8}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_7__", !14, i64 0, !10, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !10, i64 8}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_6__", !7, i64 0, !14, i64 8}
!18 = !{!17, !14, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_subjRequiresPage.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_subjRequiresPage.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 { i64, i32 }
@llvm.used = appending global [1 x ptr] [ptr @subjRequiresPage], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @subjRequiresPage(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr %0, align 8, !tbaa !12
%5 = load i32, ptr %3, align 8, !tbaa !13
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %28
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %3, i64 8
br label %9
9: ; preds = %7, %23
%10 = phi i32 [ %5, %7 ], [ %24, %23 ]
%11 = phi i64 [ 0, %7 ], [ %25, %23 ]
%12 = load ptr, ptr %8, align 8, !tbaa !16
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %12, i64 %11
%14 = load i64, ptr %13, align 8, !tbaa !17
%15 = icmp slt i64 %14, %4
br i1 %15, label %23, label %16
16: ; preds = %9
%17 = getelementptr inbounds i8, ptr %13, i64 8
%18 = load i32, ptr %17, align 8, !tbaa !19
%19 = tail call i64 @sqlite3BitvecTestNotNull(i32 noundef %18, i64 noundef %4) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %28, label %21
21: ; preds = %16
%22 = load i32, ptr %3, align 8, !tbaa !13
br label %23
23: ; preds = %21, %9
%24 = phi i32 [ %22, %21 ], [ %10, %9 ]
%25 = add nuw nsw i64 %11, 1
%26 = sext i32 %24 to i64
%27 = icmp slt i64 %25, %26
br i1 %27, label %9, label %28, !llvm.loop !20
28: ; preds = %16, %23, %1
%29 = phi i32 [ 0, %1 ], [ 0, %23 ], [ 1, %16 ]
ret i32 %29
}
declare i64 @sqlite3BitvecTestNotNull(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, !11, i64 8}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_7__", !15, i64 0, !11, i64 8}
!15 = !{!"int", !9, i64 0}
!16 = !{!14, !11, i64 8}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_6__", !8, i64 0, !15, i64 8}
!19 = !{!18, !15, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_sqlite3_extr_sqlite3.c_subjRequiresPage |
; ModuleID = 'AnghaBench/systemd/src/core/extr_dbus-manager.c_method_lookup_dynamic_user_by_name.c'
source_filename = "AnghaBench/systemd/src/core/extr_dbus-manager.c_method_lookup_dynamic_user_by_name.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SD_BUS_ERROR_NOT_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [57 x i8] c"Dynamic users are only supported in the system instance.\00", align 1
@SD_BUS_ERROR_INVALID_ARGS = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"User name invalid: %s\00", align 1
@ESRCH = dso_local local_unnamed_addr global i32 0, align 4
@BUS_ERROR_NO_SUCH_DYNAMIC_USER = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [32 x i8] c"Dynamic user %s does not exist.\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"u\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @method_lookup_dynamic_user_by_name], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @method_lookup_dynamic_user_by_name(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = tail call i32 @assert(ptr noundef %0) #3
%7 = tail call i32 @assert(ptr noundef %1) #3
%8 = call i32 @sd_bus_message_read_basic(ptr noundef %0, i8 noundef signext 115, ptr noundef nonnull %4) #3
%9 = icmp slt i32 %8, 0
br i1 %9, label %40, label %10
10: ; preds = %3
%11 = call i32 @MANAGER_IS_SYSTEM(ptr noundef %1) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr @SD_BUS_ERROR_NOT_SUPPORTED, align 4, !tbaa !5
%15 = call i32 (ptr, i32, ptr, ...) @sd_bus_error_setf(ptr noundef %2, i32 noundef %14, ptr noundef nonnull @.str) #3
br label %40
16: ; preds = %10
%17 = load ptr, ptr %4, align 8, !tbaa !9
%18 = call i32 @valid_user_group_name(ptr noundef %17) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load i32, ptr @SD_BUS_ERROR_INVALID_ARGS, align 4, !tbaa !5
%22 = load ptr, ptr %4, align 8, !tbaa !9
%23 = call i32 (ptr, i32, ptr, ...) @sd_bus_error_setf(ptr noundef %2, i32 noundef %21, ptr noundef nonnull @.str.1, ptr noundef %22) #3
br label %40
24: ; preds = %16
%25 = load ptr, ptr %4, align 8, !tbaa !9
%26 = call i32 @dynamic_user_lookup_name(ptr noundef %1, ptr noundef %25, ptr noundef nonnull %5) #3
%27 = load i32, ptr @ESRCH, align 4, !tbaa !5
%28 = sub nsw i32 0, %27
%29 = icmp eq i32 %26, %28
br i1 %29, label %30, label %34
30: ; preds = %24
%31 = load i32, ptr @BUS_ERROR_NO_SUCH_DYNAMIC_USER, align 4, !tbaa !5
%32 = load ptr, ptr %4, align 8, !tbaa !9
%33 = call i32 (ptr, i32, ptr, ...) @sd_bus_error_setf(ptr noundef %2, i32 noundef %31, ptr noundef nonnull @.str.2, ptr noundef %32) #3
br label %40
34: ; preds = %24
%35 = icmp slt i32 %26, 0
br i1 %35, label %40, label %36
36: ; preds = %34
%37 = load i64, ptr %5, align 8, !tbaa !11
%38 = trunc i64 %37 to i32
%39 = call i32 @sd_bus_reply_method_return(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %38) #3
br label %40
40: ; preds = %34, %3, %36, %30, %20, %13
%41 = phi i32 [ %33, %30 ], [ %39, %36 ], [ %23, %20 ], [ %15, %13 ], [ %8, %3 ], [ %26, %34 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %41
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert(ptr noundef) local_unnamed_addr #2
declare i32 @sd_bus_message_read_basic(ptr noundef, i8 noundef signext, ptr noundef) local_unnamed_addr #2
declare i32 @MANAGER_IS_SYSTEM(ptr noundef) local_unnamed_addr #2
declare i32 @sd_bus_error_setf(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @valid_user_group_name(ptr noundef) local_unnamed_addr #2
declare i32 @dynamic_user_lookup_name(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sd_bus_reply_method_return(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/systemd/src/core/extr_dbus-manager.c_method_lookup_dynamic_user_by_name.c'
source_filename = "AnghaBench/systemd/src/core/extr_dbus-manager.c_method_lookup_dynamic_user_by_name.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SD_BUS_ERROR_NOT_SUPPORTED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [57 x i8] c"Dynamic users are only supported in the system instance.\00", align 1
@SD_BUS_ERROR_INVALID_ARGS = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"User name invalid: %s\00", align 1
@ESRCH = common local_unnamed_addr global i32 0, align 4
@BUS_ERROR_NO_SUCH_DYNAMIC_USER = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [32 x i8] c"Dynamic user %s does not exist.\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"u\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @method_lookup_dynamic_user_by_name], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @method_lookup_dynamic_user_by_name(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = tail call i32 @assert(ptr noundef %0) #3
%7 = tail call i32 @assert(ptr noundef %1) #3
%8 = call i32 @sd_bus_message_read_basic(ptr noundef %0, i8 noundef signext 115, ptr noundef nonnull %4) #3
%9 = icmp slt i32 %8, 0
br i1 %9, label %40, label %10
10: ; preds = %3
%11 = call i32 @MANAGER_IS_SYSTEM(ptr noundef %1) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr @SD_BUS_ERROR_NOT_SUPPORTED, align 4, !tbaa !6
%15 = call i32 (ptr, i32, ptr, ...) @sd_bus_error_setf(ptr noundef %2, i32 noundef %14, ptr noundef nonnull @.str) #3
br label %40
16: ; preds = %10
%17 = load ptr, ptr %4, align 8, !tbaa !10
%18 = call i32 @valid_user_group_name(ptr noundef %17) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load i32, ptr @SD_BUS_ERROR_INVALID_ARGS, align 4, !tbaa !6
%22 = load ptr, ptr %4, align 8, !tbaa !10
%23 = call i32 (ptr, i32, ptr, ...) @sd_bus_error_setf(ptr noundef %2, i32 noundef %21, ptr noundef nonnull @.str.1, ptr noundef %22) #3
br label %40
24: ; preds = %16
%25 = load ptr, ptr %4, align 8, !tbaa !10
%26 = call i32 @dynamic_user_lookup_name(ptr noundef %1, ptr noundef %25, ptr noundef nonnull %5) #3
%27 = load i32, ptr @ESRCH, align 4, !tbaa !6
%28 = sub nsw i32 0, %27
%29 = icmp eq i32 %26, %28
br i1 %29, label %30, label %34
30: ; preds = %24
%31 = load i32, ptr @BUS_ERROR_NO_SUCH_DYNAMIC_USER, align 4, !tbaa !6
%32 = load ptr, ptr %4, align 8, !tbaa !10
%33 = call i32 (ptr, i32, ptr, ...) @sd_bus_error_setf(ptr noundef %2, i32 noundef %31, ptr noundef nonnull @.str.2, ptr noundef %32) #3
br label %40
34: ; preds = %24
%35 = icmp slt i32 %26, 0
br i1 %35, label %40, label %36
36: ; preds = %34
%37 = load i64, ptr %5, align 8, !tbaa !12
%38 = trunc i64 %37 to i32
%39 = call i32 @sd_bus_reply_method_return(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %38) #3
br label %40
40: ; preds = %34, %3, %36, %30, %20, %13
%41 = phi i32 [ %33, %30 ], [ %39, %36 ], [ %23, %20 ], [ %15, %13 ], [ %8, %3 ], [ %26, %34 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %41
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert(ptr noundef) local_unnamed_addr #2
declare i32 @sd_bus_message_read_basic(ptr noundef, i8 noundef signext, ptr noundef) local_unnamed_addr #2
declare i32 @MANAGER_IS_SYSTEM(ptr noundef) local_unnamed_addr #2
declare i32 @sd_bus_error_setf(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @valid_user_group_name(ptr noundef) local_unnamed_addr #2
declare i32 @dynamic_user_lookup_name(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sd_bus_reply_method_return(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
| systemd_src_core_extr_dbus-manager.c_method_lookup_dynamic_user_by_name |
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/kconfig/extr_conf.c_check_conf.c'
source_filename = "AnghaBench/fastsocket/kernel/scripts/kconfig/extr_conf.c_check_conf.c"
target datalayout = "e-m:e-p270:32:32-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.menu = type { ptr, ptr, ptr }
@yes = dso_local local_unnamed_addr global i64 0, align 8
@input_mode = dso_local local_unnamed_addr global i64 0, align 8
@dont_ask = dso_local local_unnamed_addr global i64 0, align 8
@dont_ask_dont_tell = dso_local local_unnamed_addr global i64 0, align 8
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"CONFIG_%s\0A\00", align 1
@return_value = dso_local local_unnamed_addr global i32 0, align 4
@conf_cnt = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"*\0A* Restart config...\0A*\0A\00", align 1
@rootEntry = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_conf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @check_conf(ptr noundef %0) #0 {
%2 = tail call i32 @menu_is_visible(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %59, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.menu, ptr %0, i64 0, i32 2
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = icmp eq ptr %6, null
br i1 %7, label %51, label %8
8: ; preds = %4
%9 = tail call i32 @sym_has_value(ptr noundef nonnull %6) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %51
11: ; preds = %8
%12 = tail call i64 @sym_is_changable(ptr noundef nonnull %6) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = tail call i64 @sym_is_choice(ptr noundef nonnull %6) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %51, label %17
17: ; preds = %14
%18 = tail call i64 @sym_get_tristate_value(ptr noundef nonnull %6) #2
%19 = load i64, ptr @yes, align 8, !tbaa !10
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %51
21: ; preds = %17, %11
%22 = load i64, ptr @input_mode, align 8, !tbaa !10
%23 = load i64, ptr @dont_ask, align 8, !tbaa !10
%24 = icmp eq i64 %22, %23
%25 = load i64, ptr @dont_ask_dont_tell, align 8
%26 = icmp eq i64 %22, %25
%27 = select i1 %24, i1 true, i1 %26
br i1 %27, label %28, label %41
28: ; preds = %21
br i1 %24, label %29, label %51
29: ; preds = %28
%30 = load ptr, ptr %6, align 8, !tbaa !12
%31 = icmp eq ptr %30, null
br i1 %31, label %51, label %32
32: ; preds = %29
%33 = tail call i32 @sym_is_choice_value(ptr noundef nonnull %6) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %51
35: ; preds = %32
%36 = load i32, ptr @stderr, align 4, !tbaa !14
%37 = load ptr, ptr %6, align 8, !tbaa !12
%38 = tail call i32 @fprintf(i32 noundef %36, ptr noundef nonnull @.str, ptr noundef %37) #2
%39 = load i32, ptr @return_value, align 4, !tbaa !14
%40 = add nsw i32 %39, 1
store i32 %40, ptr @return_value, align 4, !tbaa !14
br label %51
41: ; preds = %21
%42 = load i32, ptr @conf_cnt, align 4, !tbaa !14
%43 = add nsw i32 %42, 1
store i32 %43, ptr @conf_cnt, align 4, !tbaa !14
%44 = icmp eq i32 %42, 0
br i1 %44, label %45, label %48
45: ; preds = %41
%46 = tail call ptr @_(ptr noundef nonnull @.str.1) #2
%47 = tail call i32 @printf(ptr noundef %46) #2
br label %48
48: ; preds = %45, %41
%49 = tail call i32 @menu_get_parent_menu(ptr noundef nonnull %0) #2
store i32 %49, ptr @rootEntry, align 4, !tbaa !14
%50 = tail call i32 @conf(i32 noundef %49) #2
br label %51
51: ; preds = %14, %17, %28, %29, %32, %35, %48, %8, %4
%52 = getelementptr inbounds %struct.menu, ptr %0, i64 0, i32 1
%53 = load ptr, ptr %52, align 8, !tbaa !16
%54 = icmp eq ptr %53, null
br i1 %54, label %59, label %55
55: ; preds = %51, %55
%56 = phi ptr [ %57, %55 ], [ %53, %51 ]
tail call void @check_conf(ptr noundef nonnull %56)
%57 = load ptr, ptr %56, align 8, !tbaa !16
%58 = icmp eq ptr %57, null
br i1 %58, label %59, label %55, !llvm.loop !17
59: ; preds = %55, %51, %1
ret void
}
declare i32 @menu_is_visible(ptr noundef) local_unnamed_addr #1
declare i32 @sym_has_value(ptr noundef) local_unnamed_addr #1
declare i64 @sym_is_changable(ptr noundef) local_unnamed_addr #1
declare i64 @sym_is_choice(ptr noundef) local_unnamed_addr #1
declare i64 @sym_get_tristate_value(ptr noundef) local_unnamed_addr #1
declare i32 @sym_is_choice_value(ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef) local_unnamed_addr #1
declare ptr @_(ptr noundef) local_unnamed_addr #1
declare i32 @menu_get_parent_menu(ptr noundef) local_unnamed_addr #1
declare i32 @conf(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 16}
!6 = !{!"menu", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"symbol", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/kconfig/extr_conf.c_check_conf.c'
source_filename = "AnghaBench/fastsocket/kernel/scripts/kconfig/extr_conf.c_check_conf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@yes = common local_unnamed_addr global i64 0, align 8
@input_mode = common local_unnamed_addr global i64 0, align 8
@dont_ask = common local_unnamed_addr global i64 0, align 8
@dont_ask_dont_tell = common local_unnamed_addr global i64 0, align 8
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"CONFIG_%s\0A\00", align 1
@return_value = common local_unnamed_addr global i32 0, align 4
@conf_cnt = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"*\0A* Restart config...\0A*\0A\00", align 1
@rootEntry = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @check_conf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @check_conf(ptr noundef %0) #0 {
%2 = tail call i32 @menu_is_visible(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %59, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = icmp eq ptr %6, null
br i1 %7, label %51, label %8
8: ; preds = %4
%9 = tail call i32 @sym_has_value(ptr noundef nonnull %6) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %51
11: ; preds = %8
%12 = tail call i64 @sym_is_changable(ptr noundef nonnull %6) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = tail call i64 @sym_is_choice(ptr noundef nonnull %6) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %51, label %17
17: ; preds = %14
%18 = tail call i64 @sym_get_tristate_value(ptr noundef nonnull %6) #2
%19 = load i64, ptr @yes, align 8, !tbaa !11
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %51
21: ; preds = %17, %11
%22 = load i64, ptr @input_mode, align 8, !tbaa !11
%23 = load i64, ptr @dont_ask, align 8, !tbaa !11
%24 = icmp eq i64 %22, %23
%25 = load i64, ptr @dont_ask_dont_tell, align 8
%26 = icmp eq i64 %22, %25
%27 = select i1 %24, i1 true, i1 %26
br i1 %27, label %28, label %41
28: ; preds = %21
br i1 %24, label %29, label %51
29: ; preds = %28
%30 = load ptr, ptr %6, align 8, !tbaa !13
%31 = icmp eq ptr %30, null
br i1 %31, label %51, label %32
32: ; preds = %29
%33 = tail call i32 @sym_is_choice_value(ptr noundef nonnull %6) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %51
35: ; preds = %32
%36 = load i32, ptr @stderr, align 4, !tbaa !15
%37 = load ptr, ptr %6, align 8, !tbaa !13
%38 = tail call i32 @fprintf(i32 noundef %36, ptr noundef nonnull @.str, ptr noundef %37) #2
%39 = load i32, ptr @return_value, align 4, !tbaa !15
%40 = add nsw i32 %39, 1
store i32 %40, ptr @return_value, align 4, !tbaa !15
br label %51
41: ; preds = %21
%42 = load i32, ptr @conf_cnt, align 4, !tbaa !15
%43 = add nsw i32 %42, 1
store i32 %43, ptr @conf_cnt, align 4, !tbaa !15
%44 = icmp eq i32 %42, 0
br i1 %44, label %45, label %48
45: ; preds = %41
%46 = tail call ptr @_(ptr noundef nonnull @.str.1) #2
%47 = tail call i32 @printf(ptr noundef %46) #2
br label %48
48: ; preds = %45, %41
%49 = tail call i32 @menu_get_parent_menu(ptr noundef nonnull %0) #2
store i32 %49, ptr @rootEntry, align 4, !tbaa !15
%50 = tail call i32 @conf(i32 noundef %49) #2
br label %51
51: ; preds = %14, %17, %28, %29, %32, %35, %48, %8, %4
%52 = getelementptr inbounds i8, ptr %0, i64 8
%53 = load ptr, ptr %52, align 8, !tbaa !17
%54 = icmp eq ptr %53, null
br i1 %54, label %59, label %55
55: ; preds = %51, %55
%56 = phi ptr [ %57, %55 ], [ %53, %51 ]
tail call void @check_conf(ptr noundef nonnull %56)
%57 = load ptr, ptr %56, align 8, !tbaa !17
%58 = icmp eq ptr %57, null
br i1 %58, label %59, label %55, !llvm.loop !18
59: ; preds = %55, %51, %1
ret void
}
declare i32 @menu_is_visible(ptr noundef) local_unnamed_addr #1
declare i32 @sym_has_value(ptr noundef) local_unnamed_addr #1
declare i64 @sym_is_changable(ptr noundef) local_unnamed_addr #1
declare i64 @sym_is_choice(ptr noundef) local_unnamed_addr #1
declare i64 @sym_get_tristate_value(ptr noundef) local_unnamed_addr #1
declare i32 @sym_is_choice_value(ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef) local_unnamed_addr #1
declare ptr @_(ptr noundef) local_unnamed_addr #1
declare i32 @menu_get_parent_menu(ptr noundef) local_unnamed_addr #1
declare i32 @conf(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 16}
!7 = !{!"menu", !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 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"symbol", !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!8, !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_scripts_kconfig_extr_conf.c_check_conf |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/omap3isp/extr_ispresizer.c_resizer_set_outaddr.c'
source_filename = "AnghaBench/linux/drivers/media/platform/omap3isp/extr_ispresizer.c_resizer_set_outaddr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ISPRSZ_SDR_OUTADD_ADDR_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@OMAP3_ISP_IOMEM_RESZ = dso_local local_unnamed_addr global i32 0, align 4
@ISPRSZ_SDR_OUTADD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @resizer_set_outaddr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @resizer_set_outaddr(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @to_isp_device(ptr noundef %0) #2
%4 = load i32, ptr @ISPRSZ_SDR_OUTADD_ADDR_SHIFT, align 4, !tbaa !5
%5 = shl i32 %1, %4
%6 = load i32, ptr @OMAP3_ISP_IOMEM_RESZ, align 4, !tbaa !5
%7 = load i32, ptr @ISPRSZ_SDR_OUTADD, align 4, !tbaa !5
%8 = tail call i32 @isp_reg_writel(ptr noundef %3, i32 noundef %5, i32 noundef %6, i32 noundef %7) #2
ret void
}
declare ptr @to_isp_device(ptr noundef) local_unnamed_addr #1
declare i32 @isp_reg_writel(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/omap3isp/extr_ispresizer.c_resizer_set_outaddr.c'
source_filename = "AnghaBench/linux/drivers/media/platform/omap3isp/extr_ispresizer.c_resizer_set_outaddr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ISPRSZ_SDR_OUTADD_ADDR_SHIFT = common local_unnamed_addr global i32 0, align 4
@OMAP3_ISP_IOMEM_RESZ = common local_unnamed_addr global i32 0, align 4
@ISPRSZ_SDR_OUTADD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @resizer_set_outaddr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @resizer_set_outaddr(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @to_isp_device(ptr noundef %0) #2
%4 = load i32, ptr @ISPRSZ_SDR_OUTADD_ADDR_SHIFT, align 4, !tbaa !6
%5 = shl i32 %1, %4
%6 = load i32, ptr @OMAP3_ISP_IOMEM_RESZ, align 4, !tbaa !6
%7 = load i32, ptr @ISPRSZ_SDR_OUTADD, align 4, !tbaa !6
%8 = tail call i32 @isp_reg_writel(ptr noundef %3, i32 noundef %5, i32 noundef %6, i32 noundef %7) #2
ret void
}
declare ptr @to_isp_device(ptr noundef) local_unnamed_addr #1
declare i32 @isp_reg_writel(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_media_platform_omap3isp_extr_ispresizer.c_resizer_set_outaddr |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-operands.c_fini_ssa_operands.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-operands.c_fini_ssa_operands.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32, i32, i32 }
@tree = dso_local local_unnamed_addr global i32 0, align 4
@heap = dso_local local_unnamed_addr global i32 0, align 4
@build_defs = dso_local local_unnamed_addr global i32 0, align 4
@build_uses = dso_local local_unnamed_addr global i32 0, align 4
@build_v_must_defs = dso_local local_unnamed_addr global i32 0, align 4
@build_v_may_defs = dso_local local_unnamed_addr global i32 0, align 4
@build_vuses = dso_local local_unnamed_addr global i32 0, align 4
@free_defs = dso_local local_unnamed_addr global ptr null, align 8
@free_uses = dso_local local_unnamed_addr global ptr null, align 8
@free_vuses = dso_local local_unnamed_addr global ptr null, align 8
@free_maydefs = dso_local local_unnamed_addr global ptr null, align 8
@free_mustdefs = dso_local local_unnamed_addr global ptr null, align 8
@operand_memory = dso_local local_unnamed_addr global ptr null, align 8
@ops_active = dso_local local_unnamed_addr global i32 0, align 4
@dump_file = dso_local local_unnamed_addr global i64 0, align 8
@dump_flags = dso_local local_unnamed_addr global i32 0, align 4
@TDF_STATS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Original clobbered vars:%d\0A\00", align 1
@clobber_stats = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"Static write clobbers avoided:%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Static read clobbers avoided:%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"Unescapable clobbers avoided:%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"Original read-only clobbers:%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"Static read-only clobbers avoided:%d\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @fini_ssa_operands() local_unnamed_addr #0 {
%1 = load i32, ptr @tree, align 4, !tbaa !5
%2 = load i32, ptr @heap, align 4, !tbaa !5
%3 = load i32, ptr @build_defs, align 4, !tbaa !5
%4 = tail call i32 @VEC_free(i32 noundef %1, i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @tree, align 4, !tbaa !5
%6 = load i32, ptr @heap, align 4, !tbaa !5
%7 = load i32, ptr @build_uses, align 4, !tbaa !5
%8 = tail call i32 @VEC_free(i32 noundef %5, i32 noundef %6, i32 noundef %7) #2
%9 = load i32, ptr @tree, align 4, !tbaa !5
%10 = load i32, ptr @heap, align 4, !tbaa !5
%11 = load i32, ptr @build_v_must_defs, align 4, !tbaa !5
%12 = tail call i32 @VEC_free(i32 noundef %9, i32 noundef %10, i32 noundef %11) #2
%13 = load i32, ptr @tree, align 4, !tbaa !5
%14 = load i32, ptr @heap, align 4, !tbaa !5
%15 = load i32, ptr @build_v_may_defs, align 4, !tbaa !5
%16 = tail call i32 @VEC_free(i32 noundef %13, i32 noundef %14, i32 noundef %15) #2
%17 = load i32, ptr @tree, align 4, !tbaa !5
%18 = load i32, ptr @heap, align 4, !tbaa !5
%19 = load i32, ptr @build_vuses, align 4, !tbaa !5
%20 = tail call i32 @VEC_free(i32 noundef %17, i32 noundef %18, i32 noundef %19) #2
store ptr null, ptr @free_defs, align 8, !tbaa !9
store ptr null, ptr @free_uses, align 8, !tbaa !9
store ptr null, ptr @free_vuses, align 8, !tbaa !9
store ptr null, ptr @free_maydefs, align 8, !tbaa !9
store ptr null, ptr @free_mustdefs, align 8, !tbaa !9
%21 = load ptr, ptr @operand_memory, align 8, !tbaa !9
%22 = icmp eq ptr %21, null
br i1 %22, label %29, label %23
23: ; preds = %0, %23
%24 = phi ptr [ %27, %23 ], [ %21, %0 ]
%25 = load ptr, ptr %24, align 8, !tbaa !11
store ptr %25, ptr @operand_memory, align 8, !tbaa !9
%26 = tail call i32 @ggc_free(ptr noundef nonnull %24) #2
%27 = load ptr, ptr @operand_memory, align 8, !tbaa !9
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %23, !llvm.loop !13
29: ; preds = %23, %0
store i32 0, ptr @ops_active, align 4, !tbaa !5
%30 = load i64, ptr @dump_file, align 8, !tbaa !15
%31 = icmp eq i64 %30, 0
br i1 %31, label %55, label %32
32: ; preds = %29
%33 = load i32, ptr @dump_flags, align 4, !tbaa !5
%34 = load i32, ptr @TDF_STATS, align 4, !tbaa !5
%35 = and i32 %34, %33
%36 = icmp eq i32 %35, 0
br i1 %36, label %55, label %37
37: ; preds = %32
%38 = load i32, ptr @clobber_stats, align 4, !tbaa !17
%39 = tail call i32 @fprintf(i64 noundef %30, ptr noundef nonnull @.str, i32 noundef %38) #2
%40 = load i64, ptr @dump_file, align 8, !tbaa !15
%41 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @clobber_stats, i64 0, i32 1), align 4, !tbaa !19
%42 = tail call i32 @fprintf(i64 noundef %40, ptr noundef nonnull @.str.1, i32 noundef %41) #2
%43 = load i64, ptr @dump_file, align 8, !tbaa !15
%44 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @clobber_stats, i64 0, i32 2), align 4, !tbaa !20
%45 = tail call i32 @fprintf(i64 noundef %43, ptr noundef nonnull @.str.2, i32 noundef %44) #2
%46 = load i64, ptr @dump_file, align 8, !tbaa !15
%47 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @clobber_stats, i64 0, i32 3), align 4, !tbaa !21
%48 = tail call i32 @fprintf(i64 noundef %46, ptr noundef nonnull @.str.3, i32 noundef %47) #2
%49 = load i64, ptr @dump_file, align 8, !tbaa !15
%50 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @clobber_stats, i64 0, i32 4), align 4, !tbaa !22
%51 = tail call i32 @fprintf(i64 noundef %49, ptr noundef nonnull @.str.4, i32 noundef %50) #2
%52 = load i64, ptr @dump_file, align 8, !tbaa !15
%53 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @clobber_stats, i64 0, i32 5), align 4, !tbaa !23
%54 = tail call i32 @fprintf(i64 noundef %52, ptr noundef nonnull @.str.5, i32 noundef %53) #2
br label %55
55: ; preds = %37, %32, %29
ret void
}
declare i32 @VEC_free(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ggc_free(ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"ssa_operand_memory_d", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20}
!19 = !{!18, !6, i64 4}
!20 = !{!18, !6, i64 8}
!21 = !{!18, !6, i64 12}
!22 = !{!18, !6, i64 16}
!23 = !{!18, !6, i64 20}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-operands.c_fini_ssa_operands.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-operands.c_fini_ssa_operands.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, i32, i32, i32, i32 }
@tree = common local_unnamed_addr global i32 0, align 4
@heap = common local_unnamed_addr global i32 0, align 4
@build_defs = common local_unnamed_addr global i32 0, align 4
@build_uses = common local_unnamed_addr global i32 0, align 4
@build_v_must_defs = common local_unnamed_addr global i32 0, align 4
@build_v_may_defs = common local_unnamed_addr global i32 0, align 4
@build_vuses = common local_unnamed_addr global i32 0, align 4
@free_defs = common local_unnamed_addr global ptr null, align 8
@free_uses = common local_unnamed_addr global ptr null, align 8
@free_vuses = common local_unnamed_addr global ptr null, align 8
@free_maydefs = common local_unnamed_addr global ptr null, align 8
@free_mustdefs = common local_unnamed_addr global ptr null, align 8
@operand_memory = common local_unnamed_addr global ptr null, align 8
@ops_active = common local_unnamed_addr global i32 0, align 4
@dump_file = common local_unnamed_addr global i64 0, align 8
@dump_flags = common local_unnamed_addr global i32 0, align 4
@TDF_STATS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Original clobbered vars:%d\0A\00", align 1
@clobber_stats = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"Static write clobbers avoided:%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Static read clobbers avoided:%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"Unescapable clobbers avoided:%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"Original read-only clobbers:%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"Static read-only clobbers avoided:%d\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @fini_ssa_operands() local_unnamed_addr #0 {
%1 = load i32, ptr @tree, align 4, !tbaa !6
%2 = load i32, ptr @heap, align 4, !tbaa !6
%3 = load i32, ptr @build_defs, align 4, !tbaa !6
%4 = tail call i32 @VEC_free(i32 noundef %1, i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @tree, align 4, !tbaa !6
%6 = load i32, ptr @heap, align 4, !tbaa !6
%7 = load i32, ptr @build_uses, align 4, !tbaa !6
%8 = tail call i32 @VEC_free(i32 noundef %5, i32 noundef %6, i32 noundef %7) #2
%9 = load i32, ptr @tree, align 4, !tbaa !6
%10 = load i32, ptr @heap, align 4, !tbaa !6
%11 = load i32, ptr @build_v_must_defs, align 4, !tbaa !6
%12 = tail call i32 @VEC_free(i32 noundef %9, i32 noundef %10, i32 noundef %11) #2
%13 = load i32, ptr @tree, align 4, !tbaa !6
%14 = load i32, ptr @heap, align 4, !tbaa !6
%15 = load i32, ptr @build_v_may_defs, align 4, !tbaa !6
%16 = tail call i32 @VEC_free(i32 noundef %13, i32 noundef %14, i32 noundef %15) #2
%17 = load i32, ptr @tree, align 4, !tbaa !6
%18 = load i32, ptr @heap, align 4, !tbaa !6
%19 = load i32, ptr @build_vuses, align 4, !tbaa !6
%20 = tail call i32 @VEC_free(i32 noundef %17, i32 noundef %18, i32 noundef %19) #2
store ptr null, ptr @free_defs, align 8, !tbaa !10
store ptr null, ptr @free_uses, align 8, !tbaa !10
store ptr null, ptr @free_vuses, align 8, !tbaa !10
store ptr null, ptr @free_maydefs, align 8, !tbaa !10
store ptr null, ptr @free_mustdefs, align 8, !tbaa !10
%21 = load ptr, ptr @operand_memory, align 8, !tbaa !10
%22 = icmp eq ptr %21, null
br i1 %22, label %29, label %23
23: ; preds = %0, %23
%24 = phi ptr [ %27, %23 ], [ %21, %0 ]
%25 = load ptr, ptr %24, align 8, !tbaa !12
store ptr %25, ptr @operand_memory, align 8, !tbaa !10
%26 = tail call i32 @ggc_free(ptr noundef nonnull %24) #2
%27 = load ptr, ptr @operand_memory, align 8, !tbaa !10
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %23, !llvm.loop !14
29: ; preds = %23, %0
store i32 0, ptr @ops_active, align 4, !tbaa !6
%30 = load i64, ptr @dump_file, align 8, !tbaa !16
%31 = icmp eq i64 %30, 0
br i1 %31, label %55, label %32
32: ; preds = %29
%33 = load i32, ptr @dump_flags, align 4, !tbaa !6
%34 = load i32, ptr @TDF_STATS, align 4, !tbaa !6
%35 = and i32 %34, %33
%36 = icmp eq i32 %35, 0
br i1 %36, label %55, label %37
37: ; preds = %32
%38 = load i32, ptr @clobber_stats, align 4, !tbaa !18
%39 = tail call i32 @fprintf(i64 noundef %30, ptr noundef nonnull @.str, i32 noundef %38) #2
%40 = load i64, ptr @dump_file, align 8, !tbaa !16
%41 = load i32, ptr getelementptr inbounds (i8, ptr @clobber_stats, i64 4), align 4, !tbaa !20
%42 = tail call i32 @fprintf(i64 noundef %40, ptr noundef nonnull @.str.1, i32 noundef %41) #2
%43 = load i64, ptr @dump_file, align 8, !tbaa !16
%44 = load i32, ptr getelementptr inbounds (i8, ptr @clobber_stats, i64 8), align 4, !tbaa !21
%45 = tail call i32 @fprintf(i64 noundef %43, ptr noundef nonnull @.str.2, i32 noundef %44) #2
%46 = load i64, ptr @dump_file, align 8, !tbaa !16
%47 = load i32, ptr getelementptr inbounds (i8, ptr @clobber_stats, i64 12), align 4, !tbaa !22
%48 = tail call i32 @fprintf(i64 noundef %46, ptr noundef nonnull @.str.3, i32 noundef %47) #2
%49 = load i64, ptr @dump_file, align 8, !tbaa !16
%50 = load i32, ptr getelementptr inbounds (i8, ptr @clobber_stats, i64 16), align 4, !tbaa !23
%51 = tail call i32 @fprintf(i64 noundef %49, ptr noundef nonnull @.str.4, i32 noundef %50) #2
%52 = load i64, ptr @dump_file, align 8, !tbaa !16
%53 = load i32, ptr getelementptr inbounds (i8, ptr @clobber_stats, i64 20), align 4, !tbaa !24
%54 = tail call i32 @fprintf(i64 noundef %52, ptr noundef nonnull @.str.5, i32 noundef %53) #2
br label %55
55: ; preds = %37, %32, %29
ret void
}
declare i32 @VEC_free(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ggc_free(ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"ssa_operand_memory_d", !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!20 = !{!19, !7, i64 4}
!21 = !{!19, !7, i64 8}
!22 = !{!19, !7, i64 12}
!23 = !{!19, !7, i64 16}
!24 = !{!19, !7, i64 20}
| freebsd_contrib_gcc_extr_tree-ssa-operands.c_fini_ssa_operands |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/iser/extr_iser_initiator.c_iser_snd_completion.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/iser/extr_iser_initiator.c_iser_snd_completion.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32 }
%struct.iser_conn = type { i32, ptr }
%struct.iser_tx_desc = type { i64, i32 }
@ISCSI_TX_DATAOUT = dso_local local_unnamed_addr global i64 0, align 8
@ISER_HEADERS_LEN = dso_local local_unnamed_addr global i32 0, align 4
@DMA_TO_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@ig = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@ISCSI_TX_CONTROL = dso_local local_unnamed_addr global i64 0, align 8
@RESERVED_ITT = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @iser_snd_completion(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr @ISCSI_TX_DATAOUT, align 8, !tbaa !11
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %17
6: ; preds = %2
%7 = getelementptr inbounds %struct.iser_conn, ptr %1, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = load i32, ptr %8, align 4, !tbaa !15
%10 = getelementptr inbounds %struct.iser_tx_desc, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 8, !tbaa !17
%12 = load i32, ptr @ISER_HEADERS_LEN, align 4, !tbaa !18
%13 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !18
%14 = tail call i32 @ib_dma_unmap_single(i32 noundef %9, i32 noundef %11, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr @ig, align 4, !tbaa !19
%16 = tail call i32 @kmem_cache_free(i32 noundef %15, ptr noundef nonnull %0) #2
br label %17
17: ; preds = %6, %2
%18 = tail call i32 @atomic_dec(ptr noundef %1) #2
%19 = load i64, ptr %0, align 8, !tbaa !5
%20 = load i64, ptr @ISCSI_TX_CONTROL, align 8, !tbaa !11
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %32
22: ; preds = %17
%23 = ptrtoint ptr %0 to i64
%24 = add i64 %23, -8
%25 = inttoptr i64 %24 to ptr
%26 = load ptr, ptr %25, align 8, !tbaa !21
%27 = load i64, ptr %26, align 8, !tbaa !23
%28 = load i64, ptr @RESERVED_ITT, align 8, !tbaa !11
%29 = icmp eq i64 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %22
%31 = tail call i32 @iscsi_put_task(ptr noundef nonnull %25) #2
br label %32
32: ; preds = %22, %30, %17
ret void
}
declare i32 @ib_dma_unmap_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kmem_cache_free(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1
declare i32 @iscsi_put_task(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 = !{!"iser_tx_desc", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !14, i64 8}
!13 = !{!"iser_conn", !10, i64 0, !14, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"iser_device", !10, i64 0}
!17 = !{!6, !10, i64 8}
!18 = !{!10, !10, i64 0}
!19 = !{!20, !10, i64 0}
!20 = !{!"TYPE_4__", !10, i64 0}
!21 = !{!22, !14, i64 0}
!22 = !{!"iscsi_task", !14, i64 0}
!23 = !{!24, !7, i64 0}
!24 = !{!"TYPE_3__", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/iser/extr_iser_initiator.c_iser_snd_completion.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/iser/extr_iser_initiator.c_iser_snd_completion.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32 }
@ISCSI_TX_DATAOUT = common local_unnamed_addr global i64 0, align 8
@ISER_HEADERS_LEN = common local_unnamed_addr global i32 0, align 4
@DMA_TO_DEVICE = common local_unnamed_addr global i32 0, align 4
@ig = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@ISCSI_TX_CONTROL = common local_unnamed_addr global i64 0, align 8
@RESERVED_ITT = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @iser_snd_completion(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr @ISCSI_TX_DATAOUT, align 8, !tbaa !12
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %17
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = load i32, ptr %8, align 4, !tbaa !16
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i32, ptr %10, align 8, !tbaa !18
%12 = load i32, ptr @ISER_HEADERS_LEN, align 4, !tbaa !19
%13 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !19
%14 = tail call i32 @ib_dma_unmap_single(i32 noundef %9, i32 noundef %11, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr @ig, align 4, !tbaa !20
%16 = tail call i32 @kmem_cache_free(i32 noundef %15, ptr noundef nonnull %0) #2
br label %17
17: ; preds = %6, %2
%18 = tail call i32 @atomic_dec(ptr noundef %1) #2
%19 = load i64, ptr %0, align 8, !tbaa !6
%20 = load i64, ptr @ISCSI_TX_CONTROL, align 8, !tbaa !12
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %32
22: ; preds = %17
%23 = ptrtoint ptr %0 to i64
%24 = add i64 %23, -8
%25 = inttoptr i64 %24 to ptr
%26 = load ptr, ptr %25, align 8, !tbaa !22
%27 = load i64, ptr %26, align 8, !tbaa !24
%28 = load i64, ptr @RESERVED_ITT, align 8, !tbaa !12
%29 = icmp eq i64 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %22
%31 = tail call i32 @iscsi_put_task(ptr noundef nonnull %25) #2
br label %32
32: ; preds = %22, %30, %17
ret void
}
declare i32 @ib_dma_unmap_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kmem_cache_free(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1
declare i32 @iscsi_put_task(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 = !{!"iser_tx_desc", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !15, i64 8}
!14 = !{!"iser_conn", !11, i64 0, !15, i64 8}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"iser_device", !11, i64 0}
!18 = !{!7, !11, i64 8}
!19 = !{!11, !11, i64 0}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_4__", !11, i64 0}
!22 = !{!23, !15, i64 0}
!23 = !{!"iscsi_task", !15, i64 0}
!24 = !{!25, !8, i64 0}
!25 = !{!"TYPE_3__", !8, i64 0}
| fastsocket_kernel_drivers_infiniband_ulp_iser_extr_iser_initiator.c_iser_snd_completion |
; ModuleID = 'AnghaBench/linux/fs/xfs/extr_xfs_log_recover.c_xlog_verify_bno.c'
source_filename = "AnghaBench/linux/fs/xfs/extr_xfs_log_recover.c_xlog_verify_bno.c"
target datalayout = "e-m:e-p270:32:32-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 @xlog_verify_bno], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @xlog_verify_bno(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = icmp slt i64 %1, 0
br i1 %4, label %15, label %5
5: ; preds = %3
%6 = load i64, ptr %0, align 8, !tbaa !5
%7 = icmp sgt i64 %6, %1
br i1 %7, label %8, label %15
8: ; preds = %5
%9 = icmp sgt i32 %2, 0
%10 = zext nneg i32 %2 to i64
%11 = add nuw nsw i64 %10, %1
%12 = icmp ule i64 %11, %6
%13 = select i1 %9, i1 %12, i1 false
%14 = zext i1 %13 to i32
br label %15
15: ; preds = %8, %3, %5
%16 = phi i32 [ 0, %5 ], [ 0, %3 ], [ %14, %8 ]
ret i32 %16
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"xlog", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/fs/xfs/extr_xfs_log_recover.c_xlog_verify_bno.c'
source_filename = "AnghaBench/linux/fs/xfs/extr_xfs_log_recover.c_xlog_verify_bno.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 @xlog_verify_bno], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @xlog_verify_bno(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = icmp slt i64 %1, 0
br i1 %4, label %15, label %5
5: ; preds = %3
%6 = load i64, ptr %0, align 8, !tbaa !6
%7 = icmp sgt i64 %6, %1
br i1 %7, label %8, label %15
8: ; preds = %5
%9 = icmp sgt i32 %2, 0
%10 = zext nneg i32 %2 to i64
%11 = add nuw nsw i64 %10, %1
%12 = icmp ule i64 %11, %6
%13 = select i1 %9, i1 %12, i1 false
%14 = zext i1 %13 to i32
br label %15
15: ; preds = %8, %3, %5
%16 = phi i32 [ 0, %5 ], [ 0, %3 ], [ %14, %8 ]
ret i32 %16
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"xlog", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_fs_xfs_extr_xfs_log_recover.c_xlog_verify_bno |
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace_events_hist.c_event_hist_open.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_trace_events_hist.c_event_hist_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"
@LOCKDOWN_TRACEFS = dso_local local_unnamed_addr global i32 0, align 4
@hist_show = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @event_hist_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @event_hist_open(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = load i32, ptr @LOCKDOWN_TRACEFS, align 4, !tbaa !5
%4 = tail call i32 @security_locked_down(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @hist_show, align 4, !tbaa !5
%8 = tail call i32 @single_open(ptr noundef %1, i32 noundef %7, ptr noundef %1) #2
br label %9
9: ; preds = %2, %6
%10 = phi i32 [ %8, %6 ], [ %4, %2 ]
ret i32 %10
}
declare i32 @security_locked_down(i32 noundef) local_unnamed_addr #1
declare i32 @single_open(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/kernel/trace/extr_trace_events_hist.c_event_hist_open.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_trace_events_hist.c_event_hist_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LOCKDOWN_TRACEFS = common local_unnamed_addr global i32 0, align 4
@hist_show = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @event_hist_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @event_hist_open(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = load i32, ptr @LOCKDOWN_TRACEFS, align 4, !tbaa !6
%4 = tail call i32 @security_locked_down(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @hist_show, align 4, !tbaa !6
%8 = tail call i32 @single_open(ptr noundef %1, i32 noundef %7, ptr noundef %1) #2
br label %9
9: ; preds = %2, %6
%10 = phi i32 [ %8, %6 ], [ %4, %2 ]
ret i32 %10
}
declare i32 @security_locked_down(i32 noundef) local_unnamed_addr #1
declare i32 @single_open(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_kernel_trace_extr_trace_events_hist.c_event_hist_open |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_next_ceqe_sw_v2.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_next_ceqe_sw_v2.c"
target datalayout = "e-m:e-p270:32:32-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.hns_roce_eq = type { i32, i32, i32 }
@HNS_ROCE_V2_CEQ_CEQE_OWNER_S = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @next_ceqe_sw_v2], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @next_ceqe_sw_v2(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.hns_roce_eq, ptr %0, i64 0, i32 2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = icmp eq i32 %3, 0
%5 = load i32, ptr %0, align 4, !tbaa !10
br i1 %4, label %6, label %8
6: ; preds = %1
%7 = tail call ptr @get_ceqe_v2(ptr noundef nonnull %0, i32 noundef %5) #2
br label %10
8: ; preds = %1
%9 = tail call ptr @mhop_get_ceqe(ptr noundef nonnull %0, i32 noundef %5) #2
br label %10
10: ; preds = %8, %6
%11 = phi ptr [ %9, %8 ], [ %7, %6 ]
%12 = load i32, ptr %11, align 4, !tbaa !11
%13 = load i32, ptr @HNS_ROCE_V2_CEQ_CEQE_OWNER_S, align 4, !tbaa !13
%14 = tail call i32 @roce_get_bit(i32 noundef %12, i32 noundef %13) #2
%15 = icmp ne i32 %14, 0
%16 = load i32, ptr %0, align 4, !tbaa !10
%17 = getelementptr inbounds %struct.hns_roce_eq, ptr %0, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !14
%19 = and i32 %18, %16
%20 = icmp ne i32 %19, 0
%21 = xor i1 %15, %20
%22 = select i1 %21, ptr %11, ptr null
ret ptr %22
}
declare ptr @get_ceqe_v2(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @mhop_get_ceqe(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @roce_get_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"hns_roce_eq", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"hns_roce_ceqe", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_next_ceqe_sw_v2.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_next_ceqe_sw_v2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HNS_ROCE_V2_CEQ_CEQE_OWNER_S = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @next_ceqe_sw_v2], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @next_ceqe_sw_v2(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = icmp eq i32 %3, 0
%5 = load i32, ptr %0, align 4, !tbaa !11
br i1 %4, label %6, label %8
6: ; preds = %1
%7 = tail call ptr @get_ceqe_v2(ptr noundef nonnull %0, i32 noundef %5) #2
br label %10
8: ; preds = %1
%9 = tail call ptr @mhop_get_ceqe(ptr noundef nonnull %0, i32 noundef %5) #2
br label %10
10: ; preds = %8, %6
%11 = phi ptr [ %9, %8 ], [ %7, %6 ]
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = load i32, ptr @HNS_ROCE_V2_CEQ_CEQE_OWNER_S, align 4, !tbaa !14
%14 = tail call i32 @roce_get_bit(i32 noundef %12, i32 noundef %13) #2
%15 = icmp ne i32 %14, 0
%16 = load i32, ptr %0, align 4, !tbaa !11
%17 = getelementptr inbounds i8, ptr %0, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !15
%19 = and i32 %18, %16
%20 = icmp ne i32 %19, 0
%21 = xor i1 %15, %20
%22 = select i1 %21, ptr %11, ptr null
ret ptr %22
}
declare ptr @get_ceqe_v2(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @mhop_get_ceqe(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @roce_get_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"hns_roce_eq", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"hns_roce_ceqe", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 4}
| linux_drivers_infiniband_hw_hns_extr_hns_roce_hw_v2.c_next_ceqe_sw_v2 |
; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_wifi.c_wifi_ap_getmac.c'
source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_wifi.c_wifi_ap_getmac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SOFTAP_IF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wifi_ap_getmac], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wifi_ap_getmac(ptr noundef %0) #0 {
%2 = load i32, ptr @SOFTAP_IF, align 4, !tbaa !5
%3 = tail call i32 @wifi_getmac(ptr noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @wifi_getmac(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_wifi.c_wifi_ap_getmac.c'
source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_wifi.c_wifi_ap_getmac.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SOFTAP_IF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wifi_ap_getmac], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @wifi_ap_getmac(ptr noundef %0) #0 {
%2 = load i32, ptr @SOFTAP_IF, align 4, !tbaa !6
%3 = tail call i32 @wifi_getmac(ptr noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @wifi_getmac(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"}
| nodemcu-firmware_app_modules_extr_wifi.c_wifi_ap_getmac |
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_init_fw_funcs.c_ecore_enable_vport_wfq.c'
source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_init_fw_funcs.c_ecore_enable_vport_wfq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@QM_REG_WFQVPENABLE_RT_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@QM_BYPASS_EN = dso_local local_unnamed_addr global i64 0, align 8
@QM_REG_AFULLQMBYPTHRVPWFQ_RT_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@QM_WFQ_UPPER_BOUND = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ecore_enable_vport_wfq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ecore_enable_vport_wfq(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @QM_REG_WFQVPENABLE_RT_OFFSET, align 4, !tbaa !5
%4 = icmp ne i32 %1, 0
%5 = zext i1 %4 to i32
%6 = tail call i32 @STORE_RT_REG(ptr noundef %0, i32 noundef %3, i32 noundef %5) #2
%7 = load i64, ptr @QM_BYPASS_EN, align 8
%8 = icmp ne i64 %7, 0
%9 = select i1 %4, i1 %8, i1 false
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load i32, ptr @QM_REG_AFULLQMBYPTHRVPWFQ_RT_OFFSET, align 4, !tbaa !5
%12 = load i32, ptr @QM_WFQ_UPPER_BOUND, align 4, !tbaa !5
%13 = tail call i32 @STORE_RT_REG(ptr noundef %0, i32 noundef %11, i32 noundef %12) #2
br label %14
14: ; preds = %10, %2
ret void
}
declare i32 @STORE_RT_REG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_init_fw_funcs.c_ecore_enable_vport_wfq.c'
source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_init_fw_funcs.c_ecore_enable_vport_wfq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@QM_REG_WFQVPENABLE_RT_OFFSET = common local_unnamed_addr global i32 0, align 4
@QM_BYPASS_EN = common local_unnamed_addr global i64 0, align 8
@QM_REG_AFULLQMBYPTHRVPWFQ_RT_OFFSET = common local_unnamed_addr global i32 0, align 4
@QM_WFQ_UPPER_BOUND = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ecore_enable_vport_wfq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ecore_enable_vport_wfq(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @QM_REG_WFQVPENABLE_RT_OFFSET, align 4, !tbaa !6
%4 = icmp ne i32 %1, 0
%5 = zext i1 %4 to i32
%6 = tail call i32 @STORE_RT_REG(ptr noundef %0, i32 noundef %3, i32 noundef %5) #2
%7 = load i64, ptr @QM_BYPASS_EN, align 8
%8 = icmp ne i64 %7, 0
%9 = select i1 %4, i1 %8, i1 false
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load i32, ptr @QM_REG_AFULLQMBYPTHRVPWFQ_RT_OFFSET, align 4, !tbaa !6
%12 = load i32, ptr @QM_WFQ_UPPER_BOUND, align 4, !tbaa !6
%13 = tail call i32 @STORE_RT_REG(ptr noundef %0, i32 noundef %11, i32 noundef %12) #2
br label %14
14: ; preds = %10, %2
ret void
}
declare i32 @STORE_RT_REG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_qlnx_qlnxe_extr_ecore_init_fw_funcs.c_ecore_enable_vport_wfq |
; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_eval.c_parse_expr.c'
source_filename = "AnghaBench/FFmpeg/libavutil/extr_eval.c_parse_expr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, ptr }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@e_last = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse_expr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @parse_expr(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = load i64, ptr %1, align 8, !tbaa !5
%6 = icmp slt i64 %5, 1
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @EINVAL, align 4, !tbaa !11
%9 = tail call i32 @AVERROR(i32 noundef %8) #3
br label %42
10: ; preds = %2
%11 = add nsw i64 %5, -1
store i64 %11, ptr %1, align 8, !tbaa !5
%12 = call i32 @parse_subexpr(ptr noundef nonnull %3, ptr noundef nonnull %1) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %42, label %14
14: ; preds = %10
%15 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
br label %16
16: ; preds = %14, %27
%17 = load ptr, ptr %15, align 8, !tbaa !13
%18 = load i8, ptr %17, align 1, !tbaa !14
%19 = icmp eq i8 %18, 59
br i1 %19, label %20, label %38
20: ; preds = %16
%21 = getelementptr inbounds i8, ptr %17, i64 1
store ptr %21, ptr %15, align 8, !tbaa !13
%22 = load ptr, ptr %3, align 8, !tbaa !15
%23 = call i32 @parse_subexpr(ptr noundef nonnull %4, ptr noundef nonnull %1) #3
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %20
%26 = call i32 @av_expr_free(ptr noundef %22) #3
br label %42
27: ; preds = %20
%28 = load i32, ptr @e_last, align 4, !tbaa !11
%29 = load ptr, ptr %4, align 8, !tbaa !15
%30 = call ptr @make_eval_expr(i32 noundef %28, i32 noundef 1, ptr noundef %22, ptr noundef %29) #3
store ptr %30, ptr %3, align 8, !tbaa !15
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %16, !llvm.loop !16
32: ; preds = %27
%33 = call i32 @av_expr_free(ptr noundef %22) #3
%34 = load ptr, ptr %4, align 8, !tbaa !15
%35 = call i32 @av_expr_free(ptr noundef %34) #3
%36 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%37 = call i32 @AVERROR(i32 noundef %36) #3
br label %42
38: ; preds = %16
%39 = load i64, ptr %1, align 8, !tbaa !5
%40 = add nsw i64 %39, 1
store i64 %40, ptr %1, align 8, !tbaa !5
%41 = load ptr, ptr %3, align 8, !tbaa !15
store ptr %41, ptr %0, align 8, !tbaa !15
br label %42
42: ; preds = %10, %38, %32, %25, %7
%43 = phi i32 [ %9, %7 ], [ %23, %25 ], [ %37, %32 ], [ 0, %38 ], [ %12, %10 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2
declare i32 @parse_subexpr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @av_expr_free(ptr noundef) local_unnamed_addr #2
declare ptr @make_eval_expr(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!10, !10, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_eval.c_parse_expr.c'
source_filename = "AnghaBench/FFmpeg/libavutil/extr_eval.c_parse_expr.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
@e_last = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @parse_expr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @parse_expr(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = load i64, ptr %1, align 8, !tbaa !6
%6 = icmp slt i64 %5, 1
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @EINVAL, align 4, !tbaa !12
%9 = tail call i32 @AVERROR(i32 noundef %8) #3
br label %42
10: ; preds = %2
%11 = add nsw i64 %5, -1
store i64 %11, ptr %1, align 8, !tbaa !6
%12 = call i32 @parse_subexpr(ptr noundef nonnull %3, ptr noundef nonnull %1) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %42, label %14
14: ; preds = %10
%15 = getelementptr inbounds i8, ptr %1, i64 8
br label %16
16: ; preds = %14, %27
%17 = load ptr, ptr %15, align 8, !tbaa !14
%18 = load i8, ptr %17, align 1, !tbaa !15
%19 = icmp eq i8 %18, 59
br i1 %19, label %20, label %38
20: ; preds = %16
%21 = getelementptr inbounds i8, ptr %17, i64 1
store ptr %21, ptr %15, align 8, !tbaa !14
%22 = load ptr, ptr %3, align 8, !tbaa !16
%23 = call i32 @parse_subexpr(ptr noundef nonnull %4, ptr noundef nonnull %1) #3
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %20
%26 = call i32 @av_expr_free(ptr noundef %22) #3
br label %42
27: ; preds = %20
%28 = load i32, ptr @e_last, align 4, !tbaa !12
%29 = load ptr, ptr %4, align 8, !tbaa !16
%30 = call ptr @make_eval_expr(i32 noundef %28, i32 noundef 1, ptr noundef %22, ptr noundef %29) #3
store ptr %30, ptr %3, align 8, !tbaa !16
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %16, !llvm.loop !17
32: ; preds = %27
%33 = call i32 @av_expr_free(ptr noundef %22) #3
%34 = load ptr, ptr %4, align 8, !tbaa !16
%35 = call i32 @av_expr_free(ptr noundef %34) #3
%36 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%37 = call i32 @AVERROR(i32 noundef %36) #3
br label %42
38: ; preds = %16
%39 = load i64, ptr %1, align 8, !tbaa !6
%40 = add nsw i64 %39, 1
store i64 %40, ptr %1, align 8, !tbaa !6
%41 = load ptr, ptr %3, align 8, !tbaa !16
store ptr %41, ptr %0, align 8, !tbaa !16
br label %42
42: ; preds = %10, %38, %32, %25, %7
%43 = phi i32 [ %9, %7 ], [ %23, %25 ], [ %37, %32 ], [ 0, %38 ], [ %12, %10 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2
declare i32 @parse_subexpr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @av_expr_free(ptr noundef) local_unnamed_addr #2
declare ptr @make_eval_expr(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!9, !9, i64 0}
!16 = !{!11, !11, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| FFmpeg_libavutil_extr_eval.c_parse_expr |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kpi_mbuf.c_mbuf_get_flowid.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kpi_mbuf.c_mbuf_get_flowid.c"
target datalayout = "e-m:e-p270:32:32-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, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32, i64 }
@M_PKTHDR = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@PKTF_DRIVER_MTAG = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local i32 @mbuf_get_flowid(ptr noundef readonly %0, ptr noundef writeonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %11, label %4
4: ; preds = %2
%5 = load i32, ptr %0, align 8, !tbaa !5
%6 = load i32, ptr @M_PKTHDR, align 4, !tbaa !12
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
%9 = icmp eq ptr %1, null
%10 = or i1 %9, %8
br i1 %10, label %11, label %13
11: ; preds = %4, %2
%12 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %24
13: ; preds = %4
%14 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%15 = load i32, ptr %14, align 8, !tbaa !13
%16 = load i32, ptr @PKTF_DRIVER_MTAG, align 4, !tbaa !12
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %22, label %19
19: ; preds = %13
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1, i32 1
%21 = load i64, ptr %20, align 8, !tbaa !14
br label %22
22: ; preds = %13, %19
%23 = phi i64 [ %21, %19 ], [ 0, %13 ]
store i64 %23, ptr %1, align 8, !tbaa !15
br label %24
24: ; preds = %22, %11
%25 = phi i32 [ %12, %11 ], [ 0, %22 ]
ret i32 %25
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !7, i64 0, !11, i64 8}
!11 = !{!"long", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !11, i64 16}
!15 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kpi_mbuf.c_mbuf_get_flowid.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kpi_mbuf.c_mbuf_get_flowid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@M_PKTHDR = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@PKTF_DRIVER_MTAG = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define i32 @mbuf_get_flowid(ptr noundef readonly %0, ptr noundef writeonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %11, label %4
4: ; preds = %2
%5 = load i32, ptr %0, align 8, !tbaa !6
%6 = load i32, ptr @M_PKTHDR, align 4, !tbaa !13
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
%9 = icmp eq ptr %1, null
%10 = or i1 %9, %8
br i1 %10, label %11, label %13
11: ; preds = %4, %2
%12 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %24
13: ; preds = %4
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load i32, ptr %14, align 8, !tbaa !14
%16 = load i32, ptr @PKTF_DRIVER_MTAG, align 4, !tbaa !13
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %22, label %19
19: ; preds = %13
%20 = getelementptr inbounds i8, ptr %0, i64 16
%21 = load i64, ptr %20, align 8, !tbaa !15
br label %22
22: ; preds = %13, %19
%23 = phi i64 [ %21, %19 ], [ 0, %13 ]
store i64 %23, ptr %1, align 8, !tbaa !16
br label %24
24: ; preds = %22, %11
%25 = phi i32 [ %12, %11 ], [ 0, %22 ]
ret i32 %25
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !8, i64 0, !12, i64 8}
!12 = !{!"long", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 8}
!15 = !{!7, !12, i64 16}
!16 = !{!12, !12, i64 0}
| darwin-xnu_bsd_kern_extr_kpi_mbuf.c_mbuf_get_flowid |
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_libata-eh.c_ata_eh_release.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_libata-eh.c_ata_eh_release.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, ptr }
@current = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @ata_eh_release(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load ptr, ptr @current, align 8, !tbaa !13
%6 = icmp ne ptr %4, %5
%7 = zext i1 %6 to i32
%8 = tail call i32 @WARN_ON_ONCE(i32 noundef %7) #2
%9 = load ptr, ptr %0, align 8, !tbaa !5
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 0, i32 1
store ptr null, ptr %10, align 8, !tbaa !10
%11 = tail call i32 @mutex_unlock(ptr noundef %9) #2
ret void
}
declare i32 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ata_port", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_2__", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/ata/extr_libata-eh.c_ata_eh_release.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_libata-eh.c_ata_eh_release.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@current = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @ata_eh_release(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load ptr, ptr @current, align 8, !tbaa !14
%6 = icmp ne ptr %4, %5
%7 = zext i1 %6 to i32
%8 = tail call i32 @WARN_ON_ONCE(i32 noundef %7) #2
%9 = load ptr, ptr %0, align 8, !tbaa !6
%10 = getelementptr inbounds i8, ptr %9, i64 8
store ptr null, ptr %10, align 8, !tbaa !11
%11 = tail call i32 @mutex_unlock(ptr noundef %9) #2
ret void
}
declare i32 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ata_port", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 8}
!12 = !{!"TYPE_2__", !13, i64 0, !8, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!8, !8, i64 0}
| linux_drivers_ata_extr_libata-eh.c_ata_eh_release |
; ModuleID = 'AnghaBench/mimikatz/mimikatz/modules/kerberos/extr_kuhl_m_kerberos_ccache.c_kuhl_m_kerberos_ccache_generateFileName.c'
source_filename = "AnghaBench/mimikatz/mimikatz/modules/kerberos/extr_kuhl_m_kerberos_ccache.c_kuhl_m_kerberos_ccache_generateFileName.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, ptr, ptr }
@LPTR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i32] [i32 37, i32 117, i32 45, i32 37, i32 48, i32 56, i32 120, i32 45, i32 37, i32 119, i32 90, i32 64, i32 37, i32 119, i32 90, i32 45, i32 37, i32 119, i32 90, i32 46, i32 37, i32 115, i32 0], align 4
@.str.1 = private unnamed_addr constant [11 x i32] [i32 37, i32 117, i32 45, i32 37, i32 48, i32 56, i32 120, i32 46, i32 37, i32 115, i32 0], align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @kuhl_m_kerberos_ccache_generateFileName(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @kuhl_m_kerberos_ticket_isLongFilename(ptr noundef %1) #2
%5 = load i32, ptr @LPTR, align 4, !tbaa !5
%6 = tail call i64 @LocalAlloc(i32 noundef %5, i64 noundef 16384) #2
%7 = inttoptr i64 %6 to ptr
%8 = icmp eq i64 %6, 0
br i1 %8, label %31, label %9
9: ; preds = %3
%10 = icmp eq i32 %4, 0
%11 = load i32, ptr %1, align 8, !tbaa !9
br i1 %10, label %21, label %12
12: ; preds = %9
%13 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 2
%14 = load ptr, ptr %13, align 8, !tbaa !12
%15 = load ptr, ptr %14, align 8, !tbaa !13
%16 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !15
%18 = load ptr, ptr %17, align 8, !tbaa !16
%19 = getelementptr inbounds i32, ptr %18, i64 1
%20 = tail call i64 (ptr, i64, ptr, i32, i32, ptr, ...) @swprintf_s(ptr noundef nonnull %7, i64 noundef 4096, ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %11, ptr noundef %15, ptr noundef %18, ptr noundef nonnull %19, ptr noundef %2) #2
br label %23
21: ; preds = %9
%22 = tail call i64 (ptr, i64, ptr, i32, i32, ptr, ...) @swprintf_s(ptr noundef nonnull %7, i64 noundef 4096, ptr noundef nonnull @.str.1, i32 noundef %0, i32 noundef %11, ptr noundef %2) #2
br label %23
23: ; preds = %21, %12
%24 = phi i64 [ %20, %12 ], [ %22, %21 ]
%25 = icmp sgt i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = tail call i32 @kull_m_file_cleanFilename(ptr noundef nonnull %7) #2
br label %31
28: ; preds = %23
%29 = tail call i64 @LocalFree(ptr noundef nonnull %7) #2
%30 = inttoptr i64 %29 to ptr
br label %31
31: ; preds = %26, %28, %3
%32 = phi ptr [ %7, %26 ], [ %30, %28 ], [ null, %3 ]
ret ptr %32
}
declare i32 @kuhl_m_kerberos_ticket_isLongFilename(ptr noundef) local_unnamed_addr #1
declare i64 @LocalAlloc(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @swprintf_s(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @kull_m_file_cleanFilename(ptr noundef) local_unnamed_addr #1
declare i64 @LocalFree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_8__", !6, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 16}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_6__", !11, i64 0}
!15 = !{!10, !11, i64 8}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_7__", !11, i64 0}
| ; ModuleID = 'AnghaBench/mimikatz/mimikatz/modules/kerberos/extr_kuhl_m_kerberos_ccache.c_kuhl_m_kerberos_ccache_generateFileName.c'
source_filename = "AnghaBench/mimikatz/mimikatz/modules/kerberos/extr_kuhl_m_kerberos_ccache.c_kuhl_m_kerberos_ccache_generateFileName.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LPTR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i32] [i32 37, i32 117, i32 45, i32 37, i32 48, i32 56, i32 120, i32 45, i32 37, i32 119, i32 90, i32 64, i32 37, i32 119, i32 90, i32 45, i32 37, i32 119, i32 90, i32 46, i32 37, i32 115, i32 0], align 4
@.str.1 = private unnamed_addr constant [11 x i32] [i32 37, i32 117, i32 45, i32 37, i32 48, i32 56, i32 120, i32 46, i32 37, i32 115, i32 0], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @kuhl_m_kerberos_ccache_generateFileName(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @kuhl_m_kerberos_ticket_isLongFilename(ptr noundef %1) #2
%5 = load i32, ptr @LPTR, align 4, !tbaa !6
%6 = tail call i64 @LocalAlloc(i32 noundef %5, i64 noundef 16384) #2
%7 = inttoptr i64 %6 to ptr
%8 = icmp eq i64 %6, 0
br i1 %8, label %31, label %9
9: ; preds = %3
%10 = icmp eq i32 %4, 0
%11 = load i32, ptr %1, align 8, !tbaa !10
br i1 %10, label %21, label %12
12: ; preds = %9
%13 = getelementptr inbounds i8, ptr %1, i64 16
%14 = load ptr, ptr %13, align 8, !tbaa !13
%15 = load ptr, ptr %14, align 8, !tbaa !14
%16 = getelementptr inbounds i8, ptr %1, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !16
%18 = load ptr, ptr %17, align 8, !tbaa !17
%19 = getelementptr inbounds i8, ptr %18, i64 4
%20 = tail call i64 (ptr, i64, ptr, i32, i32, ptr, ...) @swprintf_s(ptr noundef nonnull %7, i64 noundef 4096, ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %11, ptr noundef %15, ptr noundef %18, ptr noundef nonnull %19, ptr noundef %2) #2
br label %23
21: ; preds = %9
%22 = tail call i64 (ptr, i64, ptr, i32, i32, ptr, ...) @swprintf_s(ptr noundef nonnull %7, i64 noundef 4096, ptr noundef nonnull @.str.1, i32 noundef %0, i32 noundef %11, ptr noundef %2) #2
br label %23
23: ; preds = %21, %12
%24 = phi i64 [ %20, %12 ], [ %22, %21 ]
%25 = icmp sgt i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = tail call i32 @kull_m_file_cleanFilename(ptr noundef nonnull %7) #2
br label %31
28: ; preds = %23
%29 = tail call i64 @LocalFree(ptr noundef nonnull %7) #2
%30 = inttoptr i64 %29 to ptr
br label %31
31: ; preds = %26, %28, %3
%32 = phi ptr [ %7, %26 ], [ %30, %28 ], [ null, %3 ]
ret ptr %32
}
declare i32 @kuhl_m_kerberos_ticket_isLongFilename(ptr noundef) local_unnamed_addr #1
declare i64 @LocalAlloc(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @swprintf_s(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @kull_m_file_cleanFilename(ptr noundef) local_unnamed_addr #1
declare i64 @LocalFree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_8__", !7, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 16}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_6__", !12, i64 0}
!16 = !{!11, !12, i64 8}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_7__", !12, i64 0}
| mimikatz_mimikatz_modules_kerberos_extr_kuhl_m_kerberos_ccache.c_kuhl_m_kerberos_ccache_generateFileName |
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_amd_nb.c_amd_nb_num.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/extr_amd_nb.c_amd_nb_num.c"
target datalayout = "e-m:e-p270:32:32-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 }
@amd_northbridges = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @amd_nb_num() local_unnamed_addr #0 {
%1 = load i32, ptr @amd_northbridges, align 4, !tbaa !5
ret i32 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_amd_nb.c_amd_nb_num.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/extr_amd_nb.c_amd_nb_num.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 }
@amd_northbridges = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i32 @amd_nb_num() local_unnamed_addr #0 {
%1 = load i32, ptr @amd_northbridges, align 4, !tbaa !6
ret i32 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_arch_x86_kernel_extr_amd_nb.c_amd_nb_num |
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3_wal_checkpoint.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3_wal_checkpoint.c"
target datalayout = "e-m:e-p270:32:32-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_CHECKPOINT_PASSIVE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3_wal_checkpoint(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @SQLITE_CHECKPOINT_PASSIVE, align 4, !tbaa !5
%4 = tail call i32 @sqlite3_wal_checkpoint_v2(ptr noundef %0, ptr noundef %1, i32 noundef %3, i32 noundef 0, i32 noundef 0) #2
ret i32 %4
}
declare i32 @sqlite3_wal_checkpoint_v2(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3_wal_checkpoint.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3_wal_checkpoint.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_CHECKPOINT_PASSIVE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sqlite3_wal_checkpoint(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @SQLITE_CHECKPOINT_PASSIVE, align 4, !tbaa !6
%4 = tail call i32 @sqlite3_wal_checkpoint_v2(ptr noundef %0, ptr noundef %1, i32 noundef %3, i32 noundef 0, i32 noundef 0) #2
ret i32 %4
}
declare i32 @sqlite3_wal_checkpoint_v2(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| mimikatz_modules_extr_sqlite3_omit.c_sqlite3_wal_checkpoint |
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_sched.c_complete.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_sched.c_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.completion = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@TASK_NORMAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @complete(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%3 = getelementptr inbounds %struct.completion, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = add nsw i32 %4, 1
store i32 %5, ptr %3, align 4, !tbaa !5
%6 = load i32, ptr @TASK_NORMAL, align 4, !tbaa !11
%7 = tail call i32 @__wake_up_common(ptr noundef %0, i32 noundef %6, i32 noundef 1, i32 noundef 0, ptr noundef null) #2
%8 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__wake_up_common(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 4}
!6 = !{!"completion", !7, i64 0, !8, i64 4}
!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/kernel/extr_sched.c_complete.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_sched.c_complete.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TASK_NORMAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @complete(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = add nsw i32 %4, 1
store i32 %5, ptr %3, align 4, !tbaa !6
%6 = load i32, ptr @TASK_NORMAL, align 4, !tbaa !12
%7 = tail call i32 @__wake_up_common(ptr noundef %0, i32 noundef %6, i32 noundef 1, i32 noundef 0, ptr noundef null) #2
%8 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__wake_up_common(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 4}
!7 = !{!"completion", !8, i64 0, !9, i64 4}
!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_kernel_extr_sched.c_complete |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/extr_aq_vec.c_aq_vec_isr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/extr_aq_vec.c_aq_vec_isr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_NONE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @aq_vec_isr(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %7, label %4
4: ; preds = %2
%5 = tail call i32 @napi_schedule(ptr noundef nonnull %1) #2
%6 = load i32, ptr @IRQ_HANDLED, align 4
br label %14
7: ; preds = %2
%8 = load i32, ptr @EINVAL, align 4, !tbaa !5
%9 = freeze i32 %8
%10 = icmp slt i32 %9, 1
%11 = load i32, ptr @IRQ_HANDLED, align 4
%12 = load i32, ptr @IRQ_NONE, align 4
%13 = select i1 %10, i32 %11, i32 %12
br label %14
14: ; preds = %7, %4
%15 = phi i32 [ %6, %4 ], [ %13, %7 ]
ret i32 %15
}
declare i32 @napi_schedule(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/extr_aq_vec.c_aq_vec_isr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/extr_aq_vec.c_aq_vec_isr.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
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@IRQ_NONE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @aq_vec_isr(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %6, label %4
4: ; preds = %2
%5 = tail call i32 @napi_schedule(ptr noundef nonnull %1) #2
br label %10
6: ; preds = %2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !6
%8 = freeze i32 %7
%9 = icmp slt i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %4, %6
br label %11
11: ; preds = %6, %10
%12 = phi ptr [ @IRQ_HANDLED, %10 ], [ @IRQ_NONE, %6 ]
%13 = load i32, ptr %12, align 4
ret i32 %13
}
declare i32 @napi_schedule(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_aquantia_atlantic_extr_aq_vec.c_aq_vec_isr |
; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/udc/extr_goku_udc.c_goku_udc_start.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/udc/extr_goku_udc.c_goku_udc_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @goku_udc_start], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @goku_udc_start(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @to_goku_udc(ptr noundef %0) #2
store ptr null, ptr %1, align 8, !tbaa !5
store ptr %1, ptr %3, align 8, !tbaa !11
%4 = tail call i32 @udc_enable(ptr noundef nonnull %3) #2
ret i32 0
}
declare ptr @to_goku_udc(ptr noundef) local_unnamed_addr #1
declare i32 @udc_enable(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"usb_gadget_driver", !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"}
!11 = !{!12, !8, i64 0}
!12 = !{!"goku_udc", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/udc/extr_goku_udc.c_goku_udc_start.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/udc/extr_goku_udc.c_goku_udc_start.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 @goku_udc_start], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @goku_udc_start(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @to_goku_udc(ptr noundef %0) #2
store ptr null, ptr %1, align 8, !tbaa !6
store ptr %1, ptr %3, align 8, !tbaa !12
%4 = tail call i32 @udc_enable(ptr noundef nonnull %3) #2
ret i32 0
}
declare ptr @to_goku_udc(ptr noundef) local_unnamed_addr #1
declare i32 @udc_enable(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"usb_gadget_driver", !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"}
!12 = !{!13, !9, i64 0}
!13 = !{!"goku_udc", !9, i64 0}
| linux_drivers_usb_gadget_udc_extr_goku_udc.c_goku_udc_start |
; ModuleID = 'AnghaBench/linux/drivers/misc/cardreader/extr_rts5209.c_rts5209_card_power_on.c'
source_filename = "AnghaBench/linux/drivers/misc/cardreader/extr_rts5209.c_rts5209_card_power_on.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SD_POWER_MASK = dso_local local_unnamed_addr global i32 0, align 4
@SD_PARTIAL_POWER_ON = dso_local local_unnamed_addr global i32 0, align 4
@SD_POWER_ON = dso_local local_unnamed_addr global i32 0, align 4
@PCR_MS_PMOS = dso_local local_unnamed_addr global i32 0, align 4
@RTSX_MS_CARD = dso_local local_unnamed_addr global i32 0, align 4
@MS_POWER_MASK = dso_local local_unnamed_addr global i32 0, align 4
@MS_PARTIAL_POWER_ON = dso_local local_unnamed_addr global i32 0, align 4
@MS_POWER_ON = dso_local local_unnamed_addr global i32 0, align 4
@WRITE_REG_CMD = dso_local local_unnamed_addr global i32 0, align 4
@CARD_PWR_CTL = dso_local local_unnamed_addr global i32 0, align 4
@PWR_GATE_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@LDO3318_PWR_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rts5209_card_power_on], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rts5209_card_power_on(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @SD_POWER_MASK, align 4, !tbaa !5
%4 = load i32, ptr @SD_PARTIAL_POWER_ON, align 4, !tbaa !5
%5 = load i32, ptr @SD_POWER_ON, align 4, !tbaa !5
%6 = load i32, ptr %0, align 4, !tbaa !9
%7 = load i32, ptr @PCR_MS_PMOS, align 4, !tbaa !5
%8 = and i32 %7, %6
%9 = icmp ne i32 %8, 0
%10 = load i32, ptr @RTSX_MS_CARD, align 4
%11 = icmp eq i32 %10, %1
%12 = select i1 %9, i1 %11, i1 false
%13 = load i32, ptr @MS_POWER_MASK, align 4
%14 = load i32, ptr @MS_PARTIAL_POWER_ON, align 4
%15 = load i32, ptr @MS_POWER_ON, align 4
%16 = select i1 %12, i32 %13, i32 %3
%17 = select i1 %12, i32 %14, i32 %4
%18 = tail call i32 @rtsx_pci_init_cmd(ptr noundef nonnull %0) #2
%19 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5
%20 = load i32, ptr @CARD_PWR_CTL, align 4, !tbaa !5
%21 = tail call i32 @rtsx_pci_add_cmd(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %20, i32 noundef %16, i32 noundef %17) #2
%22 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5
%23 = load i32, ptr @PWR_GATE_CTRL, align 4, !tbaa !5
%24 = load i32, ptr @LDO3318_PWR_MASK, align 4, !tbaa !5
%25 = tail call i32 @rtsx_pci_add_cmd(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef 4) #2
%26 = tail call i32 @rtsx_pci_send_cmd(ptr noundef nonnull %0, i32 noundef 100) #2
%27 = icmp slt i32 %26, 0
br i1 %27, label %40, label %28
28: ; preds = %2
%29 = select i1 %12, i32 %15, i32 %5
%30 = tail call i32 @udelay(i32 noundef 150) #2
%31 = tail call i32 @rtsx_pci_init_cmd(ptr noundef nonnull %0) #2
%32 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5
%33 = load i32, ptr @CARD_PWR_CTL, align 4, !tbaa !5
%34 = tail call i32 @rtsx_pci_add_cmd(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %33, i32 noundef %16, i32 noundef %29) #2
%35 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5
%36 = load i32, ptr @PWR_GATE_CTRL, align 4, !tbaa !5
%37 = load i32, ptr @LDO3318_PWR_MASK, align 4, !tbaa !5
%38 = tail call i32 @rtsx_pci_add_cmd(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef 0) #2
%39 = tail call i32 @rtsx_pci_send_cmd(ptr noundef nonnull %0, i32 noundef 100) #2
br label %40
40: ; preds = %2, %28
%41 = phi i32 [ %39, %28 ], [ %26, %2 ]
ret i32 %41
}
declare i32 @rtsx_pci_init_cmd(ptr noundef) local_unnamed_addr #1
declare i32 @rtsx_pci_add_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtsx_pci_send_cmd(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"rtsx_pcr", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/misc/cardreader/extr_rts5209.c_rts5209_card_power_on.c'
source_filename = "AnghaBench/linux/drivers/misc/cardreader/extr_rts5209.c_rts5209_card_power_on.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SD_POWER_MASK = common local_unnamed_addr global i32 0, align 4
@SD_PARTIAL_POWER_ON = common local_unnamed_addr global i32 0, align 4
@SD_POWER_ON = common local_unnamed_addr global i32 0, align 4
@PCR_MS_PMOS = common local_unnamed_addr global i32 0, align 4
@RTSX_MS_CARD = common local_unnamed_addr global i32 0, align 4
@MS_POWER_MASK = common local_unnamed_addr global i32 0, align 4
@MS_PARTIAL_POWER_ON = common local_unnamed_addr global i32 0, align 4
@MS_POWER_ON = common local_unnamed_addr global i32 0, align 4
@WRITE_REG_CMD = common local_unnamed_addr global i32 0, align 4
@CARD_PWR_CTL = common local_unnamed_addr global i32 0, align 4
@PWR_GATE_CTRL = common local_unnamed_addr global i32 0, align 4
@LDO3318_PWR_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rts5209_card_power_on], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rts5209_card_power_on(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @SD_POWER_MASK, align 4, !tbaa !6
%4 = load i32, ptr @SD_PARTIAL_POWER_ON, align 4, !tbaa !6
%5 = load i32, ptr @SD_POWER_ON, align 4, !tbaa !6
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = load i32, ptr @PCR_MS_PMOS, align 4, !tbaa !6
%8 = and i32 %7, %6
%9 = icmp ne i32 %8, 0
%10 = load i32, ptr @RTSX_MS_CARD, align 4
%11 = icmp eq i32 %10, %1
%12 = select i1 %9, i1 %11, i1 false
%13 = load i32, ptr @MS_POWER_MASK, align 4
%14 = load i32, ptr @MS_PARTIAL_POWER_ON, align 4
%15 = load i32, ptr @MS_POWER_ON, align 4
%16 = select i1 %12, i32 %13, i32 %3
%17 = select i1 %12, i32 %14, i32 %4
%18 = tail call i32 @rtsx_pci_init_cmd(ptr noundef nonnull %0) #2
%19 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6
%20 = load i32, ptr @CARD_PWR_CTL, align 4, !tbaa !6
%21 = tail call i32 @rtsx_pci_add_cmd(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %20, i32 noundef %16, i32 noundef %17) #2
%22 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6
%23 = load i32, ptr @PWR_GATE_CTRL, align 4, !tbaa !6
%24 = load i32, ptr @LDO3318_PWR_MASK, align 4, !tbaa !6
%25 = tail call i32 @rtsx_pci_add_cmd(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef 4) #2
%26 = tail call i32 @rtsx_pci_send_cmd(ptr noundef nonnull %0, i32 noundef 100) #2
%27 = icmp slt i32 %26, 0
br i1 %27, label %40, label %28
28: ; preds = %2
%29 = select i1 %12, i32 %15, i32 %5
%30 = tail call i32 @udelay(i32 noundef 150) #2
%31 = tail call i32 @rtsx_pci_init_cmd(ptr noundef nonnull %0) #2
%32 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6
%33 = load i32, ptr @CARD_PWR_CTL, align 4, !tbaa !6
%34 = tail call i32 @rtsx_pci_add_cmd(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %33, i32 noundef %16, i32 noundef %29) #2
%35 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6
%36 = load i32, ptr @PWR_GATE_CTRL, align 4, !tbaa !6
%37 = load i32, ptr @LDO3318_PWR_MASK, align 4, !tbaa !6
%38 = tail call i32 @rtsx_pci_add_cmd(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef 0) #2
%39 = tail call i32 @rtsx_pci_send_cmd(ptr noundef nonnull %0, i32 noundef 100) #2
br label %40
40: ; preds = %2, %28
%41 = phi i32 [ %39, %28 ], [ %26, %2 ]
ret i32 %41
}
declare i32 @rtsx_pci_init_cmd(ptr noundef) local_unnamed_addr #1
declare i32 @rtsx_pci_add_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtsx_pci_send_cmd(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"rtsx_pcr", !7, i64 0}
| linux_drivers_misc_cardreader_extr_rts5209.c_rts5209_card_power_on |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/i2c/busses/extr_i2c-parport.c_port_read_data.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/i2c/busses/extr_i2c-parport.c_port_read_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @port_read_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal zeroext i8 @port_read_data(ptr noundef %0) #0 {
%2 = tail call zeroext i8 @parport_read_data(ptr noundef %0) #2
ret i8 %2
}
declare zeroext i8 @parport_read_data(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/i2c/busses/extr_i2c-parport.c_port_read_data.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/i2c/busses/extr_i2c-parport.c_port_read_data.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 @port_read_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal zeroext i8 @port_read_data(ptr noundef %0) #0 {
%2 = tail call zeroext i8 @parport_read_data(ptr noundef %0) #2
ret i8 %2
}
declare zeroext i8 @parport_read_data(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_i2c_busses_extr_i2c-parport.c_port_read_data |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/ttm/extr_ttm_page_alloc.c_ttm_pool_populate.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/ttm/extr_ttm_page_alloc.c_ttm_pool_populate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ttm_tt = type { i64, i32, i32, ptr, i32, ptr }
@tt_unpopulated = dso_local local_unnamed_addr global i64 0, align 8
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@TTM_PAGE_FLAG_SWAPPED = dso_local local_unnamed_addr global i32 0, align 4
@tt_unbound = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @ttm_pool_populate(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.ttm_tt, ptr %0, i64 0, i32 5
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load ptr, ptr %5, align 8, !tbaa !14
%7 = load i64, ptr %0, align 8, !tbaa !16
%8 = load i64, ptr @tt_unpopulated, align 8, !tbaa !17
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %73
10: ; preds = %2
%11 = getelementptr inbounds %struct.ttm_tt, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !18
%13 = tail call i64 @ttm_check_under_lowerlimit(ptr noundef %6, i32 noundef %12, ptr noundef %1) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %10
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !19
%17 = sub nsw i32 0, %16
br label %73
18: ; preds = %10
%19 = getelementptr inbounds %struct.ttm_tt, ptr %0, i64 0, i32 3
%20 = load ptr, ptr %19, align 8, !tbaa !20
%21 = load i32, ptr %11, align 8, !tbaa !18
%22 = getelementptr inbounds %struct.ttm_tt, ptr %0, i64 0, i32 2
%23 = load i32, ptr %22, align 4, !tbaa !21
%24 = getelementptr inbounds %struct.ttm_tt, ptr %0, i64 0, i32 4
%25 = load i32, ptr %24, align 8, !tbaa !22
%26 = tail call i32 @ttm_get_pages(ptr noundef %20, i32 noundef %21, i32 noundef %23, i32 noundef %25) #2
%27 = icmp ne i32 %26, 0
%28 = zext i1 %27 to i32
%29 = tail call i64 @unlikely(i32 noundef %28) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %18
%32 = load i32, ptr %11, align 8, !tbaa !18
%33 = icmp eq i32 %32, 0
br i1 %33, label %57, label %36
34: ; preds = %18
%35 = tail call i32 @ttm_pool_unpopulate_helper(ptr noundef nonnull %0, i32 noundef 0) #2
br label %73
36: ; preds = %31, %52
%37 = phi i64 [ %53, %52 ], [ 0, %31 ]
%38 = load ptr, ptr %19, align 8, !tbaa !20
%39 = getelementptr inbounds i32, ptr %38, i64 %37
%40 = load i32, ptr %39, align 4, !tbaa !19
%41 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !19
%42 = tail call i32 @ttm_mem_global_alloc_page(ptr noundef %6, i32 noundef %40, i32 noundef %41, ptr noundef %1) #2
%43 = icmp ne i32 %42, 0
%44 = zext i1 %43 to i32
%45 = tail call i64 @unlikely(i32 noundef %44) #2
%46 = icmp eq i64 %45, 0
br i1 %46, label %52, label %47
47: ; preds = %36
%48 = trunc i64 %37 to i32
%49 = tail call i32 @ttm_pool_unpopulate_helper(ptr noundef nonnull %0, i32 noundef %48) #2
%50 = load i32, ptr @ENOMEM, align 4, !tbaa !19
%51 = sub nsw i32 0, %50
br label %73
52: ; preds = %36
%53 = add nuw nsw i64 %37, 1
%54 = load i32, ptr %11, align 8, !tbaa !18
%55 = zext i32 %54 to i64
%56 = icmp ult i64 %53, %55
br i1 %56, label %36, label %57, !llvm.loop !23
57: ; preds = %52, %31
%58 = load i32, ptr %22, align 4, !tbaa !21
%59 = load i32, ptr @TTM_PAGE_FLAG_SWAPPED, align 4, !tbaa !19
%60 = and i32 %59, %58
%61 = tail call i64 @unlikely(i32 noundef %60) #2
%62 = icmp eq i64 %61, 0
br i1 %62, label %71, label %63
63: ; preds = %57
%64 = tail call i32 @ttm_tt_swapin(ptr noundef nonnull %0) #2
%65 = icmp ne i32 %64, 0
%66 = zext i1 %65 to i32
%67 = tail call i64 @unlikely(i32 noundef %66) #2
%68 = icmp eq i64 %67, 0
br i1 %68, label %71, label %69
69: ; preds = %63
%70 = tail call i32 @ttm_pool_unpopulate(ptr noundef nonnull %0) #2
br label %73
71: ; preds = %63, %57
%72 = load i64, ptr @tt_unbound, align 8, !tbaa !17
store i64 %72, ptr %0, align 8, !tbaa !16
br label %73
73: ; preds = %2, %71, %69, %47, %34, %15
%74 = phi i32 [ %17, %15 ], [ %26, %34 ], [ %51, %47 ], [ %64, %69 ], [ 0, %71 ], [ 0, %2 ]
ret i32 %74
}
declare i64 @ttm_check_under_lowerlimit(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ttm_get_pages(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @ttm_pool_unpopulate_helper(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ttm_mem_global_alloc_page(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ttm_tt_swapin(ptr noundef) local_unnamed_addr #1
declare i32 @ttm_pool_unpopulate(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 = !{!"ttm_tt", !7, i64 0, !10, i64 8, !10, i64 12, !11, 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 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_3__", !11, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!6, !10, i64 8}
!19 = !{!10, !10, i64 0}
!20 = !{!6, !11, i64 16}
!21 = !{!6, !10, i64 12}
!22 = !{!6, !10, i64 24}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/ttm/extr_ttm_page_alloc.c_ttm_pool_populate.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/ttm/extr_ttm_page_alloc.c_ttm_pool_populate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tt_unpopulated = common local_unnamed_addr global i64 0, align 8
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@TTM_PAGE_FLAG_SWAPPED = common local_unnamed_addr global i32 0, align 4
@tt_unbound = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ttm_pool_populate(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = load ptr, ptr %5, align 8, !tbaa !15
%7 = load i64, ptr %0, align 8, !tbaa !17
%8 = load i64, ptr @tt_unpopulated, align 8, !tbaa !18
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %73
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !19
%13 = tail call i64 @ttm_check_under_lowerlimit(ptr noundef %6, i32 noundef %12, ptr noundef %1) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %10
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !20
%17 = sub nsw i32 0, %16
br label %73
18: ; preds = %10
%19 = getelementptr inbounds i8, ptr %0, i64 16
%20 = load ptr, ptr %19, align 8, !tbaa !21
%21 = load i32, ptr %11, align 8, !tbaa !19
%22 = getelementptr inbounds i8, ptr %0, i64 12
%23 = load i32, ptr %22, align 4, !tbaa !22
%24 = getelementptr inbounds i8, ptr %0, i64 24
%25 = load i32, ptr %24, align 8, !tbaa !23
%26 = tail call i32 @ttm_get_pages(ptr noundef %20, i32 noundef %21, i32 noundef %23, i32 noundef %25) #2
%27 = icmp ne i32 %26, 0
%28 = zext i1 %27 to i32
%29 = tail call i64 @unlikely(i32 noundef %28) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %18
%32 = load i32, ptr %11, align 8, !tbaa !19
%33 = icmp eq i32 %32, 0
br i1 %33, label %57, label %36
34: ; preds = %18
%35 = tail call i32 @ttm_pool_unpopulate_helper(ptr noundef nonnull %0, i32 noundef 0) #2
br label %73
36: ; preds = %31, %52
%37 = phi i64 [ %53, %52 ], [ 0, %31 ]
%38 = load ptr, ptr %19, align 8, !tbaa !21
%39 = getelementptr inbounds i32, ptr %38, i64 %37
%40 = load i32, ptr %39, align 4, !tbaa !20
%41 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !20
%42 = tail call i32 @ttm_mem_global_alloc_page(ptr noundef %6, i32 noundef %40, i32 noundef %41, ptr noundef %1) #2
%43 = icmp ne i32 %42, 0
%44 = zext i1 %43 to i32
%45 = tail call i64 @unlikely(i32 noundef %44) #2
%46 = icmp eq i64 %45, 0
br i1 %46, label %52, label %47
47: ; preds = %36
%48 = trunc nuw i64 %37 to i32
%49 = tail call i32 @ttm_pool_unpopulate_helper(ptr noundef nonnull %0, i32 noundef %48) #2
%50 = load i32, ptr @ENOMEM, align 4, !tbaa !20
%51 = sub nsw i32 0, %50
br label %73
52: ; preds = %36
%53 = add nuw nsw i64 %37, 1
%54 = load i32, ptr %11, align 8, !tbaa !19
%55 = zext i32 %54 to i64
%56 = icmp ult i64 %53, %55
br i1 %56, label %36, label %57, !llvm.loop !24
57: ; preds = %52, %31
%58 = load i32, ptr %22, align 4, !tbaa !22
%59 = load i32, ptr @TTM_PAGE_FLAG_SWAPPED, align 4, !tbaa !20
%60 = and i32 %59, %58
%61 = tail call i64 @unlikely(i32 noundef %60) #2
%62 = icmp eq i64 %61, 0
br i1 %62, label %71, label %63
63: ; preds = %57
%64 = tail call i32 @ttm_tt_swapin(ptr noundef nonnull %0) #2
%65 = icmp ne i32 %64, 0
%66 = zext i1 %65 to i32
%67 = tail call i64 @unlikely(i32 noundef %66) #2
%68 = icmp eq i64 %67, 0
br i1 %68, label %71, label %69
69: ; preds = %63
%70 = tail call i32 @ttm_pool_unpopulate(ptr noundef nonnull %0) #2
br label %73
71: ; preds = %63, %57
%72 = load i64, ptr @tt_unbound, align 8, !tbaa !18
store i64 %72, ptr %0, align 8, !tbaa !17
br label %73
73: ; preds = %2, %71, %69, %47, %34, %15
%74 = phi i32 [ %17, %15 ], [ %26, %34 ], [ %51, %47 ], [ %64, %69 ], [ 0, %71 ], [ 0, %2 ]
ret i32 %74
}
declare i64 @ttm_check_under_lowerlimit(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ttm_get_pages(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @ttm_pool_unpopulate_helper(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ttm_mem_global_alloc_page(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ttm_tt_swapin(ptr noundef) local_unnamed_addr #1
declare i32 @ttm_pool_unpopulate(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 = !{!"ttm_tt", !8, i64 0, !11, i64 8, !11, i64 12, !12, 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 = !{!14, !12, i64 0}
!14 = !{!"TYPE_4__", !12, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_3__", !12, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!7, !11, i64 8}
!20 = !{!11, !11, i64 0}
!21 = !{!7, !12, i64 16}
!22 = !{!7, !11, i64 12}
!23 = !{!7, !11, i64 24}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
| linux_drivers_gpu_drm_ttm_extr_ttm_page_alloc.c_ttm_pool_populate |
; ModuleID = 'AnghaBench/linux/drivers/staging/speakup/extr_main.c_say_prev_char.c'
source_filename = "AnghaBench/linux/drivers/staging/speakup/extr_main.c_say_prev_char.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@spk_parked = dso_local local_unnamed_addr global i32 0, align 4
@spk_x = dso_local local_unnamed_addr global i64 0, align 8
@edge_left = dso_local local_unnamed_addr global i32 0, align 4
@spk_pos = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @say_prev_char], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @say_prev_char(ptr noundef %0) #0 {
%2 = load i32, ptr @spk_parked, align 4, !tbaa !5
%3 = or i32 %2, 1
store i32 %3, ptr @spk_parked, align 4, !tbaa !5
%4 = load i64, ptr @spk_x, align 8, !tbaa !9
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @edge_left, align 4, !tbaa !5
%8 = tail call i32 @announce_edge(ptr noundef %0, i32 noundef %7) #2
br label %14
9: ; preds = %1
%10 = add nsw i64 %4, -1
store i64 %10, ptr @spk_x, align 8, !tbaa !9
%11 = load i32, ptr @spk_pos, align 4, !tbaa !5
%12 = add nsw i32 %11, -2
store i32 %12, ptr @spk_pos, align 4, !tbaa !5
%13 = tail call i32 @say_char(ptr noundef %0) #2
br label %14
14: ; preds = %9, %6
ret void
}
declare i32 @announce_edge(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @say_char(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 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/speakup/extr_main.c_say_prev_char.c'
source_filename = "AnghaBench/linux/drivers/staging/speakup/extr_main.c_say_prev_char.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@spk_parked = common local_unnamed_addr global i32 0, align 4
@spk_x = common local_unnamed_addr global i64 0, align 8
@edge_left = common local_unnamed_addr global i32 0, align 4
@spk_pos = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @say_prev_char], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @say_prev_char(ptr noundef %0) #0 {
%2 = load i32, ptr @spk_parked, align 4, !tbaa !6
%3 = or i32 %2, 1
store i32 %3, ptr @spk_parked, align 4, !tbaa !6
%4 = load i64, ptr @spk_x, align 8, !tbaa !10
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @edge_left, align 4, !tbaa !6
%8 = tail call i32 @announce_edge(ptr noundef %0, i32 noundef %7) #2
br label %14
9: ; preds = %1
%10 = add nsw i64 %4, -1
store i64 %10, ptr @spk_x, align 8, !tbaa !10
%11 = load i32, ptr @spk_pos, align 4, !tbaa !6
%12 = add nsw i32 %11, -2
store i32 %12, ptr @spk_pos, align 4, !tbaa !6
%13 = tail call i32 @say_char(ptr noundef %0) #2
br label %14
14: ; preds = %9, %6
ret void
}
declare i32 @announce_edge(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @say_char(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 = !{!"long", !8, i64 0}
| linux_drivers_staging_speakup_extr_main.c_say_prev_char |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/vc4/extr_vc4_crtc.c_vc4_page_flip.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/vc4/extr_vc4_crtc.c_vc4_page_flip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DRM_MODE_PAGE_FLIP_ASYNC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vc4_page_flip], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vc4_page_flip(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = load i32, ptr @DRM_MODE_PAGE_FLIP_ASYNC, align 4, !tbaa !5
%7 = and i32 %6, %3
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %5
%10 = tail call i32 @vc4_async_page_flip(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2
br label %13
11: ; preds = %5
%12 = tail call i32 @drm_atomic_helper_page_flip(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #2
br label %13
13: ; preds = %11, %9
%14 = phi i32 [ %10, %9 ], [ %12, %11 ]
ret i32 %14
}
declare i32 @vc4_async_page_flip(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @drm_atomic_helper_page_flip(ptr noundef, 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, !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/vc4/extr_vc4_crtc.c_vc4_page_flip.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/vc4/extr_vc4_crtc.c_vc4_page_flip.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DRM_MODE_PAGE_FLIP_ASYNC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vc4_page_flip], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vc4_page_flip(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = load i32, ptr @DRM_MODE_PAGE_FLIP_ASYNC, align 4, !tbaa !6
%7 = and i32 %6, %3
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %5
%10 = tail call i32 @vc4_async_page_flip(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2
br label %13
11: ; preds = %5
%12 = tail call i32 @drm_atomic_helper_page_flip(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #2
br label %13
13: ; preds = %11, %9
%14 = phi i32 [ %10, %9 ], [ %12, %11 ]
ret i32 %14
}
declare i32 @vc4_async_page_flip(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @drm_atomic_helper_page_flip(ptr noundef, 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_vc4_extr_vc4_crtc.c_vc4_page_flip |
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_serverloop.c_server_init_dispatch.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/extr_serverloop.c_server_init_dispatch.c"
target datalayout = "e-m:e-p270:32:32-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 [21 x i8] c"server_init_dispatch\00", align 1
@dispatch_protocol_error = dso_local global i32 0, align 4
@SSH2_MSG_CHANNEL_CLOSE = dso_local local_unnamed_addr global i32 0, align 4
@channel_input_oclose = dso_local global i32 0, align 4
@SSH2_MSG_CHANNEL_DATA = dso_local local_unnamed_addr global i32 0, align 4
@channel_input_data = dso_local global i32 0, align 4
@SSH2_MSG_CHANNEL_EOF = dso_local local_unnamed_addr global i32 0, align 4
@channel_input_ieof = dso_local global i32 0, align 4
@SSH2_MSG_CHANNEL_EXTENDED_DATA = dso_local local_unnamed_addr global i32 0, align 4
@channel_input_extended_data = dso_local global i32 0, align 4
@SSH2_MSG_CHANNEL_OPEN = dso_local local_unnamed_addr global i32 0, align 4
@server_input_channel_open = dso_local global i32 0, align 4
@SSH2_MSG_CHANNEL_OPEN_CONFIRMATION = dso_local local_unnamed_addr global i32 0, align 4
@channel_input_open_confirmation = dso_local global i32 0, align 4
@SSH2_MSG_CHANNEL_OPEN_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@channel_input_open_failure = dso_local global i32 0, align 4
@SSH2_MSG_CHANNEL_REQUEST = dso_local local_unnamed_addr global i32 0, align 4
@server_input_channel_req = dso_local global i32 0, align 4
@SSH2_MSG_CHANNEL_WINDOW_ADJUST = dso_local local_unnamed_addr global i32 0, align 4
@channel_input_window_adjust = dso_local global i32 0, align 4
@SSH2_MSG_GLOBAL_REQUEST = dso_local local_unnamed_addr global i32 0, align 4
@server_input_global_request = dso_local global i32 0, align 4
@SSH2_MSG_CHANNEL_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@server_input_keep_alive = dso_local global i32 0, align 4
@SSH2_MSG_CHANNEL_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@SSH2_MSG_REQUEST_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@SSH2_MSG_REQUEST_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@SSH2_MSG_KEXINIT = dso_local local_unnamed_addr global i32 0, align 4
@kex_input_kexinit = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @server_init_dispatch], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @server_init_dispatch() #0 {
%1 = tail call i32 @debug(ptr noundef nonnull @.str) #2
%2 = tail call i32 @dispatch_init(ptr noundef nonnull @dispatch_protocol_error) #2
%3 = load i32, ptr @SSH2_MSG_CHANNEL_CLOSE, align 4, !tbaa !5
%4 = tail call i32 @dispatch_set(i32 noundef %3, ptr noundef nonnull @channel_input_oclose) #2
%5 = load i32, ptr @SSH2_MSG_CHANNEL_DATA, align 4, !tbaa !5
%6 = tail call i32 @dispatch_set(i32 noundef %5, ptr noundef nonnull @channel_input_data) #2
%7 = load i32, ptr @SSH2_MSG_CHANNEL_EOF, align 4, !tbaa !5
%8 = tail call i32 @dispatch_set(i32 noundef %7, ptr noundef nonnull @channel_input_ieof) #2
%9 = load i32, ptr @SSH2_MSG_CHANNEL_EXTENDED_DATA, align 4, !tbaa !5
%10 = tail call i32 @dispatch_set(i32 noundef %9, ptr noundef nonnull @channel_input_extended_data) #2
%11 = load i32, ptr @SSH2_MSG_CHANNEL_OPEN, align 4, !tbaa !5
%12 = tail call i32 @dispatch_set(i32 noundef %11, ptr noundef nonnull @server_input_channel_open) #2
%13 = load i32, ptr @SSH2_MSG_CHANNEL_OPEN_CONFIRMATION, align 4, !tbaa !5
%14 = tail call i32 @dispatch_set(i32 noundef %13, ptr noundef nonnull @channel_input_open_confirmation) #2
%15 = load i32, ptr @SSH2_MSG_CHANNEL_OPEN_FAILURE, align 4, !tbaa !5
%16 = tail call i32 @dispatch_set(i32 noundef %15, ptr noundef nonnull @channel_input_open_failure) #2
%17 = load i32, ptr @SSH2_MSG_CHANNEL_REQUEST, align 4, !tbaa !5
%18 = tail call i32 @dispatch_set(i32 noundef %17, ptr noundef nonnull @server_input_channel_req) #2
%19 = load i32, ptr @SSH2_MSG_CHANNEL_WINDOW_ADJUST, align 4, !tbaa !5
%20 = tail call i32 @dispatch_set(i32 noundef %19, ptr noundef nonnull @channel_input_window_adjust) #2
%21 = load i32, ptr @SSH2_MSG_GLOBAL_REQUEST, align 4, !tbaa !5
%22 = tail call i32 @dispatch_set(i32 noundef %21, ptr noundef nonnull @server_input_global_request) #2
%23 = load i32, ptr @SSH2_MSG_CHANNEL_SUCCESS, align 4, !tbaa !5
%24 = tail call i32 @dispatch_set(i32 noundef %23, ptr noundef nonnull @server_input_keep_alive) #2
%25 = load i32, ptr @SSH2_MSG_CHANNEL_FAILURE, align 4, !tbaa !5
%26 = tail call i32 @dispatch_set(i32 noundef %25, ptr noundef nonnull @server_input_keep_alive) #2
%27 = load i32, ptr @SSH2_MSG_REQUEST_SUCCESS, align 4, !tbaa !5
%28 = tail call i32 @dispatch_set(i32 noundef %27, ptr noundef nonnull @server_input_keep_alive) #2
%29 = load i32, ptr @SSH2_MSG_REQUEST_FAILURE, align 4, !tbaa !5
%30 = tail call i32 @dispatch_set(i32 noundef %29, ptr noundef nonnull @server_input_keep_alive) #2
%31 = load i32, ptr @SSH2_MSG_KEXINIT, align 4, !tbaa !5
%32 = tail call i32 @dispatch_set(i32 noundef %31, ptr noundef nonnull @kex_input_kexinit) #2
ret void
}
declare i32 @debug(ptr noundef) local_unnamed_addr #1
declare i32 @dispatch_init(ptr noundef) local_unnamed_addr #1
declare i32 @dispatch_set(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/freebsd/crypto/openssh/extr_serverloop.c_server_init_dispatch.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/extr_serverloop.c_server_init_dispatch.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 [21 x i8] c"server_init_dispatch\00", align 1
@dispatch_protocol_error = common global i32 0, align 4
@SSH2_MSG_CHANNEL_CLOSE = common local_unnamed_addr global i32 0, align 4
@channel_input_oclose = common global i32 0, align 4
@SSH2_MSG_CHANNEL_DATA = common local_unnamed_addr global i32 0, align 4
@channel_input_data = common global i32 0, align 4
@SSH2_MSG_CHANNEL_EOF = common local_unnamed_addr global i32 0, align 4
@channel_input_ieof = common global i32 0, align 4
@SSH2_MSG_CHANNEL_EXTENDED_DATA = common local_unnamed_addr global i32 0, align 4
@channel_input_extended_data = common global i32 0, align 4
@SSH2_MSG_CHANNEL_OPEN = common local_unnamed_addr global i32 0, align 4
@server_input_channel_open = common global i32 0, align 4
@SSH2_MSG_CHANNEL_OPEN_CONFIRMATION = common local_unnamed_addr global i32 0, align 4
@channel_input_open_confirmation = common global i32 0, align 4
@SSH2_MSG_CHANNEL_OPEN_FAILURE = common local_unnamed_addr global i32 0, align 4
@channel_input_open_failure = common global i32 0, align 4
@SSH2_MSG_CHANNEL_REQUEST = common local_unnamed_addr global i32 0, align 4
@server_input_channel_req = common global i32 0, align 4
@SSH2_MSG_CHANNEL_WINDOW_ADJUST = common local_unnamed_addr global i32 0, align 4
@channel_input_window_adjust = common global i32 0, align 4
@SSH2_MSG_GLOBAL_REQUEST = common local_unnamed_addr global i32 0, align 4
@server_input_global_request = common global i32 0, align 4
@SSH2_MSG_CHANNEL_SUCCESS = common local_unnamed_addr global i32 0, align 4
@server_input_keep_alive = common global i32 0, align 4
@SSH2_MSG_CHANNEL_FAILURE = common local_unnamed_addr global i32 0, align 4
@SSH2_MSG_REQUEST_SUCCESS = common local_unnamed_addr global i32 0, align 4
@SSH2_MSG_REQUEST_FAILURE = common local_unnamed_addr global i32 0, align 4
@SSH2_MSG_KEXINIT = common local_unnamed_addr global i32 0, align 4
@kex_input_kexinit = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @server_init_dispatch], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @server_init_dispatch() #0 {
%1 = tail call i32 @debug(ptr noundef nonnull @.str) #2
%2 = tail call i32 @dispatch_init(ptr noundef nonnull @dispatch_protocol_error) #2
%3 = load i32, ptr @SSH2_MSG_CHANNEL_CLOSE, align 4, !tbaa !6
%4 = tail call i32 @dispatch_set(i32 noundef %3, ptr noundef nonnull @channel_input_oclose) #2
%5 = load i32, ptr @SSH2_MSG_CHANNEL_DATA, align 4, !tbaa !6
%6 = tail call i32 @dispatch_set(i32 noundef %5, ptr noundef nonnull @channel_input_data) #2
%7 = load i32, ptr @SSH2_MSG_CHANNEL_EOF, align 4, !tbaa !6
%8 = tail call i32 @dispatch_set(i32 noundef %7, ptr noundef nonnull @channel_input_ieof) #2
%9 = load i32, ptr @SSH2_MSG_CHANNEL_EXTENDED_DATA, align 4, !tbaa !6
%10 = tail call i32 @dispatch_set(i32 noundef %9, ptr noundef nonnull @channel_input_extended_data) #2
%11 = load i32, ptr @SSH2_MSG_CHANNEL_OPEN, align 4, !tbaa !6
%12 = tail call i32 @dispatch_set(i32 noundef %11, ptr noundef nonnull @server_input_channel_open) #2
%13 = load i32, ptr @SSH2_MSG_CHANNEL_OPEN_CONFIRMATION, align 4, !tbaa !6
%14 = tail call i32 @dispatch_set(i32 noundef %13, ptr noundef nonnull @channel_input_open_confirmation) #2
%15 = load i32, ptr @SSH2_MSG_CHANNEL_OPEN_FAILURE, align 4, !tbaa !6
%16 = tail call i32 @dispatch_set(i32 noundef %15, ptr noundef nonnull @channel_input_open_failure) #2
%17 = load i32, ptr @SSH2_MSG_CHANNEL_REQUEST, align 4, !tbaa !6
%18 = tail call i32 @dispatch_set(i32 noundef %17, ptr noundef nonnull @server_input_channel_req) #2
%19 = load i32, ptr @SSH2_MSG_CHANNEL_WINDOW_ADJUST, align 4, !tbaa !6
%20 = tail call i32 @dispatch_set(i32 noundef %19, ptr noundef nonnull @channel_input_window_adjust) #2
%21 = load i32, ptr @SSH2_MSG_GLOBAL_REQUEST, align 4, !tbaa !6
%22 = tail call i32 @dispatch_set(i32 noundef %21, ptr noundef nonnull @server_input_global_request) #2
%23 = load i32, ptr @SSH2_MSG_CHANNEL_SUCCESS, align 4, !tbaa !6
%24 = tail call i32 @dispatch_set(i32 noundef %23, ptr noundef nonnull @server_input_keep_alive) #2
%25 = load i32, ptr @SSH2_MSG_CHANNEL_FAILURE, align 4, !tbaa !6
%26 = tail call i32 @dispatch_set(i32 noundef %25, ptr noundef nonnull @server_input_keep_alive) #2
%27 = load i32, ptr @SSH2_MSG_REQUEST_SUCCESS, align 4, !tbaa !6
%28 = tail call i32 @dispatch_set(i32 noundef %27, ptr noundef nonnull @server_input_keep_alive) #2
%29 = load i32, ptr @SSH2_MSG_REQUEST_FAILURE, align 4, !tbaa !6
%30 = tail call i32 @dispatch_set(i32 noundef %29, ptr noundef nonnull @server_input_keep_alive) #2
%31 = load i32, ptr @SSH2_MSG_KEXINIT, align 4, !tbaa !6
%32 = tail call i32 @dispatch_set(i32 noundef %31, ptr noundef nonnull @kex_input_kexinit) #2
ret void
}
declare i32 @debug(ptr noundef) local_unnamed_addr #1
declare i32 @dispatch_init(ptr noundef) local_unnamed_addr #1
declare i32 @dispatch_set(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"}
| freebsd_crypto_openssh_extr_serverloop.c_server_init_dispatch |
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_ref-verify.h_btrfs_free_ref_cache.c'
source_filename = "AnghaBench/linux/fs/btrfs/extr_ref-verify.h_btrfs_free_ref_cache.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @btrfs_free_ref_cache], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @btrfs_free_ref_cache(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_ref-verify.h_btrfs_free_ref_cache.c'
source_filename = "AnghaBench/linux/fs/btrfs/extr_ref-verify.h_btrfs_free_ref_cache.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 @btrfs_free_ref_cache], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @btrfs_free_ref_cache(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_fs_btrfs_extr_ref-verify.h_btrfs_free_ref_cache |
; ModuleID = 'AnghaBench/linux/sound/soc/intel/boards/extr_bytcr_rt5651.c_byt_rt5651_init.c'
source_filename = "AnghaBench/linux/sound/soc/intel/boards/extr_bytcr_rt5651.c_byt_rt5651_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.snd_soc_pcm_runtime = type { i32, ptr, ptr }
%struct.snd_soc_card = type { i32, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { i32 }
%struct.byt_rt5651_private = type { i64, %struct.TYPE_8__, i32 }
%struct.TYPE_8__ = type { i32 }
@byt_rt5651_quirk = dso_local local_unnamed_addr global i32 0, align 4
@BYT_RT5651_MCLK_EN = dso_local local_unnamed_addr global i32 0, align 4
@RT5651_GLB_CLK = dso_local local_unnamed_addr global i32 0, align 4
@RT5651_SCLK_SRC_MASK = dso_local local_unnamed_addr global i32 0, align 4
@RT5651_SCLK_SRC_RCCLK = dso_local local_unnamed_addr global i32 0, align 4
@byt_rt5651_intmic_in1_map = dso_local local_unnamed_addr global ptr null, align 8
@byt_rt5651_intmic_in2_map = dso_local local_unnamed_addr global ptr null, align 8
@byt_rt5651_intmic_in1_in2_map = dso_local local_unnamed_addr global ptr null, align 8
@byt_rt5651_intmic_dmic_map = dso_local local_unnamed_addr global ptr null, align 8
@BYT_RT5651_SSP2_AIF2 = dso_local local_unnamed_addr global i32 0, align 4
@byt_rt5651_ssp2_aif2_map = dso_local local_unnamed_addr global ptr null, align 8
@BYT_RT5651_SSP0_AIF1 = dso_local local_unnamed_addr global i32 0, align 4
@byt_rt5651_ssp0_aif1_map = dso_local local_unnamed_addr global ptr null, align 8
@BYT_RT5651_SSP0_AIF2 = dso_local local_unnamed_addr global i32 0, align 4
@byt_rt5651_ssp0_aif2_map = dso_local local_unnamed_addr global ptr null, align 8
@byt_rt5651_ssp2_aif1_map = dso_local local_unnamed_addr global ptr null, align 8
@byt_rt5651_controls = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [29 x i8] c"unable to add card controls\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Headphone\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Speaker\00", align 1
@BYT_RT5651_MCLK_25MHZ = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [25 x i8] c"unable to set MCLK rate\0A\00", align 1
@SND_JACK_HEADSET = dso_local local_unnamed_addr global i32 0, align 4
@SND_JACK_BTN_0 = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [8 x i8] c"Headset\00", align 1
@bytcr_jack_pins = dso_local local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [25 x i8] c"jack creation failed %d\0A\00", align 1
@KEY_PLAYPAUSE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @byt_rt5651_init], section "llvm.metadata"
@switch.table.byt_rt5651_init = private unnamed_addr constant [3 x ptr] [ptr @byt_rt5651_intmic_in2_map, ptr @byt_rt5651_intmic_in1_map, ptr @byt_rt5651_intmic_in1_in2_map], align 8
; Function Attrs: nounwind uwtable
define internal i32 @byt_rt5651_init(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.snd_soc_pcm_runtime, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.snd_soc_pcm_runtime, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = tail call ptr @snd_soc_card_get_drvdata(ptr noundef %3) #2
%8 = getelementptr inbounds %struct.snd_soc_card, ptr %3, i64 0, i32 1
store i32 1, ptr %8, align 4, !tbaa !14
%9 = load i32, ptr @byt_rt5651_quirk, align 4, !tbaa !17
%10 = load i32, ptr @BYT_RT5651_MCLK_EN, align 4, !tbaa !17
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %19, label %13
13: ; preds = %1
%14 = load i32, ptr @RT5651_GLB_CLK, align 4, !tbaa !17
%15 = load i32, ptr @RT5651_SCLK_SRC_MASK, align 4, !tbaa !17
%16 = load i32, ptr @RT5651_SCLK_SRC_RCCLK, align 4, !tbaa !17
%17 = tail call i32 @snd_soc_component_update_bits(ptr noundef %6, i32 noundef %14, i32 noundef %15, i32 noundef %16) #2
%18 = load i32, ptr @byt_rt5651_quirk, align 4, !tbaa !17
br label %19
19: ; preds = %13, %1
%20 = phi i32 [ %18, %13 ], [ %9, %1 ]
%21 = tail call i32 @BYT_RT5651_MAP(i32 noundef %20) #2
%22 = add i32 %21, -128
%23 = icmp ult i32 %22, 3
br i1 %23, label %24, label %28
24: ; preds = %19
%25 = zext nneg i32 %22 to i64
%26 = getelementptr inbounds [3 x ptr], ptr @switch.table.byt_rt5651_init, i64 0, i64 %25
%27 = load ptr, ptr %26, align 8
br label %28
28: ; preds = %19, %24
%29 = phi ptr [ %27, %24 ], [ @byt_rt5651_intmic_dmic_map, %19 ]
%30 = load ptr, ptr %29, align 8, !tbaa !18
%31 = tail call i32 @ARRAY_SIZE(ptr noundef %30) #2
%32 = tail call i32 @snd_soc_dapm_add_routes(ptr noundef nonnull %8, ptr noundef %30, i32 noundef %31) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %127
34: ; preds = %28
%35 = load i32, ptr @byt_rt5651_quirk, align 4, !tbaa !17
%36 = load i32, ptr @BYT_RT5651_SSP2_AIF2, align 4, !tbaa !17
%37 = and i32 %36, %35
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %34
%40 = load i32, ptr @BYT_RT5651_SSP0_AIF1, align 4, !tbaa !17
%41 = and i32 %40, %35
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %39
%44 = load i32, ptr @BYT_RT5651_SSP0_AIF2, align 4, !tbaa !17
%45 = and i32 %44, %35
%46 = icmp eq i32 %45, 0
%47 = select i1 %46, ptr @byt_rt5651_ssp2_aif1_map, ptr @byt_rt5651_ssp0_aif2_map
br label %48
48: ; preds = %43, %39, %34
%49 = phi ptr [ @byt_rt5651_ssp2_aif2_map, %34 ], [ @byt_rt5651_ssp0_aif1_map, %39 ], [ %47, %43 ]
%50 = load ptr, ptr %49, align 8, !tbaa !18
%51 = tail call i32 @ARRAY_SIZE(ptr noundef %50) #2
%52 = tail call i32 @snd_soc_dapm_add_routes(ptr noundef nonnull %8, ptr noundef %50, i32 noundef %51) #2
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %127
54: ; preds = %48
%55 = load ptr, ptr @byt_rt5651_controls, align 8, !tbaa !18
%56 = tail call i32 @ARRAY_SIZE(ptr noundef %55) #2
%57 = tail call i32 @snd_soc_add_card_controls(ptr noundef nonnull %3, ptr noundef %55, i32 noundef %56) #2
%58 = icmp eq i32 %57, 0
br i1 %58, label %62, label %59
59: ; preds = %54
%60 = load i32, ptr %3, align 4, !tbaa !19
%61 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %60, ptr noundef nonnull @.str) #2
br label %127
62: ; preds = %54
%63 = tail call i32 @snd_soc_dapm_ignore_suspend(ptr noundef nonnull %8, ptr noundef nonnull @.str.1) #2
%64 = tail call i32 @snd_soc_dapm_ignore_suspend(ptr noundef nonnull %8, ptr noundef nonnull @.str.2) #2
%65 = load i32, ptr @byt_rt5651_quirk, align 4, !tbaa !17
%66 = load i32, ptr @BYT_RT5651_MCLK_EN, align 4, !tbaa !17
%67 = and i32 %66, %65
%68 = icmp eq i32 %67, 0
br i1 %68, label %89, label %69
69: ; preds = %62
%70 = getelementptr inbounds %struct.byt_rt5651_private, ptr %7, i64 0, i32 2
%71 = load i32, ptr %70, align 4, !tbaa !20
%72 = tail call i32 @clk_prepare_enable(i32 noundef %71) #2
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %69
%75 = load i32, ptr %70, align 4, !tbaa !20
%76 = tail call i32 @clk_disable_unprepare(i32 noundef %75) #2
br label %77
77: ; preds = %74, %69
%78 = load i32, ptr @byt_rt5651_quirk, align 4, !tbaa !17
%79 = load i32, ptr @BYT_RT5651_MCLK_25MHZ, align 4, !tbaa !17
%80 = and i32 %79, %78
%81 = icmp eq i32 %80, 0
%82 = load i32, ptr %70, align 4, !tbaa !20
%83 = select i1 %81, i32 19200000, i32 25000000
%84 = tail call i32 @clk_set_rate(i32 noundef %82, i32 noundef %83) #2
%85 = icmp eq i32 %84, 0
br i1 %85, label %89, label %86
86: ; preds = %77
%87 = load i32, ptr %3, align 4, !tbaa !19
%88 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %87, ptr noundef nonnull @.str.3) #2
br label %89
89: ; preds = %77, %86, %62
%90 = load i32, ptr @byt_rt5651_quirk, align 4, !tbaa !17
%91 = tail call i64 @BYT_RT5651_JDSRC(i32 noundef %90) #2
%92 = icmp eq i64 %91, 0
br i1 %92, label %97, label %93
93: ; preds = %89
%94 = load i32, ptr @SND_JACK_HEADSET, align 4, !tbaa !17
%95 = load i32, ptr @SND_JACK_BTN_0, align 4, !tbaa !17
%96 = or i32 %95, %94
br label %101
97: ; preds = %89
%98 = load i64, ptr %7, align 8, !tbaa !24
%99 = icmp eq i64 %98, 0
%100 = load i32, ptr @SND_JACK_HEADSET, align 4
br i1 %99, label %126, label %101
101: ; preds = %97, %93
%102 = phi i32 [ %96, %93 ], [ %100, %97 ]
%103 = icmp eq i32 %102, 0
br i1 %103, label %126, label %104
104: ; preds = %101
%105 = load ptr, ptr %2, align 8, !tbaa !5
%106 = getelementptr inbounds %struct.byt_rt5651_private, ptr %7, i64 0, i32 1
%107 = load ptr, ptr @bytcr_jack_pins, align 8, !tbaa !18
%108 = tail call i32 @ARRAY_SIZE(ptr noundef %107) #2
%109 = tail call i32 @snd_soc_card_jack_new(ptr noundef %105, ptr noundef nonnull @.str.4, i32 noundef %102, ptr noundef nonnull %106, ptr noundef %107, i32 noundef %108) #2
%110 = icmp eq i32 %109, 0
br i1 %110, label %114, label %111
111: ; preds = %104
%112 = load i32, ptr %0, align 8, !tbaa !25
%113 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %112, ptr noundef nonnull @.str.5, i32 noundef %109) #2
br label %127
114: ; preds = %104
%115 = load i32, ptr @SND_JACK_BTN_0, align 4, !tbaa !17
%116 = and i32 %115, %102
%117 = icmp eq i32 %116, 0
br i1 %117, label %122, label %118
118: ; preds = %114
%119 = load i32, ptr %106, align 8, !tbaa !26
%120 = load i32, ptr @KEY_PLAYPAUSE, align 4, !tbaa !17
%121 = tail call i32 @snd_jack_set_key(i32 noundef %119, i32 noundef %115, i32 noundef %120) #2
br label %122
122: ; preds = %118, %114
%123 = load i64, ptr %7, align 8, !tbaa !24
%124 = tail call i32 @snd_soc_component_set_jack(ptr noundef %6, ptr noundef nonnull %106, i64 noundef %123) #2
%125 = icmp eq i32 %124, 0
br i1 %125, label %126, label %127
126: ; preds = %97, %122, %101
br label %127
127: ; preds = %122, %48, %28, %126, %111, %59
%128 = phi i32 [ %57, %59 ], [ %109, %111 ], [ 0, %126 ], [ %32, %28 ], [ %52, %48 ], [ %124, %122 ]
ret i32 %128
}
declare ptr @snd_soc_card_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BYT_RT5651_MAP(i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @snd_soc_dapm_add_routes(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_add_card_controls(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @snd_soc_dapm_ignore_suspend(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1
declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1
declare i32 @clk_set_rate(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @BYT_RT5651_JDSRC(i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_card_jack_new(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_jack_set_key(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_set_jack(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"snd_soc_pcm_runtime", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_6__", !10, i64 0}
!14 = !{!15, !7, i64 4}
!15 = !{!"snd_soc_card", !7, i64 0, !16, i64 4}
!16 = !{!"TYPE_7__", !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!10, !10, i64 0}
!19 = !{!15, !7, i64 0}
!20 = !{!21, !7, i64 12}
!21 = !{!"byt_rt5651_private", !22, i64 0, !23, i64 8, !7, i64 12}
!22 = !{!"long", !8, i64 0}
!23 = !{!"TYPE_8__", !7, i64 0}
!24 = !{!21, !22, i64 0}
!25 = !{!6, !7, i64 0}
!26 = !{!21, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/sound/soc/intel/boards/extr_bytcr_rt5651.c_byt_rt5651_init.c'
source_filename = "AnghaBench/linux/sound/soc/intel/boards/extr_bytcr_rt5651.c_byt_rt5651_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@byt_rt5651_quirk = common local_unnamed_addr global i32 0, align 4
@BYT_RT5651_MCLK_EN = common local_unnamed_addr global i32 0, align 4
@RT5651_GLB_CLK = common local_unnamed_addr global i32 0, align 4
@RT5651_SCLK_SRC_MASK = common local_unnamed_addr global i32 0, align 4
@RT5651_SCLK_SRC_RCCLK = common local_unnamed_addr global i32 0, align 4
@byt_rt5651_intmic_in1_map = common local_unnamed_addr global ptr null, align 8
@byt_rt5651_intmic_in2_map = common local_unnamed_addr global ptr null, align 8
@byt_rt5651_intmic_in1_in2_map = common local_unnamed_addr global ptr null, align 8
@byt_rt5651_intmic_dmic_map = common local_unnamed_addr global ptr null, align 8
@BYT_RT5651_SSP2_AIF2 = common local_unnamed_addr global i32 0, align 4
@byt_rt5651_ssp2_aif2_map = common local_unnamed_addr global ptr null, align 8
@BYT_RT5651_SSP0_AIF1 = common local_unnamed_addr global i32 0, align 4
@byt_rt5651_ssp0_aif1_map = common local_unnamed_addr global ptr null, align 8
@BYT_RT5651_SSP0_AIF2 = common local_unnamed_addr global i32 0, align 4
@byt_rt5651_ssp0_aif2_map = common local_unnamed_addr global ptr null, align 8
@byt_rt5651_ssp2_aif1_map = common local_unnamed_addr global ptr null, align 8
@byt_rt5651_controls = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [29 x i8] c"unable to add card controls\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Headphone\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Speaker\00", align 1
@BYT_RT5651_MCLK_25MHZ = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [25 x i8] c"unable to set MCLK rate\0A\00", align 1
@SND_JACK_HEADSET = common local_unnamed_addr global i32 0, align 4
@SND_JACK_BTN_0 = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [8 x i8] c"Headset\00", align 1
@bytcr_jack_pins = common local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [25 x i8] c"jack creation failed %d\0A\00", align 1
@KEY_PLAYPAUSE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @byt_rt5651_init], section "llvm.metadata"
@switch.table.byt_rt5651_init = private unnamed_addr constant [3 x ptr] [ptr @byt_rt5651_intmic_in2_map, ptr @byt_rt5651_intmic_in1_map, ptr @byt_rt5651_intmic_in1_in2_map], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @byt_rt5651_init(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = tail call ptr @snd_soc_card_get_drvdata(ptr noundef %3) #2
%8 = getelementptr inbounds i8, ptr %3, i64 4
store i32 1, ptr %8, align 4, !tbaa !15
%9 = load i32, ptr @byt_rt5651_quirk, align 4, !tbaa !18
%10 = load i32, ptr @BYT_RT5651_MCLK_EN, align 4, !tbaa !18
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %19, label %13
13: ; preds = %1
%14 = load i32, ptr @RT5651_GLB_CLK, align 4, !tbaa !18
%15 = load i32, ptr @RT5651_SCLK_SRC_MASK, align 4, !tbaa !18
%16 = load i32, ptr @RT5651_SCLK_SRC_RCCLK, align 4, !tbaa !18
%17 = tail call i32 @snd_soc_component_update_bits(ptr noundef %6, i32 noundef %14, i32 noundef %15, i32 noundef %16) #2
%18 = load i32, ptr @byt_rt5651_quirk, align 4, !tbaa !18
br label %19
19: ; preds = %13, %1
%20 = phi i32 [ %18, %13 ], [ %9, %1 ]
%21 = tail call i32 @BYT_RT5651_MAP(i32 noundef %20) #2
%22 = add i32 %21, -128
%23 = icmp ult i32 %22, 3
br i1 %23, label %24, label %28
24: ; preds = %19
%25 = zext nneg i32 %22 to i64
%26 = getelementptr inbounds [3 x ptr], ptr @switch.table.byt_rt5651_init, i64 0, i64 %25
%27 = load ptr, ptr %26, align 8
br label %28
28: ; preds = %19, %24
%29 = phi ptr [ %27, %24 ], [ @byt_rt5651_intmic_dmic_map, %19 ]
%30 = load ptr, ptr %29, align 8, !tbaa !19
%31 = tail call i32 @ARRAY_SIZE(ptr noundef %30) #2
%32 = tail call i32 @snd_soc_dapm_add_routes(ptr noundef nonnull %8, ptr noundef %30, i32 noundef %31) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %127
34: ; preds = %28
%35 = load i32, ptr @byt_rt5651_quirk, align 4, !tbaa !18
%36 = load i32, ptr @BYT_RT5651_SSP2_AIF2, align 4, !tbaa !18
%37 = and i32 %36, %35
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %34
%40 = load i32, ptr @BYT_RT5651_SSP0_AIF1, align 4, !tbaa !18
%41 = and i32 %40, %35
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %39
%44 = load i32, ptr @BYT_RT5651_SSP0_AIF2, align 4, !tbaa !18
%45 = and i32 %44, %35
%46 = icmp eq i32 %45, 0
%47 = select i1 %46, ptr @byt_rt5651_ssp2_aif1_map, ptr @byt_rt5651_ssp0_aif2_map
br label %48
48: ; preds = %43, %39, %34
%49 = phi ptr [ @byt_rt5651_ssp2_aif2_map, %34 ], [ @byt_rt5651_ssp0_aif1_map, %39 ], [ %47, %43 ]
%50 = load ptr, ptr %49, align 8, !tbaa !19
%51 = tail call i32 @ARRAY_SIZE(ptr noundef %50) #2
%52 = tail call i32 @snd_soc_dapm_add_routes(ptr noundef nonnull %8, ptr noundef %50, i32 noundef %51) #2
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %127
54: ; preds = %48
%55 = load ptr, ptr @byt_rt5651_controls, align 8, !tbaa !19
%56 = tail call i32 @ARRAY_SIZE(ptr noundef %55) #2
%57 = tail call i32 @snd_soc_add_card_controls(ptr noundef nonnull %3, ptr noundef %55, i32 noundef %56) #2
%58 = icmp eq i32 %57, 0
br i1 %58, label %62, label %59
59: ; preds = %54
%60 = load i32, ptr %3, align 4, !tbaa !20
%61 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %60, ptr noundef nonnull @.str) #2
br label %127
62: ; preds = %54
%63 = tail call i32 @snd_soc_dapm_ignore_suspend(ptr noundef nonnull %8, ptr noundef nonnull @.str.1) #2
%64 = tail call i32 @snd_soc_dapm_ignore_suspend(ptr noundef nonnull %8, ptr noundef nonnull @.str.2) #2
%65 = load i32, ptr @byt_rt5651_quirk, align 4, !tbaa !18
%66 = load i32, ptr @BYT_RT5651_MCLK_EN, align 4, !tbaa !18
%67 = and i32 %66, %65
%68 = icmp eq i32 %67, 0
br i1 %68, label %89, label %69
69: ; preds = %62
%70 = getelementptr inbounds i8, ptr %7, i64 12
%71 = load i32, ptr %70, align 4, !tbaa !21
%72 = tail call i32 @clk_prepare_enable(i32 noundef %71) #2
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %69
%75 = load i32, ptr %70, align 4, !tbaa !21
%76 = tail call i32 @clk_disable_unprepare(i32 noundef %75) #2
br label %77
77: ; preds = %74, %69
%78 = load i32, ptr @byt_rt5651_quirk, align 4, !tbaa !18
%79 = load i32, ptr @BYT_RT5651_MCLK_25MHZ, align 4, !tbaa !18
%80 = and i32 %79, %78
%81 = icmp eq i32 %80, 0
%82 = load i32, ptr %70, align 4, !tbaa !21
%83 = select i1 %81, i32 19200000, i32 25000000
%84 = tail call i32 @clk_set_rate(i32 noundef %82, i32 noundef %83) #2
%85 = icmp eq i32 %84, 0
br i1 %85, label %89, label %86
86: ; preds = %77
%87 = load i32, ptr %3, align 4, !tbaa !20
%88 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %87, ptr noundef nonnull @.str.3) #2
br label %89
89: ; preds = %77, %86, %62
%90 = load i32, ptr @byt_rt5651_quirk, align 4, !tbaa !18
%91 = tail call i64 @BYT_RT5651_JDSRC(i32 noundef %90) #2
%92 = icmp eq i64 %91, 0
br i1 %92, label %97, label %93
93: ; preds = %89
%94 = load i32, ptr @SND_JACK_HEADSET, align 4, !tbaa !18
%95 = load i32, ptr @SND_JACK_BTN_0, align 4, !tbaa !18
%96 = or i32 %95, %94
br label %101
97: ; preds = %89
%98 = load i64, ptr %7, align 8, !tbaa !25
%99 = icmp eq i64 %98, 0
%100 = load i32, ptr @SND_JACK_HEADSET, align 4
br i1 %99, label %126, label %101
101: ; preds = %97, %93
%102 = phi i32 [ %96, %93 ], [ %100, %97 ]
%103 = icmp eq i32 %102, 0
br i1 %103, label %126, label %104
104: ; preds = %101
%105 = load ptr, ptr %2, align 8, !tbaa !6
%106 = getelementptr inbounds i8, ptr %7, i64 8
%107 = load ptr, ptr @bytcr_jack_pins, align 8, !tbaa !19
%108 = tail call i32 @ARRAY_SIZE(ptr noundef %107) #2
%109 = tail call i32 @snd_soc_card_jack_new(ptr noundef %105, ptr noundef nonnull @.str.4, i32 noundef %102, ptr noundef nonnull %106, ptr noundef %107, i32 noundef %108) #2
%110 = icmp eq i32 %109, 0
br i1 %110, label %114, label %111
111: ; preds = %104
%112 = load i32, ptr %0, align 8, !tbaa !26
%113 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %112, ptr noundef nonnull @.str.5, i32 noundef %109) #2
br label %127
114: ; preds = %104
%115 = load i32, ptr @SND_JACK_BTN_0, align 4, !tbaa !18
%116 = and i32 %115, %102
%117 = icmp eq i32 %116, 0
br i1 %117, label %122, label %118
118: ; preds = %114
%119 = load i32, ptr %106, align 8, !tbaa !27
%120 = load i32, ptr @KEY_PLAYPAUSE, align 4, !tbaa !18
%121 = tail call i32 @snd_jack_set_key(i32 noundef %119, i32 noundef %115, i32 noundef %120) #2
br label %122
122: ; preds = %118, %114
%123 = load i64, ptr %7, align 8, !tbaa !25
%124 = tail call i32 @snd_soc_component_set_jack(ptr noundef %6, ptr noundef nonnull %106, i64 noundef %123) #2
%125 = icmp eq i32 %124, 0
br i1 %125, label %126, label %127
126: ; preds = %97, %122, %101
br label %127
127: ; preds = %122, %48, %28, %126, %111, %59
%128 = phi i32 [ %57, %59 ], [ %109, %111 ], [ 0, %126 ], [ %32, %28 ], [ %52, %48 ], [ %124, %122 ]
ret i32 %128
}
declare ptr @snd_soc_card_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BYT_RT5651_MAP(i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @snd_soc_dapm_add_routes(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_add_card_controls(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @snd_soc_dapm_ignore_suspend(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1
declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1
declare i32 @clk_set_rate(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @BYT_RT5651_JDSRC(i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_card_jack_new(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_jack_set_key(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_set_jack(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"snd_soc_pcm_runtime", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 16}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_6__", !11, i64 0}
!15 = !{!16, !8, i64 4}
!16 = !{!"snd_soc_card", !8, i64 0, !17, i64 4}
!17 = !{!"TYPE_7__", !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!11, !11, i64 0}
!20 = !{!16, !8, i64 0}
!21 = !{!22, !8, i64 12}
!22 = !{!"byt_rt5651_private", !23, i64 0, !24, i64 8, !8, i64 12}
!23 = !{!"long", !9, i64 0}
!24 = !{!"TYPE_8__", !8, i64 0}
!25 = !{!22, !23, i64 0}
!26 = !{!7, !8, i64 0}
!27 = !{!22, !8, i64 8}
| linux_sound_soc_intel_boards_extr_bytcr_rt5651.c_byt_rt5651_init |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_g_team.c_SP_team_CTF_bluespawn.c'
source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_g_team.c_SP_team_CTF_bluespawn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @SP_team_CTF_bluespawn(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_g_team.c_SP_team_CTF_bluespawn.c'
source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_g_team.c_SP_team_CTF_bluespawn.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @SP_team_CTF_bluespawn(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| Quake-III-Arena_code_game_extr_g_team.c_SP_team_CTF_bluespawn |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl8192_record_rxdesc_forlateruse.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl8192_record_rxdesc_forlateruse.c"
target datalayout = "e-m:e-p270:32:32-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.ieee80211_rx_stats = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtl8192_record_rxdesc_forlateruse], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @rtl8192_record_rxdesc_forlateruse(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = getelementptr inbounds %struct.ieee80211_rx_stats, ptr %0, i64 0, i32 2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.ieee80211_rx_stats, ptr %1, i64 0, i32 2
store i32 %4, ptr %5, align 4, !tbaa !5
%6 = load <2 x i32>, ptr %0, align 4, !tbaa !10
store <2 x i32> %6, ptr %1, align 4, !tbaa !10
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, !7, i64 8}
!6 = !{!"ieee80211_rx_stats", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl8192_record_rxdesc_forlateruse.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl8192_record_rxdesc_forlateruse.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 @rtl8192_record_rxdesc_forlateruse], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @rtl8192_record_rxdesc_forlateruse(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %4, ptr %5, align 4, !tbaa !6
%6 = load <2 x i32>, ptr %0, align 4, !tbaa !11
store <2 x i32> %6, ptr %1, align 4, !tbaa !11
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, !8, i64 8}
!7 = !{!"ieee80211_rx_stats", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_staging_rtl8192u_extr_r8192U_core.c_rtl8192_record_rxdesc_forlateruse |
; ModuleID = 'AnghaBench/tengine/src/event/extr_ngx_event_openssl.c_ngx_ssl_clear_error.c'
source_filename = "AnghaBench/tengine/src/event/extr_ngx_event_openssl.c_ngx_ssl_clear_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"
@NGX_LOG_ALERT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"ignoring stale global SSL error\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_ssl_clear_error], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ngx_ssl_clear_error(ptr noundef %0) #0 {
%2 = tail call i64 (...) @ERR_peek_error() #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %9, label %4
4: ; preds = %1, %4
%5 = load i32, ptr @NGX_LOG_ALERT, align 4, !tbaa !5
%6 = tail call i32 @ngx_ssl_error(i32 noundef %5, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str) #2
%7 = tail call i64 (...) @ERR_peek_error() #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %4, !llvm.loop !9
9: ; preds = %4, %1
%10 = tail call i32 (...) @ERR_clear_error() #2
ret void
}
declare i64 @ERR_peek_error(...) local_unnamed_addr #1
declare i32 @ngx_ssl_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ERR_clear_error(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/tengine/src/event/extr_ngx_event_openssl.c_ngx_ssl_clear_error.c'
source_filename = "AnghaBench/tengine/src/event/extr_ngx_event_openssl.c_ngx_ssl_clear_error.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NGX_LOG_ALERT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"ignoring stale global SSL error\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ngx_ssl_clear_error], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ngx_ssl_clear_error(ptr noundef %0) #0 {
%2 = tail call i64 @ERR_peek_error() #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %9, label %4
4: ; preds = %1, %4
%5 = load i32, ptr @NGX_LOG_ALERT, align 4, !tbaa !6
%6 = tail call i32 @ngx_ssl_error(i32 noundef %5, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str) #2
%7 = tail call i64 @ERR_peek_error() #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %4, !llvm.loop !10
9: ; preds = %4, %1
%10 = tail call i32 @ERR_clear_error() #2
ret void
}
declare i64 @ERR_peek_error(...) local_unnamed_addr #1
declare i32 @ngx_ssl_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ERR_clear_error(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| tengine_src_event_extr_ngx_event_openssl.c_ngx_ssl_clear_error |
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_88pm800.c_pm800_probe.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_88pm800.c_pm800_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.i2c_client = type { i32, i64 }
%struct.pm80x_chip = type { ptr, ptr }
@.str = private unnamed_addr constant [17 x i8] c"pm800_init fail\0A\00", align 1
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"pm800_pages_init failed!\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Failed to initialize 88pm800 devices\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @pm800_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pm800_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = tail call ptr @dev_get_platdata(ptr noundef %0) #2
%4 = tail call i32 @pm80x_init(ptr noundef %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2
br label %46
8: ; preds = %2
%9 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
%10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%11 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 16, i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %8
%14 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%15 = sub nsw i32 0, %14
br label %43
16: ; preds = %8
%17 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !9
%19 = insertelement <2 x i64> poison, i64 %18, i64 0
%20 = shufflevector <2 x i64> %19, <2 x i64> poison, <2 x i32> zeroinitializer
%21 = add nsw <2 x i64> %20, <i64 2, i64 1>
store <2 x i64> %21, ptr %11, align 8, !tbaa !12
%22 = getelementptr inbounds %struct.pm80x_chip, ptr %9, i64 0, i32 1
store ptr %11, ptr %22, align 8, !tbaa !13
%23 = tail call i32 @pm800_pages_init(ptr noundef %9) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %16
%26 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
br label %40
27: ; preds = %16
%28 = tail call i32 @device_800_init(ptr noundef nonnull %9, ptr noundef %3) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %27
%31 = load ptr, ptr %9, align 8, !tbaa !16
%32 = tail call i32 @dev_err(ptr noundef %31, ptr noundef nonnull @.str.2) #2
br label %40
33: ; preds = %27
%34 = icmp eq ptr %3, null
br i1 %34, label %46, label %35
35: ; preds = %33
%36 = load ptr, ptr %3, align 8, !tbaa !17
%37 = icmp eq ptr %36, null
br i1 %37, label %46, label %38
38: ; preds = %35
%39 = tail call i32 %36(ptr noundef nonnull %9, ptr noundef nonnull %3) #2
br label %46
40: ; preds = %30, %25
%41 = phi i32 [ %23, %25 ], [ %28, %30 ]
%42 = tail call i32 @pm800_pages_exit(ptr noundef nonnull %9) #2
br label %43
43: ; preds = %40, %13
%44 = phi i32 [ %41, %40 ], [ %15, %13 ]
%45 = tail call i32 (...) @pm80x_deinit() #2
br label %46
46: ; preds = %6, %43, %33, %35, %38
%47 = phi i32 [ 0, %38 ], [ 0, %35 ], [ 0, %33 ], [ %4, %6 ], [ %44, %43 ]
ret i32 %47
}
declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #1
declare i32 @pm80x_init(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pm800_pages_init(ptr noundef) local_unnamed_addr #1
declare i32 @device_800_init(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pm800_pages_exit(ptr noundef) local_unnamed_addr #1
declare i32 @pm80x_deinit(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"i2c_client", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !15, i64 8}
!14 = !{!"pm80x_chip", !15, i64 0, !15, i64 8}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!14, !15, i64 0}
!17 = !{!18, !15, i64 0}
!18 = !{!"pm80x_platform_data", !15, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_88pm800.c_pm800_probe.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_88pm800.c_pm800_probe.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 [17 x i8] c"pm800_init fail\0A\00", align 1
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"pm800_pages_init failed!\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Failed to initialize 88pm800 devices\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @pm800_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pm800_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = tail call ptr @dev_get_platdata(ptr noundef %0) #2
%4 = tail call i32 @pm80x_init(ptr noundef %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2
br label %46
8: ; preds = %2
%9 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
%10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%11 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 16, i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %8
%14 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%15 = sub nsw i32 0, %14
br label %43
16: ; preds = %8
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !10
%19 = insertelement <2 x i64> poison, i64 %18, i64 0
%20 = shufflevector <2 x i64> %19, <2 x i64> poison, <2 x i32> zeroinitializer
%21 = add nsw <2 x i64> %20, <i64 2, i64 1>
store <2 x i64> %21, ptr %11, align 8, !tbaa !13
%22 = getelementptr inbounds i8, ptr %9, i64 8
store ptr %11, ptr %22, align 8, !tbaa !14
%23 = tail call i32 @pm800_pages_init(ptr noundef %9) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %16
%26 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
br label %40
27: ; preds = %16
%28 = tail call i32 @device_800_init(ptr noundef nonnull %9, ptr noundef %3) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %27
%31 = load ptr, ptr %9, align 8, !tbaa !17
%32 = tail call i32 @dev_err(ptr noundef %31, ptr noundef nonnull @.str.2) #2
br label %40
33: ; preds = %27
%34 = icmp eq ptr %3, null
br i1 %34, label %46, label %35
35: ; preds = %33
%36 = load ptr, ptr %3, align 8, !tbaa !18
%37 = icmp eq ptr %36, null
br i1 %37, label %46, label %38
38: ; preds = %35
%39 = tail call i32 %36(ptr noundef nonnull %9, ptr noundef nonnull %3) #2
br label %46
40: ; preds = %30, %25
%41 = phi i32 [ %23, %25 ], [ %28, %30 ]
%42 = tail call i32 @pm800_pages_exit(ptr noundef nonnull %9) #2
br label %43
43: ; preds = %40, %13
%44 = phi i32 [ %41, %40 ], [ %15, %13 ]
%45 = tail call i32 @pm80x_deinit() #2
br label %46
46: ; preds = %6, %43, %33, %35, %38
%47 = phi i32 [ 0, %38 ], [ 0, %35 ], [ 0, %33 ], [ %4, %6 ], [ %44, %43 ]
ret i32 %47
}
declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #1
declare i32 @pm80x_init(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pm800_pages_init(ptr noundef) local_unnamed_addr #1
declare i32 @device_800_init(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pm800_pages_exit(ptr noundef) local_unnamed_addr #1
declare i32 @pm80x_deinit(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"i2c_client", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !16, i64 8}
!15 = !{!"pm80x_chip", !16, i64 0, !16, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!15, !16, i64 0}
!18 = !{!19, !16, i64 0}
!19 = !{!"pm80x_platform_data", !16, i64 0}
| linux_drivers_mfd_extr_88pm800.c_pm800_probe |
; ModuleID = 'AnghaBench/linux/tools/perf/extr_builtin-trace.c_trace__read_syscall_info.c'
source_filename = "AnghaBench/linux/tools/perf/extr_builtin-trace.c_trace__read_syscall_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.trace = type { %struct.TYPE_10__, ptr }
%struct.TYPE_10__ = type { ptr }
%struct.syscall = type { i32, ptr, i32, i32, i32, ptr, ptr, ptr }
%struct.TYPE_11__ = type { i32, ptr }
%struct.TYPE_12__ = type { ptr, ptr }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"sys_enter_%s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"syscalls\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"__syscall_nr\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"nr\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"exit_group\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"openat\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @trace__read_syscall_info], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @trace__read_syscall_info(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = alloca [128 x i8], align 16
call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %3) #4
%4 = getelementptr inbounds %struct.trace, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = tail call ptr @syscalltbl__name(ptr noundef %5, i32 noundef %1) #4
%7 = load ptr, ptr %0, align 8, !tbaa !11
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %18
9: ; preds = %2
%10 = load ptr, ptr %4, align 8, !tbaa !5
%11 = load i64, ptr %10, align 8, !tbaa !12
%12 = add nsw i64 %11, 1
%13 = tail call ptr @calloc(i64 noundef %12, i32 noundef 56) #4
store ptr %13, ptr %0, align 8, !tbaa !11
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %9
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !16
%17 = sub nsw i32 0, %16
br label %105
18: ; preds = %9, %2
%19 = phi ptr [ %13, %9 ], [ %7, %2 ]
%20 = sext i32 %1 to i64
%21 = getelementptr inbounds i32, ptr %19, i64 %20
%22 = load i32, ptr %21, align 8, !tbaa !18
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %105
24: ; preds = %18
%25 = icmp eq ptr %6, null
br i1 %25, label %26, label %27
26: ; preds = %24
store i32 1, ptr %21, align 8, !tbaa !18
br label %105
27: ; preds = %24
%28 = getelementptr inbounds %struct.syscall, ptr %21, i64 0, i32 1
store ptr %6, ptr %28, align 8, !tbaa !20
%29 = tail call ptr @syscall_fmt__find(ptr noundef nonnull %6) #4
%30 = getelementptr inbounds %struct.syscall, ptr %21, i64 0, i32 7
store ptr %29, ptr %30, align 8, !tbaa !21
%31 = load ptr, ptr %28, align 8, !tbaa !20
%32 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 128, ptr noundef nonnull @.str, ptr noundef %31) #4
%33 = call ptr @trace_event__tp_format(ptr noundef nonnull @.str.1, ptr noundef nonnull %3) #4
%34 = getelementptr inbounds %struct.syscall, ptr %21, i64 0, i32 6
store ptr %33, ptr %34, align 8, !tbaa !22
%35 = call i64 @IS_ERR(ptr noundef %33) #4
%36 = icmp eq i64 %35, 0
br i1 %36, label %46, label %37
37: ; preds = %27
%38 = load ptr, ptr %30, align 8, !tbaa !21
%39 = icmp eq ptr %38, null
br i1 %39, label %46, label %40
40: ; preds = %37
%41 = load ptr, ptr %38, align 8, !tbaa !23
%42 = icmp eq ptr %41, null
br i1 %42, label %46, label %43
43: ; preds = %40
%44 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 128, ptr noundef nonnull @.str, ptr noundef nonnull %41) #4
%45 = call ptr @trace_event__tp_format(ptr noundef nonnull @.str.1, ptr noundef nonnull %3) #4
store ptr %45, ptr %34, align 8, !tbaa !22
br label %46
46: ; preds = %43, %40, %37, %27
%47 = load ptr, ptr %34, align 8, !tbaa !22
%48 = call i64 @IS_ERR(ptr noundef %47) #4
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %46
%51 = load ptr, ptr %34, align 8, !tbaa !22
%52 = load i32, ptr %51, align 8, !tbaa !25
br label %53
53: ; preds = %46, %50
%54 = phi i32 [ %52, %50 ], [ 6, %46 ]
%55 = call i64 @syscall__alloc_arg_fmts(ptr noundef nonnull %21, i32 noundef %54) #4
%56 = icmp eq i64 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %53
%58 = load i32, ptr @ENOMEM, align 4, !tbaa !16
%59 = sub nsw i32 0, %58
br label %105
60: ; preds = %53
%61 = load ptr, ptr %34, align 8, !tbaa !22
%62 = call i64 @IS_ERR(ptr noundef %61) #4
%63 = icmp eq i64 %62, 0
%64 = load ptr, ptr %34, align 8, !tbaa !22
br i1 %63, label %67, label %65
65: ; preds = %60
%66 = call i32 @PTR_ERR(ptr noundef %64) #4
br label %105
67: ; preds = %60
%68 = getelementptr inbounds %struct.TYPE_11__, ptr %64, i64 0, i32 1
%69 = load ptr, ptr %68, align 8, !tbaa !28
%70 = getelementptr inbounds %struct.syscall, ptr %21, i64 0, i32 5
store ptr %69, ptr %70, align 8, !tbaa !29
%71 = icmp eq ptr %69, null
br i1 %71, label %85, label %72
72: ; preds = %67
%73 = load ptr, ptr %69, align 8, !tbaa !30
%74 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %73, ptr noundef nonnull dereferenceable(13) @.str.2)
%75 = icmp eq i32 %74, 0
br i1 %75, label %79, label %76
76: ; preds = %72
%77 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %73, ptr noundef nonnull dereferenceable(3) @.str.3)
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %85
79: ; preds = %76, %72
%80 = getelementptr inbounds %struct.TYPE_12__, ptr %69, i64 0, i32 1
%81 = load ptr, ptr %80, align 8, !tbaa !32
store ptr %81, ptr %70, align 8, !tbaa !29
%82 = getelementptr inbounds %struct.syscall, ptr %21, i64 0, i32 4
%83 = load i32, ptr %82, align 8, !tbaa !33
%84 = add nsw i32 %83, -1
store i32 %84, ptr %82, align 8, !tbaa !33
br label %85
85: ; preds = %79, %76, %67
%86 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(11) @.str.4)
%87 = icmp eq i32 %86, 0
br i1 %87, label %92, label %88
88: ; preds = %85
%89 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(5) @.str.5)
%90 = icmp eq i32 %89, 0
%91 = zext i1 %90 to i32
br label %92
92: ; preds = %88, %85
%93 = phi i32 [ 1, %85 ], [ %91, %88 ]
%94 = getelementptr inbounds %struct.syscall, ptr %21, i64 0, i32 2
store i32 %93, ptr %94, align 8, !tbaa !34
%95 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(5) @.str.6)
%96 = icmp eq i32 %95, 0
br i1 %96, label %101, label %97
97: ; preds = %92
%98 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(7) @.str.7)
%99 = icmp eq i32 %98, 0
%100 = zext i1 %99 to i32
br label %101
101: ; preds = %97, %92
%102 = phi i32 [ 1, %92 ], [ %100, %97 ]
%103 = getelementptr inbounds %struct.syscall, ptr %21, i64 0, i32 3
store i32 %102, ptr %103, align 4, !tbaa !35
%104 = call i32 @syscall__set_arg_fmts(ptr noundef nonnull %21) #4
br label %105
105: ; preds = %18, %101, %65, %57, %26, %15
%106 = phi i32 [ %17, %15 ], [ 0, %26 ], [ %59, %57 ], [ %66, %65 ], [ %104, %101 ], [ 0, %18 ]
call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #4
ret i32 %106
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @syscalltbl__name(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @calloc(i64 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @syscall_fmt__find(ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @trace_event__tp_format(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i64 @syscall__alloc_arg_fmts(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(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 i32 @syscall__set_arg_fmts(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 = { 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, !8, i64 8}
!6 = !{!"trace", !7, i64 0, !8, i64 8}
!7 = !{!"TYPE_10__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!6, !8, i64 0}
!12 = !{!13, !15, i64 0}
!13 = !{!"TYPE_13__", !14, i64 0}
!14 = !{!"TYPE_9__", !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !9, i64 0}
!18 = !{!19, !17, i64 0}
!19 = !{!"syscall", !17, i64 0, !8, i64 8, !17, i64 16, !17, i64 20, !17, i64 24, !8, i64 32, !8, i64 40, !8, i64 48}
!20 = !{!19, !8, i64 8}
!21 = !{!19, !8, i64 48}
!22 = !{!19, !8, i64 40}
!23 = !{!24, !8, i64 0}
!24 = !{!"TYPE_14__", !8, i64 0}
!25 = !{!26, !17, i64 0}
!26 = !{!"TYPE_15__", !27, i64 0}
!27 = !{!"TYPE_11__", !17, i64 0, !8, i64 8}
!28 = !{!26, !8, i64 8}
!29 = !{!19, !8, i64 32}
!30 = !{!31, !8, i64 0}
!31 = !{!"TYPE_12__", !8, i64 0, !8, i64 8}
!32 = !{!31, !8, i64 8}
!33 = !{!19, !17, i64 24}
!34 = !{!19, !17, i64 16}
!35 = !{!19, !17, i64 20}
| ; ModuleID = 'AnghaBench/linux/tools/perf/extr_builtin-trace.c_trace__read_syscall_info.c'
source_filename = "AnghaBench/linux/tools/perf/extr_builtin-trace.c_trace__read_syscall_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"sys_enter_%s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"syscalls\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"__syscall_nr\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"exit_group\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"openat\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @trace__read_syscall_info], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @trace__read_syscall_info(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = alloca [128 x i8], align 1
call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %3) #4
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = tail call ptr @syscalltbl__name(ptr noundef %5, i32 noundef %1) #4
%7 = load ptr, ptr %0, align 8, !tbaa !12
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %18
9: ; preds = %2
%10 = load ptr, ptr %4, align 8, !tbaa !6
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = add nsw i64 %11, 1
%13 = tail call ptr @calloc(i64 noundef %12, i32 noundef 56) #4
store ptr %13, ptr %0, align 8, !tbaa !12
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %9
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !17
%17 = sub nsw i32 0, %16
br label %113
18: ; preds = %9, %2
%19 = phi ptr [ %13, %9 ], [ %7, %2 ]
%20 = sext i32 %1 to i64
%21 = getelementptr inbounds i32, ptr %19, i64 %20
%22 = load i32, ptr %21, align 8, !tbaa !19
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %113
24: ; preds = %18
%25 = icmp eq ptr %6, null
br i1 %25, label %26, label %27
26: ; preds = %24
store i32 1, ptr %21, align 8, !tbaa !19
br label %113
27: ; preds = %24
%28 = getelementptr inbounds i8, ptr %21, i64 8
store ptr %6, ptr %28, align 8, !tbaa !21
%29 = tail call ptr @syscall_fmt__find(ptr noundef nonnull %6) #4
%30 = getelementptr inbounds i8, ptr %21, i64 48
store ptr %29, ptr %30, align 8, !tbaa !22
%31 = load ptr, ptr %28, align 8, !tbaa !21
%32 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 128, ptr noundef nonnull @.str, ptr noundef %31) #4
%33 = call ptr @trace_event__tp_format(ptr noundef nonnull @.str.1, ptr noundef nonnull %3) #4
%34 = getelementptr inbounds i8, ptr %21, i64 40
store ptr %33, ptr %34, align 8, !tbaa !23
%35 = call i64 @IS_ERR(ptr noundef %33) #4
%36 = icmp eq i64 %35, 0
br i1 %36, label %46, label %37
37: ; preds = %27
%38 = load ptr, ptr %30, align 8, !tbaa !22
%39 = icmp eq ptr %38, null
br i1 %39, label %46, label %40
40: ; preds = %37
%41 = load ptr, ptr %38, align 8, !tbaa !24
%42 = icmp eq ptr %41, null
br i1 %42, label %46, label %43
43: ; preds = %40
%44 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 128, ptr noundef nonnull @.str, ptr noundef nonnull %41) #4
%45 = call ptr @trace_event__tp_format(ptr noundef nonnull @.str.1, ptr noundef nonnull %3) #4
store ptr %45, ptr %34, align 8, !tbaa !23
br label %46
46: ; preds = %43, %40, %37, %27
%47 = load ptr, ptr %34, align 8, !tbaa !23
%48 = call i64 @IS_ERR(ptr noundef %47) #4
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %46
%51 = load ptr, ptr %34, align 8, !tbaa !23
%52 = load i32, ptr %51, align 8, !tbaa !26
br label %53
53: ; preds = %46, %50
%54 = phi i32 [ %52, %50 ], [ 6, %46 ]
%55 = call i64 @syscall__alloc_arg_fmts(ptr noundef nonnull %21, i32 noundef %54) #4
%56 = icmp eq i64 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %53
%58 = load i32, ptr @ENOMEM, align 4, !tbaa !17
%59 = sub nsw i32 0, %58
br label %113
60: ; preds = %53
%61 = load ptr, ptr %34, align 8, !tbaa !23
%62 = call i64 @IS_ERR(ptr noundef %61) #4
%63 = icmp eq i64 %62, 0
%64 = load ptr, ptr %34, align 8, !tbaa !23
br i1 %63, label %67, label %65
65: ; preds = %60
%66 = call i32 @PTR_ERR(ptr noundef %64) #4
br label %113
67: ; preds = %60
%68 = getelementptr inbounds i8, ptr %64, i64 8
%69 = load ptr, ptr %68, align 8, !tbaa !29
%70 = getelementptr inbounds i8, ptr %21, i64 32
store ptr %69, ptr %70, align 8, !tbaa !30
%71 = icmp eq ptr %69, null
br i1 %71, label %93, label %72
72: ; preds = %67
%73 = load ptr, ptr %69, align 8, !tbaa !31
%74 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %73, ptr noundef nonnull dereferenceable(13) @.str.2)
%75 = icmp eq i32 %74, 0
br i1 %75, label %87, label %76
76: ; preds = %72
%77 = load i8, ptr %73, align 1
%78 = icmp eq i8 %77, 110
br i1 %78, label %79, label %93
79: ; preds = %76
%80 = getelementptr inbounds i8, ptr %73, i64 1
%81 = load i8, ptr %80, align 1
%82 = icmp eq i8 %81, 114
br i1 %82, label %83, label %93
83: ; preds = %79
%84 = getelementptr inbounds i8, ptr %73, i64 2
%85 = load i8, ptr %84, align 1
%86 = icmp eq i8 %85, 0
br i1 %86, label %87, label %93
87: ; preds = %83, %72
%88 = getelementptr inbounds i8, ptr %69, i64 8
%89 = load ptr, ptr %88, align 8, !tbaa !33
store ptr %89, ptr %70, align 8, !tbaa !30
%90 = getelementptr inbounds i8, ptr %21, i64 24
%91 = load i32, ptr %90, align 8, !tbaa !34
%92 = add nsw i32 %91, -1
store i32 %92, ptr %90, align 8, !tbaa !34
br label %93
93: ; preds = %79, %76, %87, %83, %67
%94 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(11) @.str.4)
%95 = icmp eq i32 %94, 0
br i1 %95, label %100, label %96
96: ; preds = %93
%97 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(5) @.str.5)
%98 = icmp eq i32 %97, 0
%99 = zext i1 %98 to i32
br label %100
100: ; preds = %96, %93
%101 = phi i32 [ 1, %93 ], [ %99, %96 ]
%102 = getelementptr inbounds i8, ptr %21, i64 16
store i32 %101, ptr %102, align 8, !tbaa !35
%103 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(5) @.str.6)
%104 = icmp eq i32 %103, 0
br i1 %104, label %109, label %105
105: ; preds = %100
%106 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(7) @.str.7)
%107 = icmp eq i32 %106, 0
%108 = zext i1 %107 to i32
br label %109
109: ; preds = %105, %100
%110 = phi i32 [ 1, %100 ], [ %108, %105 ]
%111 = getelementptr inbounds i8, ptr %21, i64 20
store i32 %110, ptr %111, align 4, !tbaa !36
%112 = call i32 @syscall__set_arg_fmts(ptr noundef nonnull %21) #4
br label %113
113: ; preds = %18, %109, %65, %57, %26, %15
%114 = phi i32 [ %17, %15 ], [ 0, %26 ], [ %59, %57 ], [ %66, %65 ], [ %112, %109 ], [ 0, %18 ]
call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #4
ret i32 %114
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @syscalltbl__name(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @calloc(i64 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @syscall_fmt__find(ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @trace_event__tp_format(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i64 @syscall__alloc_arg_fmts(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(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 i32 @syscall__set_arg_fmts(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 = { 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 #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, !9, i64 8}
!7 = !{!"trace", !8, i64 0, !9, i64 8}
!8 = !{!"TYPE_10__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!7, !9, i64 0}
!13 = !{!14, !16, i64 0}
!14 = !{!"TYPE_13__", !15, i64 0}
!15 = !{!"TYPE_9__", !16, i64 0}
!16 = !{!"long", !10, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !10, i64 0}
!19 = !{!20, !18, i64 0}
!20 = !{!"syscall", !18, i64 0, !9, i64 8, !18, i64 16, !18, i64 20, !18, i64 24, !9, i64 32, !9, i64 40, !9, i64 48}
!21 = !{!20, !9, i64 8}
!22 = !{!20, !9, i64 48}
!23 = !{!20, !9, i64 40}
!24 = !{!25, !9, i64 0}
!25 = !{!"TYPE_14__", !9, i64 0}
!26 = !{!27, !18, i64 0}
!27 = !{!"TYPE_15__", !28, i64 0}
!28 = !{!"TYPE_11__", !18, i64 0, !9, i64 8}
!29 = !{!27, !9, i64 8}
!30 = !{!20, !9, i64 32}
!31 = !{!32, !9, i64 0}
!32 = !{!"TYPE_12__", !9, i64 0, !9, i64 8}
!33 = !{!32, !9, i64 8}
!34 = !{!20, !18, i64 24}
!35 = !{!20, !18, i64 16}
!36 = !{!20, !18, i64 20}
| linux_tools_perf_extr_builtin-trace.c_trace__read_syscall_info |
; ModuleID = 'AnghaBench/reactos/base/services/nfsd/extr_callback_xdr.c_op_cb_recall_args.c'
source_filename = "AnghaBench/reactos/base/services/nfsd/extr_callback_xdr.c_op_cb_recall_args.c"
target datalayout = "e-m:e-p270:32:32-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.cb_recall_args = type { i32, i32, i32 }
@.str = private unnamed_addr constant [15 x i8] c"recall.stateid\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"recall.truncate\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"recall.fh\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @op_cb_recall_args], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @op_cb_recall_args(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.cb_recall_args, ptr %1, i64 0, i32 2
%4 = tail call i64 @common_stateid(ptr noundef %0, ptr noundef nonnull %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %13, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.cb_recall_args, ptr %1, i64 0, i32 1
%8 = tail call i64 @xdr_bool(ptr noundef %0, ptr noundef nonnull %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = tail call i64 @common_fh(ptr noundef %0, ptr noundef %1) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10, %6, %2
%14 = phi ptr [ @.str, %2 ], [ @.str.1, %6 ], [ @.str.2, %10 ]
%15 = tail call i32 @CBX_ERR(ptr noundef nonnull %14) #2
br label %16
16: ; preds = %13, %10
%17 = phi i64 [ %11, %10 ], [ 0, %13 ]
ret i64 %17
}
declare i64 @common_stateid(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @CBX_ERR(ptr noundef) local_unnamed_addr #1
declare i64 @xdr_bool(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @common_fh(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/reactos/base/services/nfsd/extr_callback_xdr.c_op_cb_recall_args.c'
source_filename = "AnghaBench/reactos/base/services/nfsd/extr_callback_xdr.c_op_cb_recall_args.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [15 x i8] c"recall.stateid\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"recall.truncate\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"recall.fh\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @op_cb_recall_args], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @op_cb_recall_args(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = tail call i64 @common_stateid(ptr noundef %0, ptr noundef nonnull %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %13, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 4
%8 = tail call i64 @xdr_bool(ptr noundef %0, ptr noundef nonnull %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = tail call i64 @common_fh(ptr noundef %0, ptr noundef %1) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10, %6, %2
%14 = phi ptr [ @.str, %2 ], [ @.str.1, %6 ], [ @.str.2, %10 ]
%15 = tail call i32 @CBX_ERR(ptr noundef nonnull %14) #2
br label %16
16: ; preds = %13, %10
%17 = phi i64 [ %11, %10 ], [ 0, %13 ]
ret i64 %17
}
declare i64 @common_stateid(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @CBX_ERR(ptr noundef) local_unnamed_addr #1
declare i64 @xdr_bool(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @common_fh(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)"}
| reactos_base_services_nfsd_extr_callback_xdr.c_op_cb_recall_args |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.