IR_x86
stringlengths 592
249k
| IR_arm
stringlengths 558
250k
| filename
stringlengths 17
191
|
---|---|---|
; ModuleID = 'AnghaBench/linux/fs/nilfs2/extr_ifile.c_nilfs_ifile_count_free_inodes.c'
source_filename = "AnghaBench/linux/fs/nilfs2/extr_ifile.c_nilfs_ifile_count_free_inodes.c"
target datalayout = "e-m:e-p270:32:32-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 @nilfs_ifile_count_free_inodes(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
store i64 0, ptr %1, align 8, !tbaa !5
store i64 0, ptr %2, align 8, !tbaa !5
%4 = tail call ptr @NILFS_I(ptr noundef %0) #2
%5 = load ptr, ptr %4, align 8, !tbaa !9
%6 = tail call i64 @atomic64_read(ptr noundef %5) #2
%7 = tail call i32 @nilfs_palloc_count_max_entries(ptr noundef %0, i64 noundef %6, ptr noundef nonnull %1) #2
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
%10 = tail call i64 @likely(i32 noundef %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %3
%13 = load i64, ptr %1, align 8, !tbaa !5
%14 = sub nsw i64 %13, %6
store i64 %14, ptr %2, align 8, !tbaa !5
br label %15
15: ; preds = %12, %3
ret i32 %7
}
declare i64 @atomic64_read(ptr noundef) local_unnamed_addr #1
declare ptr @NILFS_I(ptr noundef) local_unnamed_addr #1
declare i32 @nilfs_palloc_count_max_entries(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/fs/nilfs2/extr_ifile.c_nilfs_ifile_count_free_inodes.c'
source_filename = "AnghaBench/linux/fs/nilfs2/extr_ifile.c_nilfs_ifile_count_free_inodes.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 @nilfs_ifile_count_free_inodes(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
store i64 0, ptr %1, align 8, !tbaa !6
store i64 0, ptr %2, align 8, !tbaa !6
%4 = tail call ptr @NILFS_I(ptr noundef %0) #2
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = tail call i64 @atomic64_read(ptr noundef %5) #2
%7 = tail call i32 @nilfs_palloc_count_max_entries(ptr noundef %0, i64 noundef %6, ptr noundef nonnull %1) #2
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
%10 = tail call i64 @likely(i32 noundef %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %3
%13 = load i64, ptr %1, align 8, !tbaa !6
%14 = sub nsw i64 %13, %6
store i64 %14, ptr %2, align 8, !tbaa !6
br label %15
15: ; preds = %12, %3
ret i32 %7
}
declare i64 @atomic64_read(ptr noundef) local_unnamed_addr #1
declare ptr @NILFS_I(ptr noundef) local_unnamed_addr #1
declare i32 @nilfs_palloc_count_max_entries(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
|
linux_fs_nilfs2_extr_ifile.c_nilfs_ifile_count_free_inodes
|
; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_framework.c_mac_init.c'
source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_framework.c_mac_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"
@mac_static_policy_list = dso_local global i32 0, align 4
@mac_policy_list = dso_local global i32 0, align 4
@mac_policy_rm = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"mac_policy_rm\00", align 1
@RM_NOWITNESS = dso_local local_unnamed_addr global i32 0, align 4
@RM_RECURSE = dso_local local_unnamed_addr global i32 0, align 4
@mac_policy_sx = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"mac_policy_sx\00", align 1
@SX_NOWITNESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mac_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mac_init() #0 {
%1 = tail call i32 @LIST_INIT(ptr noundef nonnull @mac_static_policy_list) #2
%2 = tail call i32 @LIST_INIT(ptr noundef nonnull @mac_policy_list) #2
%3 = tail call i32 (...) @mac_labelzone_init() #2
%4 = load i32, ptr @RM_NOWITNESS, align 4, !tbaa !5
%5 = load i32, ptr @RM_RECURSE, align 4, !tbaa !5
%6 = or i32 %5, %4
%7 = tail call i32 @rm_init_flags(ptr noundef nonnull @mac_policy_rm, ptr noundef nonnull @.str, i32 noundef %6) #2
%8 = load i32, ptr @SX_NOWITNESS, align 4, !tbaa !5
%9 = tail call i32 @sx_init_flags(ptr noundef nonnull @mac_policy_sx, ptr noundef nonnull @.str.1, i32 noundef %8) #2
ret void
}
declare i32 @LIST_INIT(ptr noundef) local_unnamed_addr #1
declare i32 @mac_labelzone_init(...) local_unnamed_addr #1
declare i32 @rm_init_flags(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sx_init_flags(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_framework.c_mac_init.c'
source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_framework.c_mac_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mac_static_policy_list = common global i32 0, align 4
@mac_policy_list = common global i32 0, align 4
@mac_policy_rm = common global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"mac_policy_rm\00", align 1
@RM_NOWITNESS = common local_unnamed_addr global i32 0, align 4
@RM_RECURSE = common local_unnamed_addr global i32 0, align 4
@mac_policy_sx = common global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"mac_policy_sx\00", align 1
@SX_NOWITNESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mac_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mac_init() #0 {
%1 = tail call i32 @LIST_INIT(ptr noundef nonnull @mac_static_policy_list) #2
%2 = tail call i32 @LIST_INIT(ptr noundef nonnull @mac_policy_list) #2
%3 = tail call i32 @mac_labelzone_init() #2
%4 = load i32, ptr @RM_NOWITNESS, align 4, !tbaa !6
%5 = load i32, ptr @RM_RECURSE, align 4, !tbaa !6
%6 = or i32 %5, %4
%7 = tail call i32 @rm_init_flags(ptr noundef nonnull @mac_policy_rm, ptr noundef nonnull @.str, i32 noundef %6) #2
%8 = load i32, ptr @SX_NOWITNESS, align 4, !tbaa !6
%9 = tail call i32 @sx_init_flags(ptr noundef nonnull @mac_policy_sx, ptr noundef nonnull @.str.1, i32 noundef %8) #2
ret void
}
declare i32 @LIST_INIT(ptr noundef) local_unnamed_addr #1
declare i32 @mac_labelzone_init(...) local_unnamed_addr #1
declare i32 @rm_init_flags(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sx_init_flags(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_sys_security_mac_extr_mac_framework.c_mac_init
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/i2c/busses/extr_i2c-nforce2.c_nforce2_set_reference.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/i2c/busses/extr_i2c-nforce2.c_nforce2_set_reference.c"
target datalayout = "e-m:e-p270:32:32-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 @nforce2_set_reference], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @nforce2_set_reference(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/fastsocket/kernel/drivers/i2c/busses/extr_i2c-nforce2.c_nforce2_set_reference.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/i2c/busses/extr_i2c-nforce2.c_nforce2_set_reference.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 @nforce2_set_reference], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @nforce2_set_reference(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)"}
|
fastsocket_kernel_drivers_i2c_busses_extr_i2c-nforce2.c_nforce2_set_reference
|
; ModuleID = 'AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_rtc.c_RTC_GetAlarmSubSecond.c'
source_filename = "AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_rtc.c_RTC_GetAlarmSubSecond.c"
target datalayout = "e-m:e-p270:32:32-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 }
@RTC_Alarm_A = dso_local local_unnamed_addr global i64 0, align 8
@RTC = dso_local local_unnamed_addr global ptr null, align 8
@RTC_ALRMASSR_SS = dso_local local_unnamed_addr global i32 0, align 4
@RTC_ALRMBSSR_SS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i64 @RTC_GetAlarmSubSecond(i64 noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @RTC_Alarm_A, align 8, !tbaa !5
%3 = icmp eq i64 %2, %0
%4 = load ptr, ptr @RTC, align 8, !tbaa !9
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1
%6 = select i1 %3, ptr %4, ptr %5
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = load i32, ptr @RTC_ALRMASSR_SS, align 4
%9 = load i32, ptr @RTC_ALRMBSSR_SS, align 4
%10 = select i1 %3, i32 %8, i32 %9
%11 = and i32 %10, %7
%12 = sext i32 %11 to i64
ret i64 %12
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !12, i64 0}
!12 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_rtc.c_RTC_GetAlarmSubSecond.c'
source_filename = "AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_rtc.c_RTC_GetAlarmSubSecond.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RTC_Alarm_A = common local_unnamed_addr global i64 0, align 8
@RTC = common local_unnamed_addr global ptr null, align 8
@RTC_ALRMASSR_SS = common local_unnamed_addr global i32 0, align 4
@RTC_ALRMBSSR_SS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define range(i64 -2147483648, 2147483648) i64 @RTC_GetAlarmSubSecond(i64 noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @RTC_Alarm_A, align 8, !tbaa !6
%3 = icmp eq i64 %2, %0
%4 = load ptr, ptr @RTC, align 8, !tbaa !10
%5 = select i1 %3, i64 0, i64 4
%6 = getelementptr inbounds i8, ptr %4, i64 %5
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = load i32, ptr @RTC_ALRMASSR_SS, align 4
%9 = load i32, ptr @RTC_ALRMBSSR_SS, align 4
%10 = select i1 %3, i32 %8, i32 %9
%11 = and i32 %10, %7
%12 = sext i32 %11 to i64
ret i64 %12
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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, !13, i64 0}
!13 = !{!"int", !8, i64 0}
|
anypixel_firmware_controller_ThirdParty_SPL_src_extr_stm32f4xx_rtc.c_RTC_GetAlarmSubSecond
|
; ModuleID = 'AnghaBench/beanstalkd/extr_util.c_warn_systemd_ignored_option.c'
source_filename = "AnghaBench/beanstalkd/extr_util.c_warn_systemd_ignored_option.c"
target datalayout = "e-m:e-p270:32:32-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 [44 x i8] c"inherited listen fd; ignoring option: %s %s\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @warn_systemd_ignored_option], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @warn_systemd_ignored_option(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @sd_listen_fds(i32 noundef 0) #2
%4 = icmp sgt i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call i32 @warnx(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1) #2
br label %7
7: ; preds = %5, %2
ret void
}
declare i64 @sd_listen_fds(i32 noundef) local_unnamed_addr #1
declare i32 @warnx(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)"}
|
; ModuleID = 'AnghaBench/beanstalkd/extr_util.c_warn_systemd_ignored_option.c'
source_filename = "AnghaBench/beanstalkd/extr_util.c_warn_systemd_ignored_option.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 [44 x i8] c"inherited listen fd; ignoring option: %s %s\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @warn_systemd_ignored_option], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @warn_systemd_ignored_option(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @sd_listen_fds(i32 noundef 0) #2
%4 = icmp sgt i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call i32 @warnx(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1) #2
br label %7
7: ; preds = %5, %2
ret void
}
declare i64 @sd_listen_fds(i32 noundef) local_unnamed_addr #1
declare i32 @warnx(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)"}
|
beanstalkd_extr_util.c_warn_systemd_ignored_option
|
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-loop-prefetch.c_release_mem_refs.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-loop-prefetch.c_release_mem_refs.c"
target datalayout = "e-m:e-p270:32:32-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.mem_ref_group = type { ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @release_mem_refs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @release_mem_refs(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %17, label %3
3: ; preds = %1, %14
%4 = phi ptr [ %5, %14 ], [ %0, %1 ]
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.mem_ref_group, ptr %4, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = icmp eq ptr %7, null
br i1 %8, label %14, label %9
9: ; preds = %3, %9
%10 = phi ptr [ %11, %9 ], [ %7, %3 ]
%11 = load ptr, ptr %10, align 8, !tbaa !11
%12 = tail call i32 @free(ptr noundef nonnull %10) #2
%13 = icmp eq ptr %11, null
br i1 %13, label %14, label %9, !llvm.loop !13
14: ; preds = %9, %3
%15 = tail call i32 @free(ptr noundef nonnull %4) #2
%16 = icmp eq ptr %5, null
br i1 %16, label %17, label %3, !llvm.loop !15
17: ; preds = %14, %1
ret void
}
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mem_ref_group", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !7, i64 0}
!12 = !{!"mem_ref", !7, i64 0, !7, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
|
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-loop-prefetch.c_release_mem_refs.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-loop-prefetch.c_release_mem_refs.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 @release_mem_refs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @release_mem_refs(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %17, label %3
3: ; preds = %1, %14
%4 = phi ptr [ %5, %14 ], [ %0, %1 ]
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %4, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = icmp eq ptr %7, null
br i1 %8, label %14, label %9
9: ; preds = %3, %9
%10 = phi ptr [ %11, %9 ], [ %7, %3 ]
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = tail call i32 @free(ptr noundef nonnull %10) #2
%13 = icmp eq ptr %11, null
br i1 %13, label %14, label %9, !llvm.loop !14
14: ; preds = %9, %3
%15 = tail call i32 @free(ptr noundef nonnull %4) #2
%16 = icmp eq ptr %5, null
br i1 %16, label %17, label %3, !llvm.loop !16
17: ; preds = %14, %1
ret void
}
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mem_ref_group", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!13, !8, i64 0}
!13 = !{!"mem_ref", !8, i64 0, !8, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
|
freebsd_contrib_gcc_extr_tree-ssa-loop-prefetch.c_release_mem_refs
|
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/sysutils/utils/pice/module/extr_hardware.c_SuspendPrintRingBuffer.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/sysutils/utils/pice/module/extr_hardware.c_SuspendPrintRingBuffer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@bSuspendPrintRingBuffer = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @SuspendPrintRingBuffer(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 (...) @ENTER_FUNC() #2
store i32 %0, ptr @bSuspendPrintRingBuffer, align 4, !tbaa !5
%3 = tail call i32 (...) @LEAVE_FUNC() #2
ret void
}
declare i32 @ENTER_FUNC(...) local_unnamed_addr #1
declare i32 @LEAVE_FUNC(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/rosapps/applications/sysutils/utils/pice/module/extr_hardware.c_SuspendPrintRingBuffer.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/sysutils/utils/pice/module/extr_hardware.c_SuspendPrintRingBuffer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@bSuspendPrintRingBuffer = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @SuspendPrintRingBuffer(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @ENTER_FUNC() #2
store i32 %0, ptr @bSuspendPrintRingBuffer, align 4, !tbaa !6
%3 = tail call i32 @LEAVE_FUNC() #2
ret void
}
declare i32 @ENTER_FUNC(...) local_unnamed_addr #1
declare i32 @LEAVE_FUNC(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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_rosapps_applications_sysutils_utils_pice_module_extr_hardware.c_SuspendPrintRingBuffer
|
; ModuleID = 'AnghaBench/kphp-kdb/bayes/extr_hash_table.c_htbl_get_memory.c'
source_filename = "AnghaBench/kphp-kdb/bayes/extr_hash_table.c_htbl_get_memory.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@htbl_allocated_cnt = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i64 @htbl_get_memory() local_unnamed_addr #0 {
%1 = load i32, ptr @htbl_allocated_cnt, align 4, !tbaa !5
%2 = sext i32 %1 to i64
%3 = shl nsw i64 %2, 2
ret i64 %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/kphp-kdb/bayes/extr_hash_table.c_htbl_get_memory.c'
source_filename = "AnghaBench/kphp-kdb/bayes/extr_hash_table.c_htbl_get_memory.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@htbl_allocated_cnt = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define range(i64 -8589934592, 8589934589) i64 @htbl_get_memory() local_unnamed_addr #0 {
%1 = load i32, ptr @htbl_allocated_cnt, align 4, !tbaa !6
%2 = sext i32 %1 to i64
%3 = shl nsw i64 %2, 2
ret i64 %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"}
|
kphp-kdb_bayes_extr_hash_table.c_htbl_get_memory
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/extr_core.c_mlx5_fpga_image_name.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/extr_core.c_mlx5_fpga_image_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"
@.str = private unnamed_addr constant [5 x i8] c"user\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"factory\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5_fpga_image_name], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef nonnull ptr @mlx5_fpga_image_name(i32 noundef %0) #0 {
%2 = icmp eq i32 %0, 129
%3 = select i1 %2, ptr @.str.1, ptr @.str.2
%4 = icmp eq i32 %0, 128
%5 = select i1 %4, ptr @.str, ptr %3
ret ptr %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/extr_core.c_mlx5_fpga_image_name.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/extr_core.c_mlx5_fpga_image_name.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"user\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"factory\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mlx5_fpga_image_name], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef nonnull ptr @mlx5_fpga_image_name(i32 noundef %0) #0 {
%2 = icmp eq i32 %0, 129
%3 = select i1 %2, ptr @.str.1, ptr @.str.2
%4 = icmp eq i32 %0, 128
%5 = select i1 %4, ptr @.str, ptr %3
ret ptr %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_net_ethernet_mellanox_mlx5_core_fpga_extr_core.c_mlx5_fpga_image_name
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4acl.c_init_state.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4acl.c_init_state.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.posix_acl_state = type { i32, ptr, ptr }
@GFP_KERNEL = 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 @init_state], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @init_state(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 24) #2
store i32 1, ptr %0, align 8, !tbaa !5
%4 = shl i32 %1, 2
%5 = add i32 %4, 4
%6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11
%7 = tail call ptr @kzalloc(i32 noundef %5, i32 noundef %6) #2
%8 = getelementptr inbounds %struct.posix_acl_state, ptr %0, i64 0, i32 1
store ptr %7, ptr %8, align 8, !tbaa !12
%9 = icmp eq ptr %7, null
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%12 = sub nsw i32 0, %11
br label %23
13: ; preds = %2
%14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11
%15 = tail call ptr @kzalloc(i32 noundef %5, i32 noundef %14) #2
%16 = getelementptr inbounds %struct.posix_acl_state, ptr %0, i64 0, i32 2
store ptr %15, ptr %16, align 8, !tbaa !13
%17 = icmp eq ptr %15, null
br i1 %17, label %18, label %23
18: ; preds = %13
%19 = load ptr, ptr %8, align 8, !tbaa !12
%20 = tail call i32 @kfree(ptr noundef %19) #2
%21 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%22 = sub nsw i32 0, %21
br label %23
23: ; preds = %13, %18, %10
%24 = phi i32 [ %22, %18 ], [ %12, %10 ], [ 0, %13 ]
ret i32 %24
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"posix_acl_state", !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 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !10, i64 16}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4acl.c_init_state.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4acl.c_init_state.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @init_state], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @init_state(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 24) #2
store i32 1, ptr %0, align 8, !tbaa !6
%4 = shl i32 %1, 2
%5 = add i32 %4, 4
%6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%7 = tail call ptr @kzalloc(i32 noundef %5, i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %7, ptr %8, align 8, !tbaa !13
%9 = icmp eq ptr %7, null
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%12 = sub nsw i32 0, %11
br label %23
13: ; preds = %2
%14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%15 = tail call ptr @kzalloc(i32 noundef %5, i32 noundef %14) #2
%16 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %15, ptr %16, align 8, !tbaa !14
%17 = icmp eq ptr %15, null
br i1 %17, label %18, label %23
18: ; preds = %13
%19 = load ptr, ptr %8, align 8, !tbaa !13
%20 = tail call i32 @kfree(ptr noundef %19) #2
%21 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%22 = sub nsw i32 0, %21
br label %23
23: ; preds = %13, %18, %10
%24 = phi i32 [ %22, %18 ], [ %12, %10 ], [ 0, %13 ]
ret i32 %24
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"posix_acl_state", !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 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !11, i64 16}
|
fastsocket_kernel_fs_nfsd_extr_nfs4acl.c_init_state
|
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_dt2811.c_dt2811_ai_cmd.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_dt2811.c_dt2811_ai_cmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.comedi_device = type { i64, ptr }
%struct.comedi_cmd = type { i64, i64, ptr }
@TRIG_NOW = dso_local local_unnamed_addr global i64 0, align 8
@TRIG_TIMER = dso_local local_unnamed_addr global i64 0, align 8
@DT2811_ADCSR_INTENB = dso_local local_unnamed_addr global i32 0, align 4
@DT2811_ADCSR_REG = dso_local local_unnamed_addr global i64 0, align 8
@DT2811_TMRCTR_REG = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @dt2811_ai_cmd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @dt2811_ai_cmd(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.comedi_device, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %1, align 8, !tbaa !11
%6 = load i64, ptr %5, align 8, !tbaa !13
%7 = load i64, ptr @TRIG_NOW, align 8, !tbaa !15
%8 = icmp eq i64 %6, %7
br i1 %8, label %15, label %9
9: ; preds = %2
%10 = getelementptr inbounds %struct.comedi_cmd, ptr %5, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !16
%12 = load i64, ptr @TRIG_TIMER, align 8, !tbaa !15
%13 = icmp eq i64 %11, %12
%14 = select i1 %13, i32 2, i32 3
br label %15
15: ; preds = %9, %2
%16 = phi i32 [ 1, %2 ], [ %14, %9 ]
%17 = tail call i32 @DT2811_ADCSR_ADMODE(i32 noundef %16) #2
%18 = load i32, ptr @DT2811_ADCSR_INTENB, align 4, !tbaa !17
%19 = or i32 %18, %17
%20 = load i64, ptr %0, align 8, !tbaa !19
%21 = load i64, ptr @DT2811_ADCSR_REG, align 8, !tbaa !15
%22 = add nsw i64 %21, %20
%23 = tail call i32 @outb(i32 noundef %19, i64 noundef %22) #2
%24 = load i32, ptr %4, align 4, !tbaa !20
%25 = load i64, ptr %0, align 8, !tbaa !19
%26 = load i64, ptr @DT2811_TMRCTR_REG, align 8, !tbaa !15
%27 = add nsw i64 %26, %25
%28 = tail call i32 @outb(i32 noundef %24, i64 noundef %27) #2
%29 = getelementptr inbounds %struct.comedi_cmd, ptr %5, i64 0, i32 2
%30 = load ptr, ptr %29, align 8, !tbaa !22
%31 = load i32, ptr %30, align 4, !tbaa !17
%32 = tail call i32 @dt2811_ai_set_chanspec(ptr noundef nonnull %0, i32 noundef %31) #2
ret i32 0
}
declare i32 @DT2811_ADCSR_ADMODE(i32 noundef) local_unnamed_addr #1
declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dt2811_ai_set_chanspec(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 = !{!"comedi_device", !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, !10, i64 0}
!12 = !{!"comedi_subdevice", !10, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"comedi_cmd", !7, i64 0, !7, i64 8, !10, i64 16}
!15 = !{!7, !7, i64 0}
!16 = !{!14, !7, i64 8}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !8, i64 0}
!19 = !{!6, !7, i64 0}
!20 = !{!21, !18, i64 0}
!21 = !{!"dt2811_private", !18, i64 0}
!22 = !{!14, !10, i64 16}
|
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_dt2811.c_dt2811_ai_cmd.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_dt2811.c_dt2811_ai_cmd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRIG_NOW = common local_unnamed_addr global i64 0, align 8
@TRIG_TIMER = common local_unnamed_addr global i64 0, align 8
@DT2811_ADCSR_INTENB = common local_unnamed_addr global i32 0, align 4
@DT2811_ADCSR_REG = common local_unnamed_addr global i64 0, align 8
@DT2811_TMRCTR_REG = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @dt2811_ai_cmd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @dt2811_ai_cmd(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %1, align 8, !tbaa !12
%6 = load i64, ptr %5, align 8, !tbaa !14
%7 = load i64, ptr @TRIG_NOW, align 8, !tbaa !16
%8 = icmp eq i64 %6, %7
br i1 %8, label %15, label %9
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %5, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !17
%12 = load i64, ptr @TRIG_TIMER, align 8, !tbaa !16
%13 = icmp eq i64 %11, %12
%14 = select i1 %13, i32 2, i32 3
br label %15
15: ; preds = %9, %2
%16 = phi i32 [ 1, %2 ], [ %14, %9 ]
%17 = tail call i32 @DT2811_ADCSR_ADMODE(i32 noundef %16) #2
%18 = load i32, ptr @DT2811_ADCSR_INTENB, align 4, !tbaa !18
%19 = or i32 %18, %17
%20 = load i64, ptr %0, align 8, !tbaa !20
%21 = load i64, ptr @DT2811_ADCSR_REG, align 8, !tbaa !16
%22 = add nsw i64 %21, %20
%23 = tail call i32 @outb(i32 noundef %19, i64 noundef %22) #2
%24 = load i32, ptr %4, align 4, !tbaa !21
%25 = load i64, ptr %0, align 8, !tbaa !20
%26 = load i64, ptr @DT2811_TMRCTR_REG, align 8, !tbaa !16
%27 = add nsw i64 %26, %25
%28 = tail call i32 @outb(i32 noundef %24, i64 noundef %27) #2
%29 = getelementptr inbounds i8, ptr %5, i64 16
%30 = load ptr, ptr %29, align 8, !tbaa !23
%31 = load i32, ptr %30, align 4, !tbaa !18
%32 = tail call i32 @dt2811_ai_set_chanspec(ptr noundef nonnull %0, i32 noundef %31) #2
ret i32 0
}
declare i32 @DT2811_ADCSR_ADMODE(i32 noundef) local_unnamed_addr #1
declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dt2811_ai_set_chanspec(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 = !{!"comedi_device", !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, !11, i64 0}
!13 = !{!"comedi_subdevice", !11, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"comedi_cmd", !8, i64 0, !8, i64 8, !11, i64 16}
!16 = !{!8, !8, i64 0}
!17 = !{!15, !8, i64 8}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !9, i64 0}
!20 = !{!7, !8, i64 0}
!21 = !{!22, !19, i64 0}
!22 = !{!"dt2811_private", !19, i64 0}
!23 = !{!15, !11, i64 16}
|
linux_drivers_staging_comedi_drivers_extr_dt2811.c_dt2811_ai_cmd
|
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_bpf.c_cls_bpf_dump_bpf_info.c'
source_filename = "AnghaBench/linux/net/sched/extr_cls_bpf.c_cls_bpf_dump_bpf_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.cls_bpf_prog = type { i32, i32 }
@TCA_BPF_OPS_LEN = dso_local local_unnamed_addr global i32 0, align 4
@EMSGSIZE = dso_local local_unnamed_addr global i32 0, align 4
@TCA_BPF_OPS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cls_bpf_dump_bpf_info], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cls_bpf_dump_bpf_info(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr @TCA_BPF_OPS_LEN, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !9
%5 = tail call i64 @nla_put_u16(ptr noundef %1, i32 noundef %3, i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = load i32, ptr @EMSGSIZE, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %25
10: ; preds = %2
%11 = load i32, ptr @TCA_BPF_OPS, align 4, !tbaa !5
%12 = load i32, ptr %0, align 4, !tbaa !9
%13 = shl i32 %12, 2
%14 = tail call ptr @nla_reserve(ptr noundef %1, i32 noundef %11, i32 noundef %13) #2
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = load i32, ptr @EMSGSIZE, align 4, !tbaa !5
%18 = sub nsw i32 0, %17
br label %25
19: ; preds = %10
%20 = tail call i32 @nla_data(ptr noundef nonnull %14) #2
%21 = getelementptr inbounds %struct.cls_bpf_prog, ptr %0, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !11
%23 = tail call i32 @nla_len(ptr noundef nonnull %14) #2
%24 = tail call i32 @memcpy(i32 noundef %20, i32 noundef %22, i32 noundef %23) #2
br label %25
25: ; preds = %19, %16, %7
%26 = phi i32 [ %9, %7 ], [ %18, %16 ], [ 0, %19 ]
ret i32 %26
}
declare i64 @nla_put_u16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @nla_reserve(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nla_data(ptr noundef) local_unnamed_addr #1
declare i32 @nla_len(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 = !{!"cls_bpf_prog", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
|
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_bpf.c_cls_bpf_dump_bpf_info.c'
source_filename = "AnghaBench/linux/net/sched/extr_cls_bpf.c_cls_bpf_dump_bpf_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TCA_BPF_OPS_LEN = common local_unnamed_addr global i32 0, align 4
@EMSGSIZE = common local_unnamed_addr global i32 0, align 4
@TCA_BPF_OPS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cls_bpf_dump_bpf_info], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @cls_bpf_dump_bpf_info(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr @TCA_BPF_OPS_LEN, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = tail call i64 @nla_put_u16(ptr noundef %1, i32 noundef %3, i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = load i32, ptr @EMSGSIZE, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %25
10: ; preds = %2
%11 = load i32, ptr @TCA_BPF_OPS, align 4, !tbaa !6
%12 = load i32, ptr %0, align 4, !tbaa !10
%13 = shl i32 %12, 2
%14 = tail call ptr @nla_reserve(ptr noundef %1, i32 noundef %11, i32 noundef %13) #2
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = load i32, ptr @EMSGSIZE, align 4, !tbaa !6
%18 = sub nsw i32 0, %17
br label %25
19: ; preds = %10
%20 = tail call i32 @nla_data(ptr noundef nonnull %14) #2
%21 = getelementptr inbounds i8, ptr %0, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !12
%23 = tail call i32 @nla_len(ptr noundef nonnull %14) #2
%24 = tail call i32 @memcpy(i32 noundef %20, i32 noundef %22, i32 noundef %23) #2
br label %25
25: ; preds = %19, %16, %7
%26 = phi i32 [ %9, %7 ], [ %18, %16 ], [ 0, %19 ]
ret i32 %26
}
declare i64 @nla_put_u16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @nla_reserve(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nla_data(ptr noundef) local_unnamed_addr #1
declare i32 @nla_len(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 = !{!"cls_bpf_prog", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 4}
|
linux_net_sched_extr_cls_bpf.c_cls_bpf_dump_bpf_info
|
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_ccall.c_ccall_struct_ret.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_ccall.c_ccall_struct_ret.c"
target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr }
%struct.TYPE_4__ = type { ptr }
@CCALL_RCL_INT = dso_local local_unnamed_addr global i32 0, align 4
@CCALL_RCL_SSE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ccall_struct_ret], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ccall_struct_ret(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca [2 x i32], align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = load i32, ptr @CCALL_RCL_INT, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%8 = load i32, ptr @CCALL_RCL_SSE, align 4
%9 = load i32, ptr %1, align 4, !tbaa !5
%10 = and i32 %6, %9
%11 = icmp eq i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %4
%13 = load ptr, ptr %7, align 8, !tbaa !9
%14 = load i32, ptr %13, align 4, !tbaa !5
store i32 %14, ptr %5, align 4, !tbaa !5
br label %22
15: ; preds = %4
%16 = and i32 %8, %9
%17 = icmp eq i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %15
%19 = load ptr, ptr %0, align 8, !tbaa !12
%20 = load ptr, ptr %19, align 8, !tbaa !13
%21 = load i32, ptr %20, align 4, !tbaa !5
store i32 %21, ptr %5, align 4, !tbaa !5
br label %22
22: ; preds = %12, %18, %15
%23 = phi i64 [ 1, %12 ], [ 0, %18 ], [ 0, %15 ]
%24 = phi i64 [ 0, %12 ], [ 1, %18 ], [ 0, %15 ]
%25 = getelementptr inbounds i32, ptr %1, i64 1
%26 = load i32, ptr %25, align 4, !tbaa !5
%27 = and i32 %6, %26
%28 = icmp eq i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %22
%30 = load ptr, ptr %7, align 8, !tbaa !9
%31 = getelementptr inbounds i32, ptr %30, i64 %23
br label %39
32: ; preds = %22
%33 = and i32 %8, %26
%34 = icmp eq i32 %33, 0
br i1 %34, label %43, label %35
35: ; preds = %32
%36 = load ptr, ptr %0, align 8, !tbaa !12
%37 = getelementptr inbounds %struct.TYPE_4__, ptr %36, i64 %24
%38 = load ptr, ptr %37, align 8, !tbaa !13
br label %39
39: ; preds = %29, %35
%40 = phi ptr [ %38, %35 ], [ %31, %29 ]
%41 = load i32, ptr %40, align 4, !tbaa !5
%42 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
store i32 %41, ptr %42, align 4, !tbaa !5
br label %43
43: ; preds = %39, %32
%44 = call i32 @memcpy(ptr noundef %2, ptr noundef nonnull %5, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #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 @memcpy(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, !11, i64 8}
!10 = !{!"TYPE_5__", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_4__", !11, i64 0}
|
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_ccall.c_ccall_struct_ret.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_ccall.c_ccall_struct_ret.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 { ptr }
@CCALL_RCL_INT = common local_unnamed_addr global i32 0, align 4
@CCALL_RCL_SSE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ccall_struct_ret], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ccall_struct_ret(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca [2 x i32], align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = load i32, ptr @CCALL_RCL_INT, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i32, ptr @CCALL_RCL_SSE, align 4
%9 = load i32, ptr %1, align 4, !tbaa !6
%10 = and i32 %6, %9
%11 = icmp eq i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %4
%13 = load ptr, ptr %7, align 8, !tbaa !10
%14 = load i32, ptr %13, align 4, !tbaa !6
store i32 %14, ptr %5, align 4, !tbaa !6
br label %22
15: ; preds = %4
%16 = and i32 %8, %9
%17 = icmp eq i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %15
%19 = load ptr, ptr %0, align 8, !tbaa !13
%20 = load ptr, ptr %19, align 8, !tbaa !14
%21 = load i32, ptr %20, align 4, !tbaa !6
store i32 %21, ptr %5, align 4, !tbaa !6
br label %22
22: ; preds = %12, %18, %15
%23 = phi i64 [ 1, %12 ], [ 0, %18 ], [ 0, %15 ]
%24 = phi i64 [ 0, %12 ], [ 1, %18 ], [ 0, %15 ]
%25 = getelementptr inbounds i8, ptr %1, i64 4
%26 = load i32, ptr %25, align 4, !tbaa !6
%27 = and i32 %6, %26
%28 = icmp eq i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %22
%30 = load ptr, ptr %7, align 8, !tbaa !10
%31 = getelementptr inbounds i32, ptr %30, i64 %23
br label %39
32: ; preds = %22
%33 = and i32 %8, %26
%34 = icmp eq i32 %33, 0
br i1 %34, label %43, label %35
35: ; preds = %32
%36 = load ptr, ptr %0, align 8, !tbaa !13
%37 = getelementptr inbounds %struct.TYPE_4__, ptr %36, i64 %24
%38 = load ptr, ptr %37, align 8, !tbaa !14
br label %39
39: ; preds = %29, %35
%40 = phi ptr [ %38, %35 ], [ %31, %29 ]
%41 = load i32, ptr %40, align 4, !tbaa !6
%42 = getelementptr inbounds i8, ptr %5, i64 4
store i32 %41, ptr %42, align 4, !tbaa !6
br label %43
43: ; preds = %39, %32
%44 = call i32 @memcpy(ptr noundef %2, ptr noundef nonnull %5, i32 noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #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 @memcpy(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, !12, i64 8}
!11 = !{!"TYPE_5__", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_4__", !12, i64 0}
|
xLua_build_luajit-2.1.0b2_src_extr_lj_ccall.c_ccall_struct_ret
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_mdec.c_mdec_decode_block_intra.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mdec.c_mdec_decode_block_intra.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { ptr }
%struct.TYPE_8__ = type { ptr, i32, i32, ptr, ptr, i32, i32, i32, i32, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { ptr }
@ff_rl_mpeg1 = dso_local local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8
@AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4
@re = dso_local local_unnamed_addr global i32 0, align 4
@TEX_VLC_BITS = dso_local local_unnamed_addr global i32 0, align 4
@AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mdec_decode_block_intra], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @mdec_decode_block_intra(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = icmp eq i32 %5, 2
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 5
%9 = tail call i32 @get_sbits(ptr noundef nonnull %8, i32 noundef 10) #2
%10 = shl nsw i32 %9, 1
%11 = add nsw i32 %10, 1024
br label %27
12: ; preds = %3
%13 = icmp slt i32 %2, 4
%14 = add nsw i32 %2, -3
%15 = select i1 %13, i32 0, i32 %14
%16 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 5
%17 = tail call i32 @decode_dc(ptr noundef nonnull %16, i32 noundef %15) #2
%18 = icmp sgt i32 %17, 65534
br i1 %18, label %39, label %19
19: ; preds = %12
%20 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3
%21 = load ptr, ptr %20, align 8, !tbaa !12
%22 = zext nneg i32 %15 to i64
%23 = getelementptr inbounds i32, ptr %21, i64 %22
%24 = load i32, ptr %23, align 4, !tbaa !13
%25 = add nsw i32 %24, %17
store i32 %25, ptr %23, align 4, !tbaa !13
%26 = shl nsw i32 %25, 3
br label %27
27: ; preds = %7, %19
%28 = phi i32 [ %26, %19 ], [ %11, %7 ]
store i32 %28, ptr %1, align 4, !tbaa !13
%29 = load i32, ptr @re, align 4, !tbaa !13
%30 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 5
%31 = tail call i32 @OPEN_READER(i32 noundef %29, ptr noundef nonnull %30) #2
%32 = load i32, ptr @re, align 4, !tbaa !13
%33 = tail call i32 @UPDATE_CACHE(i32 noundef %32, ptr noundef nonnull %30) #2
%34 = load i32, ptr @re, align 4, !tbaa !13
%35 = load ptr, ptr @ff_rl_mpeg1, align 8, !tbaa !14
%36 = load i32, ptr %35, align 4, !tbaa !13
%37 = load i32, ptr @TEX_VLC_BITS, align 4, !tbaa !13
%38 = tail call i32 @GET_RL_VLC(i32 noundef undef, i32 noundef undef, i32 noundef %34, ptr noundef nonnull %30, i32 noundef %36, i32 noundef %37, i32 noundef 2, i32 noundef 0) #2
unreachable
39: ; preds = %12
%40 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !13
ret i32 %40
}
declare i32 @get_sbits(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @decode_dc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OPEN_READER(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @UPDATE_CACHE(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @GET_RL_VLC(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 12}
!6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !11, i64 48}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"TYPE_6__", !7, i64 0}
!12 = !{!6, !7, i64 16}
!13 = !{!10, !10, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_7__", !7, i64 0}
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_mdec.c_mdec_decode_block_intra.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mdec.c_mdec_decode_block_intra.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_7__ = type { ptr }
@ff_rl_mpeg1 = common local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8
@AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4
@re = common local_unnamed_addr global i32 0, align 4
@TEX_VLC_BITS = common local_unnamed_addr global i32 0, align 4
@AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mdec_decode_block_intra], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @mdec_decode_block_intra(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 12
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = icmp eq i32 %5, 2
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %0, i64 32
%9 = tail call i32 @get_sbits(ptr noundef nonnull %8, i32 noundef 10) #3
%10 = shl nsw i32 %9, 1
%11 = add nsw i32 %10, 1024
br label %27
12: ; preds = %3
%13 = icmp slt i32 %2, 4
%14 = add nsw i32 %2, -3
%15 = select i1 %13, i32 0, i32 %14
%16 = getelementptr inbounds i8, ptr %0, i64 32
%17 = tail call i32 @decode_dc(ptr noundef nonnull %16, i32 noundef %15) #3
%18 = icmp sgt i32 %17, 65534
br i1 %18, label %30, label %19
19: ; preds = %12
%20 = getelementptr inbounds i8, ptr %0, i64 16
%21 = load ptr, ptr %20, align 8, !tbaa !13
%22 = zext nneg i32 %15 to i64
%23 = getelementptr inbounds i32, ptr %21, i64 %22
%24 = load i32, ptr %23, align 4, !tbaa !14
%25 = add nsw i32 %24, %17
store i32 %25, ptr %23, align 4, !tbaa !14
%26 = shl nsw i32 %25, 3
br label %27
27: ; preds = %7, %19
%28 = phi i32 [ %26, %19 ], [ %11, %7 ]
br label %29
29: ; preds = %27
call void @mdec_decode_block_intra.cold.1(i32 %28, ptr %1, ptr %0) #4
unreachable
30: ; preds = %12
%31 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !14
ret i32 %31
}
declare i32 @get_sbits(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @decode_dc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OPEN_READER(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @UPDATE_CACHE(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @GET_RL_VLC(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: cold inlinehint minsize noreturn nounwind ssp uwtable(sync)
define internal void @mdec_decode_block_intra.cold.1(i32 %0, ptr %1, ptr %2) #2 {
br label %4
4: ; preds = %3
store i32 %0, ptr %1, align 4, !tbaa !14
%5 = load i32, ptr @re, align 4, !tbaa !14
%6 = getelementptr inbounds i8, ptr %2, i64 32
%7 = tail call i32 @OPEN_READER(i32 noundef %5, ptr noundef nonnull %6) #3
%8 = load i32, ptr @re, align 4, !tbaa !14
%9 = tail call i32 @UPDATE_CACHE(i32 noundef %8, ptr noundef nonnull %6) #3
%10 = load i32, ptr @re, align 4, !tbaa !14
%11 = load ptr, ptr @ff_rl_mpeg1, align 8, !tbaa !15
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = load i32, ptr @TEX_VLC_BITS, align 4, !tbaa !14
%14 = tail call i32 @GET_RL_VLC(i32 noundef undef, i32 noundef undef, i32 noundef %10, ptr noundef nonnull %6, i32 noundef %12, i32 noundef %13, i32 noundef 2, i32 noundef 0) #3
unreachable
}
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 = { cold inlinehint minsize noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noinline }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 12}
!7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16, !8, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !12, i64 48}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"TYPE_6__", !8, i64 0}
!13 = !{!7, !8, i64 16}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_7__", !8, i64 0}
|
FFmpeg_libavcodec_extr_mdec.c_mdec_decode_block_intra
|
; ModuleID = 'AnghaBench/RetroArch/libretro-common/gfx/scaler/extr_scaler_filter.c_validate_filter.c'
source_filename = "AnghaBench/RetroArch/libretro-common/gfx/scaler/extr_scaler_filter.c_validate_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.scaler_ctx = type { i32, i32, i32, i32, %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i32, ptr }
%struct.TYPE_3__ = type { i32, ptr }
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Out X = %d => In X = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Out Y = %d => In Y = %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @validate_filter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @validate_filter(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.scaler_ctx, ptr %0, i64 0, i32 5
%4 = load i32, ptr %3, align 8, !tbaa !13
%5 = sub nsw i32 %2, %4
%6 = getelementptr inbounds %struct.scaler_ctx, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !14
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %27
9: ; preds = %1
%10 = getelementptr inbounds %struct.scaler_ctx, ptr %0, i64 0, i32 5, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !15
%12 = zext nneg i32 %7 to i64
br label %13
13: ; preds = %9, %24
%14 = phi i64 [ 0, %9 ], [ %25, %24 ]
%15 = getelementptr inbounds i32, ptr %11, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !16
%17 = icmp sgt i32 %16, %5
%18 = icmp slt i32 %16, 0
%19 = or i1 %17, %18
br i1 %19, label %20, label %24
20: ; preds = %13
%21 = trunc i64 %14 to i32
%22 = load i32, ptr @stderr, align 4, !tbaa !16
%23 = tail call i32 @fprintf(i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %21, i32 noundef %16) #2
br label %54
24: ; preds = %13
%25 = add nuw nsw i64 %14, 1
%26 = icmp eq i64 %25, %12
br i1 %26, label %27, label %13, !llvm.loop !17
27: ; preds = %24, %1
%28 = getelementptr inbounds %struct.scaler_ctx, ptr %0, i64 0, i32 2
%29 = load i32, ptr %28, align 8, !tbaa !19
%30 = getelementptr inbounds %struct.scaler_ctx, ptr %0, i64 0, i32 4
%31 = load i32, ptr %30, align 8, !tbaa !20
%32 = sub nsw i32 %29, %31
%33 = getelementptr inbounds %struct.scaler_ctx, ptr %0, i64 0, i32 3
%34 = load i32, ptr %33, align 4, !tbaa !21
%35 = icmp sgt i32 %34, 0
br i1 %35, label %36, label %54
36: ; preds = %27
%37 = getelementptr inbounds %struct.scaler_ctx, ptr %0, i64 0, i32 4, i32 1
%38 = load ptr, ptr %37, align 8, !tbaa !22
%39 = zext nneg i32 %34 to i64
br label %40
40: ; preds = %36, %51
%41 = phi i64 [ 0, %36 ], [ %52, %51 ]
%42 = getelementptr inbounds i32, ptr %38, i64 %41
%43 = load i32, ptr %42, align 4, !tbaa !16
%44 = icmp sgt i32 %43, %32
%45 = icmp slt i32 %43, 0
%46 = or i1 %44, %45
br i1 %46, label %47, label %51
47: ; preds = %40
%48 = trunc i64 %41 to i32
%49 = load i32, ptr @stderr, align 4, !tbaa !16
%50 = tail call i32 @fprintf(i32 noundef %49, ptr noundef nonnull @.str.1, i32 noundef %48, i32 noundef %43) #2
br label %54
51: ; preds = %40
%52 = add nuw nsw i64 %41, 1
%53 = icmp eq i64 %52, %39
br i1 %53, label %54, label %40, !llvm.loop !23
54: ; preds = %51, %27, %47, %20
%55 = phi i32 [ 0, %20 ], [ 0, %47 ], [ 1, %27 ], [ 1, %51 ]
ret i32 %55
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"scaler_ctx", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !12, i64 32}
!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 = !{!"any pointer", !8, i64 0}
!12 = !{!"TYPE_3__", !7, i64 0, !11, i64 8}
!13 = !{!6, !7, i64 32}
!14 = !{!6, !7, i64 4}
!15 = !{!6, !11, i64 40}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!6, !7, i64 8}
!20 = !{!6, !7, i64 16}
!21 = !{!6, !7, i64 12}
!22 = !{!6, !11, i64 24}
!23 = distinct !{!23, !18}
|
; ModuleID = 'AnghaBench/RetroArch/libretro-common/gfx/scaler/extr_scaler_filter.c_validate_filter.c'
source_filename = "AnghaBench/RetroArch/libretro-common/gfx/scaler/extr_scaler_filter.c_validate_filter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Out X = %d => In X = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Out Y = %d => In Y = %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @validate_filter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @validate_filter(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = load i32, ptr %3, align 8, !tbaa !14
%5 = sub nsw i32 %2, %4
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !15
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %27
9: ; preds = %1
%10 = getelementptr inbounds i8, ptr %0, i64 40
%11 = load ptr, ptr %10, align 8, !tbaa !16
%12 = zext nneg i32 %7 to i64
br label %13
13: ; preds = %9, %24
%14 = phi i64 [ 0, %9 ], [ %25, %24 ]
%15 = getelementptr inbounds i32, ptr %11, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !17
%17 = icmp sgt i32 %16, %5
%18 = icmp slt i32 %16, 0
%19 = or i1 %17, %18
br i1 %19, label %20, label %24
20: ; preds = %13
%21 = trunc nuw nsw i64 %14 to i32
%22 = load i32, ptr @stderr, align 4, !tbaa !17
%23 = tail call i32 @fprintf(i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %21, i32 noundef %16) #2
br label %54
24: ; preds = %13
%25 = add nuw nsw i64 %14, 1
%26 = icmp eq i64 %25, %12
br i1 %26, label %27, label %13, !llvm.loop !18
27: ; preds = %24, %1
%28 = getelementptr inbounds i8, ptr %0, i64 8
%29 = load i32, ptr %28, align 8, !tbaa !20
%30 = getelementptr inbounds i8, ptr %0, i64 16
%31 = load i32, ptr %30, align 8, !tbaa !21
%32 = sub nsw i32 %29, %31
%33 = getelementptr inbounds i8, ptr %0, i64 12
%34 = load i32, ptr %33, align 4, !tbaa !22
%35 = icmp sgt i32 %34, 0
br i1 %35, label %36, label %54
36: ; preds = %27
%37 = getelementptr inbounds i8, ptr %0, i64 24
%38 = load ptr, ptr %37, align 8, !tbaa !23
%39 = zext nneg i32 %34 to i64
br label %40
40: ; preds = %36, %51
%41 = phi i64 [ 0, %36 ], [ %52, %51 ]
%42 = getelementptr inbounds i32, ptr %38, i64 %41
%43 = load i32, ptr %42, align 4, !tbaa !17
%44 = icmp sgt i32 %43, %32
%45 = icmp slt i32 %43, 0
%46 = or i1 %44, %45
br i1 %46, label %47, label %51
47: ; preds = %40
%48 = trunc nuw nsw i64 %41 to i32
%49 = load i32, ptr @stderr, align 4, !tbaa !17
%50 = tail call i32 @fprintf(i32 noundef %49, ptr noundef nonnull @.str.1, i32 noundef %48, i32 noundef %43) #2
br label %54
51: ; preds = %40
%52 = add nuw nsw i64 %41, 1
%53 = icmp eq i64 %52, %39
br i1 %53, label %54, label %40, !llvm.loop !24
54: ; preds = %51, %27, %47, %20
%55 = phi i32 [ 0, %20 ], [ 0, %47 ], [ 1, %27 ], [ 1, %51 ]
ret i32 %55
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"scaler_ctx", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16, !13, i64 32}
!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 = !{!"any pointer", !9, i64 0}
!13 = !{!"TYPE_3__", !8, i64 0, !12, i64 8}
!14 = !{!7, !8, i64 32}
!15 = !{!7, !8, i64 4}
!16 = !{!7, !12, i64 40}
!17 = !{!8, !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!7, !8, i64 8}
!21 = !{!7, !8, i64 16}
!22 = !{!7, !8, i64 12}
!23 = !{!7, !12, i64 24}
!24 = distinct !{!24, !19}
|
RetroArch_libretro-common_gfx_scaler_extr_scaler_filter.c_validate_filter
|
; ModuleID = 'AnghaBench/freebsd/sys/netinet/tcp_stacks/extr_bbr.c_bbr_log_type_enter_rec.c'
source_filename = "AnghaBench/freebsd/sys/netinet/tcp_stacks/extr_bbr.c_bbr_log_type_enter_rec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%union.tcp_log_stackspecific = type { %struct.TYPE_9__ }
%struct.TYPE_9__ = type { i32, i32, i32 }
%struct.tcp_bbr = type { i32, ptr, ptr, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32, i32, i32 }
%struct.TYPE_7__ = type { i32, i32 }
@TCP_LOG_STATE_OFF = dso_local local_unnamed_addr global i64 0, align 8
@BBR_LOG_ENTREC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bbr_log_type_enter_rec], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bbr_log_type_enter_rec(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %union.tcp_log_stackspecific, align 8
%4 = getelementptr inbounds %struct.tcp_bbr, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = load i64, ptr @TCP_LOG_STATE_OFF, align 8, !tbaa !15
%8 = icmp eq i64 %6, %7
br i1 %8, label %23, label %9
9: ; preds = %2
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3
%10 = getelementptr inbounds %struct.tcp_bbr, ptr %0, i64 0, i32 3
%11 = getelementptr inbounds %struct.tcp_bbr, ptr %0, i64 0, i32 3, i32 2
%12 = load i32, ptr %11, align 8, !tbaa !16
%13 = call i32 @bbr_fill_in_logging_data(ptr noundef nonnull %0, ptr noundef nonnull %3, i32 noundef %12) #3
%14 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 2
store i32 %1, ptr %14, align 8, !tbaa !17
%15 = load <2 x i32>, ptr %10, align 8, !tbaa !18
store <2 x i32> %15, ptr %3, align 8, !tbaa !17
%16 = load ptr, ptr %4, align 8, !tbaa !5
%17 = getelementptr inbounds %struct.tcp_bbr, ptr %0, i64 0, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !19
%19 = load ptr, ptr %18, align 8, !tbaa !20
%20 = getelementptr inbounds %struct.TYPE_7__, ptr %19, i64 0, i32 1
%21 = load i32, ptr @BBR_LOG_ENTREC, align 4, !tbaa !18
%22 = call i32 @TCP_LOG_EVENTP(ptr noundef %16, ptr noundef null, ptr noundef nonnull %20, ptr noundef %19, i32 noundef %21, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 0, ptr noundef nonnull %0) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3
br label %23
23: ; preds = %9, %2
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 @bbr_fill_in_logging_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @TCP_LOG_EVENTP(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"tcp_bbr", !7, i64 0, !10, i64 8, !10, i64 16, !11, 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 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_10__", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!6, !7, i64 32}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!6, !10, i64 8}
!20 = !{!21, !10, i64 0}
!21 = !{!"TYPE_8__", !10, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/netinet/tcp_stacks/extr_bbr.c_bbr_log_type_enter_rec.c'
source_filename = "AnghaBench/freebsd/sys/netinet/tcp_stacks/extr_bbr.c_bbr_log_type_enter_rec.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%union.tcp_log_stackspecific = type { %struct.TYPE_9__ }
%struct.TYPE_9__ = type { i32, i32, i32 }
@TCP_LOG_STATE_OFF = common local_unnamed_addr global i64 0, align 8
@BBR_LOG_ENTREC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bbr_log_type_enter_rec], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bbr_log_type_enter_rec(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %union.tcp_log_stackspecific, align 8
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i64, ptr %5, align 8, !tbaa !13
%7 = load i64, ptr @TCP_LOG_STATE_OFF, align 8, !tbaa !16
%8 = icmp eq i64 %6, %7
br i1 %8, label %23, label %9
9: ; preds = %2
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3
%10 = getelementptr inbounds i8, ptr %0, i64 24
%11 = getelementptr inbounds i8, ptr %0, i64 32
%12 = load i32, ptr %11, align 8, !tbaa !17
%13 = call i32 @bbr_fill_in_logging_data(ptr noundef nonnull %0, ptr noundef nonnull %3, i32 noundef %12) #3
%14 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %1, ptr %14, align 8, !tbaa !18
%15 = load <2 x i32>, ptr %10, align 8, !tbaa !19
store <2 x i32> %15, ptr %3, align 8, !tbaa !18
%16 = load ptr, ptr %4, align 8, !tbaa !6
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !20
%19 = load ptr, ptr %18, align 8, !tbaa !21
%20 = getelementptr inbounds i8, ptr %19, i64 4
%21 = load i32, ptr @BBR_LOG_ENTREC, align 4, !tbaa !19
%22 = call i32 @TCP_LOG_EVENTP(ptr noundef %16, ptr noundef null, ptr noundef nonnull %20, ptr noundef %19, i32 noundef %21, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 0, ptr noundef nonnull %0) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3
br label %23
23: ; preds = %9, %2
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 @bbr_fill_in_logging_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @TCP_LOG_EVENTP(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"tcp_bbr", !8, i64 0, !11, i64 8, !11, i64 16, !12, 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 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !8, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_10__", !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!7, !8, i64 32}
!18 = !{!9, !9, i64 0}
!19 = !{!8, !8, i64 0}
!20 = !{!7, !11, i64 8}
!21 = !{!22, !11, i64 0}
!22 = !{!"TYPE_8__", !11, i64 0}
|
freebsd_sys_netinet_tcp_stacks_extr_bbr.c_bbr_log_type_enter_rec
|
; ModuleID = 'AnghaBench/freebsd/usr.sbin/fdwrite/extr_fdwrite.c_main.c'
source_filename = "AnghaBench/freebsd/usr.sbin/fdwrite/extr_fdwrite.c_main.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.fd_type = type { i32, i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [9 x i8] c"/dev/fd0\00", align 1
@stdout = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"d:f:vy\00", align 1
@optarg = dso_local local_unnamed_addr global ptr null, align 8
@O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@optind = dso_local local_unnamed_addr global i32 0, align 4
@_PATH_TTY = dso_local local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [3 x i8] c"r+\00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"Please insert floppy #%d in drive %s and press return >\00", align 1
@O_RDWR = dso_local local_unnamed_addr global i32 0, align 4
@FD_GTYPE = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [22 x i8] c"not a floppy disk: %s\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"malloc\00", align 1
@.str.7 = private unnamed_addr constant [61 x i8] c"Format: %d cylinders, %d heads, %d sectors, %d bytes = %dkb\0A\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"\0D%3d \00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"compare\00", align 1
@.str.13 = private unnamed_addr constant [24 x i8] c"%d bytes on %d flopp%s\0A\00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c"y\00", align 1
@.str.15 = private unnamed_addr constant [4 x i8] c"ies\00", align 1
; Function Attrs: noreturn nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.fd_type, align 4
call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %3) #6
%4 = load ptr, ptr @stdout, align 8, !tbaa !5
%5 = tail call i32 @setbuf(ptr noundef %4, i32 noundef 0) #6
br label %6
6: ; preds = %37, %2
%7 = phi i32 [ %38, %37 ], [ 1, %2 ]
%8 = phi i32 [ %12, %37 ], [ 1, %2 ]
%9 = phi ptr [ %16, %37 ], [ @.str, %2 ]
%10 = phi i32 [ %19, %37 ], [ -1, %2 ]
br label %11
11: ; preds = %20, %6
%12 = phi i32 [ %8, %6 ], [ 0, %20 ]
%13 = phi ptr [ %9, %6 ], [ %16, %20 ]
%14 = phi i32 [ %10, %6 ], [ %19, %20 ]
br label %15
15: ; preds = %11, %22
%16 = phi ptr [ %13, %11 ], [ %23, %22 ]
%17 = phi i32 [ %14, %11 ], [ %19, %22 ]
br label %18
18: ; preds = %36, %15
%19 = phi i32 [ %17, %15 ], [ %31, %36 ]
br label %20
20: ; preds = %18, %39
%21 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.1) #6
switch i32 %21, label %39 [
i32 -1, label %41
i32 100, label %22
i32 102, label %24
i32 118, label %37
i32 121, label %11
], !llvm.loop !9
22: ; preds = %20
%23 = load ptr, ptr @optarg, align 8, !tbaa !5
br label %15, !llvm.loop !9
24: ; preds = %20
%25 = icmp sgt i32 %19, -1
br i1 %25, label %26, label %28
26: ; preds = %24
%27 = tail call i32 @close(i32 noundef %19) #6
br label %28
28: ; preds = %26, %24
%29 = load ptr, ptr @optarg, align 8, !tbaa !5
%30 = load i32, ptr @O_RDONLY, align 4, !tbaa !11
%31 = tail call i32 @open(ptr noundef %29, i32 noundef %30) #6
%32 = icmp slt i32 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %28
%34 = load ptr, ptr @optarg, align 8, !tbaa !5
%35 = tail call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.2, ptr noundef %34) #6
br label %36
36: ; preds = %33, %28
br label %18, !llvm.loop !9
37: ; preds = %20
%38 = xor i32 %7, 1
br label %6, !llvm.loop !9
39: ; preds = %20
%40 = tail call i32 (...) @usage() #6
br label %20, !llvm.loop !9
41: ; preds = %20
%42 = tail call i32 @llvm.smax.i32(i32 %19, i32 0)
%43 = tail call i32 @isatty(i32 noundef 1) #6
%44 = icmp eq i32 %43, 0
%45 = load i32, ptr @optind, align 4, !tbaa !11
%46 = icmp slt i32 %45, %0
br i1 %46, label %47, label %49
47: ; preds = %41
%48 = tail call i32 (...) @usage() #6
br label %49
49: ; preds = %47, %41
%50 = load ptr, ptr @_PATH_TTY, align 8, !tbaa !5
%51 = tail call ptr @fopen(ptr noundef %50, ptr noundef nonnull @.str.3)
%52 = icmp eq ptr %51, null
br i1 %52, label %53, label %56
53: ; preds = %49
%54 = load ptr, ptr @_PATH_TTY, align 8, !tbaa !5
%55 = tail call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef %54) #6
br label %56
56: ; preds = %53, %49
%57 = tail call i32 @setbuf(ptr noundef %51, i32 noundef 0) #6
%58 = icmp eq i32 %12, 0
%59 = select i1 %44, i1 true, i1 %58
%60 = getelementptr inbounds %struct.fd_type, ptr %3, i64 0, i32 1
%61 = icmp eq i32 %7, 0
%62 = getelementptr inbounds %struct.fd_type, ptr %3, i64 0, i32 2
%63 = getelementptr inbounds %struct.fd_type, ptr %3, i64 0, i32 3
%64 = getelementptr inbounds %struct.fd_type, ptr %3, i64 0, i32 6
%65 = getelementptr inbounds %struct.fd_type, ptr %3, i64 0, i32 5
%66 = getelementptr inbounds %struct.fd_type, ptr %3, i64 0, i32 4
br label %67
67: ; preds = %56, %256
%68 = phi i32 [ %42, %56 ], [ %259, %256 ]
%69 = phi ptr [ null, %56 ], [ %112, %256 ]
%70 = phi ptr [ null, %56 ], [ %104, %256 ]
%71 = phi i32 [ 0, %56 ], [ %258, %256 ]
%72 = phi i32 [ 0, %56 ], [ %74, %256 ]
%73 = phi i32 [ 1, %56 ], [ %257, %256 ]
%74 = add nuw nsw i32 %72, 1
br i1 %59, label %80, label %75
75: ; preds = %67
%76 = call i32 @fprintf(ptr noundef %51, ptr noundef nonnull @.str.4, i32 noundef %74, ptr noundef %16) #6
br label %77
77: ; preds = %77, %75
%78 = call i32 @getc(ptr noundef %51)
%79 = icmp eq i32 %78, 10
br i1 %79, label %80, label %77
80: ; preds = %77, %67
%81 = load i32, ptr @O_RDWR, align 4, !tbaa !11
%82 = call i32 @open(ptr noundef %16, i32 noundef %81) #6
%83 = icmp slt i32 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %80
%85 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.2, ptr noundef %16) #6
br label %86
86: ; preds = %84, %80
%87 = load i32, ptr @FD_GTYPE, align 4, !tbaa !11
%88 = call i64 @ioctl(i32 noundef %82, i32 noundef %87, ptr noundef nonnull %3) #6
%89 = icmp slt i64 %88, 0
br i1 %89, label %90, label %92
90: ; preds = %86
%91 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.5, ptr noundef %16) #6
br label %92
92: ; preds = %90, %86
%93 = load i32, ptr %3, align 4, !tbaa !13
%94 = load i32, ptr %60, align 4, !tbaa !15
%95 = shl i32 %93, %94
%96 = shl nsw i32 %95, 7
%97 = icmp eq ptr %70, null
br i1 %97, label %98, label %103
98: ; preds = %92
%99 = call ptr @malloc(i32 noundef %96) #6
%100 = icmp eq ptr %99, null
br i1 %100, label %101, label %103
101: ; preds = %98
%102 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.6) #6
br label %103
103: ; preds = %98, %101, %92
%104 = phi ptr [ %70, %92 ], [ %99, %98 ], [ null, %101 ]
%105 = icmp eq ptr %69, null
br i1 %105, label %106, label %111
106: ; preds = %103
%107 = call ptr @malloc(i32 noundef %96) #6
%108 = icmp eq ptr %107, null
br i1 %108, label %109, label %111
109: ; preds = %106
%110 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.6) #6
br label %111
111: ; preds = %106, %109, %103
%112 = phi ptr [ %69, %103 ], [ %107, %106 ], [ null, %109 ]
%113 = icmp eq i32 %72, 0
br i1 %113, label %114, label %144
114: ; preds = %111
br i1 %61, label %125, label %115
115: ; preds = %114
%116 = load i32, ptr %62, align 4, !tbaa !16
%117 = load i32, ptr %63, align 4, !tbaa !17
%118 = load i32, ptr %3, align 4, !tbaa !13
%119 = load i32, ptr %60, align 4, !tbaa !15
%120 = shl i32 128, %119
%121 = mul nsw i32 %116, %96
%122 = mul nsw i32 %121, %117
%123 = sdiv i32 %122, 1024
%124 = call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %116, i32 noundef %117, i32 noundef %118, i32 noundef %120, i32 noundef %123)
br label %125
125: ; preds = %115, %114
%126 = call i32 @memset(ptr noundef %104, i32 noundef 0, i32 noundef %96) #6
%127 = icmp sgt i32 %68, -1
%128 = icmp sgt i32 %95, 0
%129 = select i1 %127, i1 %128, i1 false
br i1 %129, label %130, label %144
130: ; preds = %125, %140
%131 = phi i32 [ %141, %140 ], [ %71, %125 ]
%132 = phi i32 [ %142, %140 ], [ 0, %125 ]
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i8, ptr %104, i64 %133
%135 = sub nsw i32 %96, %132
%136 = call i32 @read(i32 noundef %68, ptr noundef %134, i32 noundef %135) #6
%137 = icmp eq i32 %136, 0
br i1 %137, label %138, label %140
138: ; preds = %130
%139 = call i32 @close(i32 noundef %68) #6
br label %144
140: ; preds = %130
%141 = add nsw i32 %136, %131
%142 = add nsw i32 %136, %132
%143 = icmp slt i32 %142, %96
br i1 %143, label %130, label %144, !llvm.loop !18
144: ; preds = %140, %125, %138, %111
%145 = phi i32 [ %132, %138 ], [ %73, %111 ], [ 0, %125 ], [ %142, %140 ]
%146 = phi i32 [ %131, %138 ], [ %71, %111 ], [ %71, %125 ], [ %141, %140 ]
%147 = phi i32 [ -1, %138 ], [ %68, %111 ], [ %68, %125 ], [ %68, %140 ]
%148 = load i32, ptr %62, align 4, !tbaa !16
%149 = load i32, ptr %63, align 4, !tbaa !17
%150 = mul nsw i32 %149, %148
%151 = icmp sgt i32 %150, 0
br i1 %151, label %152, label %256
152: ; preds = %144
%153 = sext i32 %96 to i64
%154 = icmp sgt i32 %95, 0
br label %155
155: ; preds = %152, %246
%156 = phi i32 [ %149, %152 ], [ %252, %246 ]
%157 = phi i64 [ 0, %152 ], [ %250, %246 ]
%158 = phi i32 [ %150, %152 ], [ %253, %246 ]
%159 = phi i32 [ %147, %152 ], [ %249, %246 ]
%160 = phi i32 [ %146, %152 ], [ %248, %246 ]
%161 = phi i32 [ %145, %152 ], [ %247, %246 ]
%162 = trunc i64 %157 to i32
br i1 %61, label %181, label %163
163: ; preds = %155
%164 = sub nsw i32 %158, %162
%165 = call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %164)
%166 = icmp eq i32 %161, 0
%167 = select i1 %166, i8 90, i8 73
%168 = load ptr, ptr @stdout, align 8, !tbaa !5
%169 = call i32 @putc(i8 noundef signext %167, ptr noundef %168) #6
%170 = load i32, ptr %63, align 4, !tbaa !17
%171 = sdiv i32 %162, %170
%172 = load i32, ptr %3, align 4, !tbaa !13
%173 = srem i32 %162, %170
%174 = load i32, ptr %64, align 4, !tbaa !19
%175 = load i32, ptr %65, align 4, !tbaa !20
%176 = load i32, ptr %60, align 4, !tbaa !15
%177 = load i32, ptr %66, align 4, !tbaa !21
%178 = call i32 @format_track(i32 noundef %82, i32 noundef %171, i32 noundef %172, i32 noundef %173, i32 noundef %174, i32 noundef %175, i32 noundef %176, i32 noundef 230, i32 noundef %177) #6
%179 = load ptr, ptr @stdout, align 8, !tbaa !5
%180 = call i32 @putc(i8 noundef signext 70, ptr noundef %179) #6
br label %190
181: ; preds = %155
%182 = sdiv i32 %162, %156
%183 = load i32, ptr %3, align 4, !tbaa !13
%184 = srem i32 %162, %156
%185 = load i32, ptr %64, align 4, !tbaa !19
%186 = load i32, ptr %65, align 4, !tbaa !20
%187 = load i32, ptr %60, align 4, !tbaa !15
%188 = load i32, ptr %66, align 4, !tbaa !21
%189 = call i32 @format_track(i32 noundef %82, i32 noundef %182, i32 noundef %183, i32 noundef %184, i32 noundef %185, i32 noundef %186, i32 noundef %187, i32 noundef 230, i32 noundef %188) #6
br label %190
190: ; preds = %181, %163
%191 = mul nsw i64 %157, %153
%192 = call i64 @lseek(i32 noundef %82, i64 noundef %191, i32 noundef 0) #6
%193 = icmp slt i64 %192, 0
br i1 %193, label %194, label %196
194: ; preds = %190
%195 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.9) #6
br label %196
196: ; preds = %194, %190
%197 = call i32 @write(i32 noundef %82, ptr noundef %104, i32 noundef %96) #6
%198 = icmp eq i32 %197, %96
br i1 %198, label %201, label %199
199: ; preds = %196
%200 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.10) #6
br label %201
201: ; preds = %199, %196
br i1 %61, label %205, label %202
202: ; preds = %201
%203 = load ptr, ptr @stdout, align 8, !tbaa !5
%204 = call i32 @putc(i8 noundef signext 87, ptr noundef %203) #6
br label %205
205: ; preds = %202, %201
%206 = call i64 @lseek(i32 noundef %82, i64 noundef %191, i32 noundef 0) #6
%207 = icmp slt i64 %206, 0
br i1 %207, label %208, label %210
208: ; preds = %205
%209 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.9) #6
br label %210
210: ; preds = %208, %205
%211 = call i32 @read(i32 noundef %82, ptr noundef %112, i32 noundef %96) #6
%212 = icmp eq i32 %211, %96
br i1 %212, label %215, label %213
213: ; preds = %210
%214 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.11) #6
br label %215
215: ; preds = %213, %210
br i1 %61, label %219, label %216
216: ; preds = %215
%217 = load ptr, ptr @stdout, align 8, !tbaa !5
%218 = call i32 @putc(i8 noundef signext 82, ptr noundef %217) #6
br label %219
219: ; preds = %216, %215
%220 = call i64 @memcmp(ptr noundef %104, ptr noundef %112, i32 noundef %96) #6
%221 = icmp eq i64 %220, 0
br i1 %221, label %224, label %222
222: ; preds = %219
%223 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.12) #6
br label %224
224: ; preds = %222, %219
br i1 %61, label %228, label %225
225: ; preds = %224
%226 = load ptr, ptr @stdout, align 8, !tbaa !5
%227 = call i32 @putc(i8 noundef signext 67, ptr noundef %226) #6
br label %228
228: ; preds = %225, %224
%229 = call i32 @memset(ptr noundef %104, i32 noundef 0, i32 noundef %96) #6
%230 = icmp sgt i32 %159, -1
%231 = select i1 %230, i1 %154, i1 false
br i1 %231, label %232, label %246
232: ; preds = %228, %242
%233 = phi i32 [ %243, %242 ], [ %160, %228 ]
%234 = phi i32 [ %244, %242 ], [ 0, %228 ]
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds i8, ptr %104, i64 %235
%237 = sub nsw i32 %96, %234
%238 = call i32 @read(i32 noundef %159, ptr noundef %236, i32 noundef %237) #6
%239 = icmp eq i32 %238, 0
br i1 %239, label %240, label %242
240: ; preds = %232
%241 = call i32 @close(i32 noundef %159) #6
br label %246
242: ; preds = %232
%243 = add nsw i32 %238, %233
%244 = add nsw i32 %238, %234
%245 = icmp slt i32 %244, %96
br i1 %245, label %232, label %246, !llvm.loop !22
246: ; preds = %242, %228, %240
%247 = phi i32 [ %234, %240 ], [ 0, %228 ], [ %244, %242 ]
%248 = phi i32 [ %233, %240 ], [ %160, %228 ], [ %243, %242 ]
%249 = phi i32 [ -1, %240 ], [ %159, %228 ], [ %159, %242 ]
%250 = add nuw nsw i64 %157, 1
%251 = load i32, ptr %62, align 4, !tbaa !16
%252 = load i32, ptr %63, align 4, !tbaa !17
%253 = mul nsw i32 %252, %251
%254 = sext i32 %253 to i64
%255 = icmp slt i64 %250, %254
br i1 %255, label %155, label %256, !llvm.loop !23
256: ; preds = %246, %144
%257 = phi i32 [ %145, %144 ], [ %247, %246 ]
%258 = phi i32 [ %146, %144 ], [ %248, %246 ]
%259 = phi i32 [ %147, %144 ], [ %249, %246 ]
%260 = call i32 @close(i32 noundef %82) #6
%261 = load ptr, ptr @stdout, align 8, !tbaa !5
%262 = call i32 @putc(i8 noundef signext 13, ptr noundef %261) #6
%263 = icmp sgt i32 %257, 0
br i1 %263, label %67, label %264, !llvm.loop !24
264: ; preds = %256
br i1 %61, label %268, label %265
265: ; preds = %264
%266 = select i1 %113, ptr @.str.14, ptr @.str.15
%267 = call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %258, i32 noundef %74, ptr noundef nonnull %266)
br label %268
268: ; preds = %265, %264
%269 = call i32 @exit(i32 noundef 0) #7
unreachable
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @setbuf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @err(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @usage(...) local_unnamed_addr #2
declare i32 @isatty(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @getc(ptr nocapture noundef) local_unnamed_addr #3
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @errx(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @malloc(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #3
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @putc(i8 noundef signext, ptr noundef) local_unnamed_addr #2
declare i32 @format_track(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @lseek(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #4
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #5
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"fd_type", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24}
!15 = !{!14, !12, i64 4}
!16 = !{!14, !12, i64 8}
!17 = !{!14, !12, i64 12}
!18 = distinct !{!18, !10}
!19 = !{!14, !12, i64 24}
!20 = !{!14, !12, i64 20}
!21 = !{!14, !12, i64 16}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
|
; ModuleID = 'AnghaBench/freebsd/usr.sbin/fdwrite/extr_fdwrite.c_main.c'
source_filename = "AnghaBench/freebsd/usr.sbin/fdwrite/extr_fdwrite.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.fd_type = type { i32, i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [9 x i8] c"/dev/fd0\00", align 1
@stdout = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"d:f:vy\00", align 1
@optarg = common local_unnamed_addr global ptr null, align 8
@O_RDONLY = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@optind = common local_unnamed_addr global i32 0, align 4
@_PATH_TTY = common local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [3 x i8] c"r+\00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"Please insert floppy #%d in drive %s and press return >\00", align 1
@O_RDWR = common local_unnamed_addr global i32 0, align 4
@FD_GTYPE = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [22 x i8] c"not a floppy disk: %s\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"malloc\00", align 1
@.str.7 = private unnamed_addr constant [61 x i8] c"Format: %d cylinders, %d heads, %d sectors, %d bytes = %dkb\0A\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"\0D%3d \00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"compare\00", align 1
@.str.13 = private unnamed_addr constant [24 x i8] c"%d bytes on %d flopp%s\0A\00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c"y\00", align 1
@.str.15 = private unnamed_addr constant [4 x i8] c"ies\00", align 1
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.fd_type, align 4
call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %3) #6
%4 = load ptr, ptr @stdout, align 8, !tbaa !6
%5 = tail call i32 @setbuf(ptr noundef %4, i32 noundef 0) #6
br label %6
6: ; preds = %37, %2
%7 = phi i32 [ %38, %37 ], [ 1, %2 ]
%8 = phi i32 [ %12, %37 ], [ 1, %2 ]
%9 = phi ptr [ %16, %37 ], [ @.str, %2 ]
%10 = phi i32 [ %19, %37 ], [ -1, %2 ]
br label %11
11: ; preds = %20, %6
%12 = phi i32 [ %8, %6 ], [ 0, %20 ]
%13 = phi ptr [ %9, %6 ], [ %16, %20 ]
%14 = phi i32 [ %10, %6 ], [ %19, %20 ]
br label %15
15: ; preds = %11, %22
%16 = phi ptr [ %13, %11 ], [ %23, %22 ]
%17 = phi i32 [ %14, %11 ], [ %19, %22 ]
br label %18
18: ; preds = %36, %15
%19 = phi i32 [ %17, %15 ], [ %31, %36 ]
br label %20
20: ; preds = %18, %39
%21 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.1) #6
switch i32 %21, label %39 [
i32 -1, label %41
i32 100, label %22
i32 102, label %24
i32 118, label %37
i32 121, label %11
], !llvm.loop !10
22: ; preds = %20
%23 = load ptr, ptr @optarg, align 8, !tbaa !6
br label %15, !llvm.loop !10
24: ; preds = %20
%25 = icmp sgt i32 %19, -1
br i1 %25, label %26, label %28
26: ; preds = %24
%27 = tail call i32 @close(i32 noundef %19) #6
br label %28
28: ; preds = %26, %24
%29 = load ptr, ptr @optarg, align 8, !tbaa !6
%30 = load i32, ptr @O_RDONLY, align 4, !tbaa !12
%31 = tail call i32 @open(ptr noundef %29, i32 noundef %30) #6
%32 = icmp slt i32 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %28
%34 = load ptr, ptr @optarg, align 8, !tbaa !6
%35 = tail call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.2, ptr noundef %34) #6
br label %36
36: ; preds = %33, %28
br label %18, !llvm.loop !10
37: ; preds = %20
%38 = xor i32 %7, 1
br label %6, !llvm.loop !10
39: ; preds = %20
%40 = tail call i32 @usage() #6
br label %20, !llvm.loop !10
41: ; preds = %20
%42 = tail call i32 @llvm.smax.i32(i32 %19, i32 0)
%43 = tail call i32 @isatty(i32 noundef 1) #6
%44 = icmp eq i32 %43, 0
%45 = load i32, ptr @optind, align 4, !tbaa !12
%46 = icmp slt i32 %45, %0
br i1 %46, label %47, label %49
47: ; preds = %41
%48 = tail call i32 @usage() #6
br label %49
49: ; preds = %47, %41
%50 = load ptr, ptr @_PATH_TTY, align 8, !tbaa !6
%51 = tail call ptr @fopen(ptr noundef %50, ptr noundef nonnull @.str.3)
%52 = icmp eq ptr %51, null
br i1 %52, label %53, label %56
53: ; preds = %49
%54 = load ptr, ptr @_PATH_TTY, align 8, !tbaa !6
%55 = tail call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef %54) #6
br label %56
56: ; preds = %53, %49
%57 = tail call i32 @setbuf(ptr noundef %51, i32 noundef 0) #6
%58 = icmp eq i32 %12, 0
%59 = select i1 %44, i1 true, i1 %58
%60 = getelementptr inbounds i8, ptr %3, i64 4
%61 = icmp eq i32 %7, 0
%62 = getelementptr inbounds i8, ptr %3, i64 8
%63 = getelementptr inbounds i8, ptr %3, i64 12
%64 = getelementptr inbounds i8, ptr %3, i64 24
%65 = getelementptr inbounds i8, ptr %3, i64 20
%66 = getelementptr inbounds i8, ptr %3, i64 16
br label %67
67: ; preds = %56, %262
%68 = phi i32 [ %42, %56 ], [ %265, %262 ]
%69 = phi ptr [ null, %56 ], [ %112, %262 ]
%70 = phi ptr [ null, %56 ], [ %104, %262 ]
%71 = phi i32 [ 0, %56 ], [ %264, %262 ]
%72 = phi i32 [ 0, %56 ], [ %74, %262 ]
%73 = phi i32 [ 1, %56 ], [ %263, %262 ]
%74 = add nuw nsw i32 %72, 1
br i1 %59, label %80, label %75
75: ; preds = %67
%76 = call i32 @fprintf(ptr noundef %51, ptr noundef nonnull @.str.4, i32 noundef %74, ptr noundef %16) #6
br label %77
77: ; preds = %77, %75
%78 = call i32 @getc(ptr noundef %51)
%79 = icmp eq i32 %78, 10
br i1 %79, label %80, label %77
80: ; preds = %77, %67
%81 = load i32, ptr @O_RDWR, align 4, !tbaa !12
%82 = call i32 @open(ptr noundef %16, i32 noundef %81) #6
%83 = icmp slt i32 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %80
%85 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.2, ptr noundef %16) #6
br label %86
86: ; preds = %84, %80
%87 = load i32, ptr @FD_GTYPE, align 4, !tbaa !12
%88 = call i64 @ioctl(i32 noundef %82, i32 noundef %87, ptr noundef nonnull %3) #6
%89 = icmp slt i64 %88, 0
br i1 %89, label %90, label %92
90: ; preds = %86
%91 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.5, ptr noundef %16) #6
br label %92
92: ; preds = %90, %86
%93 = load i32, ptr %3, align 4, !tbaa !14
%94 = load i32, ptr %60, align 4, !tbaa !16
%95 = shl i32 %93, %94
%96 = shl nsw i32 %95, 7
%97 = icmp eq ptr %70, null
br i1 %97, label %98, label %103
98: ; preds = %92
%99 = call ptr @malloc(i32 noundef %96) #6
%100 = icmp eq ptr %99, null
br i1 %100, label %101, label %103
101: ; preds = %98
%102 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.6) #6
br label %103
103: ; preds = %98, %101, %92
%104 = phi ptr [ %70, %92 ], [ %99, %98 ], [ null, %101 ]
%105 = icmp eq ptr %69, null
br i1 %105, label %106, label %111
106: ; preds = %103
%107 = call ptr @malloc(i32 noundef %96) #6
%108 = icmp eq ptr %107, null
br i1 %108, label %109, label %111
109: ; preds = %106
%110 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.6) #6
br label %111
111: ; preds = %106, %109, %103
%112 = phi ptr [ %69, %103 ], [ %107, %106 ], [ null, %109 ]
%113 = icmp eq i32 %72, 0
br i1 %113, label %114, label %144
114: ; preds = %111
br i1 %61, label %125, label %115
115: ; preds = %114
%116 = load i32, ptr %62, align 4, !tbaa !17
%117 = load i32, ptr %63, align 4, !tbaa !18
%118 = load i32, ptr %3, align 4, !tbaa !14
%119 = load i32, ptr %60, align 4, !tbaa !16
%120 = shl i32 128, %119
%121 = mul nsw i32 %116, %96
%122 = mul nsw i32 %121, %117
%123 = sdiv i32 %122, 1024
%124 = call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %116, i32 noundef %117, i32 noundef %118, i32 noundef %120, i32 noundef %123)
br label %125
125: ; preds = %115, %114
%126 = call i32 @memset(ptr noundef %104, i32 noundef 0, i32 noundef %96) #6
%127 = icmp sgt i32 %68, -1
%128 = icmp sgt i32 %95, 0
%129 = select i1 %127, i1 %128, i1 false
br i1 %129, label %130, label %144
130: ; preds = %125, %140
%131 = phi i32 [ %141, %140 ], [ %71, %125 ]
%132 = phi i32 [ %142, %140 ], [ 0, %125 ]
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i8, ptr %104, i64 %133
%135 = sub nsw i32 %96, %132
%136 = call i32 @read(i32 noundef %68, ptr noundef %134, i32 noundef %135) #6
%137 = icmp eq i32 %136, 0
br i1 %137, label %138, label %140
138: ; preds = %130
%139 = call i32 @close(i32 noundef %68) #6
br label %144
140: ; preds = %130
%141 = add nsw i32 %136, %131
%142 = add nsw i32 %136, %132
%143 = icmp slt i32 %142, %96
br i1 %143, label %130, label %144, !llvm.loop !19
144: ; preds = %140, %125, %138, %111
%145 = phi i32 [ %132, %138 ], [ %73, %111 ], [ 0, %125 ], [ %142, %140 ]
%146 = phi i32 [ %131, %138 ], [ %71, %111 ], [ %71, %125 ], [ %141, %140 ]
%147 = phi i32 [ -1, %138 ], [ %68, %111 ], [ %68, %125 ], [ %68, %140 ]
%148 = load i32, ptr %62, align 4, !tbaa !17
%149 = load i32, ptr %63, align 4, !tbaa !18
%150 = mul nsw i32 %149, %148
%151 = icmp sgt i32 %150, 0
br i1 %151, label %152, label %262
152: ; preds = %144
%153 = sext i32 %96 to i64
%154 = icmp sgt i32 %95, 0
br label %155
155: ; preds = %152, %252
%156 = phi i32 [ %149, %152 ], [ %258, %252 ]
%157 = phi i64 [ 0, %152 ], [ %256, %252 ]
%158 = phi i32 [ %150, %152 ], [ %259, %252 ]
%159 = phi i32 [ %147, %152 ], [ %255, %252 ]
%160 = phi i32 [ %146, %152 ], [ %254, %252 ]
%161 = phi i32 [ %145, %152 ], [ %253, %252 ]
%162 = trunc nuw nsw i64 %157 to i32
br i1 %61, label %184, label %163
163: ; preds = %155
%164 = sub nsw i32 %158, %162
%165 = call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %164)
%166 = icmp eq i32 %161, 0
%167 = select i1 %166, i8 90, i8 73
%168 = load ptr, ptr @stdout, align 8, !tbaa !6
%169 = call i32 @putc(i8 noundef signext %167, ptr noundef %168) #6
%170 = load i32, ptr %63, align 4, !tbaa !18
%171 = freeze i32 %162
%172 = freeze i32 %170
%173 = sdiv i32 %171, %172
%174 = load i32, ptr %3, align 4, !tbaa !14
%175 = mul i32 %173, %172
%176 = sub i32 %171, %175
%177 = load i32, ptr %64, align 4, !tbaa !20
%178 = load i32, ptr %65, align 4, !tbaa !21
%179 = load i32, ptr %60, align 4, !tbaa !16
%180 = load i32, ptr %66, align 4, !tbaa !22
%181 = call i32 @format_track(i32 noundef %82, i32 noundef %173, i32 noundef %174, i32 noundef %176, i32 noundef %177, i32 noundef %178, i32 noundef %179, i32 noundef 230, i32 noundef %180) #6
%182 = load ptr, ptr @stdout, align 8, !tbaa !6
%183 = call i32 @putc(i8 noundef signext 70, ptr noundef %182) #6
br label %196
184: ; preds = %155
%185 = freeze i32 %162
%186 = freeze i32 %156
%187 = sdiv i32 %185, %186
%188 = load i32, ptr %3, align 4, !tbaa !14
%189 = mul i32 %187, %186
%190 = sub i32 %185, %189
%191 = load i32, ptr %64, align 4, !tbaa !20
%192 = load i32, ptr %65, align 4, !tbaa !21
%193 = load i32, ptr %60, align 4, !tbaa !16
%194 = load i32, ptr %66, align 4, !tbaa !22
%195 = call i32 @format_track(i32 noundef %82, i32 noundef %187, i32 noundef %188, i32 noundef %190, i32 noundef %191, i32 noundef %192, i32 noundef %193, i32 noundef 230, i32 noundef %194) #6
br label %196
196: ; preds = %184, %163
%197 = mul nsw i64 %157, %153
%198 = call i64 @lseek(i32 noundef %82, i64 noundef %197, i32 noundef 0) #6
%199 = icmp slt i64 %198, 0
br i1 %199, label %200, label %202
200: ; preds = %196
%201 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.9) #6
br label %202
202: ; preds = %200, %196
%203 = call i32 @write(i32 noundef %82, ptr noundef %104, i32 noundef %96) #6
%204 = icmp eq i32 %203, %96
br i1 %204, label %207, label %205
205: ; preds = %202
%206 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.10) #6
br label %207
207: ; preds = %205, %202
br i1 %61, label %211, label %208
208: ; preds = %207
%209 = load ptr, ptr @stdout, align 8, !tbaa !6
%210 = call i32 @putc(i8 noundef signext 87, ptr noundef %209) #6
br label %211
211: ; preds = %208, %207
%212 = call i64 @lseek(i32 noundef %82, i64 noundef %197, i32 noundef 0) #6
%213 = icmp slt i64 %212, 0
br i1 %213, label %214, label %216
214: ; preds = %211
%215 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.9) #6
br label %216
216: ; preds = %214, %211
%217 = call i32 @read(i32 noundef %82, ptr noundef %112, i32 noundef %96) #6
%218 = icmp eq i32 %217, %96
br i1 %218, label %221, label %219
219: ; preds = %216
%220 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.11) #6
br label %221
221: ; preds = %219, %216
br i1 %61, label %225, label %222
222: ; preds = %221
%223 = load ptr, ptr @stdout, align 8, !tbaa !6
%224 = call i32 @putc(i8 noundef signext 82, ptr noundef %223) #6
br label %225
225: ; preds = %222, %221
%226 = call i64 @memcmp(ptr noundef %104, ptr noundef %112, i32 noundef %96) #6
%227 = icmp eq i64 %226, 0
br i1 %227, label %230, label %228
228: ; preds = %225
%229 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.12) #6
br label %230
230: ; preds = %228, %225
br i1 %61, label %234, label %231
231: ; preds = %230
%232 = load ptr, ptr @stdout, align 8, !tbaa !6
%233 = call i32 @putc(i8 noundef signext 67, ptr noundef %232) #6
br label %234
234: ; preds = %231, %230
%235 = call i32 @memset(ptr noundef %104, i32 noundef 0, i32 noundef %96) #6
%236 = icmp sgt i32 %159, -1
%237 = select i1 %236, i1 %154, i1 false
br i1 %237, label %238, label %252
238: ; preds = %234, %248
%239 = phi i32 [ %249, %248 ], [ %160, %234 ]
%240 = phi i32 [ %250, %248 ], [ 0, %234 ]
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds i8, ptr %104, i64 %241
%243 = sub nsw i32 %96, %240
%244 = call i32 @read(i32 noundef %159, ptr noundef %242, i32 noundef %243) #6
%245 = icmp eq i32 %244, 0
br i1 %245, label %246, label %248
246: ; preds = %238
%247 = call i32 @close(i32 noundef %159) #6
br label %252
248: ; preds = %238
%249 = add nsw i32 %244, %239
%250 = add nsw i32 %244, %240
%251 = icmp slt i32 %250, %96
br i1 %251, label %238, label %252, !llvm.loop !23
252: ; preds = %248, %234, %246
%253 = phi i32 [ %240, %246 ], [ 0, %234 ], [ %250, %248 ]
%254 = phi i32 [ %239, %246 ], [ %160, %234 ], [ %249, %248 ]
%255 = phi i32 [ -1, %246 ], [ %159, %234 ], [ %159, %248 ]
%256 = add nuw nsw i64 %157, 1
%257 = load i32, ptr %62, align 4, !tbaa !17
%258 = load i32, ptr %63, align 4, !tbaa !18
%259 = mul nsw i32 %258, %257
%260 = sext i32 %259 to i64
%261 = icmp slt i64 %256, %260
br i1 %261, label %155, label %262, !llvm.loop !24
262: ; preds = %252, %144
%263 = phi i32 [ %145, %144 ], [ %253, %252 ]
%264 = phi i32 [ %146, %144 ], [ %254, %252 ]
%265 = phi i32 [ %147, %144 ], [ %255, %252 ]
%266 = call i32 @close(i32 noundef %82) #6
%267 = load ptr, ptr @stdout, align 8, !tbaa !6
%268 = call i32 @putc(i8 noundef signext 13, ptr noundef %267) #6
%269 = icmp sgt i32 %263, 0
br i1 %269, label %67, label %270, !llvm.loop !25
270: ; preds = %262
br i1 %61, label %274, label %271
271: ; preds = %270
%272 = select i1 %113, ptr @.str.14, ptr @.str.15
%273 = call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %264, i32 noundef %74, ptr noundef nonnull %272)
br label %274
274: ; preds = %271, %270
%275 = call i32 @exit(i32 noundef 0) #7
unreachable
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @setbuf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @err(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @usage(...) local_unnamed_addr #2
declare i32 @isatty(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @getc(ptr nocapture noundef) local_unnamed_addr #3
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @errx(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @malloc(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #3
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @putc(i8 noundef signext, ptr noundef) local_unnamed_addr #2
declare i32 @format_track(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @lseek(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #4
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #5
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { 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 = { 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 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"fd_type", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24}
!16 = !{!15, !13, i64 4}
!17 = !{!15, !13, i64 8}
!18 = !{!15, !13, i64 12}
!19 = distinct !{!19, !11}
!20 = !{!15, !13, i64 24}
!21 = !{!15, !13, i64 20}
!22 = !{!15, !13, i64 16}
!23 = distinct !{!23, !11}
!24 = distinct !{!24, !11}
!25 = distinct !{!25, !11}
|
freebsd_usr.sbin_fdwrite_extr_fdwrite.c_main
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_tda9875.c_tda9875_queryctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_tda9875.c_tda9875_queryctrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tda9875_queryctrl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tda9875_queryctrl(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
switch i32 %3, label %8 [
i32 128, label %4
i32 130, label %6
i32 129, label %6
]
4: ; preds = %2
%5 = tail call i32 @v4l2_ctrl_query_fill(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 65535, i32 noundef 655, i32 noundef 58880) #2
br label %11
6: ; preds = %2, %2
%7 = tail call i32 @v4l2_ctrl_query_fill(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 65535, i32 noundef 655, i32 noundef 32768) #2
br label %11
8: ; preds = %2
%9 = load i32, ptr @EINVAL, align 4, !tbaa !10
%10 = sub nsw i32 0, %9
br label %11
11: ; preds = %8, %6, %4
%12 = phi i32 [ %10, %8 ], [ %7, %6 ], [ %5, %4 ]
ret i32 %12
}
declare i32 @v4l2_ctrl_query_fill(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, !7, i64 0}
!6 = !{!"v4l2_queryctrl", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_tda9875.c_tda9875_queryctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_tda9875.c_tda9875_queryctrl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tda9875_queryctrl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @tda9875_queryctrl(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
switch i32 %3, label %8 [
i32 128, label %4
i32 130, label %6
i32 129, label %6
]
4: ; preds = %2
%5 = tail call i32 @v4l2_ctrl_query_fill(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 65535, i32 noundef 655, i32 noundef 58880) #2
br label %11
6: ; preds = %2, %2
%7 = tail call i32 @v4l2_ctrl_query_fill(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 65535, i32 noundef 655, i32 noundef 32768) #2
br label %11
8: ; preds = %2
%9 = load i32, ptr @EINVAL, align 4, !tbaa !11
%10 = sub nsw i32 0, %9
br label %11
11: ; preds = %8, %6, %4
%12 = phi i32 [ %10, %8 ], [ %7, %6 ], [ %5, %4 ]
ret i32 %12
}
declare i32 @v4l2_ctrl_query_fill(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, !8, i64 0}
!7 = !{!"v4l2_queryctrl", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
|
fastsocket_kernel_drivers_media_video_extr_tda9875.c_tda9875_queryctrl
|
; ModuleID = 'AnghaBench/obs-studio/deps/libcaption/src/extr_srt.c_srt_dump.c'
source_filename = "AnghaBench/obs-studio/deps/libcaption/src/extr_srt.c_srt_dump.c"
target datalayout = "e-m:e-p270:32:32-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, i64, ptr }
@.str = private unnamed_addr constant [54 x i8] c"%02d\0D\0A%d:%02d:%02d,%03d --> %02d:%02d:%02d,%03d\0D\0A%s\0D\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @srt_dump(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%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 = load ptr, ptr %0, align 8, !tbaa !5
%11 = icmp eq ptr %10, null
br i1 %11, label %36, label %12
12: ; preds = %1, %12
%13 = phi ptr [ %34, %12 ], [ %10, %1 ]
%14 = phi i32 [ %33, %12 ], [ 1, %1 ]
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 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
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %13, i64 0, i32 1
%16 = load i64, ptr %15, align 8, !tbaa !9
%17 = call i32 @vtt_crack_time(i64 noundef %16, ptr noundef nonnull %2, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %8) #3
%18 = load i64, ptr %15, align 8, !tbaa !9
%19 = load i64, ptr %13, align 8, !tbaa !12
%20 = add nsw i64 %19, %18
%21 = call i32 @vtt_crack_time(i64 noundef %20, ptr noundef nonnull %3, ptr noundef nonnull %5, ptr noundef nonnull %7, ptr noundef nonnull %9) #3
%22 = load i32, ptr %2, align 4, !tbaa !13
%23 = load i32, ptr %4, align 4, !tbaa !13
%24 = load i32, ptr %6, align 4, !tbaa !13
%25 = load i32, ptr %8, align 4, !tbaa !13
%26 = load i32, ptr %3, align 4, !tbaa !13
%27 = load i32, ptr %5, align 4, !tbaa !13
%28 = load i32, ptr %7, align 4, !tbaa !13
%29 = load i32, ptr %9, align 4, !tbaa !13
%30 = call ptr @vtt_block_data(ptr noundef nonnull %13) #3
%31 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %14, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef %30) #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
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
%32 = getelementptr inbounds %struct.TYPE_5__, ptr %13, i64 0, i32 2
%33 = add nuw nsw i32 %14, 1
%34 = load ptr, ptr %32, align 8, !tbaa !5
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %12, !llvm.loop !15
36: ; preds = %12, %1
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 @vtt_crack_time(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @vtt_block_data(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"TYPE_5__", !11, i64 0, !11, i64 8, !6, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/obs-studio/deps/libcaption/src/extr_srt.c_srt_dump.c'
source_filename = "AnghaBench/obs-studio/deps/libcaption/src/extr_srt.c_srt_dump.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 [54 x i8] c"%02d\0D\0A%d:%02d:%02d,%03d --> %02d:%02d:%02d,%03d\0D\0A%s\0D\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @srt_dump(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%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 = load ptr, ptr %0, align 8, !tbaa !6
%11 = icmp eq ptr %10, null
br i1 %11, label %36, label %12
12: ; preds = %1, %12
%13 = phi ptr [ %34, %12 ], [ %10, %1 ]
%14 = phi i32 [ %33, %12 ], [ 1, %1 ]
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 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
%15 = getelementptr inbounds i8, ptr %13, i64 8
%16 = load i64, ptr %15, align 8, !tbaa !10
%17 = call i32 @vtt_crack_time(i64 noundef %16, ptr noundef nonnull %2, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %8) #3
%18 = load i64, ptr %15, align 8, !tbaa !10
%19 = load i64, ptr %13, align 8, !tbaa !13
%20 = add nsw i64 %19, %18
%21 = call i32 @vtt_crack_time(i64 noundef %20, ptr noundef nonnull %3, ptr noundef nonnull %5, ptr noundef nonnull %7, ptr noundef nonnull %9) #3
%22 = load i32, ptr %2, align 4, !tbaa !14
%23 = load i32, ptr %4, align 4, !tbaa !14
%24 = load i32, ptr %6, align 4, !tbaa !14
%25 = load i32, ptr %8, align 4, !tbaa !14
%26 = load i32, ptr %3, align 4, !tbaa !14
%27 = load i32, ptr %5, align 4, !tbaa !14
%28 = load i32, ptr %7, align 4, !tbaa !14
%29 = load i32, ptr %9, align 4, !tbaa !14
%30 = call ptr @vtt_block_data(ptr noundef nonnull %13) #3
%31 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %14, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef %30) #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
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
%32 = getelementptr inbounds i8, ptr %13, i64 16
%33 = add nuw nsw i32 %14, 1
%34 = load ptr, ptr %32, align 8, !tbaa !6
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %12, !llvm.loop !16
36: ; preds = %12, %1
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 @vtt_crack_time(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @vtt_block_data(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_5__", !12, i64 0, !12, i64 8, !7, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
obs-studio_deps_libcaption_src_extr_srt.c_srt_dump
|
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_ge25519.c_cmov_aff.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/extr_ge25519.c_cmov_aff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @cmov_aff], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cmov_aff(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%6 = tail call i32 @fe25519_cmov(ptr noundef nonnull %4, ptr noundef nonnull %5, i8 noundef zeroext %2) #2
%7 = tail call i32 @fe25519_cmov(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) #2
ret void
}
declare i32 @fe25519_cmov(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_ge25519.c_cmov_aff.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/extr_ge25519.c_cmov_aff.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 @cmov_aff], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cmov_aff(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = getelementptr inbounds i8, ptr %1, i64 4
%6 = tail call i32 @fe25519_cmov(ptr noundef nonnull %4, ptr noundef nonnull %5, i8 noundef zeroext %2) #2
%7 = tail call i32 @fe25519_cmov(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) #2
ret void
}
declare i32 @fe25519_cmov(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
freebsd_crypto_openssh_extr_ge25519.c_cmov_aff
|
; ModuleID = 'AnghaBench/php-src/ext/intl/msgformat/extr_msgformat_class.c_MessageFormatter_object_create.c'
source_filename = "AnghaBench/php-src/ext/intl/msgformat/extr_msgformat_class.c_MessageFormatter_object_create.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { %struct.TYPE_7__, i32 }
%struct.TYPE_7__ = type { ptr }
@MessageFormatter_handlers = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @MessageFormatter_object_create(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @zend_object_alloc(i32 noundef 16, ptr noundef %0) #2
%3 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1
%4 = tail call i32 @msgformat_data_init(ptr noundef nonnull %3) #2
%5 = tail call i32 @zend_object_std_init(ptr noundef %2, ptr noundef %0) #2
%6 = tail call i32 @object_properties_init(ptr noundef %2, ptr noundef %0) #2
store ptr @MessageFormatter_handlers, ptr %2, align 8, !tbaa !5
ret ptr %2
}
declare ptr @zend_object_alloc(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @msgformat_data_init(ptr noundef) local_unnamed_addr #1
declare i32 @zend_object_std_init(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @object_properties_init(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_8__", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
|
; ModuleID = 'AnghaBench/php-src/ext/intl/msgformat/extr_msgformat_class.c_MessageFormatter_object_create.c'
source_filename = "AnghaBench/php-src/ext/intl/msgformat/extr_msgformat_class.c_MessageFormatter_object_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MessageFormatter_handlers = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @MessageFormatter_object_create(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @zend_object_alloc(i32 noundef 16, ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = tail call i32 @msgformat_data_init(ptr noundef nonnull %3) #2
%5 = tail call i32 @zend_object_std_init(ptr noundef %2, ptr noundef %0) #2
%6 = tail call i32 @object_properties_init(ptr noundef %2, ptr noundef %0) #2
store ptr @MessageFormatter_handlers, ptr %2, align 8, !tbaa !6
ret ptr %2
}
declare ptr @zend_object_alloc(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @msgformat_data_init(ptr noundef) local_unnamed_addr #1
declare i32 @zend_object_std_init(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @object_properties_init(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_8__", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_7__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
|
php-src_ext_intl_msgformat_extr_msgformat_class.c_MessageFormatter_object_create
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx4/mlx4_en/extr_mlx4_en_rx.c_mlx4_en_prepare_rx_desc.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx4/mlx4_en/extr_mlx4_en_rx.c_mlx4_en_prepare_rx_desc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mlx4_en_rx_ring = type { ptr, i64 }
%struct.mlx4_en_rx_desc = type { i32 }
%struct.mlx4_en_rx_mbuf = type { ptr }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx4_en_prepare_rx_desc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mlx4_en_prepare_rx_desc(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.mlx4_en_rx_ring, ptr %1, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = inttoptr i64 %5 to ptr
%7 = sext i32 %2 to i64
%8 = getelementptr inbounds %struct.mlx4_en_rx_desc, ptr %6, i64 %7
%9 = load ptr, ptr %1, align 8, !tbaa !11
%10 = getelementptr inbounds %struct.mlx4_en_rx_mbuf, ptr %9, i64 %7
store ptr null, ptr %10, align 8, !tbaa !12
%11 = tail call i64 @mlx4_en_alloc_buf(ptr noundef nonnull %1, ptr noundef %8, ptr noundef nonnull %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %3
%14 = load i32, ptr %0, align 4, !tbaa !14
%15 = add nsw i32 %14, 1
store i32 %15, ptr %0, align 4, !tbaa !14
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !18
%17 = sub nsw i32 0, %16
br label %18
18: ; preds = %3, %13
%19 = phi i32 [ %17, %13 ], [ 0, %3 ]
ret i32 %19
}
declare i64 @mlx4_en_alloc_buf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"mlx4_en_rx_ring", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"mlx4_en_rx_mbuf", !7, i64 0}
!14 = !{!15, !17, i64 0}
!15 = !{!"mlx4_en_priv", !16, i64 0}
!16 = !{!"TYPE_2__", !17, i64 0}
!17 = !{!"int", !8, i64 0}
!18 = !{!17, !17, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx4/mlx4_en/extr_mlx4_en_rx.c_mlx4_en_prepare_rx_desc.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx4/mlx4_en/extr_mlx4_en_rx.c_mlx4_en_prepare_rx_desc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mlx4_en_rx_desc = type { i32 }
%struct.mlx4_en_rx_mbuf = type { ptr }
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mlx4_en_prepare_rx_desc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @mlx4_en_prepare_rx_desc(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = inttoptr i64 %5 to ptr
%7 = sext i32 %2 to i64
%8 = getelementptr inbounds %struct.mlx4_en_rx_desc, ptr %6, i64 %7
%9 = load ptr, ptr %1, align 8, !tbaa !12
%10 = getelementptr inbounds %struct.mlx4_en_rx_mbuf, ptr %9, i64 %7
store ptr null, ptr %10, align 8, !tbaa !13
%11 = tail call i64 @mlx4_en_alloc_buf(ptr noundef nonnull %1, ptr noundef %8, ptr noundef nonnull %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %3
%14 = load i32, ptr %0, align 4, !tbaa !15
%15 = add nsw i32 %14, 1
store i32 %15, ptr %0, align 4, !tbaa !15
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !19
%17 = sub nsw i32 0, %16
br label %18
18: ; preds = %3, %13
%19 = phi i32 [ %17, %13 ], [ 0, %3 ]
ret i32 %19
}
declare i64 @mlx4_en_alloc_buf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"mlx4_en_rx_ring", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"mlx4_en_rx_mbuf", !8, i64 0}
!15 = !{!16, !18, i64 0}
!16 = !{!"mlx4_en_priv", !17, i64 0}
!17 = !{!"TYPE_2__", !18, i64 0}
!18 = !{!"int", !9, i64 0}
!19 = !{!18, !18, i64 0}
|
freebsd_sys_dev_mlx4_mlx4_en_extr_mlx4_en_rx.c_mlx4_en_prepare_rx_desc
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/extr_adrenoadreno_pm4.xml.h_CP_DISPATCH_COMPUTE_3_Z.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/extr_adrenoadreno_pm4.xml.h_CP_DISPATCH_COMPUTE_3_Z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CP_DISPATCH_COMPUTE_3_Z__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@CP_DISPATCH_COMPUTE_3_Z__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @CP_DISPATCH_COMPUTE_3_Z], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @CP_DISPATCH_COMPUTE_3_Z(i32 noundef %0) #0 {
%2 = load i32, ptr @CP_DISPATCH_COMPUTE_3_Z__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @CP_DISPATCH_COMPUTE_3_Z__MASK, align 4, !tbaa !5
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/extr_adrenoadreno_pm4.xml.h_CP_DISPATCH_COMPUTE_3_Z.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/extr_adrenoadreno_pm4.xml.h_CP_DISPATCH_COMPUTE_3_Z.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CP_DISPATCH_COMPUTE_3_Z__SHIFT = common local_unnamed_addr global i32 0, align 4
@CP_DISPATCH_COMPUTE_3_Z__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @CP_DISPATCH_COMPUTE_3_Z], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @CP_DISPATCH_COMPUTE_3_Z(i32 noundef %0) #0 {
%2 = load i32, ptr @CP_DISPATCH_COMPUTE_3_Z__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @CP_DISPATCH_COMPUTE_3_Z__MASK, align 4, !tbaa !6
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_gpu_drm_msm_extr_adrenoadreno_pm4.xml.h_CP_DISPATCH_COMPUTE_3_Z
|
; ModuleID = 'AnghaBench/mpv/video/out/extr_wayland_common.c_data_device_handle_drop.c'
source_filename = "AnghaBench/mpv/video/out/extr_wayland_common.c_data_device_handle_drop.c"
target datalayout = "e-m:e-p270:32:32-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.vo_wayland_state = type { i32, i32, i32 }
@O_CLOEXEC = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Failed to create dnd pipe!\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Receiving DND offer with mime %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @data_device_handle_drop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @data_device_handle_drop(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = alloca [2 x i32], align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load i32, ptr @O_CLOEXEC, align 4, !tbaa !5
%5 = call i32 @pipe2(ptr noundef nonnull %3, i32 noundef %4) #3
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = call i32 @MP_ERR(ptr noundef %0, ptr noundef nonnull @.str) #3
br label %22
9: ; preds = %2
%10 = getelementptr inbounds %struct.vo_wayland_state, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !9
%12 = call i32 @MP_VERBOSE(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %11) #3
%13 = getelementptr inbounds %struct.vo_wayland_state, ptr %0, i64 0, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !11
%15 = load i32, ptr %10, align 4, !tbaa !9
%16 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%17 = load i32, ptr %16, align 4, !tbaa !5
%18 = call i32 @wl_data_offer_receive(i32 noundef %14, i32 noundef %15, i32 noundef %17) #3
%19 = load i32, ptr %16, align 4, !tbaa !5
%20 = call i32 @close(i32 noundef %19) #3
%21 = load i32, ptr %3, align 4, !tbaa !5
store i32 %21, ptr %0, align 4, !tbaa !12
br label %22
22: ; preds = %9, %7
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pipe2(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @MP_ERR(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MP_VERBOSE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wl_data_offer_receive(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"vo_wayland_state", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!10, !6, i64 0}
|
; ModuleID = 'AnghaBench/mpv/video/out/extr_wayland_common.c_data_device_handle_drop.c'
source_filename = "AnghaBench/mpv/video/out/extr_wayland_common.c_data_device_handle_drop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@O_CLOEXEC = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Failed to create dnd pipe!\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Receiving DND offer with mime %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @data_device_handle_drop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @data_device_handle_drop(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = alloca [2 x i32], align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load i32, ptr @O_CLOEXEC, align 4, !tbaa !6
%5 = call i32 @pipe2(ptr noundef nonnull %3, i32 noundef %4) #3
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = call i32 @MP_ERR(ptr noundef %0, ptr noundef nonnull @.str) #3
br label %22
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !10
%12 = call i32 @MP_VERBOSE(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %11) #3
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = load i32, ptr %10, align 4, !tbaa !10
%16 = getelementptr inbounds i8, ptr %3, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !6
%18 = call i32 @wl_data_offer_receive(i32 noundef %14, i32 noundef %15, i32 noundef %17) #3
%19 = load i32, ptr %16, align 4, !tbaa !6
%20 = call i32 @close(i32 noundef %19) #3
%21 = load i32, ptr %3, align 4, !tbaa !6
store i32 %21, ptr %0, align 4, !tbaa !13
br label %22
22: ; preds = %9, %7
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pipe2(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @MP_ERR(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MP_VERBOSE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wl_data_offer_receive(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"vo_wayland_state", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 8}
!13 = !{!11, !7, i64 0}
|
mpv_video_out_extr_wayland_common.c_data_device_handle_drop
|
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm8958-dsp2.c_wm8958_mbc_get.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm8958-dsp2.c_wm8958_mbc_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @wm8958_mbc_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @wm8958_mbc_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call ptr @snd_soc_kcontrol_component(ptr noundef nonnull %0) #2
%5 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = sext i32 %3 to i64
%8 = getelementptr inbounds i32, ptr %6, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = load ptr, ptr %1, align 8, !tbaa !14
store i32 %9, ptr %10, align 4, !tbaa !13
ret i32 0
}
declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #1
declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_kcontrol", !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 = !{!"wm8994_priv", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"snd_ctl_elem_value", !16, i64 0}
!16 = !{!"TYPE_4__", !17, i64 0}
!17 = !{!"TYPE_3__", !12, i64 0}
|
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm8958-dsp2.c_wm8958_mbc_get.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm8958-dsp2.c_wm8958_mbc_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @wm8958_mbc_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @wm8958_mbc_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call ptr @snd_soc_kcontrol_component(ptr noundef nonnull %0) #2
%5 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = sext i32 %3 to i64
%8 = getelementptr inbounds i32, ptr %6, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = load ptr, ptr %1, align 8, !tbaa !15
store i32 %9, ptr %10, align 4, !tbaa !14
ret i32 0
}
declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #1
declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_kcontrol", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"wm8994_priv", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"snd_ctl_elem_value", !17, i64 0}
!17 = !{!"TYPE_4__", !18, i64 0}
!18 = !{!"TYPE_3__", !13, i64 0}
|
linux_sound_soc_codecs_extr_wm8958-dsp2.c_wm8958_mbc_get
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_cdclk.c_intel_cdclk_uninit.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_cdclk.c_intel_cdclk_uninit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @intel_cdclk_uninit(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @INTEL_GEN(ptr noundef %0) #2
%3 = icmp sgt i32 %2, 10
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @icl_uninit_cdclk(ptr noundef %0) #2
br label %21
6: ; preds = %1
%7 = tail call i64 @IS_CANNONLAKE(ptr noundef %0) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 @cnl_uninit_cdclk(ptr noundef %0) #2
br label %21
11: ; preds = %6
%12 = tail call i64 @IS_GEN9_BC(ptr noundef %0) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = tail call i32 @skl_uninit_cdclk(ptr noundef %0) #2
br label %21
16: ; preds = %11
%17 = tail call i64 @IS_GEN9_LP(ptr noundef %0) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = tail call i32 @bxt_uninit_cdclk(ptr noundef %0) #2
br label %21
21: ; preds = %9, %16, %19, %14, %4
ret void
}
declare i32 @INTEL_GEN(ptr noundef) local_unnamed_addr #1
declare i32 @icl_uninit_cdclk(ptr noundef) local_unnamed_addr #1
declare i64 @IS_CANNONLAKE(ptr noundef) local_unnamed_addr #1
declare i32 @cnl_uninit_cdclk(ptr noundef) local_unnamed_addr #1
declare i64 @IS_GEN9_BC(ptr noundef) local_unnamed_addr #1
declare i32 @skl_uninit_cdclk(ptr noundef) local_unnamed_addr #1
declare i64 @IS_GEN9_LP(ptr noundef) local_unnamed_addr #1
declare i32 @bxt_uninit_cdclk(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_cdclk.c_intel_cdclk_uninit.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_cdclk.c_intel_cdclk_uninit.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 @intel_cdclk_uninit(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @INTEL_GEN(ptr noundef %0) #2
%3 = icmp sgt i32 %2, 10
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @icl_uninit_cdclk(ptr noundef %0) #2
br label %21
6: ; preds = %1
%7 = tail call i64 @IS_CANNONLAKE(ptr noundef %0) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 @cnl_uninit_cdclk(ptr noundef %0) #2
br label %21
11: ; preds = %6
%12 = tail call i64 @IS_GEN9_BC(ptr noundef %0) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = tail call i32 @skl_uninit_cdclk(ptr noundef %0) #2
br label %21
16: ; preds = %11
%17 = tail call i64 @IS_GEN9_LP(ptr noundef %0) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = tail call i32 @bxt_uninit_cdclk(ptr noundef %0) #2
br label %21
21: ; preds = %9, %16, %19, %14, %4
ret void
}
declare i32 @INTEL_GEN(ptr noundef) local_unnamed_addr #1
declare i32 @icl_uninit_cdclk(ptr noundef) local_unnamed_addr #1
declare i64 @IS_CANNONLAKE(ptr noundef) local_unnamed_addr #1
declare i32 @cnl_uninit_cdclk(ptr noundef) local_unnamed_addr #1
declare i64 @IS_GEN9_BC(ptr noundef) local_unnamed_addr #1
declare i32 @skl_uninit_cdclk(ptr noundef) local_unnamed_addr #1
declare i64 @IS_GEN9_LP(ptr noundef) local_unnamed_addr #1
declare i32 @bxt_uninit_cdclk(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_gpu_drm_i915_display_extr_intel_cdclk.c_intel_cdclk_uninit
|
; ModuleID = 'AnghaBench/linux/sound/soc/sof/intel/extr_hda-trace.c_hda_dsp_trace_init.c'
source_filename = "AnghaBench/linux/sound/soc/sof/intel/extr_hda-trace.c_hda_dsp_trace_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_sof_dev = type { i32, ptr }
@SNDRV_PCM_STREAM_CAPTURE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"error: no available capture stream for DMA trace\0A\00", align 1
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"error: hdac trace init failed: %x\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @hda_dsp_trace_init(ptr noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.snd_sof_dev, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load i32, ptr @SNDRV_PCM_STREAM_CAPTURE, align 4, !tbaa !13
%7 = tail call ptr @hda_dsp_stream_get(ptr noundef %0, i32 noundef %6) #2
store ptr %7, ptr %5, align 8, !tbaa !14
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load i32, ptr %0, align 8, !tbaa !16
%11 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %10, ptr noundef nonnull @.str) #2
%12 = load i32, ptr @ENODEV, align 4, !tbaa !13
%13 = sub nsw i32 0, %12
br label %24
14: ; preds = %2
%15 = load i32, ptr %7, align 4, !tbaa !17
store i32 %15, ptr %1, align 4, !tbaa !13
%16 = tail call i32 @hda_dsp_trace_prepare(ptr noundef nonnull %0) #2
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %14
%19 = load i32, ptr %0, align 8, !tbaa !16
%20 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %19, ptr noundef nonnull @.str.1, i32 noundef %16) #2
%21 = load i32, ptr @SNDRV_PCM_STREAM_CAPTURE, align 4, !tbaa !13
%22 = load i32, ptr %1, align 4, !tbaa !13
%23 = tail call i32 @hda_dsp_stream_put(ptr noundef nonnull %0, i32 noundef %21, i32 noundef %22) #2
store ptr null, ptr %5, align 8, !tbaa !14
store i32 0, ptr %1, align 4, !tbaa !13
br label %24
24: ; preds = %14, %18, %9
%25 = phi i32 [ %13, %9 ], [ %16, %18 ], [ %16, %14 ]
ret i32 %25
}
declare ptr @hda_dsp_stream_get(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @hda_dsp_trace_prepare(ptr noundef) local_unnamed_addr #1
declare i32 @hda_dsp_stream_put(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 = !{!"snd_sof_dev", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_5__", !10, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"sof_intel_hda_dev", !10, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_6__", !19, i64 0}
!19 = !{!"TYPE_4__", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/sound/soc/sof/intel/extr_hda-trace.c_hda_dsp_trace_init.c'
source_filename = "AnghaBench/linux/sound/soc/sof/intel/extr_hda-trace.c_hda_dsp_trace_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SNDRV_PCM_STREAM_CAPTURE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"error: no available capture stream for DMA trace\0A\00", align 1
@ENODEV = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"error: hdac trace init failed: %x\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @hda_dsp_trace_init(ptr noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load i32, ptr @SNDRV_PCM_STREAM_CAPTURE, align 4, !tbaa !14
%7 = tail call ptr @hda_dsp_stream_get(ptr noundef %0, i32 noundef %6) #2
store ptr %7, ptr %5, align 8, !tbaa !15
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load i32, ptr %0, align 8, !tbaa !17
%11 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %10, ptr noundef nonnull @.str) #2
%12 = load i32, ptr @ENODEV, align 4, !tbaa !14
%13 = sub nsw i32 0, %12
br label %24
14: ; preds = %2
%15 = load i32, ptr %7, align 4, !tbaa !18
store i32 %15, ptr %1, align 4, !tbaa !14
%16 = tail call i32 @hda_dsp_trace_prepare(ptr noundef nonnull %0) #2
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %14
%19 = load i32, ptr %0, align 8, !tbaa !17
%20 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %19, ptr noundef nonnull @.str.1, i32 noundef %16) #2
%21 = load i32, ptr @SNDRV_PCM_STREAM_CAPTURE, align 4, !tbaa !14
%22 = load i32, ptr %1, align 4, !tbaa !14
%23 = tail call i32 @hda_dsp_stream_put(ptr noundef nonnull %0, i32 noundef %21, i32 noundef %22) #2
store ptr null, ptr %5, align 8, !tbaa !15
store i32 0, ptr %1, align 4, !tbaa !14
br label %24
24: ; preds = %14, %18, %9
%25 = phi i32 [ %13, %9 ], [ %16, %18 ], [ %16, %14 ]
ret i32 %25
}
declare ptr @hda_dsp_stream_get(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @hda_dsp_trace_prepare(ptr noundef) local_unnamed_addr #1
declare i32 @hda_dsp_stream_put(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 = !{!"snd_sof_dev", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_5__", !11, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"sof_intel_hda_dev", !11, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_6__", !20, i64 0}
!20 = !{!"TYPE_4__", !8, i64 0}
|
linux_sound_soc_sof_intel_extr_hda-trace.c_hda_dsp_trace_init
|
; ModuleID = 'AnghaBench/linux/tools/perf/ui/extr_browser.c_ui_browser__set_percent_color.c'
source_filename = "AnghaBench/linux/tools/perf/ui/extr_browser.c_ui_browser__set_percent_color.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @ui_browser__set_percent_color(ptr noundef %0, double noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @ui_browser__percent_color(ptr noundef %0, double noundef %1, i32 noundef %2) #2
%5 = tail call i32 @ui_browser__set_color(ptr noundef %0, i32 noundef %4) #2
ret void
}
declare i32 @ui_browser__percent_color(ptr noundef, double noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ui_browser__set_color(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/tools/perf/ui/extr_browser.c_ui_browser__set_percent_color.c'
source_filename = "AnghaBench/linux/tools/perf/ui/extr_browser.c_ui_browser__set_percent_color.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 @ui_browser__set_percent_color(ptr noundef %0, double noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @ui_browser__percent_color(ptr noundef %0, double noundef %1, i32 noundef %2) #2
%5 = tail call i32 @ui_browser__set_color(ptr noundef %0, i32 noundef %4) #2
ret void
}
declare i32 @ui_browser__percent_color(ptr noundef, double noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ui_browser__set_color(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_tools_perf_ui_extr_browser.c_ui_browser__set_percent_color
|
; ModuleID = 'AnghaBench/HandBrake/libhb/extr_scan.c_is_close_to.c'
source_filename = "AnghaBench/HandBrake/libhb/extr_scan.c_is_close_to.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_close_to], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i32 @is_close_to(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = sub nsw i32 %0, %1
%5 = tail call i32 @llvm.abs.i32(i32 %4, i1 true)
%6 = icmp slt i32 %5, %2
%7 = zext i1 %6 to i32
ret i32 %7
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #1
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" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/HandBrake/libhb/extr_scan.c_is_close_to.c'
source_filename = "AnghaBench/HandBrake/libhb/extr_scan.c_is_close_to.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @is_close_to], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 2) i32 @is_close_to(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = sub nsw i32 %0, %1
%5 = tail call i32 @llvm.abs.i32(i32 %4, i1 true)
%6 = icmp slt i32 %5, %2
%7 = zext i1 %6 to i32
ret i32 %7
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #1
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" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
HandBrake_libhb_extr_scan.c_is_close_to
|
; ModuleID = 'AnghaBench/reactos/sdk/lib/rtl/extr_actctx.c_get_wndclass_data.c'
source_filename = "AnghaBench/reactos/sdk/lib/rtl/extr_actctx.c_get_wndclass_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 @get_wndclass_data], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal ptr @get_wndclass_data(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr %1, align 4, !tbaa !10
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i32, ptr %4, i64 %6
ret ptr %7
}
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 = !{!"TYPE_3__", !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 = !{!"string_index", !12, i64 0}
!12 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/reactos/sdk/lib/rtl/extr_actctx.c_get_wndclass_data.c'
source_filename = "AnghaBench/reactos/sdk/lib/rtl/extr_actctx.c_get_wndclass_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 @get_wndclass_data], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal ptr @get_wndclass_data(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr %1, align 4, !tbaa !11
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i32, ptr %4, i64 %6
ret ptr %7
}
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 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"string_index", !13, i64 0}
!13 = !{!"int", !9, i64 0}
|
reactos_sdk_lib_rtl_extr_actctx.c_get_wndclass_data
|
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_x86_nz.c_opverr.c'
source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_x86_nz.c_opverr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr }
%struct.TYPE_4__ = type { i32, ptr, i32 }
@OT_WORD = dso_local local_unnamed_addr global i32 0, align 4
@OT_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @opverr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal noundef i32 @opverr(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %2, align 8, !tbaa !5
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %31
6: ; preds = %3
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = load i32, ptr %8, align 8, !tbaa !12
%10 = load i32, ptr @OT_WORD, align 4, !tbaa !14
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %31, label %13
13: ; preds = %6
store i32 15, ptr %1, align 4, !tbaa !14
%14 = getelementptr inbounds i32, ptr %1, i64 1
store i32 0, ptr %14, align 4, !tbaa !14
%15 = load i32, ptr %8, align 8, !tbaa !12
%16 = load i32, ptr @OT_MEMORY, align 4, !tbaa !14
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %24, label %19
19: ; preds = %13
%20 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 0, i32 1
%21 = load ptr, ptr %20, align 8, !tbaa !15
%22 = load i32, ptr %21, align 4, !tbaa !14
%23 = or i32 %22, 32
br label %28
24: ; preds = %13
%25 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 0, i32 2
%26 = load i32, ptr %25, align 8, !tbaa !16
%27 = or i32 %26, 224
br label %28
28: ; preds = %24, %19
%29 = phi i32 [ %23, %19 ], [ %27, %24 ]
%30 = getelementptr inbounds i32, ptr %1, i64 2
store i32 %29, ptr %30, align 4, !tbaa !14
br label %31
31: ; preds = %28, %3, %6
%32 = phi i32 [ -1, %6 ], [ -1, %3 ], [ 3, %28 ]
ret i32 %32
}
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 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !7, i64 16}
!14 = !{!7, !7, i64 0}
!15 = !{!13, !10, i64 8}
!16 = !{!13, !7, i64 16}
|
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_x86_nz.c_opverr.c'
source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_x86_nz.c_opverr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OT_WORD = common local_unnamed_addr global i32 0, align 4
@OT_MEMORY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @opverr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -1, 4) i32 @opverr(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %2, align 8, !tbaa !6
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %30
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %2, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = load i32, ptr %8, align 8, !tbaa !13
%10 = load i32, ptr @OT_WORD, align 4, !tbaa !15
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %30, label %13
13: ; preds = %6
store <2 x i32> <i32 15, i32 0>, ptr %1, align 4, !tbaa !15
%14 = load i32, ptr %8, align 8, !tbaa !13
%15 = load i32, ptr @OT_MEMORY, align 4, !tbaa !15
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %23, label %18
18: ; preds = %13
%19 = getelementptr inbounds i8, ptr %8, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !16
%21 = load i32, ptr %20, align 4, !tbaa !15
%22 = or i32 %21, 32
br label %27
23: ; preds = %13
%24 = getelementptr inbounds i8, ptr %8, i64 16
%25 = load i32, ptr %24, align 8, !tbaa !17
%26 = or i32 %25, 224
br label %27
27: ; preds = %23, %18
%28 = phi i32 [ %22, %18 ], [ %26, %23 ]
%29 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %28, ptr %29, align 4, !tbaa !15
br label %30
30: ; preds = %27, %3, %6
%31 = phi i32 [ -1, %6 ], [ -1, %3 ], [ 3, %27 ]
ret i32 %31
}
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 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !8, i64 16}
!15 = !{!8, !8, i64 0}
!16 = !{!14, !11, i64 8}
!17 = !{!14, !8, i64 16}
|
radare2_libr_asm_p_extr_asm_x86_nz.c_opverr
|
; ModuleID = 'AnghaBench/linux/drivers/lightnvm/extr_pblk-core.c___pblk_alloc_page.c'
source_filename = "AnghaBench/linux/drivers/lightnvm/extr_pblk-core.c___pblk_alloc_page.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.pblk_line = type { i64, i32, i32 }
@.str = private unnamed_addr constant [37 x i8] c"pblk: page allocation out of bounds\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @__pblk_alloc_page(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.pblk_line, ptr %1, i64 0, i32 2
%5 = tail call i32 @lockdep_assert_held(ptr noundef nonnull %4) #2
%6 = load i64, ptr %1, align 8, !tbaa !5
%7 = sext i32 %2 to i64
%8 = add nsw i64 %6, %7
%9 = load i64, ptr %0, align 8, !tbaa !11
%10 = icmp sgt i64 %8, %9
br i1 %10, label %11, label %17
11: ; preds = %3
%12 = tail call i32 @WARN(i32 noundef 1, ptr noundef nonnull @.str) #2
%13 = load i64, ptr %0, align 8, !tbaa !11
%14 = load i64, ptr %1, align 8, !tbaa !5
%15 = sub nsw i64 %13, %14
%16 = trunc i64 %15 to i32
br label %17
17: ; preds = %11, %3
%18 = phi i64 [ %14, %11 ], [ %6, %3 ]
%19 = phi i64 [ %13, %11 ], [ %9, %3 ]
%20 = phi i32 [ %16, %11 ], [ %2, %3 ]
%21 = getelementptr inbounds %struct.pblk_line, ptr %1, i64 0, i32 1
%22 = load i32, ptr %21, align 8, !tbaa !14
%23 = trunc i64 %19 to i32
%24 = trunc i64 %18 to i32
%25 = tail call i32 @find_next_zero_bit(i32 noundef %22, i32 noundef %23, i32 noundef %24) #2
%26 = sext i32 %25 to i64
store i64 %26, ptr %1, align 8, !tbaa !5
%27 = icmp sgt i32 %20, 0
br i1 %27, label %28, label %39
28: ; preds = %17, %28
%29 = phi i32 [ %35, %28 ], [ 0, %17 ]
%30 = phi i64 [ %37, %28 ], [ %26, %17 ]
%31 = trunc i64 %30 to i32
%32 = load i32, ptr %21, align 8, !tbaa !14
%33 = tail call i32 @test_and_set_bit(i32 noundef %31, i32 noundef %32) #2
%34 = tail call i32 @WARN_ON(i32 noundef %33) #2
%35 = add nuw nsw i32 %29, 1
%36 = load i64, ptr %1, align 8, !tbaa !5
%37 = add nsw i64 %36, 1
store i64 %37, ptr %1, align 8, !tbaa !5
%38 = icmp eq i32 %35, %20
br i1 %38, label %39, label %28, !llvm.loop !15
39: ; preds = %28, %17
ret i32 %25
}
declare i32 @lockdep_assert_held(ptr noundef) local_unnamed_addr #1
declare i32 @WARN(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @find_next_zero_bit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @test_and_set_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 0}
!6 = !{!"pblk_line", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"pblk", !13, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
!14 = !{!6, !10, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/lightnvm/extr_pblk-core.c___pblk_alloc_page.c'
source_filename = "AnghaBench/linux/drivers/lightnvm/extr_pblk-core.c___pblk_alloc_page.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 [37 x i8] c"pblk: page allocation out of bounds\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @__pblk_alloc_page(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 12
%5 = tail call i32 @lockdep_assert_held(ptr noundef nonnull %4) #2
%6 = load i64, ptr %1, align 8, !tbaa !6
%7 = sext i32 %2 to i64
%8 = add nsw i64 %6, %7
%9 = load i64, ptr %0, align 8, !tbaa !12
%10 = icmp sgt i64 %8, %9
br i1 %10, label %11, label %17
11: ; preds = %3
%12 = tail call i32 @WARN(i32 noundef 1, ptr noundef nonnull @.str) #2
%13 = load i64, ptr %0, align 8, !tbaa !12
%14 = load i64, ptr %1, align 8, !tbaa !6
%15 = sub nsw i64 %13, %14
%16 = trunc i64 %15 to i32
br label %17
17: ; preds = %11, %3
%18 = phi i64 [ %14, %11 ], [ %6, %3 ]
%19 = phi i64 [ %13, %11 ], [ %9, %3 ]
%20 = phi i32 [ %16, %11 ], [ %2, %3 ]
%21 = getelementptr inbounds i8, ptr %1, i64 8
%22 = load i32, ptr %21, align 8, !tbaa !15
%23 = trunc i64 %19 to i32
%24 = trunc i64 %18 to i32
%25 = tail call i32 @find_next_zero_bit(i32 noundef %22, i32 noundef %23, i32 noundef %24) #2
%26 = sext i32 %25 to i64
store i64 %26, ptr %1, align 8, !tbaa !6
%27 = icmp sgt i32 %20, 0
br i1 %27, label %28, label %39
28: ; preds = %17, %28
%29 = phi i32 [ %35, %28 ], [ 0, %17 ]
%30 = phi i64 [ %37, %28 ], [ %26, %17 ]
%31 = trunc i64 %30 to i32
%32 = load i32, ptr %21, align 8, !tbaa !15
%33 = tail call i32 @test_and_set_bit(i32 noundef %31, i32 noundef %32) #2
%34 = tail call i32 @WARN_ON(i32 noundef %33) #2
%35 = add nuw nsw i32 %29, 1
%36 = load i64, ptr %1, align 8, !tbaa !6
%37 = add nsw i64 %36, 1
store i64 %37, ptr %1, align 8, !tbaa !6
%38 = icmp eq i32 %35, %20
br i1 %38, label %39, label %28, !llvm.loop !16
39: ; preds = %28, %17
ret i32 %25
}
declare i32 @lockdep_assert_held(ptr noundef) local_unnamed_addr #1
declare i32 @WARN(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @find_next_zero_bit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @test_and_set_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 0}
!7 = !{!"pblk_line", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"pblk", !14, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
!15 = !{!7, !11, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_lightnvm_extr_pblk-core.c___pblk_alloc_page
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_dir2_sf.h_xfs_dir2_sf_put_inumber.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_dir2_sf.h_xfs_dir2_sf_put_inumber.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @xfs_dir2_sf_put_inumber], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @xfs_dir2_sf_put_inumber(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr %1, align 4, !tbaa !11
br i1 %5, label %7, label %11
7: ; preds = %3
%8 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = tail call i32 @XFS_PUT_DIR_INO4(i32 noundef %6, i32 noundef %9) #2
br label %14
11: ; preds = %3
%12 = load i32, ptr %2, align 4, !tbaa !15
%13 = tail call i32 @XFS_PUT_DIR_INO8(i32 noundef %6, i32 noundef %12) #2
br label %14
14: ; preds = %11, %7
ret void
}
declare i32 @XFS_PUT_DIR_INO4(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XFS_PUT_DIR_INO8(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 4}
!14 = !{!"TYPE_8__", !12, i64 0, !12, i64 4}
!15 = !{!14, !12, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_dir2_sf.h_xfs_dir2_sf_put_inumber.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_dir2_sf.h_xfs_dir2_sf_put_inumber.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 @xfs_dir2_sf_put_inumber], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @xfs_dir2_sf_put_inumber(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr %1, align 4, !tbaa !12
br i1 %5, label %7, label %11
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %2, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = tail call i32 @XFS_PUT_DIR_INO4(i32 noundef %6, i32 noundef %9) #2
br label %14
11: ; preds = %3
%12 = load i32, ptr %2, align 4, !tbaa !16
%13 = tail call i32 @XFS_PUT_DIR_INO8(i32 noundef %6, i32 noundef %12) #2
br label %14
14: ; preds = %11, %7
ret void
}
declare i32 @XFS_PUT_DIR_INO4(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XFS_PUT_DIR_INO8(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!15, !13, i64 4}
!15 = !{!"TYPE_8__", !13, i64 0, !13, i64 4}
!16 = !{!15, !13, i64 0}
|
fastsocket_kernel_fs_xfs_extr_xfs_dir2_sf.h_xfs_dir2_sf_put_inumber
|
; ModuleID = 'AnghaBench/linux/drivers/char/agp/extr_intel-gtt.c_i830_check_flags.c'
source_filename = "AnghaBench/linux/drivers/char/agp/extr_intel-gtt.c_i830_check_flags.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @i830_check_flags], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @i830_check_flags(i32 noundef %0) #0 {
switch i32 %0, label %2 [
i32 0, label %3
i32 130, label %3
i32 129, label %3
i32 128, label %3
]
2: ; preds = %1
br label %3
3: ; preds = %1, %1, %1, %1, %2
%4 = phi i32 [ 0, %2 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ]
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/char/agp/extr_intel-gtt.c_i830_check_flags.c'
source_filename = "AnghaBench/linux/drivers/char/agp/extr_intel-gtt.c_i830_check_flags.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 @i830_check_flags], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 2) i32 @i830_check_flags(i32 noundef %0) #0 {
switch i32 %0, label %2 [
i32 0, label %3
i32 130, label %3
i32 129, label %3
i32 128, label %3
]
2: ; preds = %1
br label %3
3: ; preds = %1, %1, %1, %1, %2
%4 = phi i32 [ 0, %2 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ]
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_char_agp_extr_intel-gtt.c_i830_check_flags
|
; ModuleID = 'AnghaBench/kphp-kdb/text/extr_text-data.c_do_decr_flags.c'
source_filename = "AnghaBench/kphp-kdb/text/extr_text-data.c_do_decr_flags.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.lev_set_flags_long = type { i32, i32 }
@verbosity = dso_local local_unnamed_addr global i32 0, align 4
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"do_decr_flags(%d,%d,%d):\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"adjust_message returned %d\0A\00", align 1
@write_all_events = dso_local local_unnamed_addr global i64 0, align 8
@LEV_TX_DECR_MESSAGE_FLAGS_LONG = dso_local local_unnamed_addr global i64 0, align 8
@LEV_TX_DECR_MESSAGE_FLAGS = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @do_decr_flags(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @verbosity, align 4, !tbaa !5
%5 = icmp sgt i32 %4, 1
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @stderr, align 4, !tbaa !5
%8 = tail call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %1, i32 noundef %2) #2
br label %9
9: ; preds = %6, %3
%10 = icmp ult i32 %2, 65536
br i1 %10, label %11, label %39
11: ; preds = %9
%12 = tail call i32 @adjust_message(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef 0, i32 noundef 0) #2
%13 = load i32, ptr @verbosity, align 4, !tbaa !5
%14 = icmp sgt i32 %13, 1
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load i32, ptr @stderr, align 4, !tbaa !5
%17 = tail call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %16, ptr noundef nonnull @.str.1, i32 noundef %12) #2
br label %18
18: ; preds = %15, %11
%19 = icmp slt i32 %12, 0
br i1 %19, label %39, label %20
20: ; preds = %18
%21 = and i32 %12, 1
%22 = icmp ne i32 %21, 0
%23 = load i64, ptr @write_all_events, align 8
%24 = icmp ne i64 %23, 0
%25 = select i1 %22, i1 true, i1 %24
br i1 %25, label %26, label %37
26: ; preds = %20
%27 = icmp ult i32 %2, 256
br i1 %27, label %32, label %28
28: ; preds = %26
%29 = load i64, ptr @LEV_TX_DECR_MESSAGE_FLAGS_LONG, align 8, !tbaa !9
%30 = tail call ptr @alloc_log_event(i64 noundef %29, i32 noundef 8, i32 noundef %0) #2
store i32 %1, ptr %30, align 4, !tbaa !11
%31 = getelementptr inbounds %struct.lev_set_flags_long, ptr %30, i64 0, i32 1
store i32 %2, ptr %31, align 4, !tbaa !13
br label %37
32: ; preds = %26
%33 = load i64, ptr @LEV_TX_DECR_MESSAGE_FLAGS, align 8, !tbaa !9
%34 = zext nneg i32 %2 to i64
%35 = add nsw i64 %33, %34
%36 = tail call ptr @alloc_log_event(i64 noundef %35, i32 noundef 4, i32 noundef %0) #2
store i32 %1, ptr %36, align 4, !tbaa !14
br label %37
37: ; preds = %28, %32, %20
%38 = tail call i32 @get_message_flags(i32 noundef %0, i32 noundef %1, i32 noundef -1) #2
br label %39
39: ; preds = %37, %18, %9
%40 = phi i32 [ -1, %9 ], [ %38, %37 ], [ %12, %18 ]
ret i32 %40
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @adjust_message(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @alloc_log_event(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_message_flags(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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"lev_set_flags_long", !6, i64 0, !6, i64 4}
!13 = !{!12, !6, i64 4}
!14 = !{!15, !6, i64 0}
!15 = !{!"lev_set_flags", !6, i64 0}
|
; ModuleID = 'AnghaBench/kphp-kdb/text/extr_text-data.c_do_decr_flags.c'
source_filename = "AnghaBench/kphp-kdb/text/extr_text-data.c_do_decr_flags.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@verbosity = common local_unnamed_addr global i32 0, align 4
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"do_decr_flags(%d,%d,%d):\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"adjust_message returned %d\0A\00", align 1
@write_all_events = common local_unnamed_addr global i64 0, align 8
@LEV_TX_DECR_MESSAGE_FLAGS_LONG = common local_unnamed_addr global i64 0, align 8
@LEV_TX_DECR_MESSAGE_FLAGS = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @do_decr_flags(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @verbosity, align 4, !tbaa !6
%5 = icmp sgt i32 %4, 1
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @stderr, align 4, !tbaa !6
%8 = tail call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %1, i32 noundef %2) #2
br label %9
9: ; preds = %6, %3
%10 = icmp ult i32 %2, 65536
br i1 %10, label %11, label %39
11: ; preds = %9
%12 = tail call i32 @adjust_message(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef 0, i32 noundef 0) #2
%13 = load i32, ptr @verbosity, align 4, !tbaa !6
%14 = icmp sgt i32 %13, 1
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load i32, ptr @stderr, align 4, !tbaa !6
%17 = tail call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %16, ptr noundef nonnull @.str.1, i32 noundef %12) #2
br label %18
18: ; preds = %15, %11
%19 = icmp slt i32 %12, 0
br i1 %19, label %39, label %20
20: ; preds = %18
%21 = and i32 %12, 1
%22 = icmp ne i32 %21, 0
%23 = load i64, ptr @write_all_events, align 8
%24 = icmp ne i64 %23, 0
%25 = select i1 %22, i1 true, i1 %24
br i1 %25, label %26, label %37
26: ; preds = %20
%27 = icmp ult i32 %2, 256
br i1 %27, label %32, label %28
28: ; preds = %26
%29 = load i64, ptr @LEV_TX_DECR_MESSAGE_FLAGS_LONG, align 8, !tbaa !10
%30 = tail call ptr @alloc_log_event(i64 noundef %29, i32 noundef 8, i32 noundef %0) #2
store i32 %1, ptr %30, align 4, !tbaa !12
%31 = getelementptr inbounds i8, ptr %30, i64 4
store i32 %2, ptr %31, align 4, !tbaa !14
br label %37
32: ; preds = %26
%33 = load i64, ptr @LEV_TX_DECR_MESSAGE_FLAGS, align 8, !tbaa !10
%34 = zext nneg i32 %2 to i64
%35 = add nsw i64 %33, %34
%36 = tail call ptr @alloc_log_event(i64 noundef %35, i32 noundef 4, i32 noundef %0) #2
store i32 %1, ptr %36, align 4, !tbaa !15
br label %37
37: ; preds = %28, %32, %20
%38 = tail call i32 @get_message_flags(i32 noundef %0, i32 noundef %1, i32 noundef -1) #2
br label %39
39: ; preds = %37, %18, %9
%40 = phi i32 [ -1, %9 ], [ %38, %37 ], [ %12, %18 ]
ret i32 %40
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @adjust_message(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @alloc_log_event(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_message_flags(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, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"lev_set_flags_long", !7, i64 0, !7, i64 4}
!14 = !{!13, !7, i64 4}
!15 = !{!16, !7, i64 0}
!16 = !{!"lev_set_flags", !7, i64 0}
|
kphp-kdb_text_extr_text-data.c_do_decr_flags
|
; ModuleID = 'AnghaBench/libgit2/src/extr_index.c_git_index_iterator_new.c'
source_filename = "AnghaBench/libgit2/src/extr_index.c_git_index_iterator_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_6__ = type { ptr, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @git_index_iterator_new(ptr noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp ne ptr %0, null
%4 = icmp ne ptr %1, null
%5 = and i1 %3, %4
%6 = zext i1 %5 to i32
%7 = tail call i32 @assert(i32 noundef %6) #2
%8 = tail call ptr @git__calloc(i32 noundef 1, i32 noundef 16) #2
%9 = tail call i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef %8) #2
%10 = getelementptr inbounds %struct.TYPE_6__, ptr %8, i64 0, i32 1
%11 = tail call i32 @git_index_snapshot_new(ptr noundef nonnull %10, ptr noundef %1) #2
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = tail call i32 @git__free(ptr noundef %8) #2
br label %16
15: ; preds = %2
store ptr %1, ptr %8, align 8, !tbaa !5
store ptr %8, ptr %0, align 8, !tbaa !11
br label %16
16: ; preds = %15, %13
%17 = phi i32 [ %11, %13 ], [ 0, %15 ]
ret i32 %17
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare ptr @git__calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef) local_unnamed_addr #1
declare i32 @git_index_snapshot_new(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @git__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, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/libgit2/src/extr_index.c_git_index_iterator_new.c'
source_filename = "AnghaBench/libgit2/src/extr_index.c_git_index_iterator_new.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 range(i32 -2147483648, 1) i32 @git_index_iterator_new(ptr noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp ne ptr %0, null
%4 = icmp ne ptr %1, null
%5 = and i1 %3, %4
%6 = zext i1 %5 to i32
%7 = tail call i32 @assert(i32 noundef %6) #2
%8 = tail call ptr @git__calloc(i32 noundef 1, i32 noundef 16) #2
%9 = tail call i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef %8) #2
%10 = getelementptr inbounds i8, ptr %8, i64 8
%11 = tail call i32 @git_index_snapshot_new(ptr noundef nonnull %10, ptr noundef %1) #2
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = tail call i32 @git__free(ptr noundef %8) #2
br label %16
15: ; preds = %2
store ptr %1, ptr %8, align 8, !tbaa !6
store ptr %8, ptr %0, align 8, !tbaa !12
br label %16
16: ; preds = %15, %13
%17 = phi i32 [ %11, %13 ], [ 0, %15 ]
ret i32 %17
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare ptr @git__calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef) local_unnamed_addr #1
declare i32 @git_index_snapshot_new(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @git__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, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
|
libgit2_src_extr_index.c_git_index_iterator_new
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_bt87x.c_snd_bt87x_pointer.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_bt87x.c_snd_bt87x_pointer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_bt87x = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_bt87x_pointer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_bt87x_pointer(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %2, align 4, !tbaa !10
%5 = getelementptr inbounds %struct.snd_bt87x, ptr %2, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = mul nsw i32 %6, %4
%8 = tail call i32 @bytes_to_frames(ptr noundef %3, i32 noundef %7) #2
ret i32 %8
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i32 @bytes_to_frames(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 = !{!"snd_pcm_substream", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"snd_bt87x", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 4}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_bt87x.c_snd_bt87x_pointer.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_bt87x.c_snd_bt87x_pointer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @snd_bt87x_pointer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @snd_bt87x_pointer(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %2, align 4, !tbaa !11
%5 = getelementptr inbounds i8, ptr %2, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !14
%7 = mul nsw i32 %6, %4
%8 = tail call i32 @bytes_to_frames(ptr noundef %3, i32 noundef %7) #2
ret i32 %8
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i32 @bytes_to_frames(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 = !{!"snd_pcm_substream", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"snd_bt87x", !13, i64 0, !13, i64 4}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 4}
|
fastsocket_kernel_sound_pci_extr_bt87x.c_snd_bt87x_pointer
|
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/ap/extr_ieee802_1x.c_ieee802_1x_free_station.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/ap/extr_ieee802_1x.c_ieee802_1x_free_station.c"
target datalayout = "e-m:e-p270:32:32-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.sta_info = type { ptr, ptr }
%struct.eapol_state_machine = type { i32, i32 }
@ieee802_1x_wnm_notif_send = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ieee802_1x_free_station(ptr nocapture noundef readnone %0, ptr nocapture noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.sta_info, ptr %1, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = icmp eq ptr %5, null
br i1 %6, label %12, label %7
7: ; preds = %2
%8 = load i32, ptr %5, align 4, !tbaa !11
%9 = tail call i32 @wpabuf_free(i32 noundef %8) #2
%10 = load ptr, ptr %4, align 8, !tbaa !10
%11 = tail call i32 @os_free(ptr noundef %10) #2
store ptr null, ptr %4, align 8, !tbaa !10
br label %12
12: ; preds = %7, %2
%13 = icmp eq ptr %3, null
br i1 %13, label %20, label %14
14: ; preds = %12
store ptr null, ptr %1, align 8, !tbaa !5
%15 = getelementptr inbounds %struct.eapol_state_machine, ptr %3, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = tail call i32 @radius_msg_free(i32 noundef %16) #2
%18 = tail call i32 @radius_free_class(ptr noundef nonnull %3) #2
%19 = tail call i32 @eapol_auth_free(ptr noundef nonnull %3) #2
br label %20
20: ; preds = %12, %14
ret void
}
declare i32 @wpabuf_free(i32 noundef) local_unnamed_addr #1
declare i32 @os_free(ptr noundef) local_unnamed_addr #1
declare i32 @radius_msg_free(i32 noundef) local_unnamed_addr #1
declare i32 @radius_free_class(ptr noundef) local_unnamed_addr #1
declare i32 @eapol_auth_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, !7, i64 0}
!6 = !{!"sta_info", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 4}
!15 = !{!"eapol_state_machine", !13, i64 0, !13, i64 4}
|
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/ap/extr_ieee802_1x.c_ieee802_1x_free_station.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/ap/extr_ieee802_1x.c_ieee802_1x_free_station.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ieee802_1x_wnm_notif_send = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ieee802_1x_free_station(ptr nocapture noundef readnone %0, ptr nocapture noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = icmp eq ptr %5, null
br i1 %6, label %12, label %7
7: ; preds = %2
%8 = load i32, ptr %5, align 4, !tbaa !12
%9 = tail call i32 @wpabuf_free(i32 noundef %8) #2
%10 = load ptr, ptr %4, align 8, !tbaa !11
%11 = tail call i32 @os_free(ptr noundef %10) #2
store ptr null, ptr %4, align 8, !tbaa !11
br label %12
12: ; preds = %7, %2
%13 = icmp eq ptr %3, null
br i1 %13, label %20, label %14
14: ; preds = %12
store ptr null, ptr %1, align 8, !tbaa !6
%15 = getelementptr inbounds i8, ptr %3, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = tail call i32 @radius_msg_free(i32 noundef %16) #2
%18 = tail call i32 @radius_free_class(ptr noundef nonnull %3) #2
%19 = tail call i32 @eapol_auth_free(ptr noundef nonnull %3) #2
br label %20
20: ; preds = %12, %14
ret void
}
declare i32 @wpabuf_free(i32 noundef) local_unnamed_addr #1
declare i32 @os_free(ptr noundef) local_unnamed_addr #1
declare i32 @radius_msg_free(i32 noundef) local_unnamed_addr #1
declare i32 @radius_free_class(ptr noundef) local_unnamed_addr #1
declare i32 @eapol_auth_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, !8, i64 0}
!7 = !{!"sta_info", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !14, i64 4}
!16 = !{!"eapol_state_machine", !14, i64 0, !14, i64 4}
|
freebsd_contrib_wpa_src_ap_extr_ieee802_1x.c_ieee802_1x_free_station
|
; ModuleID = 'AnghaBench/zstd/lib/decompress/extr_huf_decompress.c_HUF_getDTableDesc.c'
source_filename = "AnghaBench/zstd/lib/decompress/extr_huf_decompress.c_HUF_getDTableDesc.c"
target datalayout = "e-m:e-p270:32:32-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 @HUF_getDTableDesc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @HUF_getDTableDesc(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = call i32 @memcpy(ptr noundef nonnull %2, ptr noundef %0, i32 noundef 4) #3
%4 = load i32, ptr %2, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %4
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/zstd/lib/decompress/extr_huf_decompress.c_HUF_getDTableDesc.c'
source_filename = "AnghaBench/zstd/lib/decompress/extr_huf_decompress.c_HUF_getDTableDesc.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 @HUF_getDTableDesc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @HUF_getDTableDesc(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = call i32 @memcpy(ptr noundef nonnull %2, ptr noundef %0, i32 noundef 4) #3
%4 = load i32, ptr %2, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %4
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memcpy(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"}
|
zstd_lib_decompress_extr_huf_decompress.c_HUF_getDTableDesc
|
; ModuleID = 'AnghaBench/linux/fs/dlm/extr_lowcomms.c_close_connection.c'
source_filename = "AnghaBench/linux/fs/dlm/extr_lowcomms.c_close_connection.c"
target datalayout = "e-m:e-p270:32:32-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.connection = type { i32, i32, i64, ptr, ptr, ptr, i32, i32, i32 }
@CF_CLOSING = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"canceled swork for node %d\00", align 1
@CF_WRITE_PENDING = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"canceled rwork for node %d\00", align 1
@CF_READ_PENDING = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @close_connection], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @close_connection(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @CF_CLOSING, align 4, !tbaa !5
%6 = tail call i32 @test_and_set_bit(i32 noundef %5, ptr noundef %0) #2
%7 = icmp eq i32 %2, 0
%8 = icmp ne i32 %6, 0
%9 = select i1 %7, i1 true, i1 %8
br i1 %9, label %20, label %10
10: ; preds = %4
%11 = getelementptr inbounds %struct.connection, ptr %0, i64 0, i32 8
%12 = tail call i64 @cancel_work_sync(ptr noundef nonnull %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %10
%15 = getelementptr inbounds %struct.connection, ptr %0, i64 0, i32 6
%16 = load i32, ptr %15, align 8, !tbaa !9
%17 = tail call i32 @log_print(ptr noundef nonnull @.str, i32 noundef %16) #2
%18 = load i32, ptr @CF_WRITE_PENDING, align 4, !tbaa !5
%19 = tail call i32 @clear_bit(i32 noundef %18, ptr noundef %0) #2
br label %20
20: ; preds = %14, %10, %4
%21 = icmp eq i32 %3, 0
%22 = select i1 %21, i1 true, i1 %8
br i1 %22, label %33, label %23
23: ; preds = %20
%24 = getelementptr inbounds %struct.connection, ptr %0, i64 0, i32 7
%25 = tail call i64 @cancel_work_sync(ptr noundef nonnull %24) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %33, label %27
27: ; preds = %23
%28 = getelementptr inbounds %struct.connection, ptr %0, i64 0, i32 6
%29 = load i32, ptr %28, align 8, !tbaa !9
%30 = tail call i32 @log_print(ptr noundef nonnull @.str.1, i32 noundef %29) #2
%31 = load i32, ptr @CF_READ_PENDING, align 4, !tbaa !5
%32 = tail call i32 @clear_bit(i32 noundef %31, ptr noundef %0) #2
br label %33
33: ; preds = %27, %23, %20
%34 = getelementptr inbounds %struct.connection, ptr %0, i64 0, i32 1
%35 = tail call i32 @mutex_lock(ptr noundef nonnull %34) #2
%36 = getelementptr inbounds %struct.connection, ptr %0, i64 0, i32 5
%37 = load ptr, ptr %36, align 8, !tbaa !13
%38 = icmp eq ptr %37, null
br i1 %38, label %43, label %39
39: ; preds = %33
%40 = tail call i32 @restore_callbacks(ptr noundef nonnull %37) #2
%41 = load ptr, ptr %36, align 8, !tbaa !13
%42 = tail call i32 @sock_release(ptr noundef %41) #2
store ptr null, ptr %36, align 8, !tbaa !13
br label %43
43: ; preds = %39, %33
%44 = getelementptr inbounds %struct.connection, ptr %0, i64 0, i32 4
%45 = load ptr, ptr %44, align 8, !tbaa !14
%46 = icmp ne ptr %45, null
%47 = icmp ne i32 %1, 0
%48 = and i1 %47, %46
br i1 %48, label %49, label %50
49: ; preds = %43
tail call void @close_connection(ptr noundef nonnull %45, i32 noundef 0, i32 noundef 1, i32 noundef 1)
br label %50
50: ; preds = %49, %43
%51 = getelementptr inbounds %struct.connection, ptr %0, i64 0, i32 3
%52 = load ptr, ptr %51, align 8, !tbaa !15
%53 = icmp eq ptr %52, null
br i1 %53, label %56, label %54
54: ; preds = %50
%55 = tail call i32 @__free_page(ptr noundef nonnull %52) #2
store ptr null, ptr %51, align 8, !tbaa !15
br label %56
56: ; preds = %54, %50
%57 = getelementptr inbounds %struct.connection, ptr %0, i64 0, i32 2
store i64 0, ptr %57, align 8, !tbaa !16
%58 = tail call i32 @mutex_unlock(ptr noundef nonnull %34) #2
%59 = load i32, ptr @CF_CLOSING, align 4, !tbaa !5
%60 = tail call i32 @clear_bit(i32 noundef %59, ptr noundef nonnull %0) #2
ret void
}
declare i32 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @cancel_work_sync(ptr noundef) local_unnamed_addr #1
declare i32 @log_print(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @restore_callbacks(ptr noundef) local_unnamed_addr #1
declare i32 @sock_release(ptr noundef) local_unnamed_addr #1
declare i32 @__free_page(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 40}
!10 = !{!"connection", !6, i64 0, !6, i64 4, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !6, i64 40, !6, i64 44, !6, i64 48}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 32}
!14 = !{!10, !12, i64 24}
!15 = !{!10, !12, i64 16}
!16 = !{!10, !11, i64 8}
|
; ModuleID = 'AnghaBench/linux/fs/dlm/extr_lowcomms.c_close_connection.c'
source_filename = "AnghaBench/linux/fs/dlm/extr_lowcomms.c_close_connection.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CF_CLOSING = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"canceled swork for node %d\00", align 1
@CF_WRITE_PENDING = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"canceled rwork for node %d\00", align 1
@CF_READ_PENDING = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @close_connection], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @close_connection(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @CF_CLOSING, align 4, !tbaa !6
%6 = tail call i32 @test_and_set_bit(i32 noundef %5, ptr noundef %0) #2
%7 = icmp eq i32 %2, 0
%8 = icmp ne i32 %6, 0
%9 = select i1 %7, i1 true, i1 %8
br i1 %9, label %20, label %10
10: ; preds = %4
%11 = getelementptr inbounds i8, ptr %0, i64 48
%12 = tail call i64 @cancel_work_sync(ptr noundef nonnull %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %10
%15 = getelementptr inbounds i8, ptr %0, i64 40
%16 = load i32, ptr %15, align 8, !tbaa !10
%17 = tail call i32 @log_print(ptr noundef nonnull @.str, i32 noundef %16) #2
%18 = load i32, ptr @CF_WRITE_PENDING, align 4, !tbaa !6
%19 = tail call i32 @clear_bit(i32 noundef %18, ptr noundef %0) #2
br label %20
20: ; preds = %14, %10, %4
%21 = icmp eq i32 %3, 0
%22 = select i1 %21, i1 true, i1 %8
br i1 %22, label %33, label %23
23: ; preds = %20
%24 = getelementptr inbounds i8, ptr %0, i64 44
%25 = tail call i64 @cancel_work_sync(ptr noundef nonnull %24) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %33, label %27
27: ; preds = %23
%28 = getelementptr inbounds i8, ptr %0, i64 40
%29 = load i32, ptr %28, align 8, !tbaa !10
%30 = tail call i32 @log_print(ptr noundef nonnull @.str.1, i32 noundef %29) #2
%31 = load i32, ptr @CF_READ_PENDING, align 4, !tbaa !6
%32 = tail call i32 @clear_bit(i32 noundef %31, ptr noundef %0) #2
br label %33
33: ; preds = %27, %23, %20
%34 = getelementptr inbounds i8, ptr %0, i64 4
%35 = tail call i32 @mutex_lock(ptr noundef nonnull %34) #2
%36 = getelementptr inbounds i8, ptr %0, i64 32
%37 = load ptr, ptr %36, align 8, !tbaa !14
%38 = icmp eq ptr %37, null
br i1 %38, label %43, label %39
39: ; preds = %33
%40 = tail call i32 @restore_callbacks(ptr noundef nonnull %37) #2
%41 = load ptr, ptr %36, align 8, !tbaa !14
%42 = tail call i32 @sock_release(ptr noundef %41) #2
store ptr null, ptr %36, align 8, !tbaa !14
br label %43
43: ; preds = %39, %33
%44 = getelementptr inbounds i8, ptr %0, i64 24
%45 = load ptr, ptr %44, align 8, !tbaa !15
%46 = icmp ne ptr %45, null
%47 = icmp ne i32 %1, 0
%48 = and i1 %47, %46
br i1 %48, label %49, label %50
49: ; preds = %43
tail call void @close_connection(ptr noundef nonnull %45, i32 noundef 0, i32 noundef 1, i32 noundef 1)
br label %50
50: ; preds = %49, %43
%51 = getelementptr inbounds i8, ptr %0, i64 16
%52 = load ptr, ptr %51, align 8, !tbaa !16
%53 = icmp eq ptr %52, null
br i1 %53, label %56, label %54
54: ; preds = %50
%55 = tail call i32 @__free_page(ptr noundef nonnull %52) #2
store ptr null, ptr %51, align 8, !tbaa !16
br label %56
56: ; preds = %54, %50
%57 = getelementptr inbounds i8, ptr %0, i64 8
store i64 0, ptr %57, align 8, !tbaa !17
%58 = tail call i32 @mutex_unlock(ptr noundef nonnull %34) #2
%59 = load i32, ptr @CF_CLOSING, align 4, !tbaa !6
%60 = tail call i32 @clear_bit(i32 noundef %59, ptr noundef nonnull %0) #2
ret void
}
declare i32 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @cancel_work_sync(ptr noundef) local_unnamed_addr #1
declare i32 @log_print(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @restore_callbacks(ptr noundef) local_unnamed_addr #1
declare i32 @sock_release(ptr noundef) local_unnamed_addr #1
declare i32 @__free_page(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!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 40}
!11 = !{!"connection", !7, i64 0, !7, i64 4, !12, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !7, i64 40, !7, i64 44, !7, i64 48}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 32}
!15 = !{!11, !13, i64 24}
!16 = !{!11, !13, i64 16}
!17 = !{!11, !12, i64 8}
|
linux_fs_dlm_extr_lowcomms.c_close_connection
|
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/local/extr_45175.c_ptsc_init.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/local/extr_45175.c_ptsc_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.ptsc = type { i64, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ptsc_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ptsc_init(ptr nocapture noundef %0, i64 noundef %1, i64 noundef %2) #0 {
store i64 %1, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.ptsc, ptr %0, i64 0, i32 1
store i64 %2, ptr %4, align 8, !tbaa !12
%5 = getelementptr inbounds %struct.ptsc, ptr %0, i64 0, i32 1, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = tail call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8) #2
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ptsc", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !7, i64 0, !11, i64 8}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !11, i64 16}
|
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/local/extr_45175.c_ptsc_init.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/local/extr_45175.c_ptsc_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ptsc_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ptsc_init(ptr nocapture noundef %0, i64 noundef %1, i64 noundef %2) #0 {
store i64 %1, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %2, ptr %4, align 8, !tbaa !13
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load ptr, ptr %5, align 8, !tbaa !14
%7 = tail call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8) #2
ret void
}
declare i32 @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, !8, i64 0}
!7 = !{!"ptsc", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !8, i64 0, !12, i64 8}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !12, i64 16}
|
exploitdb_exploits_linux_local_extr_45175.c_ptsc_init
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_f71805f.c_temp_to_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_f71805f.c_temp_to_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @temp_to_reg], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i64 @temp_to_reg(i64 noundef %0) #0 {
%2 = icmp slt i64 %0, 0
br i1 %2, label %10, label %3
3: ; preds = %1
%4 = icmp ugt i64 %0, 255000
%5 = trunc i64 %0 to i32
%6 = add i32 %5, 500
%7 = udiv i32 %6, 1000
%8 = zext nneg i32 %7 to i64
%9 = select i1 %4, i64 0, i64 %8
br label %10
10: ; preds = %1, %3
%11 = phi i64 [ %9, %3 ], [ 0, %1 ]
ret i64 %11
}
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/fastsocket/kernel/drivers/hwmon/extr_f71805f.c_temp_to_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_f71805f.c_temp_to_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @temp_to_reg], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i64 0, 9223372036854776) i64 @temp_to_reg(i64 noundef %0) #0 {
%2 = icmp slt i64 %0, 0
br i1 %2, label %10, label %3
3: ; preds = %1
%4 = icmp ugt i64 %0, 255000
%5 = trunc i64 %0 to i32
%6 = add i32 %5, 500
%7 = udiv i32 %6, 1000
%8 = zext nneg i32 %7 to i64
%9 = select i1 %4, i64 0, i64 %8
br label %10
10: ; preds = %1, %3
%11 = phi i64 [ %9, %3 ], [ 0, %1 ]
ret i64 %11
}
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)"}
|
fastsocket_kernel_drivers_hwmon_extr_f71805f.c_temp_to_reg
|
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/converter/palm_usb/extr_matrix.c_handspring_handshake.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/converter/palm_usb/extr_matrix.c_handspring_handshake.c"
target datalayout = "e-m:e-p270:32:32-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 noundef i32 @handspring_handshake() local_unnamed_addr #0 {
%1 = tail call i32 (...) @get_serial_byte() #2
%2 = icmp eq i32 %1, 249
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = tail call i32 (...) @get_serial_byte() #2
%5 = icmp eq i32 %4, 251
br i1 %5, label %31, label %6
6: ; preds = %0, %3
%7 = tail call i32 (...) @get_serial_byte() #2
%8 = icmp eq i32 %7, 249
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = tail call i32 (...) @get_serial_byte() #2
%11 = icmp eq i32 %10, 251
br i1 %11, label %31, label %12
12: ; preds = %9, %6
%13 = tail call i32 (...) @get_serial_byte() #2
%14 = icmp eq i32 %13, 249
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = tail call i32 (...) @get_serial_byte() #2
%17 = icmp eq i32 %16, 251
br i1 %17, label %31, label %18
18: ; preds = %15, %12
%19 = tail call i32 (...) @get_serial_byte() #2
%20 = icmp eq i32 %19, 249
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = tail call i32 (...) @get_serial_byte() #2
%23 = icmp eq i32 %22, 251
br i1 %23, label %31, label %24
24: ; preds = %21, %18
%25 = tail call i32 (...) @get_serial_byte() #2
%26 = icmp eq i32 %25, 249
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = tail call i32 (...) @get_serial_byte() #2
%29 = icmp eq i32 %28, 251
br i1 %29, label %31, label %30
30: ; preds = %27, %24
br label %31
31: ; preds = %30, %27, %21, %15, %9, %3
%32 = phi i32 [ 1, %3 ], [ 1, %9 ], [ 1, %15 ], [ 1, %21 ], [ 1, %27 ], [ 0, %30 ]
ret i32 %32
}
declare i32 @get_serial_byte(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/converter/palm_usb/extr_matrix.c_handspring_handshake.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/converter/palm_usb/extr_matrix.c_handspring_handshake.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 range(i32 0, 2) i32 @handspring_handshake() local_unnamed_addr #0 {
%1 = tail call i32 @get_serial_byte() #2
%2 = icmp eq i32 %1, 249
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = tail call i32 @get_serial_byte() #2
%5 = icmp eq i32 %4, 251
br i1 %5, label %31, label %6
6: ; preds = %0, %3
%7 = tail call i32 @get_serial_byte() #2
%8 = icmp eq i32 %7, 249
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = tail call i32 @get_serial_byte() #2
%11 = icmp eq i32 %10, 251
br i1 %11, label %31, label %12
12: ; preds = %9, %6
%13 = tail call i32 @get_serial_byte() #2
%14 = icmp eq i32 %13, 249
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = tail call i32 @get_serial_byte() #2
%17 = icmp eq i32 %16, 251
br i1 %17, label %31, label %18
18: ; preds = %15, %12
%19 = tail call i32 @get_serial_byte() #2
%20 = icmp eq i32 %19, 249
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = tail call i32 @get_serial_byte() #2
%23 = icmp eq i32 %22, 251
br i1 %23, label %31, label %24
24: ; preds = %21, %18
%25 = tail call i32 @get_serial_byte() #2
%26 = icmp eq i32 %25, 249
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = tail call i32 @get_serial_byte() #2
%29 = icmp eq i32 %28, 251
br i1 %29, label %31, label %30
30: ; preds = %27, %24
br label %31
31: ; preds = %30, %27, %21, %15, %9, %3
%32 = phi i32 [ 1, %3 ], [ 1, %9 ], [ 1, %15 ], [ 1, %21 ], [ 1, %27 ], [ 0, %30 ]
ret i32 %32
}
declare i32 @get_serial_byte(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
qmk_firmware_keyboards_converter_palm_usb_extr_matrix.c_handspring_handshake
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu8_hwmgr.c_smu8_set_watermark_threshold.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu8_hwmgr.c_smu8_set_watermark_threshold.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PPSMC_MSG_SetWatermarkFrequency = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @smu8_set_watermark_threshold], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @smu8_set_watermark_threshold(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr @PPSMC_MSG_SetWatermarkFrequency, align 4, !tbaa !10
%4 = load i32, ptr %2, align 4, !tbaa !12
%5 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %4) #2
ret i32 0
}
declare i32 @smum_send_msg_to_smc_with_parameter(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"pp_hwmgr", !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 = !{!"smu8_hwmgr", !14, i64 0}
!14 = !{!"TYPE_2__", !11, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu8_hwmgr.c_smu8_set_watermark_threshold.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu8_hwmgr.c_smu8_set_watermark_threshold.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PPSMC_MSG_SetWatermarkFrequency = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @smu8_set_watermark_threshold], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @smu8_set_watermark_threshold(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr @PPSMC_MSG_SetWatermarkFrequency, align 4, !tbaa !11
%4 = load i32, ptr %2, align 4, !tbaa !13
%5 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %4) #2
ret i32 0
}
declare i32 @smum_send_msg_to_smc_with_parameter(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"pp_hwmgr", !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 = !{!"smu8_hwmgr", !15, i64 0}
!15 = !{!"TYPE_2__", !12, i64 0}
|
linux_drivers_gpu_drm_amd_powerplay_hwmgr_extr_smu8_hwmgr.c_smu8_set_watermark_threshold
|
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_dwarf_form.c_dwarf_whatform_direct.c'
source_filename = "AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_dwarf_form.c_dwarf_whatform_direct.c"
target datalayout = "e-m:e-p270:32:32-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, i64, ptr }
@DW_DLE_ARGUMENT = dso_local local_unnamed_addr global i32 0, align 4
@DW_DLV_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@DW_FORM_indirect = dso_local local_unnamed_addr global i64 0, align 8
@DW_DLV_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dwarf_whatform_direct(ptr noundef readonly %0, ptr noundef writeonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %10, label %5
5: ; preds = %3
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = icmp eq ptr %1, null
br i1 %9, label %10, label %14
10: ; preds = %3, %5
%11 = phi ptr [ %8, %5 ], [ null, %3 ]
%12 = load i32, ptr @DW_DLE_ARGUMENT, align 4, !tbaa !13
%13 = tail call i32 @DWARF_SET_ERROR(ptr noundef %11, ptr noundef %2, i32 noundef %12) #2
br label %20
14: ; preds = %5
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%16 = load i64, ptr %15, align 8, !tbaa !15
%17 = icmp eq i64 %16, 0
%18 = select i1 %17, ptr %0, ptr @DW_FORM_indirect
%19 = load i64, ptr %18, align 8, !tbaa !16
store i64 %19, ptr %1, align 8, !tbaa !16
br label %20
20: ; preds = %14, %10
%21 = phi ptr [ @DW_DLV_ERROR, %10 ], [ @DW_DLV_OK, %14 ]
%22 = load i32, ptr %21, align 4, !tbaa !13
ret i32 %22
}
declare i32 @DWARF_SET_ERROR(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_4__", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!6, !7, i64 8}
!16 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_dwarf_form.c_dwarf_whatform_direct.c'
source_filename = "AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_dwarf_form.c_dwarf_whatform_direct.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DW_DLE_ARGUMENT = common local_unnamed_addr global i32 0, align 4
@DW_DLV_ERROR = common local_unnamed_addr global i32 0, align 4
@DW_FORM_indirect = common local_unnamed_addr global i64 0, align 8
@DW_DLV_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dwarf_whatform_direct(ptr noundef readonly %0, ptr noundef writeonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %10, label %5
5: ; preds = %3
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = icmp eq ptr %1, null
br i1 %9, label %10, label %14
10: ; preds = %3, %5
%11 = phi ptr [ %8, %5 ], [ null, %3 ]
%12 = load i32, ptr @DW_DLE_ARGUMENT, align 4, !tbaa !14
%13 = tail call i32 @DWARF_SET_ERROR(ptr noundef %11, ptr noundef %2, i32 noundef %12) #2
br label %20
14: ; preds = %5
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = load i64, ptr %15, align 8, !tbaa !16
%17 = icmp eq i64 %16, 0
%18 = select i1 %17, ptr %0, ptr @DW_FORM_indirect
%19 = load i64, ptr %18, align 8, !tbaa !17
store i64 %19, ptr %1, align 8, !tbaa !17
br label %20
20: ; preds = %14, %10
%21 = phi ptr [ @DW_DLV_ERROR, %10 ], [ @DW_DLV_OK, %14 ]
%22 = load i32, ptr %21, align 4, !tbaa !14
ret i32 %22
}
declare i32 @DWARF_SET_ERROR(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !11, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!7, !8, i64 8}
!17 = !{!8, !8, i64 0}
|
freebsd_contrib_elftoolchain_libdwarf_extr_dwarf_form.c_dwarf_whatform_direct
|
; ModuleID = 'AnghaBench/linux/net/tipc/extr_node.c_tipc_node_xmit.c'
source_filename = "AnghaBench/linux/net/tipc/extr_node.c_tipc_node_xmit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sk_buff_head = type { i32 }
%struct.tipc_node = type { ptr, ptr }
%struct.tipc_link_entry = type { i32, i32, i32 }
@EHOSTUNREACH = dso_local local_unnamed_addr global i32 0, align 4
@INVALID_BEARER_ID = dso_local local_unnamed_addr global i32 0, align 4
@ENOBUFS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @tipc_node_xmit(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.sk_buff_head, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = tail call i64 @in_own_node(ptr noundef %0, i32 noundef %2) #3
%7 = icmp eq i64 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %4
%9 = tail call i32 @tipc_loopback_trace(ptr noundef %0, ptr noundef %1) #3
%10 = tail call i32 @spin_lock_init(ptr noundef %1) #3
%11 = tail call i32 @tipc_sk_rcv(ptr noundef %0, ptr noundef %1) #3
br label %65
12: ; preds = %4
%13 = tail call ptr @tipc_node_find(ptr noundef %0, i32 noundef %2) #3
%14 = icmp eq ptr %13, null
%15 = zext i1 %14 to i32
%16 = tail call i64 @unlikely(i32 noundef %15) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %12
%19 = tail call i32 @__skb_queue_purge(ptr noundef %1) #3
%20 = load i32, ptr @EHOSTUNREACH, align 4, !tbaa !5
%21 = sub nsw i32 0, %20
br label %65
22: ; preds = %12
%23 = tail call i32 @tipc_node_read_lock(ptr noundef %13) #3
%24 = load ptr, ptr %13, align 8, !tbaa !9
%25 = and i32 %3, 1
%26 = zext nneg i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4, !tbaa !5
%29 = load i32, ptr @INVALID_BEARER_ID, align 4, !tbaa !5
%30 = icmp eq i32 %28, %29
%31 = zext i1 %30 to i32
%32 = tail call i64 @unlikely(i32 noundef %31) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %40, label %34
34: ; preds = %22
%35 = tail call i32 @tipc_node_read_unlock(ptr noundef nonnull %13) #3
%36 = tail call i32 @tipc_node_put(ptr noundef nonnull %13) #3
%37 = tail call i32 @__skb_queue_purge(ptr noundef %1) #3
%38 = load i32, ptr @EHOSTUNREACH, align 4, !tbaa !5
%39 = sub nsw i32 0, %38
br label %65
40: ; preds = %22
%41 = call i32 @__skb_queue_head_init(ptr noundef nonnull %5) #3
%42 = getelementptr inbounds %struct.tipc_node, ptr %13, i64 0, i32 1
%43 = load ptr, ptr %42, align 8, !tbaa !12
%44 = sext i32 %28 to i64
%45 = getelementptr inbounds %struct.tipc_link_entry, ptr %43, i64 %44, i32 1
%46 = call i32 @spin_lock_bh(ptr noundef nonnull %45) #3
%47 = getelementptr inbounds %struct.tipc_link_entry, ptr %43, i64 %44, i32 2
%48 = load i32, ptr %47, align 4, !tbaa !13
%49 = call i32 @tipc_link_xmit(i32 noundef %48, ptr noundef %1, ptr noundef nonnull %5) #3
%50 = call i32 @spin_unlock_bh(ptr noundef nonnull %45) #3
%51 = call i32 @tipc_node_read_unlock(ptr noundef nonnull %13) #3
%52 = load i32, ptr @ENOBUFS, align 4, !tbaa !5
%53 = sub nsw i32 0, %52
%54 = icmp eq i32 %49, %53
%55 = zext i1 %54 to i32
%56 = call i64 @unlikely(i32 noundef %55) #3
%57 = icmp eq i64 %56, 0
br i1 %57, label %60, label %58
58: ; preds = %40
%59 = call i32 @tipc_node_link_down(ptr noundef nonnull %13, i32 noundef %28, i32 noundef 0) #3
br label %63
60: ; preds = %40
%61 = getelementptr inbounds %struct.tipc_link_entry, ptr %43, i64 %44
%62 = call i32 @tipc_bearer_xmit(ptr noundef %0, i32 noundef %28, ptr noundef nonnull %5, ptr noundef %61) #3
br label %63
63: ; preds = %60, %58
%64 = call i32 @tipc_node_put(ptr noundef nonnull %13) #3
br label %65
65: ; preds = %63, %34, %18, %8
%66 = phi i32 [ 0, %8 ], [ %21, %18 ], [ %39, %34 ], [ %49, %63 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @in_own_node(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tipc_loopback_trace(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #2
declare i32 @tipc_sk_rcv(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @tipc_node_find(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i32 @__skb_queue_purge(ptr noundef) local_unnamed_addr #2
declare i32 @tipc_node_read_lock(ptr noundef) local_unnamed_addr #2
declare i32 @tipc_node_read_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @tipc_node_put(ptr noundef) local_unnamed_addr #2
declare i32 @__skb_queue_head_init(ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #2
declare i32 @tipc_link_xmit(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #2
declare i32 @tipc_node_link_down(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tipc_bearer_xmit(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"tipc_node", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!14, !6, i64 8}
!14 = !{!"tipc_link_entry", !6, i64 0, !6, i64 4, !6, i64 8}
|
; ModuleID = 'AnghaBench/linux/net/tipc/extr_node.c_tipc_node_xmit.c'
source_filename = "AnghaBench/linux/net/tipc/extr_node.c_tipc_node_xmit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sk_buff_head = type { i32 }
%struct.tipc_link_entry = type { i32, i32, i32 }
@EHOSTUNREACH = common local_unnamed_addr global i32 0, align 4
@INVALID_BEARER_ID = common local_unnamed_addr global i32 0, align 4
@ENOBUFS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @tipc_node_xmit(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.sk_buff_head, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = tail call i64 @in_own_node(ptr noundef %0, i32 noundef %2) #3
%7 = icmp eq i64 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %4
%9 = tail call i32 @tipc_loopback_trace(ptr noundef %0, ptr noundef %1) #3
%10 = tail call i32 @spin_lock_init(ptr noundef %1) #3
%11 = tail call i32 @tipc_sk_rcv(ptr noundef %0, ptr noundef %1) #3
br label %65
12: ; preds = %4
%13 = tail call ptr @tipc_node_find(ptr noundef %0, i32 noundef %2) #3
%14 = icmp eq ptr %13, null
%15 = zext i1 %14 to i32
%16 = tail call i64 @unlikely(i32 noundef %15) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %12
%19 = tail call i32 @__skb_queue_purge(ptr noundef %1) #3
%20 = load i32, ptr @EHOSTUNREACH, align 4, !tbaa !6
%21 = sub nsw i32 0, %20
br label %65
22: ; preds = %12
%23 = tail call i32 @tipc_node_read_lock(ptr noundef %13) #3
%24 = load ptr, ptr %13, align 8, !tbaa !10
%25 = and i32 %3, 1
%26 = zext nneg i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4, !tbaa !6
%29 = load i32, ptr @INVALID_BEARER_ID, align 4, !tbaa !6
%30 = icmp eq i32 %28, %29
%31 = zext i1 %30 to i32
%32 = tail call i64 @unlikely(i32 noundef %31) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %40, label %34
34: ; preds = %22
%35 = tail call i32 @tipc_node_read_unlock(ptr noundef nonnull %13) #3
%36 = tail call i32 @tipc_node_put(ptr noundef nonnull %13) #3
%37 = tail call i32 @__skb_queue_purge(ptr noundef %1) #3
%38 = load i32, ptr @EHOSTUNREACH, align 4, !tbaa !6
%39 = sub nsw i32 0, %38
br label %65
40: ; preds = %22
%41 = call i32 @__skb_queue_head_init(ptr noundef nonnull %5) #3
%42 = getelementptr inbounds i8, ptr %13, i64 8
%43 = load ptr, ptr %42, align 8, !tbaa !13
%44 = sext i32 %28 to i64
%45 = getelementptr inbounds %struct.tipc_link_entry, ptr %43, i64 %44
%46 = getelementptr inbounds i8, ptr %45, i64 4
%47 = call i32 @spin_lock_bh(ptr noundef nonnull %46) #3
%48 = getelementptr inbounds i8, ptr %45, i64 8
%49 = load i32, ptr %48, align 4, !tbaa !14
%50 = call i32 @tipc_link_xmit(i32 noundef %49, ptr noundef %1, ptr noundef nonnull %5) #3
%51 = call i32 @spin_unlock_bh(ptr noundef nonnull %46) #3
%52 = call i32 @tipc_node_read_unlock(ptr noundef nonnull %13) #3
%53 = load i32, ptr @ENOBUFS, align 4, !tbaa !6
%54 = sub nsw i32 0, %53
%55 = icmp eq i32 %50, %54
%56 = zext i1 %55 to i32
%57 = call i64 @unlikely(i32 noundef %56) #3
%58 = icmp eq i64 %57, 0
br i1 %58, label %61, label %59
59: ; preds = %40
%60 = call i32 @tipc_node_link_down(ptr noundef nonnull %13, i32 noundef %28, i32 noundef 0) #3
br label %63
61: ; preds = %40
%62 = call i32 @tipc_bearer_xmit(ptr noundef %0, i32 noundef %28, ptr noundef nonnull %5, ptr noundef nonnull %45) #3
br label %63
63: ; preds = %61, %59
%64 = call i32 @tipc_node_put(ptr noundef nonnull %13) #3
br label %65
65: ; preds = %63, %34, %18, %8
%66 = phi i32 [ 0, %8 ], [ %21, %18 ], [ %39, %34 ], [ %50, %63 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @in_own_node(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tipc_loopback_trace(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #2
declare i32 @tipc_sk_rcv(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @tipc_node_find(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i32 @__skb_queue_purge(ptr noundef) local_unnamed_addr #2
declare i32 @tipc_node_read_lock(ptr noundef) local_unnamed_addr #2
declare i32 @tipc_node_read_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @tipc_node_put(ptr noundef) local_unnamed_addr #2
declare i32 @__skb_queue_head_init(ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #2
declare i32 @tipc_link_xmit(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #2
declare i32 @tipc_node_link_down(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tipc_bearer_xmit(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"tipc_node", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!15, !7, i64 8}
!15 = !{!"tipc_link_entry", !7, i64 0, !7, i64 4, !7, i64 8}
|
linux_net_tipc_extr_node.c_tipc_node_xmit
|
; ModuleID = 'AnghaBench/linux/drivers/auxdisplay/extr_cfag12864bfb.c_cfag12864bfb_remove.c'
source_filename = "AnghaBench/linux/drivers/auxdisplay/extr_cfag12864bfb.c_cfag12864bfb_remove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @cfag12864bfb_remove], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @cfag12864bfb_remove(ptr noundef %0) #0 {
%2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i32 @unregister_framebuffer(ptr noundef nonnull %2) #2
%6 = tail call i32 @framebuffer_release(ptr noundef nonnull %2) #2
br label %7
7: ; preds = %4, %1
ret i32 0
}
declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @unregister_framebuffer(ptr noundef) local_unnamed_addr #1
declare i32 @framebuffer_release(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/auxdisplay/extr_cfag12864bfb.c_cfag12864bfb_remove.c'
source_filename = "AnghaBench/linux/drivers/auxdisplay/extr_cfag12864bfb.c_cfag12864bfb_remove.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @cfag12864bfb_remove], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @cfag12864bfb_remove(ptr noundef %0) #0 {
%2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i32 @unregister_framebuffer(ptr noundef nonnull %2) #2
%6 = tail call i32 @framebuffer_release(ptr noundef nonnull %2) #2
br label %7
7: ; preds = %4, %1
ret i32 0
}
declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @unregister_framebuffer(ptr noundef) local_unnamed_addr #1
declare i32 @framebuffer_release(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_auxdisplay_extr_cfag12864bfb.c_cfag12864bfb_remove
|
; ModuleID = 'AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_compat.c_linux_completion_done.c'
source_filename = "AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_compat.c_linux_completion_done.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @linux_completion_done(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @sleepq_lock(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = icmp ne i64 %3, 0
%5 = zext i1 %4 to i32
%6 = tail call i32 @sleepq_release(ptr noundef nonnull %0) #2
ret i32 %5
}
declare i32 @sleepq_lock(ptr noundef) local_unnamed_addr #1
declare i32 @sleepq_release(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 = !{!"completion", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_compat.c_linux_completion_done.c'
source_filename = "AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_compat.c_linux_completion_done.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 range(i32 0, 2) i32 @linux_completion_done(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @sleepq_lock(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = icmp ne i64 %3, 0
%5 = zext i1 %4 to i32
%6 = tail call i32 @sleepq_release(ptr noundef nonnull %0) #2
ret i32 %5
}
declare i32 @sleepq_lock(ptr noundef) local_unnamed_addr #1
declare i32 @sleepq_release(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 = !{!"completion", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
freebsd_sys_compat_linuxkpi_common_src_extr_linux_compat.c_linux_completion_done
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_atari_scsi.c_atari_scsi_dma_recv_setup.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_atari_scsi.c_atari_scsi_dma_recv_setup.c"
target datalayout = "e-m:e-p270:32:32-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 @atari_scsi_dma_recv_setup], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @atari_scsi_dma_recv_setup(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @atari_scsi_dma_setup(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0) #2
ret i32 %4
}
declare i32 @atari_scsi_dma_setup(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_atari_scsi.c_atari_scsi_dma_recv_setup.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_atari_scsi.c_atari_scsi_dma_recv_setup.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 @atari_scsi_dma_recv_setup], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @atari_scsi_dma_recv_setup(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @atari_scsi_dma_setup(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0) #2
ret i32 %4
}
declare i32 @atari_scsi_dma_setup(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_scsi_extr_atari_scsi.c_atari_scsi_dma_recv_setup
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_main.c_prepare_phy_data_for_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_main.c_prepare_phy_data_for_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.b43legacy_phy = type { i32, ptr, ptr, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i32, i32, i32 }
@B43legacy_LO_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @prepare_phy_data_for_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @prepare_phy_data_for_init(ptr noundef %0) #0 {
%2 = tail call i32 @b43legacy_default_baseband_attenuation(ptr noundef %0) #3
%3 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 18
store i32 %2, ptr %3, align 8, !tbaa !5
%4 = tail call i32 @b43legacy_default_radio_attenuation(ptr noundef %0) #3
%5 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 17
store i32 %4, ptr %5, align 4, !tbaa !12
%6 = tail call i32 @b43legacy_default_txctl1(ptr noundef %0) #3
%7 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 16
store i32 %6, ptr %7, align 8, !tbaa !13
store i32 65535, ptr %0, align 8, !tbaa !14
%8 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 14
%9 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, i8 0, i64 16, i1 false)
%10 = load ptr, ptr %9, align 8, !tbaa !15
%11 = tail call i32 @ARRAY_SIZE(ptr noundef %10) #3
%12 = icmp sgt i32 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %18, %1
%14 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 2
%15 = load ptr, ptr %14, align 8, !tbaa !16
%16 = tail call i32 @ARRAY_SIZE(ptr noundef %15) #3
%17 = icmp sgt i32 %16, 0
br i1 %17, label %26, label %35
18: ; preds = %1, %18
%19 = phi i64 [ %22, %18 ], [ 0, %1 ]
%20 = load ptr, ptr %9, align 8, !tbaa !15
%21 = getelementptr inbounds i32, ptr %20, i64 %19
store i32 -1000, ptr %21, align 4, !tbaa !17
%22 = add nuw nsw i64 %19, 1
%23 = tail call i32 @ARRAY_SIZE(ptr noundef %20) #3
%24 = sext i32 %23 to i64
%25 = icmp slt i64 %22, %24
br i1 %25, label %18, label %13, !llvm.loop !18
26: ; preds = %13, %26
%27 = phi i64 [ %31, %26 ], [ 0, %13 ]
%28 = load ptr, ptr %14, align 8, !tbaa !16
%29 = getelementptr inbounds i32, ptr %28, i64 %27
%30 = trunc i64 %27 to i32
store i32 %30, ptr %29, align 4, !tbaa !17
%31 = add nuw nsw i64 %27, 1
%32 = tail call i32 @ARRAY_SIZE(ptr noundef %28) #3
%33 = sext i32 %32 to i64
%34 = icmp slt i64 %31, %33
br i1 %34, label %26, label %35, !llvm.loop !20
35: ; preds = %26, %13
%36 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 3
store <4 x i32> <i32 65535, i32 65535, i32 0, i32 0>, ptr %36, align 8, !tbaa !17
%37 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 7
store i32 0, ptr %37, align 8, !tbaa !21
%38 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 8
store i32 65535, ptr %38, align 4, !tbaa !22
%39 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 13
%40 = load i64, ptr %39, align 8, !tbaa !23
%41 = tail call i32 @memset(i64 noundef %40, i32 noundef 255, i32 noundef 8) #3
%42 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 12
%43 = load i64, ptr %42, align 8, !tbaa !24
%44 = tail call i32 @memset(i64 noundef %43, i32 noundef 0, i32 noundef 8) #3
%45 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 11
store i64 0, ptr %45, align 8, !tbaa !25
%46 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 10
%47 = load i64, ptr %46, align 8, !tbaa !26
%48 = icmp eq i64 %47, 0
br i1 %48, label %53, label %49
49: ; preds = %35
%50 = load i32, ptr @B43legacy_LO_COUNT, align 4, !tbaa !17
%51 = shl i32 %50, 2
%52 = tail call i32 @memset(i64 noundef %47, i32 noundef 0, i32 noundef %51) #3
br label %53
53: ; preds = %49, %35
%54 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 9
%55 = load i64, ptr %54, align 8, !tbaa !27
%56 = tail call i32 @memset(i64 noundef %55, i32 noundef 0, i32 noundef 8) #3
ret void
}
declare i32 @b43legacy_default_baseband_attenuation(ptr noundef) local_unnamed_addr #1
declare i32 @b43legacy_default_radio_attenuation(ptr noundef) local_unnamed_addr #1
declare i32 @b43legacy_default_txctl1(ptr noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @memset(i64 noundef, i32 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, !7, i64 112}
!6 = !{!"b43legacy_phy", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !7, i64 104, !7, i64 108, !7, i64 112}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 108}
!13 = !{!6, !7, i64 104}
!14 = !{!6, !7, i64 0}
!15 = !{!6, !10, i64 8}
!16 = !{!6, !10, i64 16}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!6, !7, i64 40}
!22 = !{!6, !7, i64 44}
!23 = !{!6, !11, i64 80}
!24 = !{!6, !11, i64 72}
!25 = !{!6, !11, i64 64}
!26 = !{!6, !11, i64 56}
!27 = !{!6, !11, i64 48}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_main.c_prepare_phy_data_for_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_main.c_prepare_phy_data_for_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@B43legacy_LO_COUNT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @prepare_phy_data_for_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @prepare_phy_data_for_init(ptr noundef %0) #0 {
%2 = tail call i32 @b43legacy_default_baseband_attenuation(ptr noundef %0) #3
%3 = getelementptr inbounds i8, ptr %0, i64 112
store i32 %2, ptr %3, align 8, !tbaa !6
%4 = tail call i32 @b43legacy_default_radio_attenuation(ptr noundef %0) #3
%5 = getelementptr inbounds i8, ptr %0, i64 108
store i32 %4, ptr %5, align 4, !tbaa !13
%6 = tail call i32 @b43legacy_default_txctl1(ptr noundef %0) #3
%7 = getelementptr inbounds i8, ptr %0, i64 104
store i32 %6, ptr %7, align 8, !tbaa !14
store i32 65535, ptr %0, align 8, !tbaa !15
%8 = getelementptr inbounds i8, ptr %0, i64 88
%9 = getelementptr inbounds i8, ptr %0, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, i8 0, i64 16, i1 false)
%10 = load ptr, ptr %9, align 8, !tbaa !16
%11 = tail call i32 @ARRAY_SIZE(ptr noundef %10) #3
%12 = icmp sgt i32 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %18, %1
%14 = getelementptr inbounds i8, ptr %0, i64 16
%15 = load ptr, ptr %14, align 8, !tbaa !17
%16 = tail call i32 @ARRAY_SIZE(ptr noundef %15) #3
%17 = icmp sgt i32 %16, 0
br i1 %17, label %26, label %35
18: ; preds = %1, %18
%19 = phi i64 [ %22, %18 ], [ 0, %1 ]
%20 = load ptr, ptr %9, align 8, !tbaa !16
%21 = getelementptr inbounds i32, ptr %20, i64 %19
store i32 -1000, ptr %21, align 4, !tbaa !18
%22 = add nuw nsw i64 %19, 1
%23 = tail call i32 @ARRAY_SIZE(ptr noundef %20) #3
%24 = sext i32 %23 to i64
%25 = icmp slt i64 %22, %24
br i1 %25, label %18, label %13, !llvm.loop !19
26: ; preds = %13, %26
%27 = phi i64 [ %31, %26 ], [ 0, %13 ]
%28 = load ptr, ptr %14, align 8, !tbaa !17
%29 = getelementptr inbounds i32, ptr %28, i64 %27
%30 = trunc nuw nsw i64 %27 to i32
store i32 %30, ptr %29, align 4, !tbaa !18
%31 = add nuw nsw i64 %27, 1
%32 = tail call i32 @ARRAY_SIZE(ptr noundef %28) #3
%33 = sext i32 %32 to i64
%34 = icmp slt i64 %31, %33
br i1 %34, label %26, label %35, !llvm.loop !21
35: ; preds = %26, %13
%36 = getelementptr inbounds i8, ptr %0, i64 24
store <4 x i32> <i32 65535, i32 65535, i32 0, i32 0>, ptr %36, align 8, !tbaa !18
%37 = getelementptr inbounds i8, ptr %0, i64 40
store <2 x i32> <i32 0, i32 65535>, ptr %37, align 8, !tbaa !18
%38 = getelementptr inbounds i8, ptr %0, i64 80
%39 = load i64, ptr %38, align 8, !tbaa !22
%40 = tail call i32 @memset(i64 noundef %39, i32 noundef 255, i32 noundef 8) #3
%41 = getelementptr inbounds i8, ptr %0, i64 72
%42 = load i64, ptr %41, align 8, !tbaa !23
%43 = tail call i32 @memset(i64 noundef %42, i32 noundef 0, i32 noundef 8) #3
%44 = getelementptr inbounds i8, ptr %0, i64 64
store i64 0, ptr %44, align 8, !tbaa !24
%45 = getelementptr inbounds i8, ptr %0, i64 56
%46 = load i64, ptr %45, align 8, !tbaa !25
%47 = icmp eq i64 %46, 0
br i1 %47, label %52, label %48
48: ; preds = %35
%49 = load i32, ptr @B43legacy_LO_COUNT, align 4, !tbaa !18
%50 = shl i32 %49, 2
%51 = tail call i32 @memset(i64 noundef %46, i32 noundef 0, i32 noundef %50) #3
br label %52
52: ; preds = %48, %35
%53 = getelementptr inbounds i8, ptr %0, i64 48
%54 = load i64, ptr %53, align 8, !tbaa !26
%55 = tail call i32 @memset(i64 noundef %54, i32 noundef 0, i32 noundef 8) #3
ret void
}
declare i32 @b43legacy_default_baseband_attenuation(ptr noundef) local_unnamed_addr #1
declare i32 @b43legacy_default_radio_attenuation(ptr noundef) local_unnamed_addr #1
declare i32 @b43legacy_default_txctl1(ptr noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @memset(i64 noundef, i32 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, !8, i64 112}
!7 = !{!"b43legacy_phy", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !8, i64 44, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !8, i64 104, !8, i64 108, !8, i64 112}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !8, i64 108}
!14 = !{!7, !8, i64 104}
!15 = !{!7, !8, i64 0}
!16 = !{!7, !11, i64 8}
!17 = !{!7, !11, i64 16}
!18 = !{!8, !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{!7, !12, i64 80}
!23 = !{!7, !12, i64 72}
!24 = !{!7, !12, i64 64}
!25 = !{!7, !12, i64 56}
!26 = !{!7, !12, i64 48}
|
fastsocket_kernel_drivers_net_wireless_b43legacy_extr_main.c_prepare_phy_data_for_init
|
; ModuleID = 'AnghaBench/reactos/base/applications/cmdutils/whoami/extr_whoami.c_WhoamiAllocTable.c'
source_filename = "AnghaBench/reactos/base/applications/cmdutils/whoami/extr_whoami.c_WhoamiAllocTable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i32 }
@HEAP_ZERO_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [51 x i32] [i32 69, i32 82, i32 82, i32 79, i32 82, i32 58, i32 32, i32 78, i32 111, i32 116, i32 32, i32 101, i32 110, i32 111, i32 117, i32 103, i32 104, i32 32, i32 109, i32 101, i32 109, i32 111, i32 114, i32 121, i32 32, i32 102, i32 111, i32 114, i32 32, i32 100, i32 105, i32 115, i32 112, i32 108, i32 97, i32 121, i32 105, i32 110, i32 103, i32 32, i32 116, i32 104, i32 101, i32 32, i32 116, i32 97, i32 98, i32 108, i32 101, i32 46, i32 0], align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @WhoamiAllocTable(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @GetProcessHeap() #3
%4 = load i32, ptr @HEAP_ZERO_MEMORY, align 4, !tbaa !5
%5 = shl i32 %0, 2
%6 = mul i32 %5, %1
%7 = add i32 %6, 8
%8 = tail call ptr @HeapAlloc(i32 noundef %3, i32 noundef %4, i32 noundef %7) #3
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = tail call i32 @wprintf(ptr noundef nonnull @.str) #3
%12 = tail call i32 @exit(i32 noundef 1) #4
unreachable
13: ; preds = %2
store i32 %0, ptr %8, align 4, !tbaa !9
%14 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 0, i32 1
store i32 %1, ptr %14, align 4, !tbaa !11
ret ptr %8
}
declare ptr @HeapAlloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GetProcessHeap(...) local_unnamed_addr #1
declare i32 @wprintf(ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_4__", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
|
; ModuleID = 'AnghaBench/reactos/base/applications/cmdutils/whoami/extr_whoami.c_WhoamiAllocTable.c'
source_filename = "AnghaBench/reactos/base/applications/cmdutils/whoami/extr_whoami.c_WhoamiAllocTable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HEAP_ZERO_MEMORY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [51 x i32] [i32 69, i32 82, i32 82, i32 79, i32 82, i32 58, i32 32, i32 78, i32 111, i32 116, i32 32, i32 101, i32 110, i32 111, i32 117, i32 103, i32 104, i32 32, i32 109, i32 101, i32 109, i32 111, i32 114, i32 121, i32 32, i32 102, i32 111, i32 114, i32 32, i32 100, i32 105, i32 115, i32 112, i32 108, i32 97, i32 121, i32 105, i32 110, i32 103, i32 32, i32 116, i32 104, i32 101, i32 32, i32 116, i32 97, i32 98, i32 108, i32 101, i32 46, i32 0], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @WhoamiAllocTable(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @GetProcessHeap() #3
%4 = load i32, ptr @HEAP_ZERO_MEMORY, align 4, !tbaa !6
%5 = shl i32 %0, 2
%6 = mul i32 %5, %1
%7 = add i32 %6, 8
%8 = tail call ptr @HeapAlloc(i32 noundef %3, i32 noundef %4, i32 noundef %7) #3
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = tail call i32 @wprintf(ptr noundef nonnull @.str) #3
%12 = tail call i32 @exit(i32 noundef 1) #4
unreachable
13: ; preds = %2
store i32 %0, ptr %8, align 4, !tbaa !10
%14 = getelementptr inbounds i8, ptr %8, i64 4
store i32 %1, ptr %14, align 4, !tbaa !12
ret ptr %8
}
declare ptr @HeapAlloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GetProcessHeap(...) local_unnamed_addr #1
declare i32 @wprintf(ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 4}
|
reactos_base_applications_cmdutils_whoami_extr_whoami.c_WhoamiAllocTable
|
; ModuleID = 'AnghaBench/linux/arch/mips/mm/extr_tlbex.c_build_pte_present.c'
source_filename = "AnghaBench/linux/arch/mips/mm/extr_tlbex.c_build_pte_present.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@cpu_has_rixi = dso_local local_unnamed_addr global i64 0, align 8
@_PAGE_PRESENT = dso_local local_unnamed_addr global i32 0, align 4
@_PAGE_PRESENT_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@_PAGE_NO_READ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @build_pte_present], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @build_pte_present(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = icmp slt i32 %4, 0
%8 = select i1 %7, i32 %2, i32 %4
%9 = load i64, ptr @cpu_has_rixi, align 8, !tbaa !5
%10 = icmp eq i64 %9, 0
br i1 %10, label %31, label %11
11: ; preds = %6
%12 = tail call i64 (...) @use_bbit_insns() #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %11
%15 = load i32, ptr @_PAGE_PRESENT, align 4, !tbaa !9
%16 = tail call i32 @ilog2(i32 noundef %15) #2
%17 = tail call i32 @uasm_il_bbit0(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %16, i32 noundef %5) #2
%18 = tail call i32 @uasm_i_nop(ptr noundef %0) #2
br label %53
19: ; preds = %11
%20 = load i32, ptr @_PAGE_PRESENT_SHIFT, align 4, !tbaa !9
%21 = icmp eq i32 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %19
%23 = tail call i32 @uasm_i_srl(ptr noundef %0, i32 noundef %8, i32 noundef %2, i32 noundef %20) #2
br label %24
24: ; preds = %22, %19
%25 = phi i32 [ %8, %22 ], [ %2, %19 ]
%26 = tail call i32 @uasm_i_andi(ptr noundef %0, i32 noundef %8, i32 noundef %25, i32 noundef 1) #2
%27 = tail call i32 @uasm_il_beqz(ptr noundef %0, ptr noundef %1, i32 noundef %8, i32 noundef %5) #2
%28 = icmp eq i32 %8, %2
br i1 %28, label %29, label %53
29: ; preds = %24
%30 = tail call i32 @iPTE_LW(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
br label %53
31: ; preds = %6
%32 = load i32, ptr @_PAGE_PRESENT_SHIFT, align 4, !tbaa !9
%33 = icmp eq i32 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = tail call i32 @uasm_i_srl(ptr noundef %0, i32 noundef %8, i32 noundef %2, i32 noundef %32) #2
%36 = load i32, ptr @_PAGE_PRESENT_SHIFT, align 4, !tbaa !9
br label %37
37: ; preds = %34, %31
%38 = phi i32 [ %36, %34 ], [ 0, %31 ]
%39 = phi i32 [ %8, %34 ], [ %2, %31 ]
%40 = load i32, ptr @_PAGE_PRESENT, align 4, !tbaa !9
%41 = load i32, ptr @_PAGE_NO_READ, align 4, !tbaa !9
%42 = or i32 %41, %40
%43 = ashr i32 %42, %38
%44 = tail call i32 @uasm_i_andi(ptr noundef %0, i32 noundef %8, i32 noundef %39, i32 noundef %43) #2
%45 = load i32, ptr @_PAGE_PRESENT, align 4, !tbaa !9
%46 = load i32, ptr @_PAGE_PRESENT_SHIFT, align 4, !tbaa !9
%47 = ashr i32 %45, %46
%48 = tail call i32 @uasm_i_xori(ptr noundef %0, i32 noundef %8, i32 noundef %8, i32 noundef %47) #2
%49 = tail call i32 @uasm_il_bnez(ptr noundef %0, ptr noundef %1, i32 noundef %8, i32 noundef %5) #2
%50 = icmp eq i32 %8, %2
br i1 %50, label %51, label %53
51: ; preds = %37
%52 = tail call i32 @iPTE_LW(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
br label %53
53: ; preds = %37, %51, %14, %29, %24
ret void
}
declare i64 @use_bbit_insns(...) local_unnamed_addr #1
declare i32 @uasm_il_bbit0(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ilog2(i32 noundef) local_unnamed_addr #1
declare i32 @uasm_i_nop(ptr noundef) local_unnamed_addr #1
declare i32 @uasm_i_srl(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uasm_i_andi(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uasm_il_beqz(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iPTE_LW(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uasm_i_xori(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uasm_il_bnez(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/arch/mips/mm/extr_tlbex.c_build_pte_present.c'
source_filename = "AnghaBench/linux/arch/mips/mm/extr_tlbex.c_build_pte_present.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cpu_has_rixi = common local_unnamed_addr global i64 0, align 8
@_PAGE_PRESENT = common local_unnamed_addr global i32 0, align 4
@_PAGE_PRESENT_SHIFT = common local_unnamed_addr global i32 0, align 4
@_PAGE_NO_READ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @build_pte_present], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @build_pte_present(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = icmp slt i32 %4, 0
%8 = select i1 %7, i32 %2, i32 %4
%9 = load i64, ptr @cpu_has_rixi, align 8, !tbaa !6
%10 = icmp eq i64 %9, 0
br i1 %10, label %31, label %11
11: ; preds = %6
%12 = tail call i64 @use_bbit_insns() #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %11
%15 = load i32, ptr @_PAGE_PRESENT, align 4, !tbaa !10
%16 = tail call i32 @ilog2(i32 noundef %15) #2
%17 = tail call i32 @uasm_il_bbit0(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %16, i32 noundef %5) #2
%18 = tail call i32 @uasm_i_nop(ptr noundef %0) #2
br label %53
19: ; preds = %11
%20 = load i32, ptr @_PAGE_PRESENT_SHIFT, align 4, !tbaa !10
%21 = icmp eq i32 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %19
%23 = tail call i32 @uasm_i_srl(ptr noundef %0, i32 noundef %8, i32 noundef %2, i32 noundef %20) #2
br label %24
24: ; preds = %22, %19
%25 = phi i32 [ %8, %22 ], [ %2, %19 ]
%26 = tail call i32 @uasm_i_andi(ptr noundef %0, i32 noundef %8, i32 noundef %25, i32 noundef 1) #2
%27 = tail call i32 @uasm_il_beqz(ptr noundef %0, ptr noundef %1, i32 noundef %8, i32 noundef %5) #2
%28 = icmp eq i32 %8, %2
br i1 %28, label %29, label %53
29: ; preds = %24
%30 = tail call i32 @iPTE_LW(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
br label %53
31: ; preds = %6
%32 = load i32, ptr @_PAGE_PRESENT_SHIFT, align 4, !tbaa !10
%33 = icmp eq i32 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = tail call i32 @uasm_i_srl(ptr noundef %0, i32 noundef %8, i32 noundef %2, i32 noundef %32) #2
%36 = load i32, ptr @_PAGE_PRESENT_SHIFT, align 4, !tbaa !10
br label %37
37: ; preds = %34, %31
%38 = phi i32 [ %36, %34 ], [ 0, %31 ]
%39 = phi i32 [ %8, %34 ], [ %2, %31 ]
%40 = load i32, ptr @_PAGE_PRESENT, align 4, !tbaa !10
%41 = load i32, ptr @_PAGE_NO_READ, align 4, !tbaa !10
%42 = or i32 %41, %40
%43 = ashr i32 %42, %38
%44 = tail call i32 @uasm_i_andi(ptr noundef %0, i32 noundef %8, i32 noundef %39, i32 noundef %43) #2
%45 = load i32, ptr @_PAGE_PRESENT, align 4, !tbaa !10
%46 = load i32, ptr @_PAGE_PRESENT_SHIFT, align 4, !tbaa !10
%47 = ashr i32 %45, %46
%48 = tail call i32 @uasm_i_xori(ptr noundef %0, i32 noundef %8, i32 noundef %8, i32 noundef %47) #2
%49 = tail call i32 @uasm_il_bnez(ptr noundef %0, ptr noundef %1, i32 noundef %8, i32 noundef %5) #2
%50 = icmp eq i32 %8, %2
br i1 %50, label %51, label %53
51: ; preds = %37
%52 = tail call i32 @iPTE_LW(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
br label %53
53: ; preds = %37, %51, %14, %29, %24
ret void
}
declare i64 @use_bbit_insns(...) local_unnamed_addr #1
declare i32 @uasm_il_bbit0(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ilog2(i32 noundef) local_unnamed_addr #1
declare i32 @uasm_i_nop(ptr noundef) local_unnamed_addr #1
declare i32 @uasm_i_srl(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uasm_i_andi(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uasm_il_beqz(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iPTE_LW(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uasm_i_xori(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uasm_il_bnez(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
|
linux_arch_mips_mm_extr_tlbex.c_build_pte_present
|
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_edit.c_EDIT_MovePageDown_ML.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_edit.c_EDIT_MovePageDown_ML.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i16, i16, i32, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { i16, i16 }
@EF_AFTER_WRAP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @EDIT_MovePageDown_ML], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @EDIT_MovePageDown_ML(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = load i16, ptr %0, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
%6 = load i16, ptr %5, align 2, !tbaa !12
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%7 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = load i32, ptr @EF_AFTER_WRAP, align 4, !tbaa !14
%10 = and i32 %9, %8
store i32 %10, ptr %3, align 4, !tbaa !14
%11 = tail call i32 @EDIT_EM_PosFromChar(ptr noundef nonnull %0, i16 noundef signext %6, i32 noundef %10) #3
%12 = tail call i64 @LOWORD(i32 noundef %11) #3
%13 = trunc i64 %12 to i16
%14 = tail call i64 @HIWORD(i32 noundef %11) #3
%15 = trunc i64 %14 to i16
%16 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3
%17 = load i16, ptr %16, align 4, !tbaa !15
%18 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3, i32 1
%19 = load i16, ptr %18, align 2, !tbaa !16
%20 = add i16 %17, %15
%21 = sub i16 %20, %19
%22 = call signext i16 @EDIT_CharFromPos(ptr noundef nonnull %0, i16 noundef signext %13, i16 noundef signext %21, ptr noundef nonnull %3) #3
%23 = icmp eq i32 %1, 0
%24 = select i1 %23, i16 %22, i16 %4
%25 = load i32, ptr %3, align 4, !tbaa !14
%26 = call i32 @EDIT_EM_SetSel(ptr noundef nonnull %0, i16 noundef signext %24, i16 noundef signext %22, i32 noundef %25) #3
%27 = call i32 @EDIT_EM_ScrollCaret(ptr noundef nonnull %0) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @EDIT_EM_PosFromChar(ptr noundef, i16 noundef signext, i32 noundef) local_unnamed_addr #2
declare i64 @LOWORD(i32 noundef) local_unnamed_addr #2
declare i64 @HIWORD(i32 noundef) local_unnamed_addr #2
declare signext i16 @EDIT_CharFromPos(ptr noundef, i16 noundef signext, i16 noundef signext, ptr noundef) local_unnamed_addr #2
declare i32 @EDIT_EM_SetSel(ptr noundef, i16 noundef signext, i16 noundef signext, i32 noundef) local_unnamed_addr #2
declare i32 @EDIT_EM_ScrollCaret(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_9__", !7, i64 0, !7, i64 2, !10, i64 4, !11, i64 8}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"TYPE_8__", !7, i64 0, !7, i64 2}
!12 = !{!6, !7, i64 2}
!13 = !{!6, !10, i64 4}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !7, i64 8}
!16 = !{!6, !7, i64 10}
|
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_edit.c_EDIT_MovePageDown_ML.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_edit.c_EDIT_MovePageDown_ML.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EF_AFTER_WRAP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @EDIT_MovePageDown_ML], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @EDIT_MovePageDown_ML(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = load i16, ptr %0, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 2
%6 = load i16, ptr %5, align 2, !tbaa !13
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = load i32, ptr @EF_AFTER_WRAP, align 4, !tbaa !15
%10 = and i32 %9, %8
store i32 %10, ptr %3, align 4, !tbaa !15
%11 = tail call i32 @EDIT_EM_PosFromChar(ptr noundef nonnull %0, i16 noundef signext %6, i32 noundef %10) #3
%12 = tail call i64 @LOWORD(i32 noundef %11) #3
%13 = trunc i64 %12 to i16
%14 = tail call i64 @HIWORD(i32 noundef %11) #3
%15 = trunc i64 %14 to i16
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load i16, ptr %16, align 4, !tbaa !16
%18 = getelementptr inbounds i8, ptr %0, i64 10
%19 = load i16, ptr %18, align 2, !tbaa !17
%20 = add i16 %17, %15
%21 = sub i16 %20, %19
%22 = call signext i16 @EDIT_CharFromPos(ptr noundef nonnull %0, i16 noundef signext %13, i16 noundef signext %21, ptr noundef nonnull %3) #3
%23 = icmp eq i32 %1, 0
%24 = select i1 %23, i16 %22, i16 %4
%25 = load i32, ptr %3, align 4, !tbaa !15
%26 = call i32 @EDIT_EM_SetSel(ptr noundef nonnull %0, i16 noundef signext %24, i16 noundef signext %22, i32 noundef %25) #3
%27 = call i32 @EDIT_EM_ScrollCaret(ptr noundef nonnull %0) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @EDIT_EM_PosFromChar(ptr noundef, i16 noundef signext, i32 noundef) local_unnamed_addr #2
declare i64 @LOWORD(i32 noundef) local_unnamed_addr #2
declare i64 @HIWORD(i32 noundef) local_unnamed_addr #2
declare signext i16 @EDIT_CharFromPos(ptr noundef, i16 noundef signext, i16 noundef signext, ptr noundef) local_unnamed_addr #2
declare i32 @EDIT_EM_SetSel(ptr noundef, i16 noundef signext, i16 noundef signext, i32 noundef) local_unnamed_addr #2
declare i32 @EDIT_EM_ScrollCaret(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_9__", !8, i64 0, !8, i64 2, !11, i64 4, !12, i64 8}
!8 = !{!"short", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"TYPE_8__", !8, i64 0, !8, i64 2}
!13 = !{!7, !8, i64 2}
!14 = !{!7, !11, i64 4}
!15 = !{!11, !11, i64 0}
!16 = !{!7, !8, i64 8}
!17 = !{!7, !8, i64 10}
|
reactos_dll_win32_comctl32_extr_edit.c_EDIT_MovePageDown_ML
|
; ModuleID = 'AnghaBench/libgit2/tests/remote/extr_create.c_test_remote_create__with_opts_conflicting_name.c'
source_filename = "AnghaBench/libgit2/tests/remote/extr_create.c_test_remote_create__with_opts_conflicting_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"
@GIT_EEXISTS = dso_local local_unnamed_addr global i32 0, align 4
@_repo = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"test\00", align 1
@TEST_URL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @test_remote_create__with_opts_conflicting_name() local_unnamed_addr #0 {
%1 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
store ptr null, ptr %1, align 8, !tbaa !5
%2 = load i32, ptr @GIT_EEXISTS, align 4, !tbaa !9
%3 = load i32, ptr @_repo, align 4, !tbaa !9
%4 = load i32, ptr @TEST_URL, align 4, !tbaa !9
%5 = call i32 @create_with_name(ptr noundef nonnull %1, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %4) #3
%6 = call i32 @cl_git_fail_with(i32 noundef %2, i32 noundef %5) #3
%7 = load ptr, ptr %1, align 8, !tbaa !5
%8 = call i32 @cl_assert_equal_p(ptr noundef %7, ptr noundef null) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cl_git_fail_with(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @create_with_name(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cl_assert_equal_p(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/libgit2/tests/remote/extr_create.c_test_remote_create__with_opts_conflicting_name.c'
source_filename = "AnghaBench/libgit2/tests/remote/extr_create.c_test_remote_create__with_opts_conflicting_name.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GIT_EEXISTS = common local_unnamed_addr global i32 0, align 4
@_repo = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"test\00", align 1
@TEST_URL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @test_remote_create__with_opts_conflicting_name() local_unnamed_addr #0 {
%1 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
store ptr null, ptr %1, align 8, !tbaa !6
%2 = load i32, ptr @GIT_EEXISTS, align 4, !tbaa !10
%3 = load i32, ptr @_repo, align 4, !tbaa !10
%4 = load i32, ptr @TEST_URL, align 4, !tbaa !10
%5 = call i32 @create_with_name(ptr noundef nonnull %1, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %4) #3
%6 = call i32 @cl_git_fail_with(i32 noundef %2, i32 noundef %5) #3
%7 = load ptr, ptr %1, align 8, !tbaa !6
%8 = call i32 @cl_assert_equal_p(ptr noundef %7, ptr noundef null) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cl_git_fail_with(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @create_with_name(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cl_assert_equal_p(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
|
libgit2_tests_remote_extr_create.c_test_remote_create__with_opts_conflicting_name
|
; ModuleID = 'AnghaBench/reactos/dll/win32/riched20/extr_editor.c_ME_SetDefaultFormatRect.c'
source_filename = "AnghaBench/reactos/dll/win32/riched20/extr_editor.c_ME_SetDefaultFormatRect.c"
target datalayout = "e-m:e-p270:32:32-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.TYPE_5__, i64, i32 }
%struct.TYPE_5__ = type { i32, i32, i32 }
@WS_EX_CLIENTEDGE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ME_SetDefaultFormatRect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ME_SetDefaultFormatRect(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%5 = tail call i32 @ITextHost_TxGetClientRect(i32 noundef %3, ptr noundef nonnull %4) #2
%6 = load i32, ptr %0, align 8, !tbaa !12
%7 = load i32, ptr @WS_EX_CLIENTEDGE, align 4, !tbaa !13
%8 = and i32 %7, %6
%9 = icmp ne i32 %8, 0
%10 = zext i1 %9 to i32
%11 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !15
%15 = trunc i64 %12 to i32
%16 = add i32 %15, 1
%17 = add i32 %16, %14
store i32 %17, ptr %13, align 4, !tbaa !15
%18 = load <2 x i32>, ptr %4, align 4, !tbaa !13
%19 = insertelement <2 x i32> <i32 poison, i32 -1>, i32 %10, i64 0
%20 = add nsw <2 x i32> %18, %19
store <2 x i32> %20, ptr %4, align 4, !tbaa !13
ret void
}
declare i32 @ITextHost_TxGetClientRect(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 24}
!6 = !{!"TYPE_4__", !7, i64 0, !10, i64 4, !11, i64 16, !7, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !11, i64 16}
!15 = !{!6, !7, i64 12}
|
; ModuleID = 'AnghaBench/reactos/dll/win32/riched20/extr_editor.c_ME_SetDefaultFormatRect.c'
source_filename = "AnghaBench/reactos/dll/win32/riched20/extr_editor.c_ME_SetDefaultFormatRect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WS_EX_CLIENTEDGE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ME_SetDefaultFormatRect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ME_SetDefaultFormatRect(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 24
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = tail call i32 @ITextHost_TxGetClientRect(i32 noundef %3, ptr noundef nonnull %4) #2
%6 = load i32, ptr %0, align 8, !tbaa !13
%7 = load i32, ptr @WS_EX_CLIENTEDGE, align 4, !tbaa !14
%8 = and i32 %7, %6
%9 = icmp ne i32 %8, 0
%10 = zext i1 %9 to i32
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load i64, ptr %11, align 8, !tbaa !15
%13 = getelementptr inbounds i8, ptr %0, i64 12
%14 = load i32, ptr %13, align 4, !tbaa !16
%15 = trunc i64 %12 to i32
%16 = add i32 %15, 1
%17 = add i32 %16, %14
store i32 %17, ptr %13, align 4, !tbaa !16
%18 = load <2 x i32>, ptr %4, align 4, !tbaa !14
%19 = insertelement <2 x i32> <i32 poison, i32 -1>, i32 %10, i64 0
%20 = add nsw <2 x i32> %18, %19
store <2 x i32> %20, ptr %4, align 4, !tbaa !14
ret void
}
declare i32 @ITextHost_TxGetClientRect(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 24}
!7 = !{!"TYPE_4__", !8, i64 0, !11, i64 4, !12, i64 16, !8, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !8, i64 8}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !12, i64 16}
!16 = !{!7, !8, i64 12}
|
reactos_dll_win32_riched20_extr_editor.c_ME_SetDefaultFormatRect
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_sumo_dpm.c_sumo_patch_boot_state.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_sumo_dpm.c_sumo_patch_boot_state.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sumo_ps = type { i32, ptr, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @sumo_patch_boot_state], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sumo_patch_boot_state(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = tail call ptr @sumo_get_pi(ptr noundef %0) #2
store i32 1, ptr %1, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.sumo_ps, ptr %1, i64 0, i32 2
store i64 0, ptr %4, align 8, !tbaa !12
%5 = load i32, ptr %3, align 4, !tbaa !13
%6 = getelementptr inbounds %struct.sumo_ps, ptr %1, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !15
store i32 %5, ptr %7, align 4, !tbaa !16
ret void
}
declare ptr @sumo_get_pi(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 = !{!"sumo_ps", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !11, i64 16}
!13 = !{!14, !7, i64 0}
!14 = !{!"sumo_power_info", !7, i64 0}
!15 = !{!6, !10, i64 8}
!16 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_sumo_dpm.c_sumo_patch_boot_state.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_sumo_dpm.c_sumo_patch_boot_state.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @sumo_patch_boot_state], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sumo_patch_boot_state(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = tail call ptr @sumo_get_pi(ptr noundef %0) #2
store i32 1, ptr %1, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 16
store i64 0, ptr %4, align 8, !tbaa !13
%5 = load i32, ptr %3, align 4, !tbaa !14
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !16
store i32 %5, ptr %7, align 4, !tbaa !17
ret void
}
declare ptr @sumo_get_pi(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 = !{!"sumo_ps", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !12, i64 16}
!14 = !{!15, !8, i64 0}
!15 = !{!"sumo_power_info", !8, i64 0}
!16 = !{!7, !11, i64 8}
!17 = !{!8, !8, i64 0}
|
linux_drivers_gpu_drm_radeon_extr_sumo_dpm.c_sumo_patch_boot_state
|
; ModuleID = 'AnghaBench/freebsd/contrib/apr-util/hooks/extr_apr_hooks.c_sort_hook.c'
source_filename = "AnghaBench/freebsd/contrib/apr-util/hooks/extr_apr_hooks.c_sort_hook.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_14__ = type { i32, i64 }
%struct.TYPE_16__ = type { i32, ptr }
@apr_hook_global_pool = dso_local local_unnamed_addr global i32 0, align 4
@apr_hook_debug_enabled = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [12 x i8] c"Sorting %s:\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %s\00", align 1
@stdout = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sort_hook], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @sort_hook(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load i32, ptr @apr_hook_global_pool, align 4, !tbaa !5
%5 = call i32 @apr_pool_create(ptr noundef nonnull %3, i32 noundef %4) #3
%6 = load ptr, ptr %3, align 8, !tbaa !9
%7 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = inttoptr i64 %8 to ptr
%10 = load i32, ptr %0, align 8, !tbaa !14
%11 = call ptr @prepare(ptr noundef %6, ptr noundef %9, i32 noundef %10) #3
%12 = load i32, ptr %0, align 8, !tbaa !14
%13 = call ptr @tsort(ptr noundef %11, i32 noundef %12) #3
%14 = load i32, ptr @apr_hook_global_pool, align 4, !tbaa !5
%15 = load i32, ptr %0, align 8, !tbaa !14
%16 = call ptr @apr_array_make(i32 noundef %14, i32 noundef %15, i32 noundef 8) #3
%17 = load i64, ptr @apr_hook_debug_enabled, align 8, !tbaa !15
%18 = icmp eq i64 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %2
%20 = call i32 @printf(ptr noundef nonnull @.str, ptr noundef %1) #3
br label %21
21: ; preds = %19, %2
%22 = icmp eq ptr %13, null
br i1 %22, label %43, label %23
23: ; preds = %21, %38
%24 = phi ptr [ %40, %38 ], [ %13, %21 ]
%25 = phi i32 [ %41, %38 ], [ 0, %21 ]
%26 = load i32, ptr %0, align 8, !tbaa !14
%27 = icmp slt i32 %25, %26
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 noundef %28) #3
%30 = call ptr @apr_array_push(ptr noundef %16) #3
%31 = load i32, ptr %24, align 8, !tbaa !16
%32 = call i32 @memcpy(ptr noundef %30, i32 noundef %31, i32 noundef 8) #3
%33 = load i64, ptr @apr_hook_debug_enabled, align 8, !tbaa !15
%34 = icmp eq i64 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %23
%36 = load ptr, ptr %30, align 8, !tbaa !18
%37 = call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef %36) #3
br label %38
38: ; preds = %35, %23
%39 = getelementptr inbounds %struct.TYPE_16__, ptr %24, i64 0, i32 1
%40 = load ptr, ptr %39, align 8, !tbaa !20
%41 = add nuw nsw i32 %25, 1
%42 = icmp eq ptr %40, null
br i1 %42, label %43, label %23, !llvm.loop !21
43: ; preds = %38, %21
%44 = load i64, ptr @apr_hook_debug_enabled, align 8, !tbaa !15
%45 = icmp eq i64 %44, 0
br i1 %45, label %49, label %46
46: ; preds = %43
%47 = load i32, ptr @stdout, align 4, !tbaa !5
%48 = call i32 @fputc(i8 noundef signext 10, i32 noundef %47) #3
br label %49
49: ; preds = %46, %43
%50 = load ptr, ptr %3, align 8, !tbaa !9
%51 = call i32 @apr_pool_destroy(ptr noundef %50) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %16
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @apr_pool_create(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @prepare(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @tsort(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @apr_array_make(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare ptr @apr_array_push(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(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
declare i32 @fputc(i8 noundef signext, i32 noundef) local_unnamed_addr #2
declare i32 @apr_pool_destroy(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 = !{!"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 8}
!12 = !{!"TYPE_14__", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !6, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"TYPE_16__", !6, i64 0, !10, i64 8}
!18 = !{!19, !10, i64 0}
!19 = !{!"TYPE_15__", !10, i64 0}
!20 = !{!17, !10, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/apr-util/hooks/extr_apr_hooks.c_sort_hook.c'
source_filename = "AnghaBench/freebsd/contrib/apr-util/hooks/extr_apr_hooks.c_sort_hook.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@apr_hook_global_pool = common local_unnamed_addr global i32 0, align 4
@apr_hook_debug_enabled = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [12 x i8] c"Sorting %s:\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %s\00", align 1
@stdout = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sort_hook], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @sort_hook(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load i32, ptr @apr_hook_global_pool, align 4, !tbaa !6
%5 = call i32 @apr_pool_create(ptr noundef nonnull %3, i32 noundef %4) #3
%6 = load ptr, ptr %3, align 8, !tbaa !10
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = inttoptr i64 %8 to ptr
%10 = load i32, ptr %0, align 8, !tbaa !15
%11 = call ptr @prepare(ptr noundef %6, ptr noundef %9, i32 noundef %10) #3
%12 = load i32, ptr %0, align 8, !tbaa !15
%13 = call ptr @tsort(ptr noundef %11, i32 noundef %12) #3
%14 = load i32, ptr @apr_hook_global_pool, align 4, !tbaa !6
%15 = load i32, ptr %0, align 8, !tbaa !15
%16 = call ptr @apr_array_make(i32 noundef %14, i32 noundef %15, i32 noundef 8) #3
%17 = load i64, ptr @apr_hook_debug_enabled, align 8, !tbaa !16
%18 = icmp eq i64 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %2
%20 = call i32 @printf(ptr noundef nonnull @.str, ptr noundef %1) #3
br label %21
21: ; preds = %19, %2
%22 = icmp eq ptr %13, null
br i1 %22, label %43, label %23
23: ; preds = %21, %38
%24 = phi ptr [ %40, %38 ], [ %13, %21 ]
%25 = phi i32 [ %41, %38 ], [ 0, %21 ]
%26 = load i32, ptr %0, align 8, !tbaa !15
%27 = icmp slt i32 %25, %26
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 noundef %28) #3
%30 = call ptr @apr_array_push(ptr noundef %16) #3
%31 = load i32, ptr %24, align 8, !tbaa !17
%32 = call i32 @memcpy(ptr noundef %30, i32 noundef %31, i32 noundef 8) #3
%33 = load i64, ptr @apr_hook_debug_enabled, align 8, !tbaa !16
%34 = icmp eq i64 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %23
%36 = load ptr, ptr %30, align 8, !tbaa !19
%37 = call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef %36) #3
br label %38
38: ; preds = %35, %23
%39 = getelementptr inbounds i8, ptr %24, i64 8
%40 = load ptr, ptr %39, align 8, !tbaa !21
%41 = add nuw nsw i32 %25, 1
%42 = icmp eq ptr %40, null
br i1 %42, label %43, label %23, !llvm.loop !22
43: ; preds = %38, %21
%44 = load i64, ptr @apr_hook_debug_enabled, align 8, !tbaa !16
%45 = icmp eq i64 %44, 0
br i1 %45, label %49, label %46
46: ; preds = %43
%47 = load i32, ptr @stdout, align 4, !tbaa !6
%48 = call i32 @fputc(i8 noundef signext 10, i32 noundef %47) #3
br label %49
49: ; preds = %46, %43
%50 = load ptr, ptr %3, align 8, !tbaa !10
%51 = call i32 @apr_pool_destroy(ptr noundef %50) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %16
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @apr_pool_create(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @prepare(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @tsort(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @apr_array_make(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare ptr @apr_array_push(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(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
declare i32 @fputc(i8 noundef signext, i32 noundef) local_unnamed_addr #2
declare i32 @apr_pool_destroy(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 = !{!"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 8}
!13 = !{!"TYPE_14__", !7, i64 0, !14, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !7, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_16__", !7, i64 0, !11, i64 8}
!19 = !{!20, !11, i64 0}
!20 = !{!"TYPE_15__", !11, i64 0}
!21 = !{!18, !11, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
|
freebsd_contrib_apr-util_hooks_extr_apr_hooks.c_sort_hook
|
; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_rme9652_initialize_spdif_receiver.c'
source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_rme9652_initialize_spdif_receiver.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RME9652_SPDIF_RESET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rme9652_initialize_spdif_receiver], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rme9652_initialize_spdif_receiver(ptr noundef %0) #0 {
%2 = load i32, ptr @RME9652_SPDIF_RESET, align 4, !tbaa !5
%3 = load i32, ptr %0, align 4, !tbaa !9
%4 = or i32 %3, %2
store i32 %4, ptr %0, align 4, !tbaa !9
%5 = tail call i32 @rme9652_write_spdif_codec(ptr noundef nonnull %0, i32 noundef 4, i32 noundef 64) #2
%6 = tail call i32 @rme9652_write_spdif_codec(ptr noundef nonnull %0, i32 noundef 17, i32 noundef 19) #2
%7 = tail call i32 @rme9652_write_spdif_codec(ptr noundef nonnull %0, i32 noundef 6, i32 noundef 2) #2
ret void
}
declare i32 @rme9652_write_spdif_codec(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"snd_rme9652", !6, i64 0}
|
; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_rme9652_initialize_spdif_receiver.c'
source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_rme9652_initialize_spdif_receiver.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RME9652_SPDIF_RESET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rme9652_initialize_spdif_receiver], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rme9652_initialize_spdif_receiver(ptr noundef %0) #0 {
%2 = load i32, ptr @RME9652_SPDIF_RESET, align 4, !tbaa !6
%3 = load i32, ptr %0, align 4, !tbaa !10
%4 = or i32 %3, %2
store i32 %4, ptr %0, align 4, !tbaa !10
%5 = tail call i32 @rme9652_write_spdif_codec(ptr noundef nonnull %0, i32 noundef 4, i32 noundef 64) #2
%6 = tail call i32 @rme9652_write_spdif_codec(ptr noundef nonnull %0, i32 noundef 17, i32 noundef 19) #2
%7 = tail call i32 @rme9652_write_spdif_codec(ptr noundef nonnull %0, i32 noundef 6, i32 noundef 2) #2
ret void
}
declare i32 @rme9652_write_spdif_codec(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"snd_rme9652", !7, i64 0}
|
linux_sound_pci_rme9652_extr_rme9652.c_rme9652_initialize_spdif_receiver
|
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/ipc/extr_ipc_right.c_ipc_right_destroy.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/ipc/extr_ipc_right.c_ipc_right_destroy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_19__ = type { ptr, i32, i32 }
%struct.TYPE_18__ = type { i32, i32, i32, ptr, i32, i32, i32 }
@IE_BITS_TYPE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@IE_REQ_NONE = dso_local local_unnamed_addr global i32 0, align 4
@IO_NULL = dso_local local_unnamed_addr global ptr null, align 8
@IPS_NULL = dso_local local_unnamed_addr global i32 0, align 4
@IP_NULL = dso_local local_unnamed_addr global ptr null, align 8
@kGUARD_EXC_DESTROY = dso_local local_unnamed_addr global i32 0, align 4
@KERN_INVALID_RIGHT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"ipc_right_destroy: strange type\00", align 1
@KERN_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ipc_right_destroy(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = getelementptr inbounds %struct.TYPE_19__, ptr %2, i64 0, i32 2
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = load i32, ptr @IE_BITS_TYPE_MASK, align 4, !tbaa !11
%9 = xor i32 %8, -1
%10 = and i32 %7, %9
store i32 %10, ptr %6, align 4, !tbaa !5
%11 = tail call i32 @IE_BITS_TYPE(i32 noundef %7) #2
%12 = tail call i32 @is_active(i32 noundef %0) #2
%13 = tail call i32 @assert(i32 noundef %12) #2
switch i32 %11, label %129 [
i32 133, label %14
i32 132, label %28
i32 130, label %49
i32 131, label %49
i32 128, label %49
i32 129, label %49
]
14: ; preds = %5
%15 = getelementptr inbounds %struct.TYPE_19__, ptr %2, i64 0, i32 1
%16 = load i32, ptr %15, align 8, !tbaa !12
%17 = load i32, ptr @IE_REQ_NONE, align 4, !tbaa !11
%18 = icmp eq i32 %16, %17
%19 = zext i1 %18 to i32
%20 = tail call i32 @assert(i32 noundef %19) #2
%21 = load ptr, ptr %2, align 8, !tbaa !13
%22 = load ptr, ptr @IO_NULL, align 8, !tbaa !14
%23 = icmp eq ptr %21, %22
%24 = zext i1 %23 to i32
%25 = tail call i32 @assert(i32 noundef %24) #2
%26 = tail call i32 @ipc_entry_dealloc(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %2) #2
%27 = tail call i32 @is_write_unlock(i32 noundef %0) #2
br label %131
28: ; preds = %5
%29 = load ptr, ptr %2, align 8, !tbaa !13
%30 = ptrtoint ptr %29 to i64
%31 = trunc i64 %30 to i32
%32 = getelementptr inbounds %struct.TYPE_19__, ptr %2, i64 0, i32 1
%33 = load i32, ptr %32, align 8, !tbaa !12
%34 = load i32, ptr @IE_REQ_NONE, align 4, !tbaa !11
%35 = icmp eq i32 %33, %34
%36 = zext i1 %35 to i32
%37 = tail call i32 @assert(i32 noundef %36) #2
%38 = load i32, ptr @IPS_NULL, align 4, !tbaa !11
%39 = icmp ne i32 %38, %31
%40 = zext i1 %39 to i32
%41 = tail call i32 @assert(i32 noundef %40) #2
%42 = load ptr, ptr @IO_NULL, align 8, !tbaa !14
store ptr %42, ptr %2, align 8, !tbaa !13
%43 = tail call i32 @ipc_entry_dealloc(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %2) #2
%44 = tail call i32 @ips_lock(i32 noundef %31) #2
%45 = tail call i32 @is_write_unlock(i32 noundef %0) #2
%46 = tail call i32 @ips_active(i32 noundef %31) #2
%47 = tail call i32 @assert(i32 noundef %46) #2
%48 = tail call i32 @ipc_pset_destroy(i32 noundef %31) #2
br label %131
49: ; preds = %5, %5, %5, %5
%50 = load ptr, ptr %2, align 8, !tbaa !13
%51 = load ptr, ptr @IP_NULL, align 8, !tbaa !14
%52 = icmp ne ptr %50, %51
%53 = zext i1 %52 to i32
%54 = tail call i32 @assert(i32 noundef %53) #2
%55 = icmp eq i32 %11, 130
br i1 %55, label %56, label %60
56: ; preds = %49
%57 = ptrtoint ptr %50 to i64
%58 = trunc i64 %57 to i32
%59 = tail call i32 @ipc_hash_delete(i32 noundef %0, i32 noundef %58, i32 noundef %1, ptr noundef nonnull %2) #2
br label %60
60: ; preds = %56, %49
%61 = tail call i32 @ip_lock(ptr noundef %50) #2
%62 = tail call i32 @ip_active(ptr noundef %50) #2
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %73
64: ; preds = %60
%65 = tail call i32 @assert(i32 noundef 0) #2
%66 = tail call i32 @ip_unlock(ptr noundef %50) #2
%67 = load i32, ptr @IE_REQ_NONE, align 4, !tbaa !11
%68 = getelementptr inbounds %struct.TYPE_19__, ptr %2, i64 0, i32 1
store i32 %67, ptr %68, align 8, !tbaa !12
%69 = load ptr, ptr @IO_NULL, align 8, !tbaa !14
store ptr %69, ptr %2, align 8, !tbaa !13
%70 = tail call i32 @ipc_entry_dealloc(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %2) #2
%71 = tail call i32 @is_write_unlock(i32 noundef %0) #2
%72 = tail call i32 @ip_release(ptr noundef %50) #2
br label %131
73: ; preds = %60
%74 = icmp eq i32 %3, 0
br i1 %74, label %83, label %75
75: ; preds = %73
%76 = getelementptr inbounds %struct.TYPE_18__, ptr %50, i64 0, i32 6
%77 = load i32, ptr %76, align 8, !tbaa !15
%78 = icmp eq i32 %77, 0
br i1 %78, label %83, label %79
79: ; preds = %75
%80 = getelementptr inbounds %struct.TYPE_18__, ptr %50, i64 0, i32 5
%81 = load i32, ptr %80, align 4, !tbaa !17
%82 = icmp eq i32 %81, %4
br i1 %82, label %83, label %124
83: ; preds = %79, %75, %73
%84 = tail call ptr @ipc_right_request_cancel_macro(i32 noundef %0, ptr noundef %50, i32 noundef %1, ptr noundef nonnull %2) #2
%85 = load ptr, ptr @IO_NULL, align 8, !tbaa !14
store ptr %85, ptr %2, align 8, !tbaa !13
%86 = tail call i32 @ipc_entry_dealloc(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %2) #2
%87 = tail call i32 @is_write_unlock(i32 noundef %0) #2
%88 = getelementptr inbounds %struct.TYPE_18__, ptr %50, i64 0, i32 4
%89 = load i32, ptr %88, align 8, !tbaa !18
%90 = icmp sgt i32 %89, 0
%91 = zext i1 %90 to i32
%92 = tail call i32 @assert(i32 noundef %91) #2
%93 = load i32, ptr %88, align 8, !tbaa !18
%94 = add nsw i32 %93, -1
store i32 %94, ptr %88, align 8, !tbaa !18
%95 = icmp eq i32 %94, 0
br i1 %95, label %96, label %104
96: ; preds = %83
%97 = getelementptr inbounds %struct.TYPE_18__, ptr %50, i64 0, i32 3
%98 = load ptr, ptr %97, align 8, !tbaa !19
%99 = load ptr, ptr @IP_NULL, align 8, !tbaa !14
%100 = icmp eq ptr %98, %99
br i1 %100, label %104, label %101
101: ; preds = %96
store ptr %99, ptr %97, align 8, !tbaa !19
%102 = getelementptr inbounds %struct.TYPE_18__, ptr %50, i64 0, i32 2
%103 = load i32, ptr %102, align 8, !tbaa !20
br label %104
104: ; preds = %83, %101, %96
%105 = phi i32 [ %103, %101 ], [ 0, %96 ], [ 0, %83 ]
%106 = phi ptr [ %98, %101 ], [ %98, %96 ], [ %51, %83 ]
%107 = tail call i32 @ip_active(ptr noundef nonnull %50) #2
%108 = tail call i32 @assert(i32 noundef %107) #2
%109 = load i32, ptr %50, align 8, !tbaa !21
%110 = icmp eq i32 %109, %0
%111 = zext i1 %110 to i32
%112 = tail call i32 @assert(i32 noundef %111) #2
%113 = tail call i32 @ipc_port_destroy(ptr noundef nonnull %50) #2
%114 = load ptr, ptr @IP_NULL, align 8, !tbaa !14
%115 = icmp eq ptr %106, %114
br i1 %115, label %119, label %116
116: ; preds = %104
%117 = tail call i32 @ipc_notify_no_senders(ptr noundef %106, i32 noundef %105) #2
%118 = load ptr, ptr @IP_NULL, align 8, !tbaa !14
br label %119
119: ; preds = %116, %104
%120 = phi ptr [ %118, %116 ], [ %106, %104 ]
%121 = icmp eq ptr %84, %120
br i1 %121, label %131, label %122
122: ; preds = %119
%123 = tail call i32 @ipc_notify_port_deleted(ptr noundef %84, i32 noundef %1) #2
br label %131
124: ; preds = %79
%125 = tail call i32 @ip_unlock(ptr noundef nonnull %50) #2
%126 = tail call i32 @is_write_unlock(i32 noundef %0) #2
%127 = load i32, ptr @kGUARD_EXC_DESTROY, align 4, !tbaa !11
%128 = tail call i32 @mach_port_guard_exception(i32 noundef %1, i32 noundef 0, i32 noundef %81, i32 noundef %127) #2
br label %131
129: ; preds = %5
%130 = tail call i32 @panic(ptr noundef nonnull @.str) #2
br label %131
131: ; preds = %14, %28, %129, %64, %122, %119, %124
%132 = phi ptr [ @KERN_INVALID_RIGHT, %124 ], [ @KERN_SUCCESS, %119 ], [ @KERN_SUCCESS, %122 ], [ @KERN_SUCCESS, %64 ], [ @KERN_SUCCESS, %129 ], [ @KERN_SUCCESS, %28 ], [ @KERN_SUCCESS, %14 ]
%133 = load i32, ptr %132, align 4, !tbaa !11
ret i32 %133
}
declare i32 @IE_BITS_TYPE(i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @is_active(i32 noundef) local_unnamed_addr #1
declare i32 @ipc_entry_dealloc(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @is_write_unlock(i32 noundef) local_unnamed_addr #1
declare i32 @ips_lock(i32 noundef) local_unnamed_addr #1
declare i32 @ips_active(i32 noundef) local_unnamed_addr #1
declare i32 @ipc_pset_destroy(i32 noundef) local_unnamed_addr #1
declare i32 @ipc_hash_delete(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ip_lock(ptr noundef) local_unnamed_addr #1
declare i32 @ip_active(ptr noundef) local_unnamed_addr #1
declare i32 @ip_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @ip_release(ptr noundef) local_unnamed_addr #1
declare i32 @mach_port_guard_exception(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ipc_right_request_cancel_macro(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ipc_port_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @ipc_notify_no_senders(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipc_notify_port_deleted(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 12}
!6 = !{!"TYPE_19__", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !10, i64 32}
!16 = !{!"TYPE_18__", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32}
!17 = !{!16, !10, i64 28}
!18 = !{!16, !10, i64 24}
!19 = !{!16, !7, i64 16}
!20 = !{!16, !10, i64 8}
!21 = !{!16, !10, i64 0}
|
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/ipc/extr_ipc_right.c_ipc_right_destroy.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/ipc/extr_ipc_right.c_ipc_right_destroy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IE_BITS_TYPE_MASK = common local_unnamed_addr global i32 0, align 4
@IE_REQ_NONE = common local_unnamed_addr global i32 0, align 4
@IO_NULL = common local_unnamed_addr global ptr null, align 8
@IPS_NULL = common local_unnamed_addr global i32 0, align 4
@IP_NULL = common local_unnamed_addr global ptr null, align 8
@kGUARD_EXC_DESTROY = common local_unnamed_addr global i32 0, align 4
@KERN_INVALID_RIGHT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"ipc_right_destroy: strange type\00", align 1
@KERN_SUCCESS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ipc_right_destroy(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = getelementptr inbounds i8, ptr %2, i64 12
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = load i32, ptr @IE_BITS_TYPE_MASK, align 4, !tbaa !12
%9 = xor i32 %8, -1
%10 = and i32 %7, %9
store i32 %10, ptr %6, align 4, !tbaa !6
%11 = tail call i32 @IE_BITS_TYPE(i32 noundef %7) #2
%12 = tail call i32 @is_active(i32 noundef %0) #2
%13 = tail call i32 @assert(i32 noundef %12) #2
switch i32 %11, label %129 [
i32 133, label %14
i32 132, label %28
i32 130, label %49
i32 131, label %49
i32 128, label %49
i32 129, label %49
]
14: ; preds = %5
%15 = getelementptr inbounds i8, ptr %2, i64 8
%16 = load i32, ptr %15, align 8, !tbaa !13
%17 = load i32, ptr @IE_REQ_NONE, align 4, !tbaa !12
%18 = icmp eq i32 %16, %17
%19 = zext i1 %18 to i32
%20 = tail call i32 @assert(i32 noundef %19) #2
%21 = load ptr, ptr %2, align 8, !tbaa !14
%22 = load ptr, ptr @IO_NULL, align 8, !tbaa !15
%23 = icmp eq ptr %21, %22
%24 = zext i1 %23 to i32
%25 = tail call i32 @assert(i32 noundef %24) #2
%26 = tail call i32 @ipc_entry_dealloc(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %2) #2
%27 = tail call i32 @is_write_unlock(i32 noundef %0) #2
br label %131
28: ; preds = %5
%29 = load ptr, ptr %2, align 8, !tbaa !14
%30 = ptrtoint ptr %29 to i64
%31 = trunc i64 %30 to i32
%32 = getelementptr inbounds i8, ptr %2, i64 8
%33 = load i32, ptr %32, align 8, !tbaa !13
%34 = load i32, ptr @IE_REQ_NONE, align 4, !tbaa !12
%35 = icmp eq i32 %33, %34
%36 = zext i1 %35 to i32
%37 = tail call i32 @assert(i32 noundef %36) #2
%38 = load i32, ptr @IPS_NULL, align 4, !tbaa !12
%39 = icmp ne i32 %38, %31
%40 = zext i1 %39 to i32
%41 = tail call i32 @assert(i32 noundef %40) #2
%42 = load ptr, ptr @IO_NULL, align 8, !tbaa !15
store ptr %42, ptr %2, align 8, !tbaa !14
%43 = tail call i32 @ipc_entry_dealloc(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %2) #2
%44 = tail call i32 @ips_lock(i32 noundef %31) #2
%45 = tail call i32 @is_write_unlock(i32 noundef %0) #2
%46 = tail call i32 @ips_active(i32 noundef %31) #2
%47 = tail call i32 @assert(i32 noundef %46) #2
%48 = tail call i32 @ipc_pset_destroy(i32 noundef %31) #2
br label %131
49: ; preds = %5, %5, %5, %5
%50 = load ptr, ptr %2, align 8, !tbaa !14
%51 = load ptr, ptr @IP_NULL, align 8, !tbaa !15
%52 = icmp ne ptr %50, %51
%53 = zext i1 %52 to i32
%54 = tail call i32 @assert(i32 noundef %53) #2
%55 = icmp eq i32 %11, 130
br i1 %55, label %56, label %60
56: ; preds = %49
%57 = ptrtoint ptr %50 to i64
%58 = trunc i64 %57 to i32
%59 = tail call i32 @ipc_hash_delete(i32 noundef %0, i32 noundef %58, i32 noundef %1, ptr noundef nonnull %2) #2
br label %60
60: ; preds = %56, %49
%61 = tail call i32 @ip_lock(ptr noundef %50) #2
%62 = tail call i32 @ip_active(ptr noundef %50) #2
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %73
64: ; preds = %60
%65 = tail call i32 @assert(i32 noundef 0) #2
%66 = tail call i32 @ip_unlock(ptr noundef %50) #2
%67 = load i32, ptr @IE_REQ_NONE, align 4, !tbaa !12
%68 = getelementptr inbounds i8, ptr %2, i64 8
store i32 %67, ptr %68, align 8, !tbaa !13
%69 = load ptr, ptr @IO_NULL, align 8, !tbaa !15
store ptr %69, ptr %2, align 8, !tbaa !14
%70 = tail call i32 @ipc_entry_dealloc(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %2) #2
%71 = tail call i32 @is_write_unlock(i32 noundef %0) #2
%72 = tail call i32 @ip_release(ptr noundef %50) #2
br label %131
73: ; preds = %60
%74 = icmp eq i32 %3, 0
br i1 %74, label %83, label %75
75: ; preds = %73
%76 = getelementptr inbounds i8, ptr %50, i64 32
%77 = load i32, ptr %76, align 8, !tbaa !16
%78 = icmp eq i32 %77, 0
br i1 %78, label %83, label %79
79: ; preds = %75
%80 = getelementptr inbounds i8, ptr %50, i64 28
%81 = load i32, ptr %80, align 4, !tbaa !18
%82 = icmp eq i32 %81, %4
br i1 %82, label %83, label %124
83: ; preds = %79, %75, %73
%84 = tail call ptr @ipc_right_request_cancel_macro(i32 noundef %0, ptr noundef %50, i32 noundef %1, ptr noundef nonnull %2) #2
%85 = load ptr, ptr @IO_NULL, align 8, !tbaa !15
store ptr %85, ptr %2, align 8, !tbaa !14
%86 = tail call i32 @ipc_entry_dealloc(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %2) #2
%87 = tail call i32 @is_write_unlock(i32 noundef %0) #2
%88 = getelementptr inbounds i8, ptr %50, i64 24
%89 = load i32, ptr %88, align 8, !tbaa !19
%90 = icmp sgt i32 %89, 0
%91 = zext i1 %90 to i32
%92 = tail call i32 @assert(i32 noundef %91) #2
%93 = load i32, ptr %88, align 8, !tbaa !19
%94 = add nsw i32 %93, -1
store i32 %94, ptr %88, align 8, !tbaa !19
%95 = icmp eq i32 %94, 0
br i1 %95, label %96, label %104
96: ; preds = %83
%97 = getelementptr inbounds i8, ptr %50, i64 16
%98 = load ptr, ptr %97, align 8, !tbaa !20
%99 = load ptr, ptr @IP_NULL, align 8, !tbaa !15
%100 = icmp eq ptr %98, %99
br i1 %100, label %104, label %101
101: ; preds = %96
store ptr %99, ptr %97, align 8, !tbaa !20
%102 = getelementptr inbounds i8, ptr %50, i64 8
%103 = load i32, ptr %102, align 8, !tbaa !21
br label %104
104: ; preds = %83, %101, %96
%105 = phi i32 [ %103, %101 ], [ 0, %96 ], [ 0, %83 ]
%106 = phi ptr [ %98, %101 ], [ %98, %96 ], [ %51, %83 ]
%107 = tail call i32 @ip_active(ptr noundef nonnull %50) #2
%108 = tail call i32 @assert(i32 noundef %107) #2
%109 = load i32, ptr %50, align 8, !tbaa !22
%110 = icmp eq i32 %109, %0
%111 = zext i1 %110 to i32
%112 = tail call i32 @assert(i32 noundef %111) #2
%113 = tail call i32 @ipc_port_destroy(ptr noundef nonnull %50) #2
%114 = load ptr, ptr @IP_NULL, align 8, !tbaa !15
%115 = icmp eq ptr %106, %114
br i1 %115, label %119, label %116
116: ; preds = %104
%117 = tail call i32 @ipc_notify_no_senders(ptr noundef %106, i32 noundef %105) #2
%118 = load ptr, ptr @IP_NULL, align 8, !tbaa !15
br label %119
119: ; preds = %116, %104
%120 = phi ptr [ %118, %116 ], [ %106, %104 ]
%121 = icmp eq ptr %84, %120
br i1 %121, label %131, label %122
122: ; preds = %119
%123 = tail call i32 @ipc_notify_port_deleted(ptr noundef %84, i32 noundef %1) #2
br label %131
124: ; preds = %79
%125 = tail call i32 @ip_unlock(ptr noundef nonnull %50) #2
%126 = tail call i32 @is_write_unlock(i32 noundef %0) #2
%127 = load i32, ptr @kGUARD_EXC_DESTROY, align 4, !tbaa !12
%128 = tail call i32 @mach_port_guard_exception(i32 noundef %1, i32 noundef 0, i32 noundef %81, i32 noundef %127) #2
br label %131
129: ; preds = %5
%130 = tail call i32 @panic(ptr noundef nonnull @.str) #2
br label %131
131: ; preds = %14, %28, %129, %64, %122, %119, %124
%132 = phi ptr [ @KERN_INVALID_RIGHT, %124 ], [ @KERN_SUCCESS, %119 ], [ @KERN_SUCCESS, %122 ], [ @KERN_SUCCESS, %64 ], [ @KERN_SUCCESS, %129 ], [ @KERN_SUCCESS, %28 ], [ @KERN_SUCCESS, %14 ]
%133 = load i32, ptr %132, align 4, !tbaa !12
ret i32 %133
}
declare i32 @IE_BITS_TYPE(i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @is_active(i32 noundef) local_unnamed_addr #1
declare i32 @ipc_entry_dealloc(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @is_write_unlock(i32 noundef) local_unnamed_addr #1
declare i32 @ips_lock(i32 noundef) local_unnamed_addr #1
declare i32 @ips_active(i32 noundef) local_unnamed_addr #1
declare i32 @ipc_pset_destroy(i32 noundef) local_unnamed_addr #1
declare i32 @ipc_hash_delete(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ip_lock(ptr noundef) local_unnamed_addr #1
declare i32 @ip_active(ptr noundef) local_unnamed_addr #1
declare i32 @ip_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @ip_release(ptr noundef) local_unnamed_addr #1
declare i32 @mach_port_guard_exception(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ipc_right_request_cancel_macro(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ipc_port_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @ipc_notify_no_senders(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipc_notify_port_deleted(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 12}
!7 = !{!"TYPE_19__", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !11, i64 32}
!17 = !{!"TYPE_18__", !11, i64 0, !11, i64 4, !11, i64 8, !8, i64 16, !11, i64 24, !11, i64 28, !11, i64 32}
!18 = !{!17, !11, i64 28}
!19 = !{!17, !11, i64 24}
!20 = !{!17, !8, i64 16}
!21 = !{!17, !11, i64 8}
!22 = !{!17, !11, i64 0}
|
darwin-xnu_osfmk_ipc_extr_ipc_right.c_ipc_right_destroy
|
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_900.c_Send.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_900.c_Send.c"
target datalayout = "e-m:e-p270:32:32-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 i64 @Send(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call i64 @send(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #2
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %4
%8 = tail call i32 @die(ptr noundef nonnull @.str) #2
br label %9
9: ; preds = %7, %4
ret i64 %5
}
declare i64 @send(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @die(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_900.c_Send.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_900.c_Send.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 i64 @Send(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call i64 @send(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #2
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %4
%8 = tail call i32 @die(ptr noundef nonnull @.str) #2
br label %9
9: ; preds = %7, %4
ret i64 %5
}
declare i64 @send(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @die(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_900.c_Send
|
; ModuleID = 'AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_aztech_azf3328_specific.c'
source_filename = "AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_aztech_azf3328_specific.c"
target datalayout = "e-m:e-p270:32:32-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"3D Control - Center\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"3D Control - Depth\00", align 1
@AC97_3D_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"3D Control - Width\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Master Mono Playback\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Modem Playback\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Headphone Playback\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"FM Synth Playback\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @patch_aztech_azf3328_specific], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @patch_aztech_azf3328_specific(ptr noundef %0) #0 {
%2 = tail call ptr @snd_ac97_find_mixer_ctl(ptr noundef %0, ptr noundef nonnull @.str) #2
%3 = tail call ptr @snd_ac97_find_mixer_ctl(ptr noundef %0, ptr noundef nonnull @.str.1) #2
%4 = icmp eq ptr %2, null
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = load i32, ptr @AC97_3D_CONTROL, align 4, !tbaa !5
%7 = tail call ptr @AC97_SINGLE_VALUE(i32 noundef %6, i32 noundef 1, i32 noundef 7, i32 noundef 0) #2
store ptr %7, ptr %2, align 8, !tbaa !9
%8 = tail call i32 @snd_ac97_rename_vol_ctl(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.2) #2
br label %9
9: ; preds = %5, %1
%10 = icmp eq ptr %3, null
br i1 %10, label %14, label %11
11: ; preds = %9
%12 = load i32, ptr @AC97_3D_CONTROL, align 4, !tbaa !5
%13 = tail call ptr @AC97_SINGLE_VALUE(i32 noundef %12, i32 noundef 8, i32 noundef 3, i32 noundef 0) #2
store ptr %13, ptr %3, align 8, !tbaa !9
br label %14
14: ; preds = %11, %9
%15 = tail call i32 @snd_ac97_rename_vol_ctl(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4) #2
%16 = tail call i32 @snd_ac97_rename_vol_ctl(ptr noundef %0, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6) #2
ret i32 0
}
declare ptr @snd_ac97_find_mixer_ctl(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @AC97_SINGLE_VALUE(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_ac97_rename_vol_ctl(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"snd_kcontrol", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_aztech_azf3328_specific.c'
source_filename = "AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_aztech_azf3328_specific.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"3D Control - Center\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"3D Control - Depth\00", align 1
@AC97_3D_CONTROL = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"3D Control - Width\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Master Mono Playback\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Modem Playback\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Headphone Playback\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"FM Synth Playback\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @patch_aztech_azf3328_specific], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @patch_aztech_azf3328_specific(ptr noundef %0) #0 {
%2 = tail call ptr @snd_ac97_find_mixer_ctl(ptr noundef %0, ptr noundef nonnull @.str) #2
%3 = tail call ptr @snd_ac97_find_mixer_ctl(ptr noundef %0, ptr noundef nonnull @.str.1) #2
%4 = icmp eq ptr %2, null
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = load i32, ptr @AC97_3D_CONTROL, align 4, !tbaa !6
%7 = tail call ptr @AC97_SINGLE_VALUE(i32 noundef %6, i32 noundef 1, i32 noundef 7, i32 noundef 0) #2
store ptr %7, ptr %2, align 8, !tbaa !10
%8 = tail call i32 @snd_ac97_rename_vol_ctl(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.2) #2
br label %9
9: ; preds = %5, %1
%10 = icmp eq ptr %3, null
br i1 %10, label %14, label %11
11: ; preds = %9
%12 = load i32, ptr @AC97_3D_CONTROL, align 4, !tbaa !6
%13 = tail call ptr @AC97_SINGLE_VALUE(i32 noundef %12, i32 noundef 8, i32 noundef 3, i32 noundef 0) #2
store ptr %13, ptr %3, align 8, !tbaa !10
br label %14
14: ; preds = %11, %9
%15 = tail call i32 @snd_ac97_rename_vol_ctl(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4) #2
%16 = tail call i32 @snd_ac97_rename_vol_ctl(ptr noundef %0, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6) #2
ret i32 0
}
declare ptr @snd_ac97_find_mixer_ctl(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @AC97_SINGLE_VALUE(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_ac97_rename_vol_ctl(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"snd_kcontrol", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
|
linux_sound_pci_ac97_extr_ac97_patch.c_patch_aztech_azf3328_specific
|
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_rowSetEntryMerge.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_rowSetEntryMerge.c"
target datalayout = "e-m:e-p270:32:32-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.RowSetEntry = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @rowSetEntryMerge], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @rowSetEntryMerge(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.RowSetEntry, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = icmp ne ptr %0, null
%5 = icmp ne ptr %1, null
%6 = and i1 %4, %5
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert(i32 noundef %7) #3
br label %9
9: ; preds = %46, %2
%10 = phi ptr [ %48, %46 ], [ %0, %2 ]
%11 = phi ptr [ %15, %46 ], [ %1, %2 ]
%12 = phi ptr [ %47, %46 ], [ %3, %2 ]
%13 = getelementptr inbounds %struct.RowSetEntry, ptr %10, i64 0, i32 1
br label %14
14: ; preds = %9, %52
%15 = phi ptr [ %54, %52 ], [ %11, %9 ]
%16 = phi ptr [ %15, %52 ], [ %12, %9 ]
%17 = load ptr, ptr %13, align 8, !tbaa !5
%18 = icmp eq ptr %17, null
br i1 %18, label %23, label %19
19: ; preds = %14
%20 = load i64, ptr %10, align 8, !tbaa !11
%21 = load i64, ptr %17, align 8, !tbaa !11
%22 = icmp sle i64 %20, %21
br label %23
23: ; preds = %19, %14
%24 = phi i1 [ true, %14 ], [ %22, %19 ]
%25 = zext i1 %24 to i32
%26 = tail call i32 @assert(i32 noundef %25) #3
%27 = getelementptr inbounds %struct.RowSetEntry, ptr %15, i64 0, i32 1
%28 = load ptr, ptr %27, align 8, !tbaa !5
%29 = icmp eq ptr %28, null
br i1 %29, label %34, label %30
30: ; preds = %23
%31 = load i64, ptr %15, align 8, !tbaa !11
%32 = load i64, ptr %28, align 8, !tbaa !11
%33 = icmp sle i64 %31, %32
br label %34
34: ; preds = %30, %23
%35 = phi i1 [ true, %23 ], [ %33, %30 ]
%36 = zext i1 %35 to i32
%37 = tail call i32 @assert(i32 noundef %36) #3
%38 = load i64, ptr %10, align 8, !tbaa !11
%39 = load i64, ptr %15, align 8, !tbaa !11
%40 = icmp sgt i64 %38, %39
br i1 %40, label %52, label %41
41: ; preds = %34
%42 = getelementptr inbounds %struct.RowSetEntry, ptr %10, i64 0, i32 1
%43 = icmp slt i64 %38, %39
br i1 %43, label %44, label %46
44: ; preds = %41
%45 = getelementptr inbounds %struct.RowSetEntry, ptr %16, i64 0, i32 1
store ptr %10, ptr %45, align 8, !tbaa !5
br label %46
46: ; preds = %44, %41
%47 = phi ptr [ %10, %44 ], [ %16, %41 ]
%48 = load ptr, ptr %42, align 8, !tbaa !5
%49 = icmp eq ptr %48, null
br i1 %49, label %50, label %9
50: ; preds = %46
%51 = getelementptr inbounds %struct.RowSetEntry, ptr %47, i64 0, i32 1
store ptr %15, ptr %51, align 8, !tbaa !5
br label %57
52: ; preds = %34
%53 = getelementptr inbounds %struct.RowSetEntry, ptr %16, i64 0, i32 1
store ptr %15, ptr %53, align 8, !tbaa !5
%54 = load ptr, ptr %27, align 8, !tbaa !5
%55 = icmp eq ptr %54, null
br i1 %55, label %56, label %14
56: ; preds = %52
store ptr %10, ptr %27, align 8, !tbaa !5
br label %57
57: ; preds = %56, %50
%58 = getelementptr inbounds %struct.RowSetEntry, ptr %3, i64 0, i32 1
%59 = load ptr, ptr %58, align 8, !tbaa !5
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret ptr %59
}
; 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(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, !10, i64 8}
!6 = !{!"RowSetEntry", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_rowSetEntryMerge.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_rowSetEntryMerge.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.RowSetEntry = type { i64, ptr }
@llvm.used = appending global [1 x ptr] [ptr @rowSetEntryMerge], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @rowSetEntryMerge(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.RowSetEntry, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = icmp ne ptr %0, null
%5 = icmp ne ptr %1, null
%6 = and i1 %4, %5
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert(i32 noundef %7) #3
br label %9
9: ; preds = %46, %2
%10 = phi ptr [ %48, %46 ], [ %0, %2 ]
%11 = phi ptr [ %15, %46 ], [ %1, %2 ]
%12 = phi ptr [ %47, %46 ], [ %3, %2 ]
%13 = getelementptr inbounds i8, ptr %10, i64 8
br label %14
14: ; preds = %9, %52
%15 = phi ptr [ %54, %52 ], [ %11, %9 ]
%16 = phi ptr [ %15, %52 ], [ %12, %9 ]
%17 = load ptr, ptr %13, align 8, !tbaa !6
%18 = icmp eq ptr %17, null
br i1 %18, label %23, label %19
19: ; preds = %14
%20 = load i64, ptr %10, align 8, !tbaa !12
%21 = load i64, ptr %17, align 8, !tbaa !12
%22 = icmp sle i64 %20, %21
br label %23
23: ; preds = %19, %14
%24 = phi i1 [ true, %14 ], [ %22, %19 ]
%25 = zext i1 %24 to i32
%26 = tail call i32 @assert(i32 noundef %25) #3
%27 = getelementptr inbounds i8, ptr %15, i64 8
%28 = load ptr, ptr %27, align 8, !tbaa !6
%29 = icmp eq ptr %28, null
br i1 %29, label %34, label %30
30: ; preds = %23
%31 = load i64, ptr %15, align 8, !tbaa !12
%32 = load i64, ptr %28, align 8, !tbaa !12
%33 = icmp sle i64 %31, %32
br label %34
34: ; preds = %30, %23
%35 = phi i1 [ true, %23 ], [ %33, %30 ]
%36 = zext i1 %35 to i32
%37 = tail call i32 @assert(i32 noundef %36) #3
%38 = load i64, ptr %10, align 8, !tbaa !12
%39 = load i64, ptr %15, align 8, !tbaa !12
%40 = icmp sgt i64 %38, %39
br i1 %40, label %52, label %41
41: ; preds = %34
%42 = getelementptr inbounds i8, ptr %10, i64 8
%43 = icmp slt i64 %38, %39
br i1 %43, label %44, label %46
44: ; preds = %41
%45 = getelementptr inbounds i8, ptr %16, i64 8
store ptr %10, ptr %45, align 8, !tbaa !6
br label %46
46: ; preds = %44, %41
%47 = phi ptr [ %10, %44 ], [ %16, %41 ]
%48 = load ptr, ptr %42, align 8, !tbaa !6
%49 = icmp eq ptr %48, null
br i1 %49, label %50, label %9
50: ; preds = %46
%51 = getelementptr inbounds i8, ptr %47, i64 8
store ptr %15, ptr %51, align 8, !tbaa !6
br label %57
52: ; preds = %34
%53 = getelementptr inbounds i8, ptr %16, i64 8
store ptr %15, ptr %53, align 8, !tbaa !6
%54 = load ptr, ptr %27, align 8, !tbaa !6
%55 = icmp eq ptr %54, null
br i1 %55, label %56, label %14
56: ; preds = %52
store ptr %10, ptr %27, align 8, !tbaa !6
br label %57
57: ; preds = %56, %50
%58 = getelementptr inbounds i8, ptr %3, i64 8
%59 = load ptr, ptr %58, align 8, !tbaa !6
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret ptr %59
}
; 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(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, !11, i64 8}
!7 = !{!"RowSetEntry", !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}
|
mimikatz_modules_extr_sqlite3_omit.c_rowSetEntryMerge
|
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_lantiq.c_fetch_irq_intel.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_lantiq.c_fetch_irq_intel.c"
target datalayout = "e-m:e-p270:32:32-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.ltq_uart_port = type { i32, %struct.uart_port }
%struct.uart_port = type { i32 }
@.str = private unnamed_addr constant [37 x i8] c"failed to fetch IRQ for serial port\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @fetch_irq_intel], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fetch_irq_intel(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @of_irq_get(i32 noundef %3, i32 noundef 0) #2
%5 = icmp slt i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
br label %10
8: ; preds = %2
%9 = getelementptr inbounds %struct.ltq_uart_port, ptr %1, i64 0, i32 1
store i32 %4, ptr %1, align 4, !tbaa !10
store i32 %4, ptr %9, align 4, !tbaa !13
br label %10
10: ; preds = %8, %6
%11 = phi i32 [ %4, %6 ], [ 0, %8 ]
ret i32 %11
}
declare i32 @of_irq_get(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"device", !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 = !{!"ltq_uart_port", !7, i64 0, !12, i64 4}
!12 = !{!"uart_port", !7, i64 0}
!13 = !{!12, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_lantiq.c_fetch_irq_intel.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_lantiq.c_fetch_irq_intel.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 [37 x i8] c"failed to fetch IRQ for serial port\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @fetch_irq_intel], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @fetch_irq_intel(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @of_irq_get(i32 noundef %3, i32 noundef 0) #2
%5 = icmp slt i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
br label %10
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %4, ptr %1, align 4, !tbaa !11
store i32 %4, ptr %9, align 4, !tbaa !14
br label %10
10: ; preds = %8, %6
%11 = phi i32 [ %4, %6 ], [ 0, %8 ]
ret i32 %11
}
declare i32 @of_irq_get(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"device", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"ltq_uart_port", !8, i64 0, !13, i64 4}
!13 = !{!"uart_port", !8, i64 0}
!14 = !{!13, !8, i64 0}
|
linux_drivers_tty_serial_extr_lantiq.c_fetch_irq_intel
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/qedf/extr_qedf_main.c_qedf_rport_event_handler.c'
source_filename = "AnghaBench/linux/drivers/scsi/qedf/extr_qedf_main.c_qedf_rport_event_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.fc_rport_priv = type { i32, %struct.TYPE_2__, i32, i32, ptr }
%struct.TYPE_2__ = type { i32, i32 }
%struct.qedf_ctx = type { i32, i32, i32, i32 }
%struct.fc_rport_libfc_priv = type { i32 }
%struct.fc_rport = type { ptr, i32 }
@QEDF_LOG_DISC = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"event = %d, port_id = 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"rport is NULL.\0A\00", align 1
@QEDF_MAX_SESSIONS = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [73 x i8] c"Not offloading portid=0x%x as max number of offloaded sessions reached.\0A\00", align 1
@QEDF_RPORT_SESSION_READY = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [41 x i8] c"Session already offloaded, portid=0x%x.\0A\00", align 1
@FC_FID_DIR_SERV = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [55 x i8] c"rport struct does not exist for dir server port_id=%x\0A\00", align 1
@FC_TYPE_FCP = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [41 x i8] c"Not offloading since spp type isn't FCP\0A\00", align 1
@FC_RPORT_ROLE_FCP_TARGET = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [34 x i8] c"Not FCP target so not offloading\0A\00", align 1
@FC_RP_FLAGS_RETRY = dso_local local_unnamed_addr global i32 0, align 4
@FC_RPORT_ROLE_FCP_INITIATOR = dso_local local_unnamed_addr global i32 0, align 4
@QEDF_RPORT_TYPE_TAPE = dso_local local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [31 x i8] c"portid=%06x is a TAPE device.\0A\00", align 1
@QEDF_RPORT_TYPE_DISK = dso_local local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [37 x i8] c"port_id=%x - rport notcreated Yet!!\0A\00", align 1
@QEDF_RPORT_UPLOADING_CONNECTION = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qedf_rport_event_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @qedf_rport_event_handler(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @lport_priv(ptr noundef %0) #2
%5 = getelementptr inbounds %struct.fc_rport_priv, ptr %1, i64 0, i32 4
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.qedf_ctx, ptr %4, i64 0, i32 2
%8 = load i32, ptr @QEDF_LOG_DISC, align 4, !tbaa !12
%9 = getelementptr inbounds %struct.fc_rport_priv, ptr %1, i64 0, i32 1
%10 = getelementptr inbounds %struct.fc_rport_priv, ptr %1, i64 0, i32 1, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = tail call i32 (ptr, i32, ptr, ...) @QEDF_INFO(ptr noundef nonnull %7, i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %11) #2
switch i32 %2, label %142 [
i32 129, label %13
i32 131, label %106
i32 132, label %106
i32 128, label %106
]
13: ; preds = %3
%14 = icmp eq ptr %6, null
br i1 %14, label %15, label %17
15: ; preds = %13
%16 = tail call i32 (ptr, ptr, ...) @QEDF_WARN(ptr noundef nonnull %7, ptr noundef nonnull @.str.1) #2
br label %142
17: ; preds = %13
%18 = load ptr, ptr %6, align 8, !tbaa !14
%19 = getelementptr inbounds %struct.fc_rport_libfc_priv, ptr %18, i64 1
%20 = getelementptr inbounds %struct.fc_rport_libfc_priv, ptr %18, i64 9
store ptr %4, ptr %20, align 8, !tbaa !16
%21 = tail call i32 @atomic_read(ptr noundef %4) #2
%22 = load i32, ptr @QEDF_MAX_SESSIONS, align 4, !tbaa !12
%23 = icmp slt i32 %21, %22
br i1 %23, label %27, label %24
24: ; preds = %17
%25 = load i32, ptr %10, align 4, !tbaa !13
%26 = tail call i32 @QEDF_ERR(ptr noundef nonnull %7, ptr noundef nonnull @.str.2, i32 noundef %25) #2
br label %142
27: ; preds = %17
%28 = load i32, ptr @QEDF_RPORT_SESSION_READY, align 4, !tbaa !12
%29 = getelementptr inbounds %struct.fc_rport_libfc_priv, ptr %18, i64 2
%30 = tail call i32 @test_bit(i32 noundef %28, ptr noundef nonnull %29) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %35, label %32
32: ; preds = %27
%33 = load i32, ptr %10, align 4, !tbaa !13
%34 = tail call i32 (ptr, ptr, ...) @QEDF_WARN(ptr noundef nonnull %7, ptr noundef nonnull @.str.3, i32 noundef %33) #2
br label %142
35: ; preds = %27
%36 = getelementptr inbounds %struct.fc_rport, ptr %6, i64 0, i32 1
%37 = load i32, ptr %36, align 8, !tbaa !18
%38 = load i32, ptr @FC_FID_DIR_SERV, align 4, !tbaa !12
%39 = icmp eq i32 %37, %38
br i1 %39, label %40, label %43
40: ; preds = %35
%41 = load i32, ptr %10, align 4, !tbaa !13
%42 = tail call i32 (ptr, ptr, ...) @QEDF_WARN(ptr noundef nonnull %7, ptr noundef nonnull @.str.4, i32 noundef %41) #2
br label %142
43: ; preds = %35
%44 = getelementptr inbounds %struct.fc_rport_priv, ptr %1, i64 0, i32 3
%45 = load i32, ptr %44, align 8, !tbaa !19
%46 = load i32, ptr @FC_TYPE_FCP, align 4, !tbaa !12
%47 = icmp eq i32 %45, %46
br i1 %47, label %51, label %48
48: ; preds = %43
%49 = load i32, ptr @QEDF_LOG_DISC, align 4, !tbaa !12
%50 = tail call i32 (ptr, i32, ptr, ...) @QEDF_INFO(ptr noundef nonnull %7, i32 noundef %49, ptr noundef nonnull @.str.5) #2
br label %142
51: ; preds = %43
%52 = load i32, ptr %9, align 4, !tbaa !20
%53 = load i32, ptr @FC_RPORT_ROLE_FCP_TARGET, align 4, !tbaa !12
%54 = and i32 %53, %52
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %51
%57 = load i32, ptr @QEDF_LOG_DISC, align 4, !tbaa !12
%58 = tail call i32 (ptr, i32, ptr, ...) @QEDF_INFO(ptr noundef nonnull %7, i32 noundef %57, ptr noundef nonnull @.str.6) #2
br label %142
59: ; preds = %51
%60 = getelementptr inbounds %struct.fc_rport_priv, ptr %1, i64 0, i32 2
%61 = tail call i32 @kref_get(ptr noundef nonnull %60) #2
%62 = getelementptr inbounds %struct.fc_rport_libfc_priv, ptr %18, i64 7
store ptr %1, ptr %62, align 8, !tbaa !21
%63 = getelementptr inbounds %struct.fc_rport_libfc_priv, ptr %18, i64 5
store ptr %6, ptr %63, align 8, !tbaa !22
%64 = tail call i32 @qedf_alloc_sq(ptr noundef %4, ptr noundef nonnull %19) #2
%65 = icmp eq i32 %64, 0
br i1 %65, label %68, label %66
66: ; preds = %59
%67 = tail call i32 @qedf_cleanup_fcport(ptr noundef %4, ptr noundef nonnull %19) #2
br label %142
68: ; preds = %59
%69 = load i32, ptr %1, align 8, !tbaa !23
%70 = load i32, ptr @FC_RP_FLAGS_RETRY, align 4, !tbaa !12
%71 = and i32 %70, %69
%72 = icmp eq i32 %71, 0
br i1 %72, label %88, label %73
73: ; preds = %68
%74 = load i32, ptr %9, align 4, !tbaa !20
%75 = load i32, ptr @FC_RPORT_ROLE_FCP_TARGET, align 4, !tbaa !12
%76 = and i32 %75, %74
%77 = icmp eq i32 %76, 0
br i1 %77, label %88, label %78
78: ; preds = %73
%79 = load i32, ptr @FC_RPORT_ROLE_FCP_INITIATOR, align 4, !tbaa !12
%80 = and i32 %79, %74
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %88
82: ; preds = %78
%83 = load i32, ptr @QEDF_RPORT_TYPE_TAPE, align 4, !tbaa !12
%84 = getelementptr inbounds %struct.fc_rport_libfc_priv, ptr %18, i64 4
store i32 %83, ptr %84, align 4, !tbaa !24
%85 = load i32, ptr @QEDF_LOG_DISC, align 4, !tbaa !12
%86 = load i32, ptr %10, align 4, !tbaa !13
%87 = tail call i32 (ptr, i32, ptr, ...) @QEDF_INFO(ptr noundef nonnull %7, i32 noundef %85, ptr noundef nonnull @.str.7, i32 noundef %86) #2
br label %91
88: ; preds = %78, %73, %68
%89 = load i32, ptr @QEDF_RPORT_TYPE_DISK, align 4, !tbaa !12
%90 = getelementptr inbounds %struct.fc_rport_libfc_priv, ptr %18, i64 4
store i32 %89, ptr %90, align 4, !tbaa !24
br label %91
91: ; preds = %88, %82
%92 = tail call i32 @qedf_offload_connection(ptr noundef %4, ptr noundef nonnull %19) #2
%93 = icmp eq i32 %92, 0
br i1 %93, label %96, label %94
94: ; preds = %91
%95 = tail call i32 @qedf_cleanup_fcport(ptr noundef %4, ptr noundef nonnull %19) #2
br label %142
96: ; preds = %91
%97 = getelementptr inbounds %struct.qedf_ctx, ptr %4, i64 0, i32 1
%98 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %97, i64 noundef undef) #2
%99 = getelementptr inbounds %struct.fc_rport_libfc_priv, ptr %18, i64 3
%100 = getelementptr inbounds %struct.qedf_ctx, ptr %4, i64 0, i32 3
%101 = tail call i32 @list_add_rcu(ptr noundef nonnull %99, ptr noundef nonnull %100) #2
%102 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %97, i64 noundef undef) #2
%103 = load i32, ptr @QEDF_RPORT_SESSION_READY, align 4, !tbaa !12
%104 = tail call i32 @set_bit(i32 noundef %103, ptr noundef nonnull %29) #2
%105 = tail call i32 @atomic_inc(ptr noundef %4) #2
br label %142
106: ; preds = %3, %3, %3
%107 = load i32, ptr %10, align 4, !tbaa !13
%108 = load i32, ptr @FC_FID_DIR_SERV, align 4, !tbaa !12
%109 = icmp eq i32 %107, %108
br i1 %109, label %142, label %110
110: ; preds = %106
%111 = icmp eq ptr %6, null
br i1 %111, label %112, label %115
112: ; preds = %110
%113 = load i32, ptr @QEDF_LOG_DISC, align 4, !tbaa !12
%114 = tail call i32 (ptr, i32, ptr, ...) @QEDF_INFO(ptr noundef nonnull %7, i32 noundef %113, ptr noundef nonnull @.str.8, i32 noundef %107) #2
br label %142
115: ; preds = %110
%116 = load ptr, ptr %6, align 8, !tbaa !14
%117 = getelementptr inbounds %struct.fc_rport_libfc_priv, ptr %116, i64 1
%118 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %117, i64 noundef undef) #2
%119 = load i32, ptr @QEDF_RPORT_SESSION_READY, align 4, !tbaa !12
%120 = getelementptr inbounds %struct.fc_rport_libfc_priv, ptr %116, i64 2
%121 = tail call i32 @test_bit(i32 noundef %119, ptr noundef nonnull %120) #2
%122 = icmp eq i32 %121, 0
br i1 %122, label %140, label %123
123: ; preds = %115
%124 = load i32, ptr @QEDF_RPORT_UPLOADING_CONNECTION, align 4, !tbaa !12
%125 = tail call i32 @test_bit(i32 noundef %124, ptr noundef nonnull %120) #2
%126 = icmp eq i32 %125, 0
br i1 %126, label %127, label %140
127: ; preds = %123
%128 = load i32, ptr @QEDF_RPORT_UPLOADING_CONNECTION, align 4, !tbaa !12
%129 = tail call i32 @set_bit(i32 noundef %128, ptr noundef nonnull %120) #2
%130 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %117, i64 noundef undef) #2
%131 = tail call i32 @qedf_cleanup_fcport(ptr noundef %4, ptr noundef nonnull %117) #2
%132 = getelementptr inbounds %struct.qedf_ctx, ptr %4, i64 0, i32 1
%133 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %132, i64 noundef undef) #2
%134 = getelementptr inbounds %struct.fc_rport_libfc_priv, ptr %116, i64 3
%135 = tail call i32 @list_del_rcu(ptr noundef nonnull %134) #2
%136 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %132, i64 noundef undef) #2
%137 = load i32, ptr @QEDF_RPORT_UPLOADING_CONNECTION, align 4, !tbaa !12
%138 = tail call i32 @clear_bit(i32 noundef %137, ptr noundef nonnull %120) #2
%139 = tail call i32 @atomic_dec(ptr noundef %4) #2
br label %142
140: ; preds = %123, %115
%141 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %117, i64 noundef undef) #2
br label %142
142: ; preds = %15, %40, %48, %56, %66, %94, %96, %112, %3, %106, %140, %127, %32, %24
ret void
}
declare ptr @lport_priv(ptr noundef) local_unnamed_addr #1
declare i32 @QEDF_INFO(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @QEDF_WARN(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @QEDF_ERR(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kref_get(ptr noundef) local_unnamed_addr #1
declare i32 @qedf_alloc_sq(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qedf_cleanup_fcport(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qedf_offload_connection(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @list_add_rcu(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
declare i32 @list_del_rcu(ptr noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 24}
!6 = !{!"fc_rport_priv", !7, i64 0, !10, i64 4, !7, i64 12, !7, i64 16, !11, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"fc_rport", !11, i64 0, !7, i64 8}
!16 = !{!17, !11, i64 32}
!17 = !{!"qedf_rport", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !11, i64 16, !11, i64 24, !11, i64 32}
!18 = !{!15, !7, i64 8}
!19 = !{!6, !7, i64 16}
!20 = !{!6, !7, i64 4}
!21 = !{!17, !11, i64 24}
!22 = !{!17, !11, i64 16}
!23 = !{!6, !7, i64 0}
!24 = !{!17, !7, i64 12}
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/qedf/extr_qedf_main.c_qedf_rport_event_handler.c'
source_filename = "AnghaBench/linux/drivers/scsi/qedf/extr_qedf_main.c_qedf_rport_event_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@QEDF_LOG_DISC = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"event = %d, port_id = 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"rport is NULL.\0A\00", align 1
@QEDF_MAX_SESSIONS = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [73 x i8] c"Not offloading portid=0x%x as max number of offloaded sessions reached.\0A\00", align 1
@QEDF_RPORT_SESSION_READY = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [41 x i8] c"Session already offloaded, portid=0x%x.\0A\00", align 1
@FC_FID_DIR_SERV = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [55 x i8] c"rport struct does not exist for dir server port_id=%x\0A\00", align 1
@FC_TYPE_FCP = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [41 x i8] c"Not offloading since spp type isn't FCP\0A\00", align 1
@FC_RPORT_ROLE_FCP_TARGET = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [34 x i8] c"Not FCP target so not offloading\0A\00", align 1
@FC_RP_FLAGS_RETRY = common local_unnamed_addr global i32 0, align 4
@FC_RPORT_ROLE_FCP_INITIATOR = common local_unnamed_addr global i32 0, align 4
@QEDF_RPORT_TYPE_TAPE = common local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [31 x i8] c"portid=%06x is a TAPE device.\0A\00", align 1
@QEDF_RPORT_TYPE_DISK = common local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [37 x i8] c"port_id=%x - rport notcreated Yet!!\0A\00", align 1
@QEDF_RPORT_UPLOADING_CONNECTION = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qedf_rport_event_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @qedf_rport_event_handler(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @lport_priv(ptr noundef %0) #2
%5 = getelementptr inbounds i8, ptr %1, i64 24
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %4, i64 8
%8 = load i32, ptr @QEDF_LOG_DISC, align 4, !tbaa !13
%9 = getelementptr inbounds i8, ptr %1, i64 4
%10 = getelementptr inbounds i8, ptr %1, i64 8
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = tail call i32 (ptr, i32, ptr, ...) @QEDF_INFO(ptr noundef nonnull %7, i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %11) #2
switch i32 %2, label %142 [
i32 129, label %13
i32 131, label %106
i32 132, label %106
i32 128, label %106
]
13: ; preds = %3
%14 = icmp eq ptr %6, null
br i1 %14, label %15, label %17
15: ; preds = %13
%16 = tail call i32 (ptr, ptr, ...) @QEDF_WARN(ptr noundef nonnull %7, ptr noundef nonnull @.str.1) #2
br label %142
17: ; preds = %13
%18 = load ptr, ptr %6, align 8, !tbaa !15
%19 = getelementptr inbounds i8, ptr %18, i64 4
%20 = getelementptr inbounds i8, ptr %18, i64 36
store ptr %4, ptr %20, align 8, !tbaa !17
%21 = tail call i32 @atomic_read(ptr noundef %4) #2
%22 = load i32, ptr @QEDF_MAX_SESSIONS, align 4, !tbaa !13
%23 = icmp slt i32 %21, %22
br i1 %23, label %27, label %24
24: ; preds = %17
%25 = load i32, ptr %10, align 4, !tbaa !14
%26 = tail call i32 @QEDF_ERR(ptr noundef nonnull %7, ptr noundef nonnull @.str.2, i32 noundef %25) #2
br label %142
27: ; preds = %17
%28 = load i32, ptr @QEDF_RPORT_SESSION_READY, align 4, !tbaa !13
%29 = getelementptr inbounds i8, ptr %18, i64 8
%30 = tail call i32 @test_bit(i32 noundef %28, ptr noundef nonnull %29) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %35, label %32
32: ; preds = %27
%33 = load i32, ptr %10, align 4, !tbaa !14
%34 = tail call i32 (ptr, ptr, ...) @QEDF_WARN(ptr noundef nonnull %7, ptr noundef nonnull @.str.3, i32 noundef %33) #2
br label %142
35: ; preds = %27
%36 = getelementptr inbounds i8, ptr %6, i64 8
%37 = load i32, ptr %36, align 8, !tbaa !19
%38 = load i32, ptr @FC_FID_DIR_SERV, align 4, !tbaa !13
%39 = icmp eq i32 %37, %38
br i1 %39, label %40, label %43
40: ; preds = %35
%41 = load i32, ptr %10, align 4, !tbaa !14
%42 = tail call i32 (ptr, ptr, ...) @QEDF_WARN(ptr noundef nonnull %7, ptr noundef nonnull @.str.4, i32 noundef %41) #2
br label %142
43: ; preds = %35
%44 = getelementptr inbounds i8, ptr %1, i64 16
%45 = load i32, ptr %44, align 8, !tbaa !20
%46 = load i32, ptr @FC_TYPE_FCP, align 4, !tbaa !13
%47 = icmp eq i32 %45, %46
br i1 %47, label %51, label %48
48: ; preds = %43
%49 = load i32, ptr @QEDF_LOG_DISC, align 4, !tbaa !13
%50 = tail call i32 (ptr, i32, ptr, ...) @QEDF_INFO(ptr noundef nonnull %7, i32 noundef %49, ptr noundef nonnull @.str.5) #2
br label %142
51: ; preds = %43
%52 = load i32, ptr %9, align 4, !tbaa !21
%53 = load i32, ptr @FC_RPORT_ROLE_FCP_TARGET, align 4, !tbaa !13
%54 = and i32 %53, %52
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %51
%57 = load i32, ptr @QEDF_LOG_DISC, align 4, !tbaa !13
%58 = tail call i32 (ptr, i32, ptr, ...) @QEDF_INFO(ptr noundef nonnull %7, i32 noundef %57, ptr noundef nonnull @.str.6) #2
br label %142
59: ; preds = %51
%60 = getelementptr inbounds i8, ptr %1, i64 12
%61 = tail call i32 @kref_get(ptr noundef nonnull %60) #2
%62 = getelementptr inbounds i8, ptr %18, i64 28
store ptr %1, ptr %62, align 8, !tbaa !22
%63 = getelementptr inbounds i8, ptr %18, i64 20
store ptr %6, ptr %63, align 8, !tbaa !23
%64 = tail call i32 @qedf_alloc_sq(ptr noundef %4, ptr noundef nonnull %19) #2
%65 = icmp eq i32 %64, 0
br i1 %65, label %68, label %66
66: ; preds = %59
%67 = tail call i32 @qedf_cleanup_fcport(ptr noundef %4, ptr noundef nonnull %19) #2
br label %142
68: ; preds = %59
%69 = load i32, ptr %1, align 8, !tbaa !24
%70 = load i32, ptr @FC_RP_FLAGS_RETRY, align 4, !tbaa !13
%71 = and i32 %70, %69
%72 = icmp eq i32 %71, 0
br i1 %72, label %88, label %73
73: ; preds = %68
%74 = load i32, ptr %9, align 4, !tbaa !21
%75 = load i32, ptr @FC_RPORT_ROLE_FCP_TARGET, align 4, !tbaa !13
%76 = and i32 %75, %74
%77 = icmp eq i32 %76, 0
br i1 %77, label %88, label %78
78: ; preds = %73
%79 = load i32, ptr @FC_RPORT_ROLE_FCP_INITIATOR, align 4, !tbaa !13
%80 = and i32 %79, %74
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %88
82: ; preds = %78
%83 = load i32, ptr @QEDF_RPORT_TYPE_TAPE, align 4, !tbaa !13
%84 = getelementptr inbounds i8, ptr %18, i64 16
store i32 %83, ptr %84, align 4, !tbaa !25
%85 = load i32, ptr @QEDF_LOG_DISC, align 4, !tbaa !13
%86 = load i32, ptr %10, align 4, !tbaa !14
%87 = tail call i32 (ptr, i32, ptr, ...) @QEDF_INFO(ptr noundef nonnull %7, i32 noundef %85, ptr noundef nonnull @.str.7, i32 noundef %86) #2
br label %91
88: ; preds = %78, %73, %68
%89 = load i32, ptr @QEDF_RPORT_TYPE_DISK, align 4, !tbaa !13
%90 = getelementptr inbounds i8, ptr %18, i64 16
store i32 %89, ptr %90, align 4, !tbaa !25
br label %91
91: ; preds = %88, %82
%92 = tail call i32 @qedf_offload_connection(ptr noundef %4, ptr noundef nonnull %19) #2
%93 = icmp eq i32 %92, 0
br i1 %93, label %96, label %94
94: ; preds = %91
%95 = tail call i32 @qedf_cleanup_fcport(ptr noundef %4, ptr noundef nonnull %19) #2
br label %142
96: ; preds = %91
%97 = getelementptr inbounds i8, ptr %4, i64 4
%98 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %97, i64 noundef undef) #2
%99 = getelementptr inbounds i8, ptr %18, i64 12
%100 = getelementptr inbounds i8, ptr %4, i64 12
%101 = tail call i32 @list_add_rcu(ptr noundef nonnull %99, ptr noundef nonnull %100) #2
%102 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %97, i64 noundef undef) #2
%103 = load i32, ptr @QEDF_RPORT_SESSION_READY, align 4, !tbaa !13
%104 = tail call i32 @set_bit(i32 noundef %103, ptr noundef nonnull %29) #2
%105 = tail call i32 @atomic_inc(ptr noundef %4) #2
br label %142
106: ; preds = %3, %3, %3
%107 = load i32, ptr %10, align 4, !tbaa !14
%108 = load i32, ptr @FC_FID_DIR_SERV, align 4, !tbaa !13
%109 = icmp eq i32 %107, %108
br i1 %109, label %142, label %110
110: ; preds = %106
%111 = icmp eq ptr %6, null
br i1 %111, label %112, label %115
112: ; preds = %110
%113 = load i32, ptr @QEDF_LOG_DISC, align 4, !tbaa !13
%114 = tail call i32 (ptr, i32, ptr, ...) @QEDF_INFO(ptr noundef nonnull %7, i32 noundef %113, ptr noundef nonnull @.str.8, i32 noundef %107) #2
br label %142
115: ; preds = %110
%116 = load ptr, ptr %6, align 8, !tbaa !15
%117 = getelementptr inbounds i8, ptr %116, i64 4
%118 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %117, i64 noundef undef) #2
%119 = load i32, ptr @QEDF_RPORT_SESSION_READY, align 4, !tbaa !13
%120 = getelementptr inbounds i8, ptr %116, i64 8
%121 = tail call i32 @test_bit(i32 noundef %119, ptr noundef nonnull %120) #2
%122 = icmp eq i32 %121, 0
br i1 %122, label %140, label %123
123: ; preds = %115
%124 = load i32, ptr @QEDF_RPORT_UPLOADING_CONNECTION, align 4, !tbaa !13
%125 = tail call i32 @test_bit(i32 noundef %124, ptr noundef nonnull %120) #2
%126 = icmp eq i32 %125, 0
br i1 %126, label %127, label %140
127: ; preds = %123
%128 = load i32, ptr @QEDF_RPORT_UPLOADING_CONNECTION, align 4, !tbaa !13
%129 = tail call i32 @set_bit(i32 noundef %128, ptr noundef nonnull %120) #2
%130 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %117, i64 noundef undef) #2
%131 = tail call i32 @qedf_cleanup_fcport(ptr noundef %4, ptr noundef nonnull %117) #2
%132 = getelementptr inbounds i8, ptr %4, i64 4
%133 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %132, i64 noundef undef) #2
%134 = getelementptr inbounds i8, ptr %116, i64 12
%135 = tail call i32 @list_del_rcu(ptr noundef nonnull %134) #2
%136 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %132, i64 noundef undef) #2
%137 = load i32, ptr @QEDF_RPORT_UPLOADING_CONNECTION, align 4, !tbaa !13
%138 = tail call i32 @clear_bit(i32 noundef %137, ptr noundef nonnull %120) #2
%139 = tail call i32 @atomic_dec(ptr noundef %4) #2
br label %142
140: ; preds = %123, %115
%141 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %117, i64 noundef undef) #2
br label %142
142: ; preds = %15, %40, %48, %56, %66, %94, %96, %112, %3, %106, %140, %127, %32, %24
ret void
}
declare ptr @lport_priv(ptr noundef) local_unnamed_addr #1
declare i32 @QEDF_INFO(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @QEDF_WARN(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @QEDF_ERR(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kref_get(ptr noundef) local_unnamed_addr #1
declare i32 @qedf_alloc_sq(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qedf_cleanup_fcport(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qedf_offload_connection(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @list_add_rcu(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
declare i32 @list_del_rcu(ptr noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 24}
!7 = !{!"fc_rport_priv", !8, i64 0, !11, i64 4, !8, i64 12, !8, i64 16, !12, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 8}
!15 = !{!16, !12, i64 0}
!16 = !{!"fc_rport", !12, i64 0, !8, i64 8}
!17 = !{!18, !12, i64 32}
!18 = !{!"qedf_rport", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !12, i64 16, !12, i64 24, !12, i64 32}
!19 = !{!16, !8, i64 8}
!20 = !{!7, !8, i64 16}
!21 = !{!7, !8, i64 4}
!22 = !{!18, !12, i64 24}
!23 = !{!18, !12, i64 16}
!24 = !{!7, !8, i64 0}
!25 = !{!18, !8, i64 12}
|
linux_drivers_scsi_qedf_extr_qedf_main.c_qedf_rport_event_handler
|
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_procfs.c_proc_wait_for_stop.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_procfs.c_proc_wait_for_stop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i64, i32, i32, i32, i32 }
@PIOCWSTOP = dso_local local_unnamed_addr global i32 0, align 4
@PCWSTOP = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @proc_wait_for_stop(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %8, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 4
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call ptr @find_procinfo_or_die(i32 noundef %6, i32 noundef 0) #2
br label %8
8: ; preds = %4, %1
%9 = phi ptr [ %7, %4 ], [ %0, %1 ]
%10 = getelementptr inbounds %struct.TYPE_8__, ptr %9, i64 0, i32 3
%11 = load i32, ptr %10, align 8, !tbaa !12
%12 = load i32, ptr @PIOCWSTOP, align 4, !tbaa !13
%13 = getelementptr inbounds %struct.TYPE_8__, ptr %9, i64 0, i32 2
%14 = tail call i64 @ioctl(i32 noundef %11, i32 noundef %12, ptr noundef nonnull %13) #2
%15 = icmp sgt i64 %14, -1
br i1 %15, label %16, label %23
16: ; preds = %8
%17 = getelementptr inbounds %struct.TYPE_8__, ptr %9, i64 0, i32 1
store i32 1, ptr %17, align 8, !tbaa !14
%18 = tail call i32 @proc_flags(ptr noundef nonnull %9) #2
%19 = tail call i32 @proc_why(ptr noundef nonnull %9) #2
%20 = tail call i32 @proc_what(ptr noundef nonnull %9) #2
%21 = tail call i32 @proc_get_current_thread(ptr noundef nonnull %9) #2
%22 = tail call i32 @PROC_PRETTYFPRINT_STATUS(i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21) #2
br label %23
23: ; preds = %16, %8
%24 = zext i1 %15 to i32
ret i32 %24
}
declare ptr @find_procinfo_or_die(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PROC_PRETTYFPRINT_STATUS(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @proc_flags(ptr noundef) local_unnamed_addr #1
declare i32 @proc_why(ptr noundef) local_unnamed_addr #1
declare i32 @proc_what(ptr noundef) local_unnamed_addr #1
declare i32 @proc_get_current_thread(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_8__", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 20}
!12 = !{!6, !10, i64 16}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !10, i64 8}
|
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_procfs.c_proc_wait_for_stop.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_procfs.c_proc_wait_for_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PIOCWSTOP = common local_unnamed_addr global i32 0, align 4
@PCWSTOP = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @proc_wait_for_stop(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %8, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 20
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = tail call ptr @find_procinfo_or_die(i32 noundef %6, i32 noundef 0) #2
br label %8
8: ; preds = %4, %1
%9 = phi ptr [ %7, %4 ], [ %0, %1 ]
%10 = getelementptr inbounds i8, ptr %9, i64 16
%11 = load i32, ptr %10, align 8, !tbaa !13
%12 = load i32, ptr @PIOCWSTOP, align 4, !tbaa !14
%13 = getelementptr inbounds i8, ptr %9, i64 12
%14 = tail call i64 @ioctl(i32 noundef %11, i32 noundef %12, ptr noundef nonnull %13) #2
%15 = icmp sgt i64 %14, -1
br i1 %15, label %16, label %23
16: ; preds = %8
%17 = getelementptr inbounds i8, ptr %9, i64 8
store i32 1, ptr %17, align 8, !tbaa !15
%18 = tail call i32 @proc_flags(ptr noundef nonnull %9) #2
%19 = tail call i32 @proc_why(ptr noundef nonnull %9) #2
%20 = tail call i32 @proc_what(ptr noundef nonnull %9) #2
%21 = tail call i32 @proc_get_current_thread(ptr noundef nonnull %9) #2
%22 = tail call i32 @PROC_PRETTYFPRINT_STATUS(i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21) #2
br label %23
23: ; preds = %16, %8
%24 = zext i1 %15 to i32
ret i32 %24
}
declare ptr @find_procinfo_or_die(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PROC_PRETTYFPRINT_STATUS(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @proc_flags(ptr noundef) local_unnamed_addr #1
declare i32 @proc_why(ptr noundef) local_unnamed_addr #1
declare i32 @proc_what(ptr noundef) local_unnamed_addr #1
declare i32 @proc_get_current_thread(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_8__", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 20}
!13 = !{!7, !11, i64 16}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !11, i64 8}
|
freebsd_contrib_gdb_gdb_extr_procfs.c_proc_wait_for_stop
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libb2/extr_blake2s.c_blake2s_param_set_inner_length.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libb2/extr_blake2s.c_blake2s_param_set_inner_length.c"
target datalayout = "e-m:e-p270:32:32-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 @blake2s_param_set_inner_length], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal noundef i32 @blake2s_param_set_inner_length(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
store i32 %1, ptr %0, align 4, !tbaa !5
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libb2/extr_blake2s.c_blake2s_param_set_inner_length.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libb2/extr_blake2s.c_blake2s_param_set_inner_length.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 @blake2s_param_set_inner_length], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal noundef i32 @blake2s_param_set_inner_length(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
store i32 %1, ptr %0, align 4, !tbaa !6
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
freebsd_sys_contrib_libb2_extr_blake2s.c_blake2s_param_set_inner_length
|
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_ble_gap.c_BTM_BleLocalPrivacyEnabled.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_ble_gap.c_BTM_BleLocalPrivacyEnabled.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
@btm_cb = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@BTM_PRIVACY_NONE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @BTM_BleLocalPrivacyEnabled() local_unnamed_addr #0 {
%1 = load i64, ptr @btm_cb, align 8, !tbaa !5
%2 = load i64, ptr @BTM_PRIVACY_NONE, align 8, !tbaa !11
%3 = icmp ne i64 %1, %2
%4 = zext i1 %3 to i32
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
|
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_ble_gap.c_BTM_BleLocalPrivacyEnabled.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_ble_gap.c_BTM_BleLocalPrivacyEnabled.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
@btm_cb = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@BTM_PRIVACY_NONE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define range(i32 0, 2) i32 @BTM_BleLocalPrivacyEnabled() local_unnamed_addr #0 {
%1 = load i64, ptr @btm_cb, align 8, !tbaa !6
%2 = load i64, ptr @BTM_PRIVACY_NONE, align 8, !tbaa !12
%3 = icmp ne i64 %1, %2
%4 = zext i1 %3 to i32
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
|
esp-idf_components_bt_host_bluedroid_stack_btm_extr_btm_ble_gap.c_BTM_BleLocalPrivacyEnabled
|
; ModuleID = 'AnghaBench/freebsd/stand/ficl/extr_dict.c_hashReset.c'
source_filename = "AnghaBench/freebsd/stand/ficl/extr_dict.c_hashReset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, ptr, ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @hashReset(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @assert(ptr noundef %0) #3
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %40, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%7 = zext i32 %3 to i64
%8 = and i64 %7, 3
%9 = icmp ult i32 %3, 4
br i1 %9, label %29, label %10
10: ; preds = %5
%11 = and i64 %7, 4294967292
br label %12
12: ; preds = %12, %10
%13 = phi i64 [ 0, %10 ], [ %26, %12 ]
%14 = phi i64 [ 0, %10 ], [ %27, %12 ]
%15 = load ptr, ptr %6, align 8, !tbaa !11
%16 = getelementptr inbounds ptr, ptr %15, i64 %13
store ptr null, ptr %16, align 8, !tbaa !12
%17 = or disjoint i64 %13, 1
%18 = load ptr, ptr %6, align 8, !tbaa !11
%19 = getelementptr inbounds ptr, ptr %18, i64 %17
store ptr null, ptr %19, align 8, !tbaa !12
%20 = or disjoint i64 %13, 2
%21 = load ptr, ptr %6, align 8, !tbaa !11
%22 = getelementptr inbounds ptr, ptr %21, i64 %20
store ptr null, ptr %22, align 8, !tbaa !12
%23 = or disjoint i64 %13, 3
%24 = load ptr, ptr %6, align 8, !tbaa !11
%25 = getelementptr inbounds ptr, ptr %24, i64 %23
store ptr null, ptr %25, align 8, !tbaa !12
%26 = add nuw nsw i64 %13, 4
%27 = add i64 %14, 4
%28 = icmp eq i64 %27, %11
br i1 %28, label %29, label %12, !llvm.loop !13
29: ; preds = %12, %5
%30 = phi i64 [ 0, %5 ], [ %26, %12 ]
%31 = icmp eq i64 %8, 0
br i1 %31, label %40, label %32
32: ; preds = %29, %32
%33 = phi i64 [ %37, %32 ], [ %30, %29 ]
%34 = phi i64 [ %38, %32 ], [ 0, %29 ]
%35 = load ptr, ptr %6, align 8, !tbaa !11
%36 = getelementptr inbounds ptr, ptr %35, i64 %33
store ptr null, ptr %36, align 8, !tbaa !12
%37 = add nuw nsw i64 %33, 1
%38 = add i64 %34, 1
%39 = icmp eq i64 %38, %8
br i1 %39, label %40, label %32, !llvm.loop !15
40: ; preds = %29, %32, %1
%41 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %41, i8 0, i64 16, i1 false)
ret void
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 24}
!12 = !{!10, !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.unroll.disable"}
|
; ModuleID = 'AnghaBench/freebsd/stand/ficl/extr_dict.c_hashReset.c'
source_filename = "AnghaBench/freebsd/stand/ficl/extr_dict.c_hashReset.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 @hashReset(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @assert(ptr noundef %0) #3
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %14, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 24
%7 = zext i32 %3 to i64
br label %8
8: ; preds = %5, %8
%9 = phi i64 [ 0, %5 ], [ %12, %8 ]
%10 = load ptr, ptr %6, align 8, !tbaa !12
%11 = getelementptr inbounds ptr, ptr %10, i64 %9
store ptr null, ptr %11, align 8, !tbaa !13
%12 = add nuw nsw i64 %9, 1
%13 = icmp eq i64 %12, %7
br i1 %13, label %14, label %8, !llvm.loop !14
14: ; preds = %8, %1
%15 = getelementptr inbounds i8, ptr %0, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %15, i8 0, i64 16, i1 false)
ret void
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 24}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
|
freebsd_stand_ficl_extr_dict.c_hashReset
|
; ModuleID = 'AnghaBench/linux/tools/usb/ffs-aio-example/multibuff/device_app/extr_aio_multibuff.c_handle_ep0.c'
source_filename = "AnghaBench/linux/tools/usb/ffs-aio-example/multibuff/device_app/extr_aio_multibuff.c_handle_ep0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.usb_functionfs_event = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@.str = private unnamed_addr constant [30 x i8] c"unable to read event from ep0\00", align 1
@USB_DIR_IN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @handle_ep0], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @handle_ep0(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca %struct.usb_functionfs_event, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call i32 @read(i32 noundef %0, ptr noundef nonnull %3, i32 noundef 8) #3
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = call i32 @perror(ptr noundef nonnull @.str) #3
br label %23
8: ; preds = %2
%9 = call i32 @display_event(ptr noundef nonnull %3) #3
%10 = load i32, ptr %3, align 4, !tbaa !5
switch i32 %10, label %23 [
i32 128, label %11
i32 129, label %21
i32 130, label %22
]
11: ; preds = %8
%12 = getelementptr inbounds %struct.usb_functionfs_event, ptr %3, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = load i32, ptr @USB_DIR_IN, align 4, !tbaa !13
%15 = and i32 %14, %13
%16 = icmp eq i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %11
%18 = call i32 @write(i32 noundef %0, ptr noundef null, i32 noundef 0) #3
br label %23
19: ; preds = %11
%20 = call i32 @read(i32 noundef %0, ptr noundef null, i32 noundef 0) #3
br label %23
21: ; preds = %8
store i32 1, ptr %1, align 4, !tbaa !13
br label %23
22: ; preds = %8
store i32 0, ptr %1, align 4, !tbaa !13
br label %23
23: ; preds = %21, %22, %19, %17, %8, %6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
declare i32 @display_event(ptr noundef) local_unnamed_addr #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"usb_functionfs_event", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/tools/usb/ffs-aio-example/multibuff/device_app/extr_aio_multibuff.c_handle_ep0.c'
source_filename = "AnghaBench/linux/tools/usb/ffs-aio-example/multibuff/device_app/extr_aio_multibuff.c_handle_ep0.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.usb_functionfs_event = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@.str = private unnamed_addr constant [30 x i8] c"unable to read event from ep0\00", align 1
@USB_DIR_IN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @handle_ep0], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @handle_ep0(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca %struct.usb_functionfs_event, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call i32 @read(i32 noundef %0, ptr noundef nonnull %3, i32 noundef 8) #3
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = call i32 @perror(ptr noundef nonnull @.str) #3
br label %23
8: ; preds = %2
%9 = call i32 @display_event(ptr noundef nonnull %3) #3
%10 = load i32, ptr %3, align 4, !tbaa !6
switch i32 %10, label %23 [
i32 128, label %11
i32 129, label %21
i32 130, label %22
]
11: ; preds = %8
%12 = getelementptr inbounds i8, ptr %3, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !13
%14 = load i32, ptr @USB_DIR_IN, align 4, !tbaa !14
%15 = and i32 %14, %13
%16 = icmp eq i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %11
%18 = call i32 @write(i32 noundef %0, ptr noundef null, i32 noundef 0) #3
br label %23
19: ; preds = %11
%20 = call i32 @read(i32 noundef %0, ptr noundef null, i32 noundef 0) #3
br label %23
21: ; preds = %8
store i32 1, ptr %1, align 4, !tbaa !14
br label %23
22: ; preds = %8
store i32 0, ptr %1, align 4, !tbaa !14
br label %23
23: ; preds = %21, %22, %19, %17, %8, %6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
declare i32 @display_event(ptr noundef) local_unnamed_addr #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"usb_functionfs_event", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !8, i64 0}
!13 = !{!7, !8, i64 4}
!14 = !{!8, !8, i64 0}
|
linux_tools_usb_ffs-aio-example_multibuff_device_app_extr_aio_multibuff.c_handle_ep0
|
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_cs42l51-i2c.c_cs42l51_i2c_probe.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_cs42l51-i2c.c_cs42l51_i2c_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.regmap_config = type { i32 }
@cs42l51_regmap = dso_local local_unnamed_addr global %struct.regmap_config zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cs42l51_i2c_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cs42l51_i2c_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = alloca %struct.regmap_config, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @cs42l51_regmap, align 4, !tbaa !5
store i32 %4, ptr %3, align 4, !tbaa !5
%5 = call i32 @devm_regmap_init_i2c(ptr noundef %0, ptr noundef nonnull %3) #3
%6 = call i32 @cs42l51_probe(ptr noundef %0, i32 noundef %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cs42l51_probe(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @devm_regmap_init_i2c(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_cs42l51-i2c.c_cs42l51_i2c_probe.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_cs42l51-i2c.c_cs42l51_i2c_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.regmap_config = type { i32 }
@cs42l51_regmap = common local_unnamed_addr global %struct.regmap_config zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @cs42l51_i2c_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cs42l51_i2c_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = alloca %struct.regmap_config, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @cs42l51_regmap, align 4, !tbaa !6
store i32 %4, ptr %3, align 4, !tbaa !6
%5 = call i32 @devm_regmap_init_i2c(ptr noundef %0, ptr noundef nonnull %3) #3
%6 = call i32 @cs42l51_probe(ptr noundef %0, i32 noundef %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cs42l51_probe(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @devm_regmap_init_i2c(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_sound_soc_codecs_extr_cs42l51-i2c.c_cs42l51_i2c_probe
|
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_stv0367.c_stv0367ter_snr_readreg.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_stv0367.c_stv0367ter_snr_readreg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@F367TER_IDENTIFICATIONREG = dso_local local_unnamed_addr global i32 0, align 4
@F367TER_CHCSNR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @stv0367ter_snr_readreg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @stv0367ter_snr_readreg(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr @F367TER_IDENTIFICATIONREG, align 4, !tbaa !10
%4 = tail call i32 @stv0367_readbits(ptr noundef %2, i32 noundef %3) #2
%5 = icmp eq i32 %4, 80
br label %6
6: ; preds = %1, %16
%7 = phi i32 [ 0, %1 ], [ %18, %16 ]
%8 = phi i32 [ 0, %1 ], [ %19, %16 ]
%9 = tail call i32 @usleep_range(i32 noundef 2000, i32 noundef 3000) #2
%10 = load i32, ptr @F367TER_CHCSNR, align 4, !tbaa !10
%11 = tail call i32 @stv0367_readbits(ptr noundef %2, i32 noundef %10) #2
br i1 %5, label %12, label %14
12: ; preds = %6
%13 = sdiv i32 %11, 4
br label %16
14: ; preds = %6
%15 = mul nsw i32 %11, 125
br label %16
16: ; preds = %14, %12
%17 = phi i32 [ %13, %12 ], [ %15, %14 ]
%18 = add nsw i32 %17, %7
%19 = add nuw nsw i32 %8, 1
%20 = icmp eq i32 %19, 10
br i1 %20, label %21, label %6, !llvm.loop !12
21: ; preds = %16
%22 = sdiv i32 %18, 10
ret i32 %22
}
declare i32 @stv0367_readbits(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usleep_range(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 = !{!"dvb_frontend", !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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_stv0367.c_stv0367ter_snr_readreg.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_stv0367.c_stv0367ter_snr_readreg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@F367TER_IDENTIFICATIONREG = common local_unnamed_addr global i32 0, align 4
@F367TER_CHCSNR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @stv0367ter_snr_readreg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -214748364, 214748365) i32 @stv0367ter_snr_readreg(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr @F367TER_IDENTIFICATIONREG, align 4, !tbaa !11
%4 = tail call i32 @stv0367_readbits(ptr noundef %2, i32 noundef %3) #2
%5 = icmp eq i32 %4, 80
br label %6
6: ; preds = %1, %16
%7 = phi i32 [ 0, %1 ], [ %18, %16 ]
%8 = phi i32 [ 0, %1 ], [ %19, %16 ]
%9 = tail call i32 @usleep_range(i32 noundef 2000, i32 noundef 3000) #2
%10 = load i32, ptr @F367TER_CHCSNR, align 4, !tbaa !11
%11 = tail call i32 @stv0367_readbits(ptr noundef %2, i32 noundef %10) #2
br i1 %5, label %12, label %14
12: ; preds = %6
%13 = sdiv i32 %11, 4
br label %16
14: ; preds = %6
%15 = mul nsw i32 %11, 125
br label %16
16: ; preds = %14, %12
%17 = phi i32 [ %13, %12 ], [ %15, %14 ]
%18 = add nsw i32 %17, %7
%19 = add nuw nsw i32 %8, 1
%20 = icmp eq i32 %19, 10
br i1 %20, label %21, label %6, !llvm.loop !13
21: ; preds = %16
%22 = sdiv i32 %18, 10
ret i32 %22
}
declare i32 @stv0367_readbits(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usleep_range(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 = !{!"dvb_frontend", !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 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_media_dvb-frontends_extr_stv0367.c_stv0367ter_snr_readreg
|
; ModuleID = 'AnghaBench/macvim/src/extr_os_win32.c_standend.c'
source_filename = "AnghaBench/macvim/src/extr_os_win32.c_standend.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@g_attrPreStandout = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @standend], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @standend() #0 {
%1 = load i64, ptr @g_attrPreStandout, align 8, !tbaa !5
%2 = icmp eq i64 %1, 0
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @textattr(i64 noundef %1) #2
store i64 0, ptr @g_attrPreStandout, align 8, !tbaa !5
br label %5
5: ; preds = %3, %0
ret void
}
declare i32 @textattr(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/macvim/src/extr_os_win32.c_standend.c'
source_filename = "AnghaBench/macvim/src/extr_os_win32.c_standend.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@g_attrPreStandout = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @standend], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @standend() #0 {
%1 = load i64, ptr @g_attrPreStandout, align 8, !tbaa !6
%2 = icmp eq i64 %1, 0
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @textattr(i64 noundef %1) #2
store i64 0, ptr @g_attrPreStandout, align 8, !tbaa !6
br label %5
5: ; preds = %3, %0
ret void
}
declare i32 @textattr(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
macvim_src_extr_os_win32.c_standend
|
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_ina2xx-adc.c_ina2xx_capture_thread.c'
source_filename = "AnghaBench/linux/drivers/iio/adc/extr_ina2xx-adc.c_ina2xx_capture_thread.c"
target datalayout = "e-m:e-p270:32:32-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.timespec64 = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ina2xx_capture_thread], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ina2xx_capture_thread(ptr noundef %0) #0 {
%2 = alloca %struct.timespec64, align 4
%3 = alloca %struct.timespec64, align 4
%4 = alloca %struct.timespec64, align 4
%5 = tail call ptr @iio_priv(ptr noundef %0) #3
%6 = tail call i32 @SAMPLING_PERIOD(ptr noundef %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%7 = load i32, ptr %5, align 4, !tbaa !5
%8 = icmp eq i32 %7, 0
%9 = add nsw i32 %6, -200
%10 = select i1 %8, i32 %9, i32 %6
%11 = call i32 @ktime_get_ts64(ptr noundef nonnull %2) #3
%12 = mul nsw i32 %10, 1000
br label %13
13: ; preds = %38, %1
%14 = load i32, ptr %5, align 4, !tbaa !5
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %25
16: ; preds = %13, %21
%17 = call i32 @ina2xx_conversion_ready(ptr noundef %0) #3
%18 = icmp slt i32 %17, 0
br i1 %18, label %44, label %19
19: ; preds = %16
%20 = icmp eq i32 %17, 0
br i1 %20, label %21, label %25
21: ; preds = %19
%22 = call i32 @ktime_get_ts64(ptr noundef nonnull %2) #3
%23 = load i32, ptr %5, align 4, !tbaa !5
%24 = icmp eq i32 %23, 0
br i1 %24, label %16, label %25, !llvm.loop !10
25: ; preds = %21, %19, %13
%26 = call i32 @ina2xx_work_buffer(ptr noundef %0) #3
%27 = icmp slt i32 %26, 0
br i1 %27, label %44, label %28
28: ; preds = %25
%29 = call i32 @ktime_get_ts64(ptr noundef nonnull %3) #3
br label %30
30: ; preds = %30, %28
%31 = call i32 @timespec64_add_ns(ptr noundef nonnull %2, i32 noundef %12) #3
%32 = load i32, ptr %2, align 4
%33 = load i32, ptr %3, align 4
%34 = call i32 @timespec64_sub(i32 %32, i32 %33) #3
store i32 %34, ptr %4, align 4, !tbaa.struct !12
%35 = call i32 @timespec64_to_ns(ptr noundef nonnull %4) #3
%36 = call i32 @div_s64(i32 noundef %35, i32 noundef 1000) #3
%37 = icmp slt i32 %36, 1
br i1 %37, label %30, label %38, !llvm.loop !14
38: ; preds = %30
%39 = mul nsw i32 %36, 3
%40 = lshr i32 %39, 1
%41 = call i32 @usleep_range(i32 noundef %36, i32 noundef %40) #3
%42 = call i32 (...) @kthread_should_stop() #3
%43 = icmp eq i32 %42, 0
br i1 %43, label %13, label %44, !llvm.loop !15
44: ; preds = %38, %25, %16
%45 = phi i32 [ %17, %16 ], [ 0, %38 ], [ %26, %25 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %45
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #2
declare i32 @SAMPLING_PERIOD(ptr noundef) local_unnamed_addr #2
declare i32 @ktime_get_ts64(ptr noundef) local_unnamed_addr #2
declare i32 @ina2xx_conversion_ready(ptr noundef) local_unnamed_addr #2
declare i32 @ina2xx_work_buffer(ptr noundef) local_unnamed_addr #2
declare i32 @timespec64_add_ns(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @timespec64_sub(i32, i32) 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 @div_s64(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @timespec64_to_ns(ptr noundef) local_unnamed_addr #2
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kthread_should_stop(...) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ina2xx_chip_info", !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"}
!12 = !{i64 0, i64 4, !13}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !11}
!15 = distinct !{!15, !11}
|
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_ina2xx-adc.c_ina2xx_capture_thread.c'
source_filename = "AnghaBench/linux/drivers/iio/adc/extr_ina2xx-adc.c_ina2xx_capture_thread.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.timespec64 = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @ina2xx_capture_thread], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @ina2xx_capture_thread(ptr noundef %0) #0 {
%2 = alloca %struct.timespec64, align 4
%3 = alloca %struct.timespec64, align 4
%4 = alloca %struct.timespec64, align 4
%5 = tail call ptr @iio_priv(ptr noundef %0) #3
%6 = tail call i32 @SAMPLING_PERIOD(ptr noundef %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%7 = load i32, ptr %5, align 4, !tbaa !6
%8 = icmp eq i32 %7, 0
%9 = add nsw i32 %6, -200
%10 = select i1 %8, i32 %9, i32 %6
%11 = call i32 @ktime_get_ts64(ptr noundef nonnull %2) #3
%12 = mul nsw i32 %10, 1000
br label %13
13: ; preds = %40, %1
%14 = load i32, ptr %5, align 4, !tbaa !6
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %25
16: ; preds = %13, %21
%17 = call i32 @ina2xx_conversion_ready(ptr noundef %0) #3
%18 = icmp slt i32 %17, 0
br i1 %18, label %46, label %19
19: ; preds = %16
%20 = icmp eq i32 %17, 0
br i1 %20, label %21, label %25
21: ; preds = %19
%22 = call i32 @ktime_get_ts64(ptr noundef nonnull %2) #3
%23 = load i32, ptr %5, align 4, !tbaa !6
%24 = icmp eq i32 %23, 0
br i1 %24, label %16, label %25, !llvm.loop !11
25: ; preds = %21, %19, %13
%26 = call i32 @ina2xx_work_buffer(ptr noundef %0) #3
%27 = icmp slt i32 %26, 0
br i1 %27, label %46, label %28
28: ; preds = %25
%29 = call i32 @ktime_get_ts64(ptr noundef nonnull %3) #3
br label %30
30: ; preds = %30, %28
%31 = call i32 @timespec64_add_ns(ptr noundef nonnull %2, i32 noundef %12) #3
%32 = load i32, ptr %2, align 4
%33 = zext i32 %32 to i64
%34 = load i32, ptr %3, align 4
%35 = zext i32 %34 to i64
%36 = call i32 @timespec64_sub(i64 %33, i64 %35) #3
store i32 %36, ptr %4, align 4, !tbaa !13
%37 = call i32 @timespec64_to_ns(ptr noundef nonnull %4) #3
%38 = call i32 @div_s64(i32 noundef %37, i32 noundef 1000) #3
%39 = icmp slt i32 %38, 1
br i1 %39, label %30, label %40, !llvm.loop !14
40: ; preds = %30
%41 = lshr i32 %38, 1
%42 = add nuw nsw i32 %41, %38
%43 = call i32 @usleep_range(i32 noundef %38, i32 noundef %42) #3
%44 = call i32 @kthread_should_stop() #3
%45 = icmp eq i32 %44, 0
br i1 %45, label %13, label %46, !llvm.loop !15
46: ; preds = %40, %25, %16
%47 = phi i32 [ %17, %16 ], [ 0, %40 ], [ %26, %25 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %47
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #2
declare i32 @SAMPLING_PERIOD(ptr noundef) local_unnamed_addr #2
declare i32 @ktime_get_ts64(ptr noundef) local_unnamed_addr #2
declare i32 @ina2xx_conversion_ready(ptr noundef) local_unnamed_addr #2
declare i32 @ina2xx_work_buffer(ptr noundef) local_unnamed_addr #2
declare i32 @timespec64_add_ns(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @timespec64_sub(i64, i64) 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 @div_s64(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @timespec64_to_ns(ptr noundef) local_unnamed_addr #2
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kthread_should_stop(...) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ina2xx_chip_info", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!8, !8, i64 0}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
|
linux_drivers_iio_adc_extr_ina2xx-adc.c_ina2xx_capture_thread
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igc/extr_igc_base.c_igc_reset_hw_base.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igc/extr_igc_base.c_igc_reset_hw_base.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"PCI-E Master disable polling has failed.\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Masking off all interrupts\0A\00", align 1
@IGC_IMC = dso_local local_unnamed_addr global i32 0, align 4
@IGC_RCTL = dso_local local_unnamed_addr global i32 0, align 4
@IGC_TCTL = dso_local local_unnamed_addr global i32 0, align 4
@IGC_TCTL_PSP = dso_local local_unnamed_addr global i32 0, align 4
@IGC_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [31 x i8] c"Issuing a global reset to MAC\0A\00", align 1
@IGC_CTRL_DEV_RST = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [33 x i8] c"Auto Read Done did not complete\0A\00", align 1
@IGC_ICR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @igc_reset_hw_base], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @igc_reset_hw_base(ptr noundef %0) #0 {
%2 = tail call i64 @igc_disable_pcie_master(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @hw_dbg(ptr noundef nonnull @.str) #2
br label %6
6: ; preds = %4, %1
%7 = tail call i32 @hw_dbg(ptr noundef nonnull @.str.1) #2
%8 = load i32, ptr @IGC_IMC, align 4, !tbaa !5
%9 = tail call i32 @wr32(i32 noundef %8, i32 noundef -1) #2
%10 = load i32, ptr @IGC_RCTL, align 4, !tbaa !5
%11 = tail call i32 @wr32(i32 noundef %10, i32 noundef 0) #2
%12 = load i32, ptr @IGC_TCTL, align 4, !tbaa !5
%13 = load i32, ptr @IGC_TCTL_PSP, align 4, !tbaa !5
%14 = tail call i32 @wr32(i32 noundef %12, i32 noundef %13) #2
%15 = tail call i32 (...) @wrfl() #2
%16 = tail call i32 @usleep_range(i32 noundef 10000, i32 noundef 20000) #2
%17 = load i32, ptr @IGC_CTRL, align 4, !tbaa !5
%18 = tail call i32 @rd32(i32 noundef %17) #2
%19 = tail call i32 @hw_dbg(ptr noundef nonnull @.str.2) #2
%20 = load i32, ptr @IGC_CTRL, align 4, !tbaa !5
%21 = load i32, ptr @IGC_CTRL_DEV_RST, align 4, !tbaa !5
%22 = or i32 %21, %18
%23 = tail call i32 @wr32(i32 noundef %20, i32 noundef %22) #2
%24 = tail call i64 @igc_get_auto_rd_done(ptr noundef %0) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %6
%27 = tail call i32 @hw_dbg(ptr noundef nonnull @.str.3) #2
br label %28
28: ; preds = %26, %6
%29 = load i32, ptr @IGC_IMC, align 4, !tbaa !5
%30 = tail call i32 @wr32(i32 noundef %29, i32 noundef -1) #2
%31 = load i32, ptr @IGC_ICR, align 4, !tbaa !5
%32 = tail call i32 @rd32(i32 noundef %31) #2
ret i64 %24
}
declare i64 @igc_disable_pcie_master(ptr noundef) local_unnamed_addr #1
declare i32 @hw_dbg(ptr noundef) local_unnamed_addr #1
declare i32 @wr32(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wrfl(...) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rd32(i32 noundef) local_unnamed_addr #1
declare i64 @igc_get_auto_rd_done(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/intel/igc/extr_igc_base.c_igc_reset_hw_base.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igc/extr_igc_base.c_igc_reset_hw_base.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 [42 x i8] c"PCI-E Master disable polling has failed.\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Masking off all interrupts\0A\00", align 1
@IGC_IMC = common local_unnamed_addr global i32 0, align 4
@IGC_RCTL = common local_unnamed_addr global i32 0, align 4
@IGC_TCTL = common local_unnamed_addr global i32 0, align 4
@IGC_TCTL_PSP = common local_unnamed_addr global i32 0, align 4
@IGC_CTRL = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [31 x i8] c"Issuing a global reset to MAC\0A\00", align 1
@IGC_CTRL_DEV_RST = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [33 x i8] c"Auto Read Done did not complete\0A\00", align 1
@IGC_ICR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @igc_reset_hw_base], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @igc_reset_hw_base(ptr noundef %0) #0 {
%2 = tail call i64 @igc_disable_pcie_master(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @hw_dbg(ptr noundef nonnull @.str) #2
br label %6
6: ; preds = %4, %1
%7 = tail call i32 @hw_dbg(ptr noundef nonnull @.str.1) #2
%8 = load i32, ptr @IGC_IMC, align 4, !tbaa !6
%9 = tail call i32 @wr32(i32 noundef %8, i32 noundef -1) #2
%10 = load i32, ptr @IGC_RCTL, align 4, !tbaa !6
%11 = tail call i32 @wr32(i32 noundef %10, i32 noundef 0) #2
%12 = load i32, ptr @IGC_TCTL, align 4, !tbaa !6
%13 = load i32, ptr @IGC_TCTL_PSP, align 4, !tbaa !6
%14 = tail call i32 @wr32(i32 noundef %12, i32 noundef %13) #2
%15 = tail call i32 @wrfl() #2
%16 = tail call i32 @usleep_range(i32 noundef 10000, i32 noundef 20000) #2
%17 = load i32, ptr @IGC_CTRL, align 4, !tbaa !6
%18 = tail call i32 @rd32(i32 noundef %17) #2
%19 = tail call i32 @hw_dbg(ptr noundef nonnull @.str.2) #2
%20 = load i32, ptr @IGC_CTRL, align 4, !tbaa !6
%21 = load i32, ptr @IGC_CTRL_DEV_RST, align 4, !tbaa !6
%22 = or i32 %21, %18
%23 = tail call i32 @wr32(i32 noundef %20, i32 noundef %22) #2
%24 = tail call i64 @igc_get_auto_rd_done(ptr noundef %0) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %6
%27 = tail call i32 @hw_dbg(ptr noundef nonnull @.str.3) #2
br label %28
28: ; preds = %26, %6
%29 = load i32, ptr @IGC_IMC, align 4, !tbaa !6
%30 = tail call i32 @wr32(i32 noundef %29, i32 noundef -1) #2
%31 = load i32, ptr @IGC_ICR, align 4, !tbaa !6
%32 = tail call i32 @rd32(i32 noundef %31) #2
ret i64 %24
}
declare i64 @igc_disable_pcie_master(ptr noundef) local_unnamed_addr #1
declare i32 @hw_dbg(ptr noundef) local_unnamed_addr #1
declare i32 @wr32(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wrfl(...) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rd32(i32 noundef) local_unnamed_addr #1
declare i64 @igc_get_auto_rd_done(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_intel_igc_extr_igc_base.c_igc_reset_hw_base
|
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_virtio_scsi.c_pci_vtscsi_get_lun.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_virtio_scsi.c_pci_vtscsi_get_lun.c"
target datalayout = "e-m:e-p270:32:32-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 @pci_vtscsi_get_lun], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @pci_vtscsi_get_lun(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i32, ptr %0, i64 2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = shl i32 %3, 8
%5 = getelementptr inbounds i32, ptr %0, i64 3
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = or i32 %4, %6
%8 = and i32 %7, 16383
ret i32 %8
}
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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_virtio_scsi.c_pci_vtscsi_get_lun.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_virtio_scsi.c_pci_vtscsi_get_lun.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 @pci_vtscsi_get_lun], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 16384) i32 @pci_vtscsi_get_lun(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = shl i32 %3, 8
%5 = getelementptr inbounds i8, ptr %0, i64 12
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = or i32 %4, %6
%8 = and i32 %7, 16383
ret i32 %8
}
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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_usr.sbin_bhyve_extr_pci_virtio_scsi.c_pci_vtscsi_get_lun
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-sim-magic.h_cvmx_sim_magic_get_iofreq.c'
source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-sim-magic.h_cvmx_sim_magic_get_iofreq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CVMX_SYNC = dso_local local_unnamed_addr global i32 0, align 4
@OCTEON_CN6XXX = dso_local local_unnamed_addr global i32 0, align 4
@OCTEON_CNF7XXX = dso_local local_unnamed_addr global i32 0, align 4
@SIM_MAGIC_GET_IOFREQ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cvmx_sim_magic_get_iofreq], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @cvmx_sim_magic_get_iofreq() #0 {
%1 = load i32, ptr @OCTEON_CN6XXX, align 4, !tbaa !5
%2 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %1) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %0
%5 = load i32, ptr @OCTEON_CNF7XXX, align 4, !tbaa !5
%6 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %4, %0
%9 = load i32, ptr @SIM_MAGIC_GET_IOFREQ, align 4, !tbaa !5
%10 = tail call i32 @__cvmx_sim_magic_return(i32 noundef %9) #2
br label %11
11: ; preds = %4, %8
%12 = phi i32 [ %10, %8 ], [ 0, %4 ]
ret i32 %12
}
declare i64 @OCTEON_IS_MODEL(i32 noundef) local_unnamed_addr #1
declare i32 @__cvmx_sim_magic_return(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-sim-magic.h_cvmx_sim_magic_get_iofreq.c'
source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-sim-magic.h_cvmx_sim_magic_get_iofreq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CVMX_SYNC = common local_unnamed_addr global i32 0, align 4
@OCTEON_CN6XXX = common local_unnamed_addr global i32 0, align 4
@OCTEON_CNF7XXX = common local_unnamed_addr global i32 0, align 4
@SIM_MAGIC_GET_IOFREQ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cvmx_sim_magic_get_iofreq], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @cvmx_sim_magic_get_iofreq() #0 {
%1 = load i32, ptr @OCTEON_CN6XXX, align 4, !tbaa !6
%2 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %1) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %0
%5 = load i32, ptr @OCTEON_CNF7XXX, align 4, !tbaa !6
%6 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %4, %0
%9 = load i32, ptr @SIM_MAGIC_GET_IOFREQ, align 4, !tbaa !6
%10 = tail call i32 @__cvmx_sim_magic_return(i32 noundef %9) #2
br label %11
11: ; preds = %4, %8
%12 = phi i32 [ %10, %8 ], [ 0, %4 ]
ret i32 %12
}
declare i64 @OCTEON_IS_MODEL(i32 noundef) local_unnamed_addr #1
declare i32 @__cvmx_sim_magic_return(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_sys_contrib_octeon-sdk_extr_cvmx-sim-magic.h_cvmx_sim_magic_get_iofreq
|
; ModuleID = 'AnghaBench/ccv/lib/extr_ccv_memory.c_ccv_make_matrix_mutable.c'
source_filename = "AnghaBench/ccv/lib/extr_ccv_memory.c_ccv_make_matrix_mutable.c"
target datalayout = "e-m:e-p270:32:32-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, i64 }
@CCV_MATRIX_DENSE = dso_local local_unnamed_addr global i32 0, align 4
@CCV_REUSABLE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local void @ccv_make_matrix_mutable(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @CCV_MATRIX_DENSE, align 4, !tbaa !5
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %1
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
store i64 0, ptr %7, align 8, !tbaa !9
%8 = load i32, ptr @CCV_REUSABLE, align 4, !tbaa !5
%9 = xor i32 %8, -1
%10 = and i32 %2, %9
store i32 %10, ptr %0, align 8, !tbaa !12
br label %11
11: ; preds = %6, %1
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"TYPE_2__", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 0}
|
; ModuleID = 'AnghaBench/ccv/lib/extr_ccv_memory.c_ccv_make_matrix_mutable.c'
source_filename = "AnghaBench/ccv/lib/extr_ccv_memory.c_ccv_make_matrix_mutable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CCV_MATRIX_DENSE = common local_unnamed_addr global i32 0, align 4
@CCV_REUSABLE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define void @ccv_make_matrix_mutable(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @CCV_MATRIX_DENSE, align 4, !tbaa !6
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 8
store i64 0, ptr %7, align 8, !tbaa !10
%8 = load i32, ptr @CCV_REUSABLE, align 4, !tbaa !6
%9 = xor i32 %8, -1
%10 = and i32 %2, %9
store i32 %10, ptr %0, align 8, !tbaa !13
br label %11
11: ; preds = %6, %1
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_2__", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 0}
|
ccv_lib_extr_ccv_memory.c_ccv_make_matrix_mutable
|
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_glsl_fragment_pipe_free_context_data.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_glsl_fragment_pipe_free_context_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 @glsl_fragment_pipe_free_context_data], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @glsl_fragment_pipe_free_context_data(ptr nocapture readnone %0) #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/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_glsl_fragment_pipe_free_context_data.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_glsl_fragment_pipe_free_context_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 @glsl_fragment_pipe_free_context_data], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @glsl_fragment_pipe_free_context_data(ptr nocapture readnone %0) #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)"}
|
reactos_dll_directx_wine_wined3d_extr_glsl_shader.c_glsl_fragment_pipe_free_context_data
|
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/kconfig/extr_symbol.c_sym_get_range_val.c'
source_filename = "AnghaBench/fastsocket/kernel/scripts/kconfig/extr_symbol.c_sym_get_range_val.c"
target datalayout = "e-m:e-p270:32:32-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.symbol = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @sym_get_range_val], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sym_get_range_val(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @sym_calc_value(ptr noundef %0) #2
%4 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %4, label %7 [
i32 128, label %5
i32 129, label %6
]
5: ; preds = %2
br label %7
6: ; preds = %2
br label %7
7: ; preds = %2, %6, %5
%8 = phi i32 [ %1, %2 ], [ 16, %6 ], [ 10, %5 ]
%9 = getelementptr inbounds %struct.symbol, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = tail call i32 @strtol(i32 noundef %10, ptr noundef null, i32 noundef %8) #2
ret i32 %11
}
declare i32 @sym_calc_value(ptr noundef) local_unnamed_addr #1
declare i32 @strtol(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, !7, i64 0}
!6 = !{!"symbol", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !7, i64 0}
!11 = !{!6, !7, i64 4}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/kconfig/extr_symbol.c_sym_get_range_val.c'
source_filename = "AnghaBench/fastsocket/kernel/scripts/kconfig/extr_symbol.c_sym_get_range_val.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 @sym_get_range_val], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sym_get_range_val(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @sym_calc_value(ptr noundef %0) #2
%4 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %4, label %7 [
i32 128, label %5
i32 129, label %6
]
5: ; preds = %2
br label %7
6: ; preds = %2
br label %7
7: ; preds = %2, %6, %5
%8 = phi i32 [ %1, %2 ], [ 16, %6 ], [ 10, %5 ]
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = tail call i32 @strtol(i32 noundef %10, ptr noundef null, i32 noundef %8) #2
ret i32 %11
}
declare i32 @sym_calc_value(ptr noundef) local_unnamed_addr #1
declare i32 @strtol(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, !8, i64 0}
!7 = !{!"symbol", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !8, i64 0}
!12 = !{!7, !8, i64 4}
|
fastsocket_kernel_scripts_kconfig_extr_symbol.c_sym_get_range_val
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_perf_cpum_cf.c_cpumf_pmu_event_init.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_perf_cpum_cf.c_cpumf_pmu_event_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.perf_event = type { ptr, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cpumf_pmu_event_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cpumf_pmu_event_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.perf_event, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = add i32 %3, -128
%5 = icmp ult i32 %4, 3
br i1 %5, label %6, label %16
6: ; preds = %1
%7 = tail call i32 @is_sampling_event(ptr noundef nonnull %0) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %6
%10 = load i32, ptr @ENOENT, align 4, !tbaa !12
%11 = sub nsw i32 0, %10
br label %24
12: ; preds = %6
%13 = tail call i32 @__hw_perf_event_init(ptr noundef nonnull %0) #2
%14 = tail call i64 @unlikely(i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %24, label %19
16: ; preds = %1
%17 = load i32, ptr @ENOENT, align 4, !tbaa !12
%18 = sub nsw i32 0, %17
br label %24
19: ; preds = %12
%20 = load ptr, ptr %0, align 8, !tbaa !13
%21 = icmp eq ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %19
%23 = tail call i32 %20(ptr noundef nonnull %0) #2
br label %24
24: ; preds = %12, %19, %22, %16, %9
%25 = phi i32 [ %18, %16 ], [ %11, %9 ], [ %13, %22 ], [ %13, %19 ], [ %13, %12 ]
ret i32 %25
}
declare i32 @is_sampling_event(ptr noundef) local_unnamed_addr #1
declare i32 @__hw_perf_event_init(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 8}
!6 = !{!"perf_event", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_perf_cpum_cf.c_cpumf_pmu_event_init.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_perf_cpum_cf.c_cpumf_pmu_event_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOENT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cpumf_pmu_event_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cpumf_pmu_event_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = add i32 %3, -128
%5 = icmp ult i32 %4, 3
br i1 %5, label %6, label %16
6: ; preds = %1
%7 = tail call i32 @is_sampling_event(ptr noundef nonnull %0) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %6
%10 = load i32, ptr @ENOENT, align 4, !tbaa !13
%11 = sub nsw i32 0, %10
br label %24
12: ; preds = %6
%13 = tail call i32 @__hw_perf_event_init(ptr noundef nonnull %0) #2
%14 = tail call i64 @unlikely(i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %24, label %19
16: ; preds = %1
%17 = load i32, ptr @ENOENT, align 4, !tbaa !13
%18 = sub nsw i32 0, %17
br label %24
19: ; preds = %12
%20 = load ptr, ptr %0, align 8, !tbaa !14
%21 = icmp eq ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %19
%23 = tail call i32 %20(ptr noundef nonnull %0) #2
br label %24
24: ; preds = %12, %19, %22, %16, %9
%25 = phi i32 [ %18, %16 ], [ %11, %9 ], [ %13, %22 ], [ %13, %19 ], [ %13, %12 ]
ret i32 %25
}
declare i32 @is_sampling_event(ptr noundef) local_unnamed_addr #1
declare i32 @__hw_perf_event_init(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 8}
!7 = !{!"perf_event", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!7, !8, i64 0}
|
fastsocket_kernel_arch_s390_kernel_extr_perf_cpum_cf.c_cpumf_pmu_event_init
|
; ModuleID = 'AnghaBench/linux/drivers/staging/uwb/extr_address.c_uwb_rc_dev_addr_set.c'
source_filename = "AnghaBench/linux/drivers/staging/uwb/extr_address.c_uwb_rc_dev_addr_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"
%struct.TYPE_2__ = type { i32, %struct.uwb_dev_addr }
%struct.uwb_dev_addr = type { i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@UWB_ADDR_DEV = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @uwb_rc_dev_addr_set(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @mutex_lock(ptr noundef %0) #2
%4 = load i32, ptr @UWB_ADDR_DEV, align 4, !tbaa !5
%5 = tail call i32 @uwb_rc_addr_set(ptr noundef %0, ptr noundef %1, i32 noundef %4) #2
%6 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%7 = load i32, ptr %1, align 4, !tbaa !5
store i32 %7, ptr %6, align 4, !tbaa !5
%8 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret i32 %5
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @uwb_rc_addr_set(ptr noundef, ptr noundef, 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/staging/uwb/extr_address.c_uwb_rc_dev_addr_set.c'
source_filename = "AnghaBench/linux/drivers/staging/uwb/extr_address.c_uwb_rc_dev_addr_set.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
@UWB_ADDR_DEV = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @uwb_rc_dev_addr_set(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @mutex_lock(ptr noundef %0) #2
%4 = load i32, ptr @UWB_ADDR_DEV, align 4, !tbaa !6
%5 = tail call i32 @uwb_rc_addr_set(ptr noundef %0, ptr noundef %1, i32 noundef %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %1, align 4, !tbaa !6
store i32 %7, ptr %6, align 4, !tbaa !6
%8 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret i32 %5
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @uwb_rc_addr_set(ptr noundef, ptr noundef, 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_staging_uwb_extr_address.c_uwb_rc_dev_addr_set
|
; ModuleID = 'AnghaBench/linux/drivers/firmware/extr_dmi-sysfs.c_dmi_sel_raw_read_helper.c'
source_filename = "AnghaBench/linux/drivers/firmware/extr_dmi-sysfs.c_dmi_sel_raw_read_helper.c"
target datalayout = "e-m:e-p270:32:32-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.dmi_system_event_log = type { i32 }
%struct.dmi_read_state = type { i32, i32, i32 }
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"dmi-sysfs: GPNV support missing.\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"dmi-sysfs: Unknown access method %02x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dmi_sel_raw_read_helper], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dmi_sel_raw_read_helper(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca %struct.dmi_system_event_log, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = tail call i32 @dmi_entry_length(ptr noundef %1) #3
%6 = icmp ult i32 %5, 4
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr @EIO, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %35
10: ; preds = %3
%11 = call i32 @memcpy(ptr noundef nonnull %4, ptr noundef %1, i32 noundef 4) #3
%12 = load i32, ptr %4, align 4, !tbaa !9
switch i32 %12, label %31 [
i32 129, label %13
i32 130, label %13
i32 131, label %13
i32 128, label %20
i32 132, label %27
]
13: ; preds = %10, %10, %10
%14 = getelementptr inbounds %struct.dmi_read_state, ptr %2, i64 0, i32 2
%15 = load i32, ptr %14, align 4, !tbaa !11
%16 = getelementptr inbounds %struct.dmi_read_state, ptr %2, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = load i32, ptr %2, align 4, !tbaa !14
%19 = call i32 @dmi_sel_raw_read_io(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %15, i32 noundef %17, i32 noundef %18) #3
br label %35
20: ; preds = %10
%21 = getelementptr inbounds %struct.dmi_read_state, ptr %2, i64 0, i32 2
%22 = load i32, ptr %21, align 4, !tbaa !11
%23 = getelementptr inbounds %struct.dmi_read_state, ptr %2, i64 0, i32 1
%24 = load i32, ptr %23, align 4, !tbaa !13
%25 = load i32, ptr %2, align 4, !tbaa !14
%26 = call i32 @dmi_sel_raw_read_phys32(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %22, i32 noundef %24, i32 noundef %25) #3
br label %35
27: ; preds = %10
%28 = call i32 (ptr, ...) @pr_info(ptr noundef nonnull @.str) #3
%29 = load i32, ptr @EIO, align 4, !tbaa !5
%30 = sub nsw i32 0, %29
br label %35
31: ; preds = %10
%32 = call i32 (ptr, ...) @pr_info(ptr noundef nonnull @.str.1, i32 noundef %12) #3
%33 = load i32, ptr @EIO, align 4, !tbaa !5
%34 = sub nsw i32 0, %33
br label %35
35: ; preds = %31, %27, %20, %13, %7
%36 = phi i32 [ %9, %7 ], [ %34, %31 ], [ %30, %27 ], [ %26, %20 ], [ %19, %13 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %36
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @dmi_entry_length(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dmi_sel_raw_read_io(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dmi_sel_raw_read_phys32(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pr_info(ptr noundef, ...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"dmi_system_event_log", !6, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"dmi_read_state", !6, i64 0, !6, i64 4, !6, i64 8}
!13 = !{!12, !6, i64 4}
!14 = !{!12, !6, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/firmware/extr_dmi-sysfs.c_dmi_sel_raw_read_helper.c'
source_filename = "AnghaBench/linux/drivers/firmware/extr_dmi-sysfs.c_dmi_sel_raw_read_helper.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.dmi_system_event_log = type { i32 }
@EIO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"dmi-sysfs: GPNV support missing.\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"dmi-sysfs: Unknown access method %02x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dmi_sel_raw_read_helper], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dmi_sel_raw_read_helper(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca %struct.dmi_system_event_log, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = tail call i32 @dmi_entry_length(ptr noundef %1) #3
%6 = icmp ult i32 %5, 4
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr @EIO, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %35
10: ; preds = %3
%11 = call i32 @memcpy(ptr noundef nonnull %4, ptr noundef %1, i32 noundef 4) #3
%12 = load i32, ptr %4, align 4, !tbaa !10
switch i32 %12, label %31 [
i32 129, label %13
i32 130, label %13
i32 131, label %13
i32 128, label %20
i32 132, label %27
]
13: ; preds = %10, %10, %10
%14 = getelementptr inbounds i8, ptr %2, i64 8
%15 = load i32, ptr %14, align 4, !tbaa !12
%16 = getelementptr inbounds i8, ptr %2, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = load i32, ptr %2, align 4, !tbaa !15
%19 = call i32 @dmi_sel_raw_read_io(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %15, i32 noundef %17, i32 noundef %18) #3
br label %35
20: ; preds = %10
%21 = getelementptr inbounds i8, ptr %2, i64 8
%22 = load i32, ptr %21, align 4, !tbaa !12
%23 = getelementptr inbounds i8, ptr %2, i64 4
%24 = load i32, ptr %23, align 4, !tbaa !14
%25 = load i32, ptr %2, align 4, !tbaa !15
%26 = call i32 @dmi_sel_raw_read_phys32(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %22, i32 noundef %24, i32 noundef %25) #3
br label %35
27: ; preds = %10
%28 = call i32 (ptr, ...) @pr_info(ptr noundef nonnull @.str) #3
%29 = load i32, ptr @EIO, align 4, !tbaa !6
%30 = sub nsw i32 0, %29
br label %35
31: ; preds = %10
%32 = call i32 (ptr, ...) @pr_info(ptr noundef nonnull @.str.1, i32 noundef %12) #3
%33 = load i32, ptr @EIO, align 4, !tbaa !6
%34 = sub nsw i32 0, %33
br label %35
35: ; preds = %31, %27, %20, %13, %7
%36 = phi i32 [ %9, %7 ], [ %34, %31 ], [ %30, %27 ], [ %26, %20 ], [ %19, %13 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %36
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @dmi_entry_length(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dmi_sel_raw_read_io(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dmi_sel_raw_read_phys32(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pr_info(ptr noundef, ...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"dmi_system_event_log", !7, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"dmi_read_state", !7, i64 0, !7, i64 4, !7, i64 8}
!14 = !{!13, !7, i64 4}
!15 = !{!13, !7, i64 0}
|
linux_drivers_firmware_extr_dmi-sysfs.c_dmi_sel_raw_read_helper
|
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_RUDPSendPacket.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_RUDPSendPacket.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i64, i32, ptr }
%struct.TYPE_7__ = type { i32, i32 }
@RUDP_PROTOCOL_ICMP = dso_local local_unnamed_addr global i64 0, align 8
@RUDP_PROTOCOL_DNS = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @RUDPSendPacket(ptr noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5) local_unnamed_addr #0 {
%7 = icmp eq ptr %0, null
%8 = icmp eq ptr %1, null
%9 = or i1 %7, %8
%10 = icmp eq i64 %2, 0
%11 = or i1 %9, %10
%12 = icmp eq ptr %3, null
%13 = or i1 %11, %12
%14 = icmp eq i64 %4, 0
%15 = or i1 %13, %14
br i1 %15, label %34, label %16
16: ; preds = %6
%17 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2
%18 = load ptr, ptr %17, align 8, !tbaa !5
%19 = getelementptr inbounds %struct.TYPE_7__, ptr %18, i64 0, i32 1
%20 = load i32, ptr %18, align 4, !tbaa !12
%21 = tail call i32 @Clone(ptr noundef nonnull %3, i64 noundef %4) #2
%22 = tail call ptr @NewUdpPacket(ptr noundef nonnull %19, i32 noundef %20, ptr noundef nonnull %1, i64 noundef %2, i32 noundef %21, i64 noundef %4) #2
%23 = load i64, ptr %0, align 8, !tbaa !14
%24 = load i64, ptr @RUDP_PROTOCOL_ICMP, align 8, !tbaa !15
%25 = icmp eq i64 %23, %24
%26 = load i64, ptr @RUDP_PROTOCOL_DNS, align 8
%27 = icmp eq i64 %23, %26
%28 = select i1 %25, i1 true, i1 %27
br i1 %28, label %29, label %30
29: ; preds = %16
store i64 %5, ptr %22, align 8, !tbaa !16
br label %30
30: ; preds = %16, %29
%31 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
%32 = load i32, ptr %31, align 8, !tbaa !18
%33 = tail call i32 @Add(i32 noundef %32, ptr noundef %22) #2
br label %34
34: ; preds = %6, %30
ret void
}
declare ptr @NewUdpPacket(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @Clone(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @Add(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"TYPE_9__", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_7__", !10, i64 0, !10, i64 4}
!14 = !{!6, !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_8__", !7, i64 0}
!18 = !{!6, !10, i64 8}
|
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_RUDPSendPacket.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_RUDPSendPacket.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RUDP_PROTOCOL_ICMP = common local_unnamed_addr global i64 0, align 8
@RUDP_PROTOCOL_DNS = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @RUDPSendPacket(ptr noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5) local_unnamed_addr #0 {
%7 = icmp eq ptr %0, null
%8 = icmp eq ptr %1, null
%9 = or i1 %7, %8
%10 = icmp eq i64 %2, 0
%11 = or i1 %9, %10
%12 = icmp eq ptr %3, null
%13 = or i1 %11, %12
%14 = icmp eq i64 %4, 0
%15 = or i1 %13, %14
br i1 %15, label %34, label %16
16: ; preds = %6
%17 = getelementptr inbounds i8, ptr %0, i64 16
%18 = load ptr, ptr %17, align 8, !tbaa !6
%19 = getelementptr inbounds i8, ptr %18, i64 4
%20 = load i32, ptr %18, align 4, !tbaa !13
%21 = tail call i32 @Clone(ptr noundef nonnull %3, i64 noundef %4) #2
%22 = tail call ptr @NewUdpPacket(ptr noundef nonnull %19, i32 noundef %20, ptr noundef nonnull %1, i64 noundef %2, i32 noundef %21, i64 noundef %4) #2
%23 = load i64, ptr %0, align 8, !tbaa !15
%24 = load i64, ptr @RUDP_PROTOCOL_ICMP, align 8, !tbaa !16
%25 = icmp eq i64 %23, %24
%26 = load i64, ptr @RUDP_PROTOCOL_DNS, align 8
%27 = icmp eq i64 %23, %26
%28 = select i1 %25, i1 true, i1 %27
br i1 %28, label %29, label %30
29: ; preds = %16
store i64 %5, ptr %22, align 8, !tbaa !17
br label %30
30: ; preds = %16, %29
%31 = getelementptr inbounds i8, ptr %0, i64 8
%32 = load i32, ptr %31, align 8, !tbaa !19
%33 = tail call i32 @Add(i32 noundef %32, ptr noundef %22) #2
br label %34
34: ; preds = %6, %30
ret void
}
declare ptr @NewUdpPacket(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @Clone(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @Add(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"TYPE_9__", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_7__", !11, i64 0, !11, i64 4}
!15 = !{!7, !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_8__", !8, i64 0}
!19 = !{!7, !11, i64 8}
|
SoftEtherVPN_src_Mayaqua_extr_Network.c_RUDPSendPacket
|
; ModuleID = 'AnghaBench/linux/drivers/input/rmi4/extr_rmi_f01.c_rmi_f01_suspend.c'
source_filename = "AnghaBench/linux/drivers/input/rmi4/extr_rmi_f01.c_rmi_f01_suspend.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.f01_data = type { i32, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { i32 }
%struct.rmi_function = type { i32, %struct.TYPE_6__, ptr }
%struct.TYPE_6__ = type { i32 }
@RMI_F01_CTRL0_NOSLEEP_BIT = dso_local local_unnamed_addr global i32 0, align 4
@RMI_F01_CTRL0_SLEEP_MODE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@RMI_SLEEP_MODE_RESERVED1 = dso_local local_unnamed_addr global i32 0, align 4
@RMI_SLEEP_MODE_SENSOR_SLEEP = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"Failed to write sleep mode: %d.\0A\00", align 1
@RMI_SLEEP_MODE_NORMAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rmi_f01_suspend], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rmi_f01_suspend(ptr noundef %0) #0 {
%2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.f01_data, ptr %2, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = load i32, ptr @RMI_F01_CTRL0_NOSLEEP_BIT, align 4, !tbaa !11
%6 = and i32 %5, %4
store i32 %6, ptr %2, align 4, !tbaa !12
%7 = load i32, ptr @RMI_F01_CTRL0_NOSLEEP_BIT, align 4, !tbaa !11
%8 = load i32, ptr @RMI_F01_CTRL0_SLEEP_MODE_MASK, align 4, !tbaa !11
%9 = or i32 %7, %8
%10 = xor i32 %9, -1
%11 = and i32 %4, %10
store i32 %11, ptr %3, align 4, !tbaa !5
%12 = getelementptr inbounds %struct.rmi_function, ptr %0, i64 0, i32 2
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = load ptr, ptr %13, align 8, !tbaa !17
%15 = load i32, ptr %14, align 4, !tbaa !19
%16 = tail call i64 @device_may_wakeup(i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
%18 = load i32, ptr %3, align 4, !tbaa !5
%19 = load i32, ptr @RMI_SLEEP_MODE_SENSOR_SLEEP, align 4
%20 = load i32, ptr @RMI_SLEEP_MODE_RESERVED1, align 4
%21 = select i1 %17, i32 %19, i32 %20
%22 = or i32 %18, %21
store i32 %22, ptr %3, align 4, !tbaa !5
%23 = load ptr, ptr %12, align 8, !tbaa !13
%24 = getelementptr inbounds %struct.rmi_function, ptr %0, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !21
%26 = tail call i32 @rmi_write(ptr noundef %23, i32 noundef %25, i32 noundef %22) #2
%27 = icmp eq i32 %26, 0
br i1 %27, label %41, label %28
28: ; preds = %1
%29 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %26) #2
%30 = load i32, ptr %2, align 4, !tbaa !12
%31 = icmp eq i32 %30, 0
%32 = load i32, ptr %3, align 4, !tbaa !5
%33 = load i32, ptr @RMI_F01_CTRL0_NOSLEEP_BIT, align 4
%34 = select i1 %31, i32 0, i32 %33
%35 = or i32 %32, %34
%36 = load i32, ptr @RMI_F01_CTRL0_SLEEP_MODE_MASK, align 4, !tbaa !11
%37 = xor i32 %36, -1
%38 = and i32 %35, %37
%39 = load i32, ptr @RMI_SLEEP_MODE_NORMAL, align 4, !tbaa !11
%40 = or i32 %39, %38
store i32 %40, ptr %3, align 4, !tbaa !5
br label %41
41: ; preds = %1, %28
ret i32 %26
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i64 @device_may_wakeup(i32 noundef) local_unnamed_addr #1
declare i32 @rmi_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"f01_data", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_7__", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !16, i64 8}
!14 = !{!"rmi_function", !7, i64 0, !15, i64 4, !16, i64 8}
!15 = !{!"TYPE_6__", !7, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!18, !16, i64 0}
!18 = !{!"TYPE_8__", !16, i64 0}
!19 = !{!20, !7, i64 0}
!20 = !{!"TYPE_5__", !7, i64 0}
!21 = !{!14, !7, i64 4}
|
; ModuleID = 'AnghaBench/linux/drivers/input/rmi4/extr_rmi_f01.c_rmi_f01_suspend.c'
source_filename = "AnghaBench/linux/drivers/input/rmi4/extr_rmi_f01.c_rmi_f01_suspend.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RMI_F01_CTRL0_NOSLEEP_BIT = common local_unnamed_addr global i32 0, align 4
@RMI_F01_CTRL0_SLEEP_MODE_MASK = common local_unnamed_addr global i32 0, align 4
@RMI_SLEEP_MODE_RESERVED1 = common local_unnamed_addr global i32 0, align 4
@RMI_SLEEP_MODE_SENSOR_SLEEP = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"Failed to write sleep mode: %d.\0A\00", align 1
@RMI_SLEEP_MODE_NORMAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rmi_f01_suspend], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rmi_f01_suspend(ptr noundef %0) #0 {
%2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = load i32, ptr @RMI_F01_CTRL0_NOSLEEP_BIT, align 4, !tbaa !12
%6 = and i32 %5, %4
store i32 %6, ptr %2, align 4, !tbaa !13
%7 = load i32, ptr @RMI_F01_CTRL0_NOSLEEP_BIT, align 4, !tbaa !12
%8 = load i32, ptr @RMI_F01_CTRL0_SLEEP_MODE_MASK, align 4, !tbaa !12
%9 = or i32 %7, %8
%10 = xor i32 %9, -1
%11 = and i32 %4, %10
store i32 %11, ptr %3, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = load ptr, ptr %13, align 8, !tbaa !18
%15 = load i32, ptr %14, align 4, !tbaa !20
%16 = tail call i64 @device_may_wakeup(i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
%18 = load i32, ptr %3, align 4, !tbaa !6
%19 = load i32, ptr @RMI_SLEEP_MODE_SENSOR_SLEEP, align 4
%20 = load i32, ptr @RMI_SLEEP_MODE_RESERVED1, align 4
%21 = select i1 %17, i32 %19, i32 %20
%22 = or i32 %18, %21
store i32 %22, ptr %3, align 4, !tbaa !6
%23 = load ptr, ptr %12, align 8, !tbaa !14
%24 = getelementptr inbounds i8, ptr %0, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !22
%26 = tail call i32 @rmi_write(ptr noundef %23, i32 noundef %25, i32 noundef %22) #2
%27 = icmp eq i32 %26, 0
br i1 %27, label %41, label %28
28: ; preds = %1
%29 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %26) #2
%30 = load i32, ptr %2, align 4, !tbaa !13
%31 = icmp eq i32 %30, 0
%32 = load i32, ptr %3, align 4, !tbaa !6
%33 = load i32, ptr @RMI_F01_CTRL0_NOSLEEP_BIT, align 4
%34 = select i1 %31, i32 0, i32 %33
%35 = or i32 %32, %34
%36 = load i32, ptr @RMI_F01_CTRL0_SLEEP_MODE_MASK, align 4, !tbaa !12
%37 = xor i32 %36, -1
%38 = and i32 %35, %37
%39 = load i32, ptr @RMI_SLEEP_MODE_NORMAL, align 4, !tbaa !12
%40 = or i32 %39, %38
store i32 %40, ptr %3, align 4, !tbaa !6
br label %41
41: ; preds = %1, %28
ret i32 %26
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i64 @device_may_wakeup(i32 noundef) local_unnamed_addr #1
declare i32 @rmi_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"f01_data", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_7__", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !17, i64 8}
!15 = !{!"rmi_function", !8, i64 0, !16, i64 4, !17, i64 8}
!16 = !{!"TYPE_6__", !8, i64 0}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!19, !17, i64 0}
!19 = !{!"TYPE_8__", !17, i64 0}
!20 = !{!21, !8, i64 0}
!21 = !{!"TYPE_5__", !8, i64 0}
!22 = !{!15, !8, i64 4}
|
linux_drivers_input_rmi4_extr_rmi_f01.c_rmi_f01_suspend
|
; ModuleID = 'AnghaBench/linux/sound/soc/mediatek/common/extr_mtk-afe-fe-dai.c_mtk_dynamic_irq_acquire.c'
source_filename = "AnghaBench/linux/sound/soc/mediatek/common/extr_mtk-afe-fe-dai.c_mtk_dynamic_irq_acquire.c"
target datalayout = "e-m:e-p270:32:32-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.mtk_base_afe = type { i32, i32, ptr }
%struct.TYPE_2__ = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @mtk_dynamic_irq_acquire(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.mtk_base_afe, ptr %0, i64 0, i32 1
%3 = tail call i32 @mutex_lock(ptr noundef nonnull %2) #2
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %22
6: ; preds = %1
%7 = getelementptr inbounds %struct.mtk_base_afe, ptr %0, i64 0, i32 2
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = zext nneg i32 %4 to i64
br label %10
10: ; preds = %6, %19
%11 = phi i64 [ 0, %6 ], [ %20, %19 ]
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %11
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %10
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %11
%17 = trunc i64 %11 to i32
store i32 1, ptr %16, align 4, !tbaa !12
%18 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2
br label %25
19: ; preds = %10
%20 = add nuw nsw i64 %11, 1
%21 = icmp eq i64 %20, %9
br i1 %21, label %22, label %10, !llvm.loop !14
22: ; preds = %19, %1
%23 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2
%24 = load i32, ptr %0, align 8, !tbaa !5
br label %25
25: ; preds = %22, %15
%26 = phi i32 [ %17, %15 ], [ %24, %22 ]
ret i32 %26
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mtk_base_afe", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/sound/soc/mediatek/common/extr_mtk-afe-fe-dai.c_mtk_dynamic_irq_acquire.c'
source_filename = "AnghaBench/linux/sound/soc/mediatek/common/extr_mtk-afe-fe-dai.c_mtk_dynamic_irq_acquire.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 }
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @mtk_dynamic_irq_acquire(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = tail call i32 @mutex_lock(ptr noundef nonnull %2) #2
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %22
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = zext nneg i32 %4 to i64
br label %10
10: ; preds = %6, %19
%11 = phi i64 [ 0, %6 ], [ %20, %19 ]
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %11
%13 = load i32, ptr %12, align 4, !tbaa !13
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %10
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %11
%17 = trunc nuw nsw i64 %11 to i32
store i32 1, ptr %16, align 4, !tbaa !13
%18 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2
br label %25
19: ; preds = %10
%20 = add nuw nsw i64 %11, 1
%21 = icmp eq i64 %20, %9
br i1 %21, label %22, label %10, !llvm.loop !15
22: ; preds = %19, %1
%23 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2
%24 = load i32, ptr %0, align 8, !tbaa !6
br label %25
25: ; preds = %22, %15
%26 = phi i32 [ %17, %15 ], [ %24, %22 ]
ret i32 %26
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mtk_base_afe", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
|
linux_sound_soc_mediatek_common_extr_mtk-afe-fe-dai.c_mtk_dynamic_irq_acquire
|
; ModuleID = 'AnghaBench/freebsd/usr.bin/systat/extr_zarc.c_initzarc.c'
source_filename = "AnghaBench/freebsd/usr.bin/systat/extr_zarc.c_initzarc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@initstat = dso_local global i32 0, align 4
@oldstat = dso_local local_unnamed_addr global i32 0, align 4
@curstat = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @initzarc() local_unnamed_addr #0 {
%1 = tail call i32 @dsinit(i32 noundef 12) #2
%2 = tail call i32 @getinfo(ptr noundef nonnull @initstat) #2
%3 = load i32, ptr @initstat, align 4, !tbaa !5
store i32 %3, ptr @oldstat, align 4, !tbaa !5
store i32 %3, ptr @curstat, align 4, !tbaa !5
ret i32 1
}
declare i32 @dsinit(i32 noundef) local_unnamed_addr #1
declare i32 @getinfo(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/usr.bin/systat/extr_zarc.c_initzarc.c'
source_filename = "AnghaBench/freebsd/usr.bin/systat/extr_zarc.c_initzarc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@initstat = common global i32 0, align 4
@oldstat = common local_unnamed_addr global i32 0, align 4
@curstat = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @initzarc() local_unnamed_addr #0 {
%1 = tail call i32 @dsinit(i32 noundef 12) #2
%2 = tail call i32 @getinfo(ptr noundef nonnull @initstat) #2
%3 = load i32, ptr @initstat, align 4, !tbaa !6
store i32 %3, ptr @oldstat, align 4, !tbaa !6
store i32 %3, ptr @curstat, align 4, !tbaa !6
ret i32 1
}
declare i32 @dsinit(i32 noundef) local_unnamed_addr #1
declare i32 @getinfo(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_usr.bin_systat_extr_zarc.c_initzarc
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v6_0.c_gfx_v6_0_update_gfx_pg.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v6_0.c_gfx_v6_0_update_gfx_pg.c"
target datalayout = "e-m:e-p270:32:32-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 @gfx_v6_0_update_gfx_pg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gfx_v6_0_update_gfx_pg(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @gfx_v6_0_enable_gfx_cgpg(ptr noundef %0, i32 noundef %1) #2
%4 = tail call i32 @gfx_v6_0_enable_gfx_static_mgpg(ptr noundef %0, i32 noundef %1) #2
%5 = tail call i32 @gfx_v6_0_enable_gfx_dynamic_mgpg(ptr noundef %0, i32 noundef %1) #2
ret void
}
declare i32 @gfx_v6_0_enable_gfx_cgpg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gfx_v6_0_enable_gfx_static_mgpg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gfx_v6_0_enable_gfx_dynamic_mgpg(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v6_0.c_gfx_v6_0_update_gfx_pg.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v6_0.c_gfx_v6_0_update_gfx_pg.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 @gfx_v6_0_update_gfx_pg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gfx_v6_0_update_gfx_pg(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @gfx_v6_0_enable_gfx_cgpg(ptr noundef %0, i32 noundef %1) #2
%4 = tail call i32 @gfx_v6_0_enable_gfx_static_mgpg(ptr noundef %0, i32 noundef %1) #2
%5 = tail call i32 @gfx_v6_0_enable_gfx_dynamic_mgpg(ptr noundef %0, i32 noundef %1) #2
ret void
}
declare i32 @gfx_v6_0_enable_gfx_cgpg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gfx_v6_0_enable_gfx_static_mgpg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gfx_v6_0_enable_gfx_dynamic_mgpg(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_gpu_drm_amd_amdgpu_extr_gfx_v6_0.c_gfx_v6_0_update_gfx_pg
|
; ModuleID = 'AnghaBench/linux/drivers/rapidio/extr_rio-scan.c_rio_release_dev.c'
source_filename = "AnghaBench/linux/drivers/rapidio/extr_rio-scan.c_rio_release_dev.c"
target datalayout = "e-m:e-p270:32:32-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 @rio_release_dev], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rio_release_dev(ptr noundef %0) #0 {
%2 = tail call ptr @to_rio_dev(ptr noundef %0) #2
%3 = tail call i32 @kfree(ptr noundef %2) #2
ret void
}
declare ptr @to_rio_dev(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/rapidio/extr_rio-scan.c_rio_release_dev.c'
source_filename = "AnghaBench/linux/drivers/rapidio/extr_rio-scan.c_rio_release_dev.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 @rio_release_dev], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rio_release_dev(ptr noundef %0) #0 {
%2 = tail call ptr @to_rio_dev(ptr noundef %0) #2
%3 = tail call i32 @kfree(ptr noundef %2) #2
ret void
}
declare ptr @to_rio_dev(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_rapidio_extr_rio-scan.c_rio_release_dev
|
; ModuleID = 'AnghaBench/freebsd/sys/x86/iommu/extr_intel_intrmap.c_iommu_unmap_msi_intr.c'
source_filename = "AnghaBench/freebsd/sys/x86/iommu/extr_intel_intrmap.c_iommu_unmap_msi_intr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @iommu_unmap_msi_intr(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %1, -1
br i1 %3, label %7, label %4
4: ; preds = %2
%5 = tail call ptr @dmar_ir_find(i32 noundef %0, ptr noundef null, ptr noundef null) #2
%6 = tail call i32 @dmar_ir_free_irte(ptr noundef %5, i32 noundef %1) #2
br label %7
7: ; preds = %2, %4
%8 = phi i32 [ %6, %4 ], [ 0, %2 ]
ret i32 %8
}
declare ptr @dmar_ir_find(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dmar_ir_free_irte(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/freebsd/sys/x86/iommu/extr_intel_intrmap.c_iommu_unmap_msi_intr.c'
source_filename = "AnghaBench/freebsd/sys/x86/iommu/extr_intel_intrmap.c_iommu_unmap_msi_intr.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 @iommu_unmap_msi_intr(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %1, -1
br i1 %3, label %7, label %4
4: ; preds = %2
%5 = tail call ptr @dmar_ir_find(i32 noundef %0, ptr noundef null, ptr noundef null) #2
%6 = tail call i32 @dmar_ir_free_irte(ptr noundef %5, i32 noundef %1) #2
br label %7
7: ; preds = %2, %4
%8 = phi i32 [ %6, %4 ], [ 0, %2 ]
ret i32 %8
}
declare ptr @dmar_ir_find(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dmar_ir_free_irte(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
freebsd_sys_x86_iommu_extr_intel_intrmap.c_iommu_unmap_msi_intr
|
; ModuleID = 'AnghaBench/linux/fs/reiserfs/extr_prints.c_cpu_type.c'
source_filename = "AnghaBench/linux/fs/reiserfs/extr_prints.c_cpu_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TYPE_STAT_DATA = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"SD\00", align 1
@TYPE_DIRENTRY = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"DIR\00", align 1
@TYPE_DIRECT = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [7 x i8] c"DIRECT\00", align 1
@TYPE_INDIRECT = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [4 x i8] c"IND\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"UNKNOWN\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cpu_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal nonnull ptr @cpu_type(ptr noundef %0) #0 {
%2 = tail call i64 @cpu_key_k_type(ptr noundef %0) #2
%3 = load i64, ptr @TYPE_STAT_DATA, align 8, !tbaa !5
%4 = icmp eq i64 %2, %3
br i1 %4, label %18, label %5
5: ; preds = %1
%6 = tail call i64 @cpu_key_k_type(ptr noundef %0) #2
%7 = load i64, ptr @TYPE_DIRENTRY, align 8, !tbaa !5
%8 = icmp eq i64 %6, %7
br i1 %8, label %18, label %9
9: ; preds = %5
%10 = tail call i64 @cpu_key_k_type(ptr noundef %0) #2
%11 = load i64, ptr @TYPE_DIRECT, align 8, !tbaa !5
%12 = icmp eq i64 %10, %11
br i1 %12, label %18, label %13
13: ; preds = %9
%14 = tail call i64 @cpu_key_k_type(ptr noundef %0) #2
%15 = load i64, ptr @TYPE_INDIRECT, align 8, !tbaa !5
%16 = icmp eq i64 %14, %15
%17 = select i1 %16, ptr @.str.3, ptr @.str.4
br label %18
18: ; preds = %13, %9, %5, %1
%19 = phi ptr [ @.str, %1 ], [ @.str.1, %5 ], [ @.str.2, %9 ], [ %17, %13 ]
ret ptr %19
}
declare i64 @cpu_key_k_type(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/fs/reiserfs/extr_prints.c_cpu_type.c'
source_filename = "AnghaBench/linux/fs/reiserfs/extr_prints.c_cpu_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TYPE_STAT_DATA = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"SD\00", align 1
@TYPE_DIRENTRY = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"DIR\00", align 1
@TYPE_DIRECT = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [7 x i8] c"DIRECT\00", align 1
@TYPE_INDIRECT = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [4 x i8] c"IND\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"UNKNOWN\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cpu_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal nonnull ptr @cpu_type(ptr noundef %0) #0 {
%2 = tail call i64 @cpu_key_k_type(ptr noundef %0) #2
%3 = load i64, ptr @TYPE_STAT_DATA, align 8, !tbaa !6
%4 = icmp eq i64 %2, %3
br i1 %4, label %18, label %5
5: ; preds = %1
%6 = tail call i64 @cpu_key_k_type(ptr noundef %0) #2
%7 = load i64, ptr @TYPE_DIRENTRY, align 8, !tbaa !6
%8 = icmp eq i64 %6, %7
br i1 %8, label %18, label %9
9: ; preds = %5
%10 = tail call i64 @cpu_key_k_type(ptr noundef %0) #2
%11 = load i64, ptr @TYPE_DIRECT, align 8, !tbaa !6
%12 = icmp eq i64 %10, %11
br i1 %12, label %18, label %13
13: ; preds = %9
%14 = tail call i64 @cpu_key_k_type(ptr noundef %0) #2
%15 = load i64, ptr @TYPE_INDIRECT, align 8, !tbaa !6
%16 = icmp eq i64 %14, %15
%17 = select i1 %16, ptr @.str.3, ptr @.str.4
br label %18
18: ; preds = %13, %9, %5, %1
%19 = phi ptr [ @.str, %1 ], [ @.str.1, %5 ], [ @.str.2, %9 ], [ %17, %13 ]
ret ptr %19
}
declare i64 @cpu_key_k_type(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"}
|
linux_fs_reiserfs_extr_prints.c_cpu_type
|
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/halberd/keymaps/right_modifiers/extr_keymap.c_led_set_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/halberd/keymaps/right_modifiers/extr_keymap.c_led_set_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"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @led_set_user(i32 noundef %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/qmk_firmware/keyboards/halberd/keymaps/right_modifiers/extr_keymap.c_led_set_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/halberd/keymaps/right_modifiers/extr_keymap.c_led_set_user.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 @led_set_user(i32 noundef %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)"}
|
qmk_firmware_keyboards_halberd_keymaps_right_modifiers_extr_keymap.c_led_set_user
|
; ModuleID = 'AnghaBench/linux/drivers/crypto/qat/qat_c62x/extr_adf_c62x_hw_data.c_get_pf2vf_offset.c'
source_filename = "AnghaBench/linux/drivers/crypto/qat/qat_c62x/extr_adf_c62x_hw_data.c_get_pf2vf_offset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_pf2vf_offset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @get_pf2vf_offset(i32 noundef %0) #0 {
%2 = tail call i32 @ADF_C62X_PF2VF_OFFSET(i32 noundef %0) #2
ret i32 %2
}
declare i32 @ADF_C62X_PF2VF_OFFSET(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/crypto/qat/qat_c62x/extr_adf_c62x_hw_data.c_get_pf2vf_offset.c'
source_filename = "AnghaBench/linux/drivers/crypto/qat/qat_c62x/extr_adf_c62x_hw_data.c_get_pf2vf_offset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @get_pf2vf_offset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @get_pf2vf_offset(i32 noundef %0) #0 {
%2 = tail call i32 @ADF_C62X_PF2VF_OFFSET(i32 noundef %0) #2
ret i32 %2
}
declare i32 @ADF_C62X_PF2VF_OFFSET(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_crypto_qat_qat_c62x_extr_adf_c62x_hw_data.c_get_pf2vf_offset
|
; ModuleID = 'AnghaBench/git/extr_hashmap.c_hashmap_iter_init.c'
source_filename = "AnghaBench/git/extr_hashmap.c_hashmap_iter_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.hashmap_iter = type { ptr, i64, ptr }
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local void @hashmap_iter_init(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.hashmap_iter, ptr %1, i64 0, i32 2
store ptr %0, ptr %3, align 8, !tbaa !5
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %1, i8 0, i64 16, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"hashmap_iter", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
|
; ModuleID = 'AnghaBench/git/extr_hashmap.c_hashmap_iter_init.c'
source_filename = "AnghaBench/git/extr_hashmap.c_hashmap_iter_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define void @hashmap_iter_init(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %0, ptr %3, align 8, !tbaa !6
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %1, i8 0, i64 16, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"hashmap_iter", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
|
git_extr_hashmap.c_hashmap_iter_init
|
; ModuleID = 'AnghaBench/linux/scripts/mod/extr_modpost.c_find_elf_symbol2.c'
source_filename = "AnghaBench/linux/scripts/mod/extr_modpost.c_find_elf_symbol2.c"
target datalayout = "e-m:e-p270:32:32-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.elf_info = type { ptr, ptr }
%struct.TYPE_5__ = type { i64, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @find_elf_symbol2], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @find_elf_symbol2(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.elf_info, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load ptr, ptr %0, align 8, !tbaa !10
%7 = icmp ult ptr %5, %6
br i1 %7, label %8, label %39
8: ; preds = %3, %33
%9 = phi ptr [ %36, %33 ], [ %5, %3 ]
%10 = phi i64 [ %35, %33 ], [ -1, %3 ]
%11 = phi ptr [ %34, %33 ], [ null, %3 ]
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %9, i64 0, i32 1
%13 = load i32, ptr %12, align 8, !tbaa !11
%14 = tail call i64 @is_shndx_special(i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %33
16: ; preds = %8
%17 = tail call i32 @get_secindex(ptr noundef nonnull %0, ptr noundef nonnull %9) #2
%18 = tail call ptr @sec_name(ptr noundef nonnull %0, i32 noundef %17) #2
%19 = tail call i64 @strcmp(ptr noundef %18, ptr noundef %2) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %33
21: ; preds = %16
%22 = tail call i32 @is_valid_name(ptr noundef nonnull %0, ptr noundef nonnull %9) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %33, label %24
24: ; preds = %21
%25 = load i64, ptr %9, align 8, !tbaa !15
%26 = icmp sgt i64 %25, %1
br i1 %26, label %33, label %27
27: ; preds = %24
%28 = sub nsw i64 %1, %25
%29 = icmp slt i64 %28, %10
br i1 %29, label %33, label %30
30: ; preds = %27
%31 = icmp eq i64 %28, %10
%32 = select i1 %31, ptr %9, ptr %11
br label %33
33: ; preds = %30, %24, %27, %21, %16, %8
%34 = phi ptr [ %11, %8 ], [ %11, %16 ], [ %11, %21 ], [ %11, %24 ], [ %9, %27 ], [ %32, %30 ]
%35 = phi i64 [ %10, %8 ], [ %10, %16 ], [ %10, %21 ], [ %10, %24 ], [ %28, %27 ], [ %10, %30 ]
%36 = getelementptr inbounds %struct.TYPE_5__, ptr %9, i64 1
%37 = load ptr, ptr %0, align 8, !tbaa !10
%38 = icmp ult ptr %36, %37
br i1 %38, label %8, label %39, !llvm.loop !16
39: ; preds = %33, %3
%40 = phi ptr [ null, %3 ], [ %34, %33 ]
ret ptr %40
}
declare i64 @is_shndx_special(i32 noundef) local_unnamed_addr #1
declare ptr @sec_name(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_secindex(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @is_valid_name(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 8}
!6 = !{!"elf_info", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !14, i64 8}
!12 = !{!"TYPE_5__", !13, i64 0, !14, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!12, !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/scripts/mod/extr_modpost.c_find_elf_symbol2.c'
source_filename = "AnghaBench/linux/scripts/mod/extr_modpost.c_find_elf_symbol2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @find_elf_symbol2], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @find_elf_symbol2(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load ptr, ptr %0, align 8, !tbaa !11
%7 = icmp ult ptr %5, %6
br i1 %7, label %8, label %39
8: ; preds = %3, %33
%9 = phi ptr [ %36, %33 ], [ %5, %3 ]
%10 = phi i64 [ %35, %33 ], [ -1, %3 ]
%11 = phi ptr [ %34, %33 ], [ null, %3 ]
%12 = getelementptr inbounds i8, ptr %9, i64 8
%13 = load i32, ptr %12, align 8, !tbaa !12
%14 = tail call i64 @is_shndx_special(i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %33
16: ; preds = %8
%17 = tail call i32 @get_secindex(ptr noundef nonnull %0, ptr noundef nonnull %9) #2
%18 = tail call ptr @sec_name(ptr noundef nonnull %0, i32 noundef %17) #2
%19 = tail call i64 @strcmp(ptr noundef %18, ptr noundef %2) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %33
21: ; preds = %16
%22 = tail call i32 @is_valid_name(ptr noundef nonnull %0, ptr noundef nonnull %9) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %33, label %24
24: ; preds = %21
%25 = load i64, ptr %9, align 8, !tbaa !16
%26 = icmp sgt i64 %25, %1
br i1 %26, label %33, label %27
27: ; preds = %24
%28 = sub nsw i64 %1, %25
%29 = icmp slt i64 %28, %10
br i1 %29, label %33, label %30
30: ; preds = %27
%31 = icmp eq i64 %28, %10
%32 = select i1 %31, ptr %9, ptr %11
br label %33
33: ; preds = %30, %24, %27, %21, %16, %8
%34 = phi ptr [ %11, %8 ], [ %11, %16 ], [ %11, %21 ], [ %11, %24 ], [ %9, %27 ], [ %32, %30 ]
%35 = phi i64 [ %10, %8 ], [ %10, %16 ], [ %10, %21 ], [ %10, %24 ], [ %28, %27 ], [ %10, %30 ]
%36 = getelementptr inbounds i8, ptr %9, i64 16
%37 = load ptr, ptr %0, align 8, !tbaa !11
%38 = icmp ult ptr %36, %37
br i1 %38, label %8, label %39, !llvm.loop !17
39: ; preds = %33, %3
%40 = phi ptr [ null, %3 ], [ %34, %33 ]
ret ptr %40
}
declare i64 @is_shndx_special(i32 noundef) local_unnamed_addr #1
declare ptr @sec_name(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_secindex(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @is_valid_name(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 8}
!7 = !{!"elf_info", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !15, i64 8}
!13 = !{!"TYPE_5__", !14, i64 0, !15, i64 8}
!14 = !{!"long", !9, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!13, !14, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
|
linux_scripts_mod_extr_modpost.c_find_elf_symbol2
|
; ModuleID = 'AnghaBench/freebsd/lib/libusb/extr_libusb10.c_libusb_release_interface.c'
source_filename = "AnghaBench/freebsd/lib/libusb/extr_libusb10.c_libusb_release_interface.c"
target datalayout = "e-m:e-p270:32:32-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 }
@LIBUSB_ERROR_INVALID_PARAM = dso_local local_unnamed_addr global i32 0, align 4
@LIBUSB_ERROR_NOT_FOUND = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @libusb_release_interface(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @libusb_get_device(ptr noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = load i32, ptr @LIBUSB_ERROR_INVALID_PARAM, align 4, !tbaa !5
br label %34
7: ; preds = %2
%8 = icmp ugt i32 %1, 31
br i1 %8, label %9, label %11
9: ; preds = %7
%10 = load i32, ptr @LIBUSB_ERROR_INVALID_PARAM, align 4, !tbaa !5
br label %34
11: ; preds = %7
%12 = load i64, ptr %0, align 8, !tbaa !9
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = tail call i32 @libusb_attach_kernel_driver(ptr noundef nonnull %0, i32 noundef %1) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %34
17: ; preds = %14, %11
%18 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !12
%20 = tail call i32 @CTX_LOCK(i32 noundef %19) #2
%21 = load i32, ptr %3, align 4, !tbaa !14
%22 = shl nuw i32 1, %1
%23 = and i32 %21, %22
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %17
%26 = load i32, ptr @LIBUSB_ERROR_NOT_FOUND, align 4, !tbaa !5
br label %30
27: ; preds = %17
%28 = xor i32 %22, -1
%29 = and i32 %21, %28
store i32 %29, ptr %3, align 4, !tbaa !14
br label %30
30: ; preds = %27, %25
%31 = phi i32 [ 0, %27 ], [ %26, %25 ]
%32 = load i32, ptr %18, align 4, !tbaa !12
%33 = tail call i32 @CTX_UNLOCK(i32 noundef %32) #2
br label %34
34: ; preds = %30, %14, %9, %5
%35 = phi i32 [ %6, %5 ], [ %10, %9 ], [ %15, %14 ], [ %31, %30 ]
ret i32 %35
}
declare ptr @libusb_get_device(ptr noundef) local_unnamed_addr #1
declare i32 @libusb_attach_kernel_driver(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CTX_LOCK(i32 noundef) local_unnamed_addr #1
declare i32 @CTX_UNLOCK(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"libusb20_device", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !6, i64 4}
!13 = !{!"TYPE_3__", !6, i64 0, !6, i64 4}
!14 = !{!13, !6, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/lib/libusb/extr_libusb10.c_libusb_release_interface.c'
source_filename = "AnghaBench/freebsd/lib/libusb/extr_libusb10.c_libusb_release_interface.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LIBUSB_ERROR_INVALID_PARAM = common local_unnamed_addr global i32 0, align 4
@LIBUSB_ERROR_NOT_FOUND = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @libusb_release_interface(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @libusb_get_device(ptr noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = load i32, ptr @LIBUSB_ERROR_INVALID_PARAM, align 4, !tbaa !6
br label %34
7: ; preds = %2
%8 = icmp ugt i32 %1, 31
br i1 %8, label %9, label %11
9: ; preds = %7
%10 = load i32, ptr @LIBUSB_ERROR_INVALID_PARAM, align 4, !tbaa !6
br label %34
11: ; preds = %7
%12 = load i64, ptr %0, align 8, !tbaa !10
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = tail call i32 @libusb_attach_kernel_driver(ptr noundef nonnull %0, i32 noundef %1) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %34
17: ; preds = %14, %11
%18 = getelementptr inbounds i8, ptr %3, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = tail call i32 @CTX_LOCK(i32 noundef %19) #2
%21 = load i32, ptr %3, align 4, !tbaa !15
%22 = shl nuw i32 1, %1
%23 = and i32 %21, %22
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %17
%26 = load i32, ptr @LIBUSB_ERROR_NOT_FOUND, align 4, !tbaa !6
br label %30
27: ; preds = %17
%28 = xor i32 %22, -1
%29 = and i32 %21, %28
store i32 %29, ptr %3, align 4, !tbaa !15
br label %30
30: ; preds = %27, %25
%31 = phi i32 [ 0, %27 ], [ %26, %25 ]
%32 = load i32, ptr %18, align 4, !tbaa !13
%33 = tail call i32 @CTX_UNLOCK(i32 noundef %32) #2
br label %34
34: ; preds = %30, %14, %9, %5
%35 = phi i32 [ %6, %5 ], [ %10, %9 ], [ %15, %14 ], [ %31, %30 ]
ret i32 %35
}
declare ptr @libusb_get_device(ptr noundef) local_unnamed_addr #1
declare i32 @libusb_attach_kernel_driver(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CTX_LOCK(i32 noundef) local_unnamed_addr #1
declare i32 @CTX_UNLOCK(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"libusb20_device", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !7, i64 4}
!14 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!15 = !{!14, !7, i64 0}
|
freebsd_lib_libusb_extr_libusb10.c_libusb_release_interface
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_callback_xdr.c_encode_attr_mtime.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_callback_xdr.c_encode_attr_mtime.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FATTR4_WORD1_TIME_MODIFY = dso_local local_unnamed_addr constant i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @encode_attr_mtime], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @encode_attr_mtime(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_callback_xdr.c_encode_attr_mtime.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_callback_xdr.c_encode_attr_mtime.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FATTR4_WORD1_TIME_MODIFY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @encode_attr_mtime], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @encode_attr_mtime(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = load i32, ptr @FATTR4_WORD1_TIME_MODIFY, align 4, !tbaa !6
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %3
%10 = tail call i32 @encode_attr_time(ptr noundef %0, ptr noundef %2) #2
br label %11
11: ; preds = %3, %9
%12 = phi i32 [ %10, %9 ], [ 0, %3 ]
ret i32 %12
}
declare i32 @encode_attr_time(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
fastsocket_kernel_fs_nfs_extr_callback_xdr.c_encode_attr_mtime
|
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/freescale/extr_pinctrl-mxs.c_mxs_pinconf_group_dbg_show.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/freescale/extr_pinctrl-mxs.c_mxs_pinconf_group_dbg_show.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"0x%lx\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mxs_pinconf_group_dbg_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mxs_pinconf_group_dbg_show(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = call i32 @mxs_pinconf_group_get(ptr noundef %0, i32 noundef %2, ptr noundef nonnull %4) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i64, ptr %4, align 8, !tbaa !5
%9 = call i32 @seq_printf(ptr noundef %1, ptr noundef nonnull @.str, i64 noundef %8) #3
br label %10
10: ; preds = %7, %3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mxs_pinconf_group_get(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @seq_printf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/freescale/extr_pinctrl-mxs.c_mxs_pinconf_group_dbg_show.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/freescale/extr_pinctrl-mxs.c_mxs_pinconf_group_dbg_show.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [6 x i8] c"0x%lx\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mxs_pinconf_group_dbg_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mxs_pinconf_group_dbg_show(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = call i32 @mxs_pinconf_group_get(ptr noundef %0, i32 noundef %2, ptr noundef nonnull %4) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i64, ptr %4, align 8, !tbaa !6
%9 = call i32 @seq_printf(ptr noundef %1, ptr noundef nonnull @.str, i64 noundef %8) #3
br label %10
10: ; preds = %7, %3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mxs_pinconf_group_get(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @seq_printf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_pinctrl_freescale_extr_pinctrl-mxs.c_mxs_pinconf_group_dbg_show
|
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw.h_i40iw_alloc_resource.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw.h_i40iw_alloc_resource.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EOVERFLOW = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @i40iw_alloc_resource], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @i40iw_alloc_resource(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef %4) #0 {
%6 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%7 = load i64, ptr %4, align 8, !tbaa !5
%8 = tail call i64 @find_next_zero_bit(ptr noundef %1, i64 noundef %2, i64 noundef %7) #2
%9 = icmp slt i64 %8, %2
br i1 %9, label %17, label %10
10: ; preds = %5
%11 = tail call i64 @find_first_zero_bit(ptr noundef %1, i64 noundef %2) #2
%12 = icmp slt i64 %11, %2
br i1 %12, label %17, label %13
13: ; preds = %10
%14 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
%15 = load i32, ptr @EOVERFLOW, align 4, !tbaa !9
%16 = sub nsw i32 0, %15
br label %24
17: ; preds = %10, %5
%18 = phi i64 [ %11, %10 ], [ %8, %5 ]
%19 = tail call i32 @set_bit(i64 noundef %18, ptr noundef %1) #2
%20 = add nsw i64 %18, 1
%21 = icmp eq i64 %20, %2
%22 = select i1 %21, i64 0, i64 %20
store i64 %22, ptr %4, align 8, !tbaa !5
store i64 %18, ptr %3, align 8, !tbaa !5
%23 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
br label %24
24: ; preds = %17, %13
%25 = phi i32 [ %16, %13 ], [ 0, %17 ]
ret i32 %25
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @find_next_zero_bit(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @find_first_zero_bit(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @set_bit(i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw.h_i40iw_alloc_resource.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw.h_i40iw_alloc_resource.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EOVERFLOW = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @i40iw_alloc_resource], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @i40iw_alloc_resource(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef %4) #0 {
%6 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%7 = load i64, ptr %4, align 8, !tbaa !6
%8 = tail call i64 @find_next_zero_bit(ptr noundef %1, i64 noundef %2, i64 noundef %7) #2
%9 = icmp slt i64 %8, %2
br i1 %9, label %17, label %10
10: ; preds = %5
%11 = tail call i64 @find_first_zero_bit(ptr noundef %1, i64 noundef %2) #2
%12 = icmp slt i64 %11, %2
br i1 %12, label %17, label %13
13: ; preds = %10
%14 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
%15 = load i32, ptr @EOVERFLOW, align 4, !tbaa !10
%16 = sub nsw i32 0, %15
br label %24
17: ; preds = %10, %5
%18 = phi i64 [ %11, %10 ], [ %8, %5 ]
%19 = tail call i32 @set_bit(i64 noundef %18, ptr noundef %1) #2
%20 = add nsw i64 %18, 1
%21 = icmp eq i64 %20, %2
%22 = select i1 %21, i64 0, i64 %20
store i64 %22, ptr %4, align 8, !tbaa !6
store i64 %18, ptr %3, align 8, !tbaa !6
%23 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
br label %24
24: ; preds = %17, %13
%25 = phi i32 [ %16, %13 ], [ 0, %17 ]
ret i32 %25
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @find_next_zero_bit(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @find_first_zero_bit(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @set_bit(i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
|
linux_drivers_infiniband_hw_i40iw_extr_i40iw.h_i40iw_alloc_resource
|
; ModuleID = 'AnghaBench/fastsocket/kernel/net/atm/extr_clip.c_idle_timer_check.c'
source_filename = "AnghaBench/fastsocket/kernel/net/atm/extr_clip.c_idle_timer_check.c"
target datalayout = "e-m:e-p270:32:32-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 }
@clip_tbl = dso_local global %struct.TYPE_3__ zeroinitializer, align 4
@neigh_check_cb = dso_local local_unnamed_addr global i32 0, align 4
@idle_timer = dso_local global i32 0, align 4
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@CLIP_CHECK_INTERVAL = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @idle_timer_check], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @idle_timer_check(i64 %0) #0 {
%2 = tail call i32 @write_lock(ptr noundef nonnull @clip_tbl) #2
%3 = load i32, ptr @neigh_check_cb, align 4, !tbaa !5
%4 = tail call i32 @__neigh_for_each_release(ptr noundef nonnull @clip_tbl, i32 noundef %3) #2
%5 = load i64, ptr @jiffies, align 8, !tbaa !9
%6 = load i32, ptr @CLIP_CHECK_INTERVAL, align 4, !tbaa !5
%7 = load i32, ptr @HZ, align 4, !tbaa !5
%8 = mul nsw i32 %7, %6
%9 = sext i32 %8 to i64
%10 = add nsw i64 %5, %9
%11 = tail call i32 @mod_timer(ptr noundef nonnull @idle_timer, i64 noundef %10) #2
%12 = tail call i32 @write_unlock(ptr noundef nonnull @clip_tbl) #2
ret void
}
declare i32 @write_lock(ptr noundef) local_unnamed_addr #1
declare i32 @__neigh_for_each_release(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @write_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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/net/atm/extr_clip.c_idle_timer_check.c'
source_filename = "AnghaBench/fastsocket/kernel/net/atm/extr_clip.c_idle_timer_check.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 }
@clip_tbl = common global %struct.TYPE_3__ zeroinitializer, align 4
@neigh_check_cb = common local_unnamed_addr global i32 0, align 4
@idle_timer = common global i32 0, align 4
@jiffies = common local_unnamed_addr global i64 0, align 8
@CLIP_CHECK_INTERVAL = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @idle_timer_check], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @idle_timer_check(i64 %0) #0 {
%2 = tail call i32 @write_lock(ptr noundef nonnull @clip_tbl) #2
%3 = load i32, ptr @neigh_check_cb, align 4, !tbaa !6
%4 = tail call i32 @__neigh_for_each_release(ptr noundef nonnull @clip_tbl, i32 noundef %3) #2
%5 = load i64, ptr @jiffies, align 8, !tbaa !10
%6 = load i32, ptr @CLIP_CHECK_INTERVAL, align 4, !tbaa !6
%7 = load i32, ptr @HZ, align 4, !tbaa !6
%8 = mul nsw i32 %7, %6
%9 = sext i32 %8 to i64
%10 = add nsw i64 %5, %9
%11 = tail call i32 @mod_timer(ptr noundef nonnull @idle_timer, i64 noundef %10) #2
%12 = tail call i32 @write_unlock(ptr noundef nonnull @clip_tbl) #2
ret void
}
declare i32 @write_lock(ptr noundef) local_unnamed_addr #1
declare i32 @__neigh_for_each_release(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @write_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, !11, i64 0}
!11 = !{!"long", !8, i64 0}
|
fastsocket_kernel_net_atm_extr_clip.c_idle_timer_check
|
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-core/extr_dvb_net.c_dvb_net_open.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-core/extr_dvb_net.c_dvb_net_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @dvb_net_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @dvb_net_open(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = add nsw i32 %3, 1
store i32 %4, ptr %2, align 4, !tbaa !5
%5 = tail call i32 @dvb_net_feed_start(ptr noundef %0) #2
ret i32 0
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @dvb_net_feed_start(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 = !{!"dvb_net_priv", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-core/extr_dvb_net.c_dvb_net_open.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-core/extr_dvb_net.c_dvb_net_open.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 @dvb_net_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @dvb_net_open(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = add nsw i32 %3, 1
store i32 %4, ptr %2, align 4, !tbaa !6
%5 = tail call i32 @dvb_net_feed_start(ptr noundef %0) #2
ret i32 0
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @dvb_net_feed_start(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 = !{!"dvb_net_priv", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_media_dvb-core_extr_dvb_net.c_dvb_net_open
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.