IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/vlc/src/video_output/extr_vout_subpictures.c_spu_invscale_h.c' source_filename = "AnghaBench/vlc/src/video_output/extr_vout_subpictures.c_spu_invscale_h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SCALE_UNIT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @spu_invscale_h], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @spu_invscale_h(i32 noundef %0, i32 %1) #0 { %3 = load i32, ptr @SCALE_UNIT, align 4, !tbaa !5 %4 = mul nsw i32 %3, %0 %5 = sdiv i32 %4, %1 ret i32 %5 } 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/vlc/src/video_output/extr_vout_subpictures.c_spu_invscale_h.c' source_filename = "AnghaBench/vlc/src/video_output/extr_vout_subpictures.c_spu_invscale_h.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCALE_UNIT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @spu_invscale_h], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @spu_invscale_h(i32 noundef %0, i64 %1) #0 { %3 = trunc i64 %1 to i32 %4 = load i32, ptr @SCALE_UNIT, align 4, !tbaa !6 %5 = mul nsw i32 %4, %0 %6 = sdiv i32 %5, %3 ret i32 %6 } 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"}
vlc_src_video_output_extr_vout_subpictures.c_spu_invscale_h
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_31462.c_putss.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_31462.c_putss.c" target datalayout = "e-m:e-p270:32:32-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 @putss(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @strlen(ptr noundef %1) #2 %4 = tail call i32 @memcpy(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 ret i32 %3 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_31462.c_putss.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_31462.c_putss.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @putss(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @strlen(ptr noundef %1) #2 %4 = tail call i32 @memcpy(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 ret i32 %3 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
exploitdb_exploits_linux_remote_extr_31462.c_putss
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibumad/extr_umad.c_umad_done.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libibumad/extr_umad.c_umad_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" @.str = private unnamed_addr constant [10 x i8] c"umad_done\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @umad_done() local_unnamed_addr #0 { %1 = tail call i32 @TRACE(ptr noundef nonnull @.str) #2 ret i32 0 } declare i32 @TRACE(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibumad/extr_umad.c_umad_done.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libibumad/extr_umad.c_umad_done.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 [10 x i8] c"umad_done\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @umad_done() local_unnamed_addr #0 { %1 = tail call i32 @TRACE(ptr noundef nonnull @.str) #2 ret i32 0 } declare i32 @TRACE(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_ofed_libibumad_extr_umad.c_umad_done
; ModuleID = 'AnghaBench/freebsd/sys/x86/x86/extr_mca.c_mca_smca_ctl_reg.c' source_filename = "AnghaBench/freebsd/sys/x86/x86/extr_mca.c_mca_smca_ctl_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 @mca_smca_ctl_reg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mca_smca_ctl_reg(i32 noundef %0) #0 { %2 = tail call i32 @MSR_SMCA_MC_CTL(i32 noundef %0) #2 ret i32 %2 } declare i32 @MSR_SMCA_MC_CTL(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/x86/extr_mca.c_mca_smca_ctl_reg.c' source_filename = "AnghaBench/freebsd/sys/x86/x86/extr_mca.c_mca_smca_ctl_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 @mca_smca_ctl_reg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mca_smca_ctl_reg(i32 noundef %0) #0 { %2 = tail call i32 @MSR_SMCA_MC_CTL(i32 noundef %0) #2 ret i32 %2 } declare i32 @MSR_SMCA_MC_CTL(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_x86_extr_mca.c_mca_smca_ctl_reg
; ModuleID = 'AnghaBench/linux/arch/sh/kernel/extr_ptrace_32.c_get_stack_long.c' source_filename = "AnghaBench/linux/arch/sh/kernel/extr_ptrace_32.c_get_stack_long.c" target datalayout = "e-m:e-p270:32:32-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_stack_long], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @get_stack_long(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i64 @task_pt_regs(ptr noundef %0) #2 %4 = inttoptr i64 %3 to ptr %5 = sext i32 %1 to i64 %6 = getelementptr inbounds i8, ptr %4, i64 %5 %7 = load i32, ptr %6, align 4, !tbaa !5 ret i32 %7 } declare i64 @task_pt_regs(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/sh/kernel/extr_ptrace_32.c_get_stack_long.c' source_filename = "AnghaBench/linux/arch/sh/kernel/extr_ptrace_32.c_get_stack_long.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_stack_long], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @get_stack_long(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i64 @task_pt_regs(ptr noundef %0) #2 %4 = inttoptr i64 %3 to ptr %5 = sext i32 %1 to i64 %6 = getelementptr inbounds i8, ptr %4, i64 %5 %7 = load i32, ptr %6, align 4, !tbaa !6 ret i32 %7 } declare i64 @task_pt_regs(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_sh_kernel_extr_ptrace_32.c_get_stack_long
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov9650.c_ov965x_set_flip.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov9650.c_ov965x_set_flip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { ptr, ptr } @MVFP_MIRROR = dso_local local_unnamed_addr global i32 0, align 4 @MVFP_FLIP = dso_local local_unnamed_addr global i32 0, align 4 @REG_MVFP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ov965x_set_flip], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ov965x_set_flip(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr %3, align 8, !tbaa !11 %5 = icmp eq i64 %4, 0 %6 = load i32, ptr @MVFP_MIRROR, align 4 %7 = select i1 %5, i32 0, i32 %6 %8 = load ptr, ptr %0, align 8, !tbaa !14 %9 = load i64, ptr %8, align 8, !tbaa !15 %10 = icmp eq i64 %9, 0 %11 = load i32, ptr @MVFP_FLIP, align 4 %12 = select i1 %10, i32 0, i32 %11 %13 = or i32 %12, %7 %14 = load i32, ptr @REG_MVFP, align 4, !tbaa !17 %15 = tail call i32 @ov965x_write(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %13) #2 ret i32 %15 } declare i32 @ov965x_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 8} !6 = !{!"ov965x", !7, i64 0} !7 = !{!"TYPE_6__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!6, !8, i64 0} !15 = !{!16, !13, i64 0} !16 = !{!"TYPE_5__", !13, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"int", !9, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov9650.c_ov965x_set_flip.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov9650.c_ov965x_set_flip.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MVFP_MIRROR = common local_unnamed_addr global i32 0, align 4 @MVFP_FLIP = common local_unnamed_addr global i32 0, align 4 @REG_MVFP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ov965x_set_flip], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ov965x_set_flip(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr %3, align 8, !tbaa !12 %5 = icmp eq i64 %4, 0 %6 = load i32, ptr @MVFP_MIRROR, align 4 %7 = select i1 %5, i32 0, i32 %6 %8 = load ptr, ptr %0, align 8, !tbaa !15 %9 = load i64, ptr %8, align 8, !tbaa !16 %10 = icmp eq i64 %9, 0 %11 = load i32, ptr @MVFP_FLIP, align 4 %12 = select i1 %10, i32 0, i32 %11 %13 = or i32 %12, %7 %14 = load i32, ptr @REG_MVFP, align 4, !tbaa !18 %15 = tail call i32 @ov965x_write(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %13) #2 ret i32 %15 } declare i32 @ov965x_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 8} !7 = !{!"ov965x", !8, i64 0} !8 = !{!"TYPE_6__", !9, i64 0, !9, i64 8} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"long", !10, i64 0} !15 = !{!7, !9, i64 0} !16 = !{!17, !14, i64 0} !17 = !{!"TYPE_5__", !14, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"int", !10, i64 0}
linux_drivers_media_i2c_extr_ov9650.c_ov965x_set_flip
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/ia64/extr_ia64.c_ia64_hpux_function_arg_padding.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/ia64/extr_ia64.c_ia64_hpux_function_arg_padding.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @UNITS_PER_WORD = dso_local local_unnamed_addr global i64 0, align 8 @upward = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ia64_hpux_function_arg_padding(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 br i1 %3, label %13, label %4 4: ; preds = %2 %5 = tail call i64 @AGGREGATE_TYPE_P(i64 noundef %1) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %13, label %7 7: ; preds = %4 %8 = tail call i64 @int_size_in_bytes(i64 noundef %1) #2 %9 = load i64, ptr @UNITS_PER_WORD, align 8, !tbaa !5 %10 = icmp slt i64 %8, %9 br i1 %10, label %11, label %13 11: ; preds = %7 %12 = load i32, ptr @upward, align 4, !tbaa !9 br label %15 13: ; preds = %7, %4, %2 %14 = tail call i32 @DEFAULT_FUNCTION_ARG_PADDING(i32 noundef %0, i64 noundef %1) #2 br label %15 15: ; preds = %13, %11 %16 = phi i32 [ %12, %11 ], [ %14, %13 ] ret i32 %16 } declare i64 @AGGREGATE_TYPE_P(i64 noundef) local_unnamed_addr #1 declare i64 @int_size_in_bytes(i64 noundef) local_unnamed_addr #1 declare i32 @DEFAULT_FUNCTION_ARG_PADDING(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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/freebsd/contrib/gcc/config/ia64/extr_ia64.c_ia64_hpux_function_arg_padding.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/ia64/extr_ia64.c_ia64_hpux_function_arg_padding.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UNITS_PER_WORD = common local_unnamed_addr global i64 0, align 8 @upward = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ia64_hpux_function_arg_padding(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 br i1 %3, label %13, label %4 4: ; preds = %2 %5 = tail call i64 @AGGREGATE_TYPE_P(i64 noundef %1) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %13, label %7 7: ; preds = %4 %8 = tail call i64 @int_size_in_bytes(i64 noundef %1) #2 %9 = load i64, ptr @UNITS_PER_WORD, align 8, !tbaa !6 %10 = icmp slt i64 %8, %9 br i1 %10, label %11, label %13 11: ; preds = %7 %12 = load i32, ptr @upward, align 4, !tbaa !10 br label %15 13: ; preds = %7, %4, %2 %14 = tail call i32 @DEFAULT_FUNCTION_ARG_PADDING(i32 noundef %0, i64 noundef %1) #2 br label %15 15: ; preds = %13, %11 %16 = phi i32 [ %12, %11 ], [ %14, %13 ] ret i32 %16 } declare i64 @AGGREGATE_TYPE_P(i64 noundef) local_unnamed_addr #1 declare i64 @int_size_in_bytes(i64 noundef) local_unnamed_addr #1 declare i32 @DEFAULT_FUNCTION_ARG_PADDING(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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}
freebsd_contrib_gcc_config_ia64_extr_ia64.c_ia64_hpux_function_arg_padding
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_88pm860x-core.c_device_touch_init.c' source_filename = "AnghaBench/linux/drivers/mfd/extr_88pm860x-core.c_device_touch_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, ptr, i32, i32 } %struct.pm860x_chip = type { i32, i32 } @touch_devs = dso_local local_unnamed_addr global ptr null, align 8 @touch_resources = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [28 x i8] c"Failed to add touch subdev\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @device_touch_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @device_touch_init(ptr nocapture noundef readonly %0, ptr noundef readonly %1) #0 { %3 = icmp eq ptr %1, null br i1 %3, label %24, label %4 4: ; preds = %2 %5 = load i32, ptr %1, align 4, !tbaa !5 %6 = load ptr, ptr @touch_devs, align 8, !tbaa !10 %7 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 3 store i32 %5, ptr %7, align 4, !tbaa !12 store i32 4, ptr %6, align 8, !tbaa !14 %8 = load ptr, ptr @touch_resources, align 8, !tbaa !10 %9 = tail call i32 @ARRAY_SIZE(ptr noundef %8) #2 %10 = load ptr, ptr @touch_devs, align 8, !tbaa !10 %11 = getelementptr inbounds %struct.TYPE_6__, ptr %10, i64 0, i32 2 store i32 %9, ptr %11, align 8, !tbaa !15 %12 = load ptr, ptr @touch_resources, align 8, !tbaa !10 %13 = getelementptr inbounds %struct.TYPE_6__, ptr %10, i64 0, i32 1 store ptr %12, ptr %13, align 8, !tbaa !16 %14 = load i32, ptr %0, align 4, !tbaa !17 %15 = tail call i32 @ARRAY_SIZE(ptr noundef %10) #2 %16 = load ptr, ptr @touch_resources, align 8, !tbaa !10 %17 = getelementptr inbounds %struct.pm860x_chip, ptr %0, i64 0, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !19 %19 = tail call i32 @mfd_add_devices(i32 noundef %14, i32 noundef 0, ptr noundef %10, i32 noundef %15, ptr noundef %16, i32 noundef %18, ptr noundef null) #2 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %4 %22 = load i32, ptr %0, align 4, !tbaa !17 %23 = tail call i32 @dev_err(i32 noundef %22, ptr noundef nonnull @.str) #2 br label %24 24: ; preds = %4, %21, %2 ret void } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @mfd_add_devices(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"pm860x_platform_data", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 20} !13 = !{!"TYPE_6__", !7, i64 0, !11, i64 8, !7, i64 16, !7, i64 20} !14 = !{!13, !7, i64 0} !15 = !{!13, !7, i64 16} !16 = !{!13, !11, i64 8} !17 = !{!18, !7, i64 0} !18 = !{!"pm860x_chip", !7, i64 0, !7, i64 4} !19 = !{!18, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_88pm860x-core.c_device_touch_init.c' source_filename = "AnghaBench/linux/drivers/mfd/extr_88pm860x-core.c_device_touch_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @touch_devs = common local_unnamed_addr global ptr null, align 8 @touch_resources = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [28 x i8] c"Failed to add touch subdev\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @device_touch_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @device_touch_init(ptr nocapture noundef readonly %0, ptr noundef readonly %1) #0 { %3 = icmp eq ptr %1, null br i1 %3, label %24, label %4 4: ; preds = %2 %5 = load i32, ptr %1, align 4, !tbaa !6 %6 = load ptr, ptr @touch_devs, align 8, !tbaa !11 %7 = getelementptr inbounds i8, ptr %6, i64 20 store i32 %5, ptr %7, align 4, !tbaa !13 store i32 4, ptr %6, align 8, !tbaa !15 %8 = load ptr, ptr @touch_resources, align 8, !tbaa !11 %9 = tail call i32 @ARRAY_SIZE(ptr noundef %8) #2 %10 = load ptr, ptr @touch_devs, align 8, !tbaa !11 %11 = getelementptr inbounds i8, ptr %10, i64 16 store i32 %9, ptr %11, align 8, !tbaa !16 %12 = load ptr, ptr @touch_resources, align 8, !tbaa !11 %13 = getelementptr inbounds i8, ptr %10, i64 8 store ptr %12, ptr %13, align 8, !tbaa !17 %14 = load i32, ptr %0, align 4, !tbaa !18 %15 = tail call i32 @ARRAY_SIZE(ptr noundef %10) #2 %16 = load ptr, ptr @touch_resources, align 8, !tbaa !11 %17 = getelementptr inbounds i8, ptr %0, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !20 %19 = tail call i32 @mfd_add_devices(i32 noundef %14, i32 noundef 0, ptr noundef %10, i32 noundef %15, ptr noundef %16, i32 noundef %18, ptr noundef null) #2 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %4 %22 = load i32, ptr %0, align 4, !tbaa !18 %23 = tail call i32 @dev_err(i32 noundef %22, ptr noundef nonnull @.str) #2 br label %24 24: ; preds = %4, %21, %2 ret void } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @mfd_add_devices(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"pm860x_platform_data", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !8, i64 20} !14 = !{!"TYPE_6__", !8, i64 0, !12, i64 8, !8, i64 16, !8, i64 20} !15 = !{!14, !8, i64 0} !16 = !{!14, !8, i64 16} !17 = !{!14, !12, i64 8} !18 = !{!19, !8, i64 0} !19 = !{!"pm860x_chip", !8, i64 0, !8, i64 4} !20 = !{!19, !8, i64 4}
linux_drivers_mfd_extr_88pm860x-core.c_device_touch_init
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4xdr.c_nfsd4_encode_exchange_id.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4xdr.c_nfsd4_encode_exchange_id.c" target datalayout = "e-m:e-p270:32:32-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.nfsd4_exchange_id = type { i8, i32, i32, i64 } @SP4_NONE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @nfsd4_encode_exchange_id], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @nfsd4_encode_exchange_id(ptr nocapture readnone %0, i32 noundef returned %1, ptr noundef %2) #0 { %4 = icmp eq i32 %1, 0 br i1 %4, label %5, label %41 5: ; preds = %3 %6 = tail call ptr (...) @utsname() #2 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = tail call i32 @strlen(ptr noundef %7) #2 %9 = tail call ptr (...) @utsname() #2 %10 = load ptr, ptr %9, align 8, !tbaa !5 %11 = tail call i32 @strlen(ptr noundef %10) #2 %12 = tail call i32 @XDR_QUADLEN(i32 noundef %8) #2 %13 = tail call i32 @XDR_QUADLEN(i32 noundef %11) #2 %14 = add i32 %13, %12 %15 = shl i32 %14, 2 %16 = add i32 %15, 40 %17 = tail call i32 @RESERVE_SPACE(i32 noundef %16) #2 %18 = tail call i32 @WRITEMEM(ptr noundef %2, i32 noundef 8) #2 %19 = getelementptr inbounds %struct.nfsd4_exchange_id, ptr %2, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !10 %21 = tail call i32 @WRITE32(i32 noundef %20) #2 %22 = getelementptr inbounds %struct.nfsd4_exchange_id, ptr %2, i64 0, i32 2 %23 = load i32, ptr %22, align 8, !tbaa !14 %24 = tail call i32 @WRITE32(i32 noundef %23) #2 %25 = getelementptr inbounds %struct.nfsd4_exchange_id, ptr %2, i64 0, i32 3 %26 = load i64, ptr %25, align 8, !tbaa !15 %27 = load i64, ptr @SP4_NONE, align 8, !tbaa !16 %28 = icmp ne i64 %26, %27 %29 = zext i1 %28 to i32 %30 = tail call i32 @BUG_ON(i32 noundef %29) #2 %31 = load i64, ptr %25, align 8, !tbaa !15 %32 = trunc i64 %31 to i32 %33 = tail call i32 @WRITE32(i32 noundef %32) #2 %34 = tail call i32 @WRITE64(i32 noundef 0) #2 %35 = tail call i32 @WRITE32(i32 noundef %8) #2 %36 = tail call i32 @WRITEMEM(ptr noundef %7, i32 noundef %8) #2 %37 = tail call i32 @WRITE32(i32 noundef %11) #2 %38 = tail call i32 @WRITEMEM(ptr noundef %10, i32 noundef %11) #2 %39 = tail call i32 @WRITE32(i32 noundef 0) #2 %40 = tail call i32 (...) @ADJUST_ARGS() #2 br label %41 41: ; preds = %3, %5 ret i32 %1 } declare ptr @utsname(...) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @RESERVE_SPACE(i32 noundef) local_unnamed_addr #1 declare i32 @XDR_QUADLEN(i32 noundef) local_unnamed_addr #1 declare i32 @WRITEMEM(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WRITE32(i32 noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @WRITE64(i32 noundef) local_unnamed_addr #1 declare i32 @ADJUST_ARGS(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"nfsd4_exchange_id", !8, i64 0, !12, i64 4, !12, i64 8, !13, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !12, i64 8} !15 = !{!11, !13, i64 16} !16 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4xdr.c_nfsd4_encode_exchange_id.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4xdr.c_nfsd4_encode_exchange_id.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SP4_NONE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @nfsd4_encode_exchange_id], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @nfsd4_encode_exchange_id(ptr nocapture readnone %0, i32 noundef returned %1, ptr noundef %2) #0 { %4 = icmp eq i32 %1, 0 br i1 %4, label %5, label %41 5: ; preds = %3 %6 = tail call ptr @utsname() #2 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = tail call i32 @strlen(ptr noundef %7) #2 %9 = tail call ptr @utsname() #2 %10 = load ptr, ptr %9, align 8, !tbaa !6 %11 = tail call i32 @strlen(ptr noundef %10) #2 %12 = tail call i32 @XDR_QUADLEN(i32 noundef %8) #2 %13 = tail call i32 @XDR_QUADLEN(i32 noundef %11) #2 %14 = add i32 %13, %12 %15 = shl i32 %14, 2 %16 = add i32 %15, 40 %17 = tail call i32 @RESERVE_SPACE(i32 noundef %16) #2 %18 = tail call i32 @WRITEMEM(ptr noundef %2, i32 noundef 8) #2 %19 = getelementptr inbounds i8, ptr %2, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !11 %21 = tail call i32 @WRITE32(i32 noundef %20) #2 %22 = getelementptr inbounds i8, ptr %2, i64 8 %23 = load i32, ptr %22, align 8, !tbaa !15 %24 = tail call i32 @WRITE32(i32 noundef %23) #2 %25 = getelementptr inbounds i8, ptr %2, i64 16 %26 = load i64, ptr %25, align 8, !tbaa !16 %27 = load i64, ptr @SP4_NONE, align 8, !tbaa !17 %28 = icmp ne i64 %26, %27 %29 = zext i1 %28 to i32 %30 = tail call i32 @BUG_ON(i32 noundef %29) #2 %31 = load i64, ptr %25, align 8, !tbaa !16 %32 = trunc i64 %31 to i32 %33 = tail call i32 @WRITE32(i32 noundef %32) #2 %34 = tail call i32 @WRITE64(i32 noundef 0) #2 %35 = tail call i32 @WRITE32(i32 noundef %8) #2 %36 = tail call i32 @WRITEMEM(ptr noundef %7, i32 noundef %8) #2 %37 = tail call i32 @WRITE32(i32 noundef %11) #2 %38 = tail call i32 @WRITEMEM(ptr noundef %10, i32 noundef %11) #2 %39 = tail call i32 @WRITE32(i32 noundef 0) #2 %40 = tail call i32 @ADJUST_ARGS() #2 br label %41 41: ; preds = %3, %5 ret i32 %1 } declare ptr @utsname(...) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @RESERVE_SPACE(i32 noundef) local_unnamed_addr #1 declare i32 @XDR_QUADLEN(i32 noundef) local_unnamed_addr #1 declare i32 @WRITEMEM(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WRITE32(i32 noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @WRITE64(i32 noundef) local_unnamed_addr #1 declare i32 @ADJUST_ARGS(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 4} !12 = !{!"nfsd4_exchange_id", !9, i64 0, !13, i64 4, !13, i64 8, !14, i64 16} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!12, !13, i64 8} !16 = !{!12, !14, i64 16} !17 = !{!14, !14, i64 0}
fastsocket_kernel_fs_nfsd_extr_nfs4xdr.c_nfsd4_encode_exchange_id
; ModuleID = 'AnghaBench/linux/sound/pci/emu10k1/extr_p16v.c_snd_p16v_capture_source_get.c' source_filename = "AnghaBench/linux/sound/pci/emu10k1/extr_p16v.c_snd_p16v_capture_source_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 @snd_p16v_capture_source_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @snd_p16v_capture_source_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = load ptr, ptr %1, align 8, !tbaa !10 store i32 %4, ptr %5, align 4, !tbaa !15 ret i32 0 } declare ptr @snd_kcontrol_chip(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_emu10k1", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !14, i64 0} !11 = !{!"snd_ctl_elem_value", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/emu10k1/extr_p16v.c_snd_p16v_capture_source_get.c' source_filename = "AnghaBench/linux/sound/pci/emu10k1/extr_p16v.c_snd_p16v_capture_source_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 @snd_p16v_capture_source_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @snd_p16v_capture_source_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = load ptr, ptr %1, align 8, !tbaa !11 store i32 %4, ptr %5, align 4, !tbaa !16 ret i32 0 } declare ptr @snd_kcontrol_chip(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_emu10k1", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !15, i64 0} !12 = !{!"snd_ctl_elem_value", !13, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"TYPE_3__", !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!8, !8, i64 0}
linux_sound_pci_emu10k1_extr_p16v.c_snd_p16v_capture_source_get
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_sungem.c_phy_write.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_sungem.c_phy_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @phy_write], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @phy_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call i32 @__phy_write(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %1, i32 noundef %2) #2 ret void } declare i32 @__phy_write(ptr 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, !7, i64 0} !6 = !{!"gem", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_sungem.c_phy_write.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_sungem.c_phy_write.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 @phy_write], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @phy_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call i32 @__phy_write(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %1, i32 noundef %2) #2 ret void } declare i32 @__phy_write(ptr noundef, i32 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)"} !6 = !{!7, !8, i64 0} !7 = !{!"gem", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_net_extr_sungem.c_phy_write
; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/extr_munge.c_munge_wwwlw.c' source_filename = "AnghaBench/darwin-xnu/bsd/dev/extr_munge.c_munge_wwwlw.c" target datalayout = "e-m:e-p270:32:32-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: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define dso_local void @munge_wwwlw(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i64, ptr %0, i64 5 %3 = load volatile i64, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds i64, ptr %0, i64 4 store volatile i64 %3, ptr %4, align 8, !tbaa !5 %5 = getelementptr inbounds i64, ptr %0, i64 3 %6 = load volatile i64, ptr %5, align 8, !tbaa !5 store volatile i64 %6, ptr %5, align 8, !tbaa !5 %7 = getelementptr inbounds i64, ptr %0, i64 2 %8 = load volatile i64, ptr %7, align 8, !tbaa !5 store volatile i64 %8, ptr %7, align 8, !tbaa !5 %9 = getelementptr inbounds i64, ptr %0, i64 1 %10 = load volatile i64, ptr %9, align 8, !tbaa !5 store volatile i64 %10, ptr %9, align 8, !tbaa !5 %11 = load volatile i64, ptr %0, align 8, !tbaa !5 store volatile i64 %11, ptr %0, align 8, !tbaa !5 ret void } attributes #0 = { nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/extr_munge.c_munge_wwwlw.c' source_filename = "AnghaBench/darwin-xnu/bsd/dev/extr_munge.c_munge_wwwlw.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nounwind ssp memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable(sync) define void @munge_wwwlw(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 40 %3 = load volatile i64, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 32 store volatile i64 %3, ptr %4, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 24 %6 = load volatile i64, ptr %5, align 8, !tbaa !6 store volatile i64 %6, ptr %5, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load volatile i64, ptr %7, align 8, !tbaa !6 store volatile i64 %8, ptr %7, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load volatile i64, ptr %9, align 8, !tbaa !6 store volatile i64 %10, ptr %9, align 8, !tbaa !6 %11 = load volatile i64, ptr %0, align 8, !tbaa !6 store volatile i64 %11, ptr %0, align 8, !tbaa !6 ret void } attributes #0 = { nofree norecurse nounwind ssp memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
darwin-xnu_bsd_dev_extr_munge.c_munge_wwwlw
; ModuleID = 'AnghaBench/linux/drivers/net/extr_thunderbolt.c_tbnet_login_response.c' source_filename = "AnghaBench/linux/drivers/net/extr_thunderbolt.c_tbnet_login_response.c" target datalayout = "e-m:e-p270:32:32-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.thunderbolt_ip_login_response = type { i32, i32, i32 } %struct.tbnet = type { ptr, ptr } %struct.tb_xdomain = type { i32, i32 } @TBIP_LOGIN_RESPONSE = dso_local local_unnamed_addr global i32 0, align 4 @ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4 @TB_CFG_PKG_XDOMAIN_RESP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tbnet_login_response], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tbnet_login_response(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.thunderbolt_ip_login_response, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3 %6 = getelementptr inbounds %struct.tbnet, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 12) #3 %9 = getelementptr inbounds %struct.thunderbolt_ip_login_response, ptr %5, i64 0, i32 2 %10 = getelementptr inbounds %struct.tb_xdomain, ptr %7, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !10 %12 = load i32, ptr %7, align 4, !tbaa !13 %13 = load i32, ptr @TBIP_LOGIN_RESPONSE, align 4, !tbaa !14 %14 = call i32 @tbnet_fill_header(ptr noundef nonnull %9, i32 noundef %1, i32 noundef %2, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef 12, i32 noundef %3) #3 %15 = getelementptr inbounds %struct.thunderbolt_ip_login_response, ptr %5, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !15 %17 = load ptr, ptr %0, align 8, !tbaa !17 %18 = load i32, ptr %17, align 4, !tbaa !18 %19 = load i32, ptr @ETH_ALEN, align 4, !tbaa !14 %20 = call i32 @memcpy(i32 noundef %16, i32 noundef %18, i32 noundef %19) #3 %21 = load i32, ptr @ETH_ALEN, align 4, !tbaa !14 store i32 %21, ptr %5, align 4, !tbaa !20 %22 = load i32, ptr @TB_CFG_PKG_XDOMAIN_RESP, align 4, !tbaa !14 %23 = call i32 @tb_xdomain_response(ptr noundef nonnull %7, ptr noundef nonnull %5, i32 noundef 12, i32 noundef %22) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @tbnet_fill_header(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @tb_xdomain_response(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"tbnet", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"tb_xdomain", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!16, !12, i64 4} !16 = !{!"thunderbolt_ip_login_response", !12, i64 0, !12, i64 4, !12, i64 8} !17 = !{!6, !7, i64 0} !18 = !{!19, !12, i64 0} !19 = !{!"TYPE_2__", !12, i64 0} !20 = !{!16, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/extr_thunderbolt.c_tbnet_login_response.c' source_filename = "AnghaBench/linux/drivers/net/extr_thunderbolt.c_tbnet_login_response.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.thunderbolt_ip_login_response = type { i32, i32, i32 } @TBIP_LOGIN_RESPONSE = common local_unnamed_addr global i32 0, align 4 @ETH_ALEN = common local_unnamed_addr global i32 0, align 4 @TB_CFG_PKG_XDOMAIN_RESP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tbnet_login_response], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tbnet_login_response(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.thunderbolt_ip_login_response, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 12) #3 %9 = getelementptr inbounds i8, ptr %5, i64 8 %10 = getelementptr inbounds i8, ptr %7, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = load i32, ptr %7, align 4, !tbaa !14 %13 = load i32, ptr @TBIP_LOGIN_RESPONSE, align 4, !tbaa !15 %14 = call i32 @tbnet_fill_header(ptr noundef nonnull %9, i32 noundef %1, i32 noundef %2, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef 12, i32 noundef %3) #3 %15 = getelementptr inbounds i8, ptr %5, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = load ptr, ptr %0, align 8, !tbaa !18 %18 = load i32, ptr %17, align 4, !tbaa !19 %19 = load i32, ptr @ETH_ALEN, align 4, !tbaa !15 %20 = call i32 @memcpy(i32 noundef %16, i32 noundef %18, i32 noundef %19) #3 %21 = load i32, ptr @ETH_ALEN, align 4, !tbaa !15 store i32 %21, ptr %5, align 4, !tbaa !21 %22 = load i32, ptr @TB_CFG_PKG_XDOMAIN_RESP, align 4, !tbaa !15 %23 = call i32 @tb_xdomain_response(ptr noundef nonnull %7, ptr noundef nonnull %5, i32 noundef 12, i32 noundef %22) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @tbnet_fill_header(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @tb_xdomain_response(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"tbnet", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 4} !12 = !{!"tb_xdomain", !13, i64 0, !13, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!17, !13, i64 4} !17 = !{!"thunderbolt_ip_login_response", !13, i64 0, !13, i64 4, !13, i64 8} !18 = !{!7, !8, i64 0} !19 = !{!20, !13, i64 0} !20 = !{!"TYPE_2__", !13, i64 0} !21 = !{!17, !13, i64 0}
linux_drivers_net_extr_thunderbolt.c_tbnet_login_response
; ModuleID = 'AnghaBench/linux/crypto/extr_rmd320.c_rmd320_init.c' source_filename = "AnghaBench/linux/crypto/extr_rmd320.c_rmd320_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.rmd320_ctx = type { i32, ptr, i64 } @RMD_H0 = dso_local local_unnamed_addr global i32 0, align 4 @RMD_H1 = dso_local local_unnamed_addr global i32 0, align 4 @RMD_H2 = dso_local local_unnamed_addr global i32 0, align 4 @RMD_H3 = dso_local local_unnamed_addr global i32 0, align 4 @RMD_H4 = dso_local local_unnamed_addr global i32 0, align 4 @RMD_H5 = dso_local local_unnamed_addr global i32 0, align 4 @RMD_H6 = dso_local local_unnamed_addr global i32 0, align 4 @RMD_H7 = dso_local local_unnamed_addr global i32 0, align 4 @RMD_H8 = dso_local local_unnamed_addr global i32 0, align 4 @RMD_H9 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rmd320_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @rmd320_init(ptr noundef %0) #0 { %2 = tail call ptr @shash_desc_ctx(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.rmd320_ctx, ptr %2, i64 0, i32 2 store i64 0, ptr %3, align 8, !tbaa !5 %4 = load i32, ptr @RMD_H0, align 4, !tbaa !12 %5 = getelementptr inbounds %struct.rmd320_ctx, ptr %2, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !13 store i32 %4, ptr %6, align 4, !tbaa !12 %7 = load i32, ptr @RMD_H1, align 4, !tbaa !12 %8 = getelementptr inbounds i32, ptr %6, i64 1 store i32 %7, ptr %8, align 4, !tbaa !12 %9 = load i32, ptr @RMD_H2, align 4, !tbaa !12 %10 = getelementptr inbounds i32, ptr %6, i64 2 store i32 %9, ptr %10, align 4, !tbaa !12 %11 = load i32, ptr @RMD_H3, align 4, !tbaa !12 %12 = getelementptr inbounds i32, ptr %6, i64 3 store i32 %11, ptr %12, align 4, !tbaa !12 %13 = load i32, ptr @RMD_H4, align 4, !tbaa !12 %14 = getelementptr inbounds i32, ptr %6, i64 4 store i32 %13, ptr %14, align 4, !tbaa !12 %15 = load i32, ptr @RMD_H5, align 4, !tbaa !12 %16 = getelementptr inbounds i32, ptr %6, i64 5 store i32 %15, ptr %16, align 4, !tbaa !12 %17 = load i32, ptr @RMD_H6, align 4, !tbaa !12 %18 = getelementptr inbounds i32, ptr %6, i64 6 store i32 %17, ptr %18, align 4, !tbaa !12 %19 = load i32, ptr @RMD_H7, align 4, !tbaa !12 %20 = getelementptr inbounds i32, ptr %6, i64 7 store i32 %19, ptr %20, align 4, !tbaa !12 %21 = load i32, ptr @RMD_H8, align 4, !tbaa !12 %22 = getelementptr inbounds i32, ptr %6, i64 8 store i32 %21, ptr %22, align 4, !tbaa !12 %23 = load i32, ptr @RMD_H9, align 4, !tbaa !12 %24 = getelementptr inbounds i32, ptr %6, i64 9 store i32 %23, ptr %24, align 4, !tbaa !12 %25 = load i32, ptr %2, align 8, !tbaa !14 %26 = tail call i32 @memset(i32 noundef %25, i32 noundef 0, i32 noundef 4) #2 ret i32 0 } declare ptr @shash_desc_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @memset(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, !11, i64 16} !6 = !{!"rmd320_ctx", !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 = !{!7, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/crypto/extr_rmd320.c_rmd320_init.c' source_filename = "AnghaBench/linux/crypto/extr_rmd320.c_rmd320_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RMD_H0 = common local_unnamed_addr global i32 0, align 4 @RMD_H1 = common local_unnamed_addr global i32 0, align 4 @RMD_H2 = common local_unnamed_addr global i32 0, align 4 @RMD_H3 = common local_unnamed_addr global i32 0, align 4 @RMD_H4 = common local_unnamed_addr global i32 0, align 4 @RMD_H5 = common local_unnamed_addr global i32 0, align 4 @RMD_H6 = common local_unnamed_addr global i32 0, align 4 @RMD_H7 = common local_unnamed_addr global i32 0, align 4 @RMD_H8 = common local_unnamed_addr global i32 0, align 4 @RMD_H9 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rmd320_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @rmd320_init(ptr noundef %0) #0 { %2 = tail call ptr @shash_desc_ctx(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 16 store i64 0, ptr %3, align 8, !tbaa !6 %4 = load i32, ptr @RMD_H0, align 4, !tbaa !13 %5 = getelementptr inbounds i8, ptr %2, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !14 store i32 %4, ptr %6, align 4, !tbaa !13 %7 = load i32, ptr @RMD_H1, align 4, !tbaa !13 %8 = getelementptr inbounds i8, ptr %6, i64 4 store i32 %7, ptr %8, align 4, !tbaa !13 %9 = load i32, ptr @RMD_H2, align 4, !tbaa !13 %10 = getelementptr inbounds i8, ptr %6, i64 8 store i32 %9, ptr %10, align 4, !tbaa !13 %11 = load i32, ptr @RMD_H3, align 4, !tbaa !13 %12 = getelementptr inbounds i8, ptr %6, i64 12 store i32 %11, ptr %12, align 4, !tbaa !13 %13 = load i32, ptr @RMD_H4, align 4, !tbaa !13 %14 = getelementptr inbounds i8, ptr %6, i64 16 store i32 %13, ptr %14, align 4, !tbaa !13 %15 = load i32, ptr @RMD_H5, align 4, !tbaa !13 %16 = getelementptr inbounds i8, ptr %6, i64 20 store i32 %15, ptr %16, align 4, !tbaa !13 %17 = load i32, ptr @RMD_H6, align 4, !tbaa !13 %18 = getelementptr inbounds i8, ptr %6, i64 24 store i32 %17, ptr %18, align 4, !tbaa !13 %19 = load i32, ptr @RMD_H7, align 4, !tbaa !13 %20 = getelementptr inbounds i8, ptr %6, i64 28 store i32 %19, ptr %20, align 4, !tbaa !13 %21 = load i32, ptr @RMD_H8, align 4, !tbaa !13 %22 = getelementptr inbounds i8, ptr %6, i64 32 store i32 %21, ptr %22, align 4, !tbaa !13 %23 = load i32, ptr @RMD_H9, align 4, !tbaa !13 %24 = getelementptr inbounds i8, ptr %6, i64 36 store i32 %23, ptr %24, align 4, !tbaa !13 %25 = load i32, ptr %2, align 8, !tbaa !15 %26 = tail call i32 @memset(i32 noundef %25, i32 noundef 0, i32 noundef 4) #2 ret i32 0 } declare ptr @shash_desc_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @memset(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, !12, i64 16} !7 = !{!"rmd320_ctx", !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 = !{!8, !8, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!7, !8, i64 0}
linux_crypto_extr_rmd320.c_rmd320_init
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_iop13xx_irq_mask0.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_iop13xx_irq_mask0.c" target datalayout = "e-m:e-p270:32:32-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 @iop13xx_irq_mask0], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @iop13xx_irq_mask0(i32 noundef %0) #0 { %2 = tail call i32 (...) @read_intctl_0() #2 %3 = shl nuw i32 1, %0 %4 = xor i32 %3, -1 %5 = and i32 %2, %4 %6 = tail call i32 @write_intctl_0(i32 noundef %5) #2 ret void } declare i32 @write_intctl_0(i32 noundef) local_unnamed_addr #1 declare i32 @read_intctl_0(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_iop13xx_irq_mask0.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_iop13xx_irq_mask0.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 @iop13xx_irq_mask0], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @iop13xx_irq_mask0(i32 noundef %0) #0 { %2 = tail call i32 @read_intctl_0() #2 %3 = shl nuw i32 1, %0 %4 = xor i32 %3, -1 %5 = and i32 %2, %4 %6 = tail call i32 @write_intctl_0(i32 noundef %5) #2 ret void } declare i32 @write_intctl_0(i32 noundef) local_unnamed_addr #1 declare i32 @read_intctl_0(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_arch_arm_mach-iop13xx_extr_irq.c_iop13xx_irq_mask0
; ModuleID = 'AnghaBench/linux/drivers/block/mtip32xx/extr_mtip32xx.c_mtip_queue_rq.c' source_filename = "AnghaBench/linux/drivers/block/mtip32xx/extr_mtip32xx.c_mtip_queue_rq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BLK_STS_DEV_RESOURCE = dso_local local_unnamed_addr global i32 0, align 4 @BLK_STS_IOERR = dso_local local_unnamed_addr global i32 0, align 4 @BLK_STS_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mtip_queue_rq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mtip_queue_rq(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = load ptr, ptr %1, align 8, !tbaa !12 %6 = tail call ptr @blk_mq_rq_to_pdu(ptr noundef %5) #2 %7 = tail call i64 @blk_rq_is_passthrough(ptr noundef %5) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %2 %10 = tail call i32 @mtip_issue_reserved_cmd(ptr noundef nonnull %0, ptr noundef %5) #2 br label %29 11: ; preds = %2 %12 = tail call i32 @mtip_check_unal_depth(ptr noundef nonnull %0, ptr noundef %5) #2 %13 = tail call i64 @unlikely(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %11 %16 = load i32, ptr @BLK_STS_DEV_RESOURCE, align 4, !tbaa !14 br label %29 17: ; preds = %11 %18 = tail call i64 @is_se_active(ptr noundef %4) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = tail call i64 @is_stopped(ptr noundef %4, ptr noundef %5) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %20, %17 %24 = load i32, ptr @BLK_STS_IOERR, align 4, !tbaa !14 br label %29 25: ; preds = %20 %26 = tail call i32 @blk_mq_start_request(ptr noundef %5) #2 %27 = tail call i32 @mtip_hw_submit_io(ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef nonnull %0) #2 %28 = load i32, ptr @BLK_STS_OK, align 4, !tbaa !14 br label %29 29: ; preds = %25, %23, %15, %9 %30 = phi i32 [ %10, %9 ], [ %16, %15 ], [ %24, %23 ], [ %28, %25 ] ret i32 %30 } declare ptr @blk_mq_rq_to_pdu(ptr noundef) local_unnamed_addr #1 declare i64 @blk_rq_is_passthrough(ptr noundef) local_unnamed_addr #1 declare i32 @mtip_issue_reserved_cmd(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @mtip_check_unal_depth(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @is_se_active(ptr noundef) local_unnamed_addr #1 declare i64 @is_stopped(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @blk_mq_start_request(ptr noundef) local_unnamed_addr #1 declare i32 @mtip_hw_submit_io(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"blk_mq_hw_ctx", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"blk_mq_queue_data", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/block/mtip32xx/extr_mtip32xx.c_mtip_queue_rq.c' source_filename = "AnghaBench/linux/drivers/block/mtip32xx/extr_mtip32xx.c_mtip_queue_rq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BLK_STS_DEV_RESOURCE = common local_unnamed_addr global i32 0, align 4 @BLK_STS_IOERR = common local_unnamed_addr global i32 0, align 4 @BLK_STS_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mtip_queue_rq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mtip_queue_rq(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = load ptr, ptr %1, align 8, !tbaa !13 %6 = tail call ptr @blk_mq_rq_to_pdu(ptr noundef %5) #2 %7 = tail call i64 @blk_rq_is_passthrough(ptr noundef %5) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %2 %10 = tail call i32 @mtip_issue_reserved_cmd(ptr noundef nonnull %0, ptr noundef %5) #2 br label %29 11: ; preds = %2 %12 = tail call i32 @mtip_check_unal_depth(ptr noundef nonnull %0, ptr noundef %5) #2 %13 = tail call i64 @unlikely(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %11 %16 = load i32, ptr @BLK_STS_DEV_RESOURCE, align 4, !tbaa !15 br label %29 17: ; preds = %11 %18 = tail call i64 @is_se_active(ptr noundef %4) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = tail call i64 @is_stopped(ptr noundef %4, ptr noundef %5) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %20, %17 %24 = load i32, ptr @BLK_STS_IOERR, align 4, !tbaa !15 br label %29 25: ; preds = %20 %26 = tail call i32 @blk_mq_start_request(ptr noundef %5) #2 %27 = tail call i32 @mtip_hw_submit_io(ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef nonnull %0) #2 %28 = load i32, ptr @BLK_STS_OK, align 4, !tbaa !15 br label %29 29: ; preds = %25, %23, %15, %9 %30 = phi i32 [ %10, %9 ], [ %16, %15 ], [ %24, %23 ], [ %28, %25 ] ret i32 %30 } declare ptr @blk_mq_rq_to_pdu(ptr noundef) local_unnamed_addr #1 declare i64 @blk_rq_is_passthrough(ptr noundef) local_unnamed_addr #1 declare i32 @mtip_issue_reserved_cmd(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @mtip_check_unal_depth(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @is_se_active(ptr noundef) local_unnamed_addr #1 declare i64 @is_stopped(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @blk_mq_start_request(ptr noundef) local_unnamed_addr #1 declare i32 @mtip_hw_submit_io(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"blk_mq_hw_ctx", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"blk_mq_queue_data", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !9, i64 0}
linux_drivers_block_mtip32xx_extr_mtip32xx.c_mtip_queue_rq
; ModuleID = 'AnghaBench/linux/security/selinux/extr_hooks.c_match_opt_prefix.c' source_filename = "AnghaBench/linux/security/selinux/extr_hooks.c_match_opt_prefix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i64, i32, i64, i32 } @tokens = dso_local local_unnamed_addr global ptr null, align 8 @Opt_error = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @match_opt_prefix], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @match_opt_prefix(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = load ptr, ptr @tokens, align 8, !tbaa !5 %5 = tail call i32 @ARRAY_SIZE(ptr noundef %4) #2 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %45 7: ; preds = %3 %8 = sext i32 %1 to i64 br label %9 9: ; preds = %7, %39 %10 = phi i64 [ 0, %7 ], [ %41, %39 ] %11 = load ptr, ptr @tokens, align 8, !tbaa !5 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i64 %10 %13 = load i64, ptr %12, align 8, !tbaa !9 %14 = icmp ugt i64 %13, %8 br i1 %14, label %39, label %15 15: ; preds = %9 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i64 %10, i32 3 %17 = load i32, ptr %16, align 8, !tbaa !13 %18 = tail call i64 @memcmp(ptr noundef %0, i32 noundef %17, i64 noundef %13) #2 %19 = icmp eq i64 %18, 0 %20 = load ptr, ptr @tokens, align 8, !tbaa !5 br i1 %19, label %21, label %39 21: ; preds = %15 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %20, i64 %10, i32 2 %23 = load i64, ptr %22, align 8, !tbaa !14 %24 = icmp eq i64 %23, 0 %25 = icmp eq i64 %13, %8 br i1 %24, label %35, label %26 26: ; preds = %21 br i1 %25, label %39, label %27 27: ; preds = %26 %28 = getelementptr inbounds i8, ptr %0, i64 %13 %29 = load i8, ptr %28, align 1, !tbaa !15 %30 = icmp eq i8 %29, 61 br i1 %30, label %31, label %39 31: ; preds = %27 %32 = getelementptr inbounds i8, ptr %0, i64 %13 %33 = getelementptr inbounds i8, ptr %32, i64 1 store ptr %33, ptr %2, align 8, !tbaa !5 %34 = load ptr, ptr @tokens, align 8, !tbaa !5 br label %36 35: ; preds = %21 br i1 %25, label %36, label %39 36: ; preds = %35, %31 %37 = phi ptr [ %34, %31 ], [ %20, %35 ] %38 = getelementptr inbounds %struct.TYPE_3__, ptr %37, i64 %10, i32 1 br label %45 39: ; preds = %15, %9, %27, %26, %35 %40 = phi ptr [ %20, %15 ], [ %11, %9 ], [ %20, %27 ], [ %20, %26 ], [ %20, %35 ] %41 = add nuw nsw i64 %10, 1 %42 = tail call i32 @ARRAY_SIZE(ptr noundef %40) #2 %43 = sext i32 %42 to i64 %44 = icmp slt i64 %41, %43 br i1 %44, label %9, label %45, !llvm.loop !16 45: ; preds = %39, %3, %36 %46 = phi ptr [ %38, %36 ], [ @Opt_error, %3 ], [ @Opt_error, %39 ] %47 = load i32, ptr %46, align 4, !tbaa !18 ret i32 %47 } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i64 @memcmp(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_3__", !11, i64 0, !12, i64 8, !11, i64 16, !12, i64 24} !11 = !{!"long", !7, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!10, !12, i64 24} !14 = !{!10, !11, i64 16} !15 = !{!7, !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/security/selinux/extr_hooks.c_match_opt_prefix.c' source_filename = "AnghaBench/linux/security/selinux/extr_hooks.c_match_opt_prefix.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i64, i32, i64, i32 } @tokens = common local_unnamed_addr global ptr null, align 8 @Opt_error = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @match_opt_prefix], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @match_opt_prefix(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = load ptr, ptr @tokens, align 8, !tbaa !6 %5 = tail call i32 @ARRAY_SIZE(ptr noundef %4) #2 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %45 7: ; preds = %3 %8 = sext i32 %1 to i64 br label %9 9: ; preds = %7, %39 %10 = phi i64 [ 0, %7 ], [ %41, %39 ] %11 = load ptr, ptr @tokens, align 8, !tbaa !6 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i64 %10 %13 = load i64, ptr %12, align 8, !tbaa !10 %14 = icmp ugt i64 %13, %8 br i1 %14, label %39, label %15 15: ; preds = %9 %16 = getelementptr inbounds i8, ptr %12, i64 24 %17 = load i32, ptr %16, align 8, !tbaa !14 %18 = tail call i64 @memcmp(ptr noundef %0, i32 noundef %17, i64 noundef %13) #2 %19 = icmp eq i64 %18, 0 %20 = load ptr, ptr @tokens, align 8, !tbaa !6 br i1 %19, label %21, label %39 21: ; preds = %15 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %20, i64 %10, i32 2 %23 = load i64, ptr %22, align 8, !tbaa !15 %24 = icmp eq i64 %23, 0 %25 = icmp eq i64 %13, %8 br i1 %24, label %35, label %26 26: ; preds = %21 br i1 %25, label %39, label %27 27: ; preds = %26 %28 = getelementptr inbounds i8, ptr %0, i64 %13 %29 = load i8, ptr %28, align 1, !tbaa !16 %30 = icmp eq i8 %29, 61 br i1 %30, label %31, label %39 31: ; preds = %27 %32 = getelementptr inbounds i8, ptr %0, i64 %13 %33 = getelementptr inbounds i8, ptr %32, i64 1 store ptr %33, ptr %2, align 8, !tbaa !6 %34 = load ptr, ptr @tokens, align 8, !tbaa !6 br label %36 35: ; preds = %21 br i1 %25, label %36, label %39 36: ; preds = %35, %31 %37 = phi ptr [ %34, %31 ], [ %20, %35 ] %38 = getelementptr inbounds %struct.TYPE_3__, ptr %37, i64 %10, i32 1 br label %45 39: ; preds = %15, %9, %27, %26, %35 %40 = phi ptr [ %20, %15 ], [ %11, %9 ], [ %20, %27 ], [ %20, %26 ], [ %20, %35 ] %41 = add nuw nsw i64 %10, 1 %42 = tail call i32 @ARRAY_SIZE(ptr noundef %40) #2 %43 = sext i32 %42 to i64 %44 = icmp slt i64 %41, %43 br i1 %44, label %9, label %45, !llvm.loop !17 45: ; preds = %39, %3, %36 %46 = phi ptr [ %38, %36 ], [ @Opt_error, %3 ], [ @Opt_error, %39 ] %47 = load i32, ptr %46, align 4, !tbaa !19 ret i32 %47 } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i64 @memcmp(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_3__", !12, i64 0, !13, i64 8, !12, i64 16, !13, i64 24} !12 = !{!"long", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!11, !13, i64 24} !15 = !{!11, !12, i64 16} !16 = !{!8, !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!13, !13, i64 0}
linux_security_selinux_extr_hooks.c_match_opt_prefix
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_lp3972.c_lp3972_dcdc_is_enabled.c' source_filename = "AnghaBench/linux/drivers/regulator/extr_lp3972.c_lp3972_dcdc_is_enabled.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LP3972_DCDC1 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lp3972_dcdc_is_enabled], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lp3972_dcdc_is_enabled(ptr noundef %0) #0 { %2 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @rdev_get_id(ptr noundef %0) #2 %4 = load i32, ptr @LP3972_DCDC1, align 4, !tbaa !5 %5 = sub nsw i32 %3, %4 %6 = shl nsw i32 %5, 1 %7 = tail call i32 @LP3972_BUCK_VOL_ENABLE_REG(i32 noundef %5) #2 %8 = tail call i32 @lp3972_reg_read(ptr noundef %2, i32 noundef %7) #2 %9 = lshr i32 %8, %6 %10 = and i32 %9, 1 ret i32 %10 } declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @rdev_get_id(ptr noundef) local_unnamed_addr #1 declare i32 @lp3972_reg_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LP3972_BUCK_VOL_ENABLE_REG(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_lp3972.c_lp3972_dcdc_is_enabled.c' source_filename = "AnghaBench/linux/drivers/regulator/extr_lp3972.c_lp3972_dcdc_is_enabled.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LP3972_DCDC1 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lp3972_dcdc_is_enabled], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @lp3972_dcdc_is_enabled(ptr noundef %0) #0 { %2 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @rdev_get_id(ptr noundef %0) #2 %4 = load i32, ptr @LP3972_DCDC1, align 4, !tbaa !6 %5 = sub nsw i32 %3, %4 %6 = shl nsw i32 %5, 1 %7 = tail call i32 @LP3972_BUCK_VOL_ENABLE_REG(i32 noundef %5) #2 %8 = tail call i32 @lp3972_reg_read(ptr noundef %2, i32 noundef %7) #2 %9 = lshr i32 %8, %6 %10 = and i32 %9, 1 ret i32 %10 } declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @rdev_get_id(ptr noundef) local_unnamed_addr #1 declare i32 @lp3972_reg_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LP3972_BUCK_VOL_ENABLE_REG(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_regulator_extr_lp3972.c_lp3972_dcdc_is_enabled
; ModuleID = 'AnghaBench/linux/fs/fuse/extr_inode.c_fuse_evict_inode.c' source_filename = "AnghaBench/linux/fs/fuse/extr_inode.c_fuse_evict_inode.c" target datalayout = "e-m:e-p270:32:32-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.inode = type { i32, ptr, i32 } %struct.fuse_inode = type { i32, i32, ptr, i32, i32 } @SB_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fuse_evict_inode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fuse_evict_inode(ptr noundef %0) #0 { %2 = tail call ptr @get_fuse_inode(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 2 %4 = tail call i32 @truncate_inode_pages_final(ptr noundef nonnull %3) #2 %5 = tail call i32 @clear_inode(ptr noundef %0) #2 %6 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = load i32, ptr @SB_ACTIVE, align 4, !tbaa !13 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 br i1 %11, label %21, label %12 12: ; preds = %1 %13 = tail call ptr @get_fuse_conn(ptr noundef nonnull %0) #2 %14 = getelementptr inbounds %struct.fuse_inode, ptr %2, i64 0, i32 2 %15 = load ptr, ptr %14, align 8, !tbaa !14 %16 = getelementptr inbounds %struct.fuse_inode, ptr %2, i64 0, i32 4 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = getelementptr inbounds %struct.fuse_inode, ptr %2, i64 0, i32 3 %19 = load i32, ptr %18, align 8, !tbaa !17 %20 = tail call i32 @fuse_queue_forget(ptr noundef %13, ptr noundef %15, i32 noundef %17, i32 noundef %19) #2 store ptr null, ptr %14, align 8, !tbaa !14 br label %21 21: ; preds = %12, %1 %22 = load i32, ptr %0, align 8, !tbaa !18 %23 = tail call i64 @S_ISREG(i32 noundef %22) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %38, label %25 25: ; preds = %21 %26 = tail call i32 @is_bad_inode(ptr noundef nonnull %0) #2 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %38 28: ; preds = %25 %29 = getelementptr inbounds %struct.fuse_inode, ptr %2, i64 0, i32 1 %30 = tail call i32 @list_empty(ptr noundef nonnull %29) #2 %31 = icmp eq i32 %30, 0 %32 = zext i1 %31 to i32 %33 = tail call i32 @WARN_ON(i32 noundef %32) #2 %34 = tail call i32 @list_empty(ptr noundef %2) #2 %35 = icmp eq i32 %34, 0 %36 = zext i1 %35 to i32 %37 = tail call i32 @WARN_ON(i32 noundef %36) #2 br label %38 38: ; preds = %28, %25, %21 ret void } declare ptr @get_fuse_inode(ptr noundef) local_unnamed_addr #1 declare i32 @truncate_inode_pages_final(ptr noundef) local_unnamed_addr #1 declare i32 @clear_inode(ptr noundef) local_unnamed_addr #1 declare ptr @get_fuse_conn(ptr noundef) local_unnamed_addr #1 declare i32 @fuse_queue_forget(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @S_ISREG(i32 noundef) local_unnamed_addr #1 declare i32 @is_bad_inode(ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(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 = !{!"inode", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!15, !10, i64 8} !15 = !{!"fuse_inode", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20} !16 = !{!15, !7, i64 20} !17 = !{!15, !7, i64 16} !18 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/fuse/extr_inode.c_fuse_evict_inode.c' source_filename = "AnghaBench/linux/fs/fuse/extr_inode.c_fuse_evict_inode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SB_ACTIVE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fuse_evict_inode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fuse_evict_inode(ptr noundef %0) #0 { %2 = tail call ptr @get_fuse_inode(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = tail call i32 @truncate_inode_pages_final(ptr noundef nonnull %3) #2 %5 = tail call i32 @clear_inode(ptr noundef %0) #2 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = load i32, ptr @SB_ACTIVE, align 4, !tbaa !14 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 br i1 %11, label %21, label %12 12: ; preds = %1 %13 = tail call ptr @get_fuse_conn(ptr noundef nonnull %0) #2 %14 = getelementptr inbounds i8, ptr %2, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !15 %16 = getelementptr inbounds i8, ptr %2, i64 20 %17 = load i32, ptr %16, align 4, !tbaa !17 %18 = getelementptr inbounds i8, ptr %2, i64 16 %19 = load i32, ptr %18, align 8, !tbaa !18 %20 = tail call i32 @fuse_queue_forget(ptr noundef %13, ptr noundef %15, i32 noundef %17, i32 noundef %19) #2 store ptr null, ptr %14, align 8, !tbaa !15 br label %21 21: ; preds = %12, %1 %22 = load i32, ptr %0, align 8, !tbaa !19 %23 = tail call i64 @S_ISREG(i32 noundef %22) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %38, label %25 25: ; preds = %21 %26 = tail call i32 @is_bad_inode(ptr noundef nonnull %0) #2 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %38 28: ; preds = %25 %29 = getelementptr inbounds i8, ptr %2, i64 4 %30 = tail call i32 @list_empty(ptr noundef nonnull %29) #2 %31 = icmp eq i32 %30, 0 %32 = zext i1 %31 to i32 %33 = tail call i32 @WARN_ON(i32 noundef %32) #2 %34 = tail call i32 @list_empty(ptr noundef %2) #2 %35 = icmp eq i32 %34, 0 %36 = zext i1 %35 to i32 %37 = tail call i32 @WARN_ON(i32 noundef %36) #2 br label %38 38: ; preds = %28, %25, %21 ret void } declare ptr @get_fuse_inode(ptr noundef) local_unnamed_addr #1 declare i32 @truncate_inode_pages_final(ptr noundef) local_unnamed_addr #1 declare i32 @clear_inode(ptr noundef) local_unnamed_addr #1 declare ptr @get_fuse_conn(ptr noundef) local_unnamed_addr #1 declare i32 @fuse_queue_forget(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @S_ISREG(i32 noundef) local_unnamed_addr #1 declare i32 @is_bad_inode(ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(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 = !{!"inode", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_2__", !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !11, i64 8} !16 = !{!"fuse_inode", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !8, i64 20} !17 = !{!16, !8, i64 20} !18 = !{!16, !8, i64 16} !19 = !{!7, !8, i64 0}
linux_fs_fuse_extr_inode.c_fuse_evict_inode
; ModuleID = 'AnghaBench/php-src/sapi/litespeed/extr_lsapi_main.c_override_ini.c' source_filename = "AnghaBench/php-src/sapi/litespeed/extr_lsapi_main.c_override_ini.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @alter_ini = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @override_ini], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @override_ini() #0 { %1 = load i32, ptr @alter_ini, align 4, !tbaa !5 %2 = tail call i32 @LSAPI_ForeachSpecialEnv(i32 noundef %1, ptr noundef null) #2 ret void } declare i32 @LSAPI_ForeachSpecialEnv(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/php-src/sapi/litespeed/extr_lsapi_main.c_override_ini.c' source_filename = "AnghaBench/php-src/sapi/litespeed/extr_lsapi_main.c_override_ini.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @alter_ini = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @override_ini], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @override_ini() #0 { %1 = load i32, ptr @alter_ini, align 4, !tbaa !6 %2 = tail call i32 @LSAPI_ForeachSpecialEnv(i32 noundef %1, ptr noundef null) #2 ret void } declare i32 @LSAPI_ForeachSpecialEnv(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
php-src_sapi_litespeed_extr_lsapi_main.c_override_ini
; ModuleID = 'AnghaBench/linux/tools/lib/bpf/extr_btf.c_btf_fixup_datasec.c' source_filename = "AnghaBench/linux/tools/lib/bpf/extr_btf.c_btf_fixup_datasec.c" target datalayout = "e-m:e-p270:32:32-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.btf_type = type { i64, i32 } %struct.btf_var_secinfo = type { i64, i32 } @.str = private unnamed_addr constant [51 x i8] c"No name found in string section for DATASEC kind.\0A\00", align 1 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [39 x i8] c"Invalid size for section %s: %u bytes\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Non-VAR type seen in section %s\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @BTF_VAR_STATIC = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [46 x i8] c"No name found in string section for VAR kind\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c"No offset found in symbol table for VAR %s\0A\00", align 1 @compare_vsi_off = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @btf_fixup_datasec], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @btf_fixup_datasec(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i64 0, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store i64 0, ptr %5, align 8, !tbaa !5 %6 = tail call i64 @btf_vlen(ptr noundef %2) #3 %7 = getelementptr inbounds %struct.btf_type, ptr %2, i64 0, i32 1 %8 = load i32, ptr %7, align 8, !tbaa !9 %9 = tail call ptr @btf__name_by_offset(ptr noundef %1, i32 noundef %8) #3 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %3 %12 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str) #3 %13 = load i32, ptr @ENOENT, align 4, !tbaa !12 %14 = sub nsw i32 0, %13 br label %78 15: ; preds = %3 %16 = call i32 @bpf_object__section_size(ptr noundef %0, ptr noundef nonnull %9, ptr noundef nonnull %4) #3 %17 = icmp eq i32 %16, 0 %18 = load i64, ptr %4, align 8 %19 = icmp ne i64 %18, 0 %20 = select i1 %17, i1 %19, i1 false br i1 %20, label %21, label %26 21: ; preds = %15 %22 = load i64, ptr %2, align 8, !tbaa !13 %23 = icmp eq i64 %22, 0 %24 = icmp eq i64 %22, %18 %25 = select i1 %23, i1 true, i1 %24 br i1 %25, label %30, label %26 26: ; preds = %21, %15 %27 = call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.1, ptr noundef nonnull %9, i64 noundef %18) #3 %28 = load i32, ptr @ENOENT, align 4, !tbaa !12 %29 = sub nsw i32 0, %28 br label %78 30: ; preds = %21 store i64 %18, ptr %2, align 8, !tbaa !13 %31 = call ptr @btf_var_secinfos(ptr noundef nonnull %2) #3 %32 = icmp sgt i64 %6, 0 br i1 %32, label %33, label %74 33: ; preds = %30, %69 %34 = phi ptr [ %72, %69 ], [ %31, %30 ] %35 = phi i64 [ %71, %69 ], [ 0, %30 ] %36 = phi ptr [ %70, %69 ], [ %9, %30 ] %37 = getelementptr inbounds %struct.btf_var_secinfo, ptr %34, i64 0, i32 1 %38 = load i32, ptr %37, align 8, !tbaa !14 %39 = call ptr @btf__type_by_id(ptr noundef %1, i32 noundef %38) #3 %40 = call ptr @btf_var(ptr noundef %39) #3 %41 = call i32 @btf_is_var(ptr noundef %39) #3 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %33 %44 = call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.2, ptr noundef %36) #3 %45 = load i32, ptr @EINVAL, align 4, !tbaa !12 %46 = sub nsw i32 0, %45 br label %78 47: ; preds = %33 %48 = load i64, ptr %40, align 8, !tbaa !16 %49 = load i64, ptr @BTF_VAR_STATIC, align 8, !tbaa !5 %50 = icmp eq i64 %48, %49 br i1 %50, label %69, label %51 51: ; preds = %47 %52 = getelementptr inbounds %struct.btf_type, ptr %39, i64 0, i32 1 %53 = load i32, ptr %52, align 8, !tbaa !9 %54 = call ptr @btf__name_by_offset(ptr noundef %1, i32 noundef %53) #3 %55 = icmp eq ptr %54, null br i1 %55, label %56, label %60 56: ; preds = %51 %57 = call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.3) #3 %58 = load i32, ptr @ENOENT, align 4, !tbaa !12 %59 = sub nsw i32 0, %58 br label %78 60: ; preds = %51 %61 = call i32 @bpf_object__variable_offset(ptr noundef %0, ptr noundef nonnull %54, ptr noundef nonnull %5) #3 %62 = icmp eq i32 %61, 0 br i1 %62, label %67, label %63 63: ; preds = %60 %64 = call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.4, ptr noundef nonnull %54) #3 %65 = load i32, ptr @ENOENT, align 4, !tbaa !12 %66 = sub nsw i32 0, %65 br label %78 67: ; preds = %60 %68 = load i64, ptr %5, align 8, !tbaa !5 store i64 %68, ptr %34, align 8, !tbaa !18 br label %69 69: ; preds = %47, %67 %70 = phi ptr [ %36, %47 ], [ %54, %67 ] %71 = add nuw nsw i64 %35, 1 %72 = getelementptr inbounds %struct.btf_var_secinfo, ptr %34, i64 1 %73 = icmp eq i64 %71, %6 br i1 %73, label %74, label %33, !llvm.loop !19 74: ; preds = %69, %30 %75 = getelementptr inbounds %struct.btf_type, ptr %2, i64 1 %76 = load i32, ptr @compare_vsi_off, align 4, !tbaa !12 %77 = call i32 @qsort(ptr noundef nonnull %75, i64 noundef %6, i32 noundef 16, i32 noundef %76) #3 br label %78 78: ; preds = %74, %63, %56, %43, %26, %11 %79 = phi i32 [ %29, %26 ], [ %66, %63 ], [ %59, %56 ], [ %46, %43 ], [ 0, %74 ], [ %14, %11 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %79 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @btf_vlen(ptr noundef) local_unnamed_addr #2 declare ptr @btf__name_by_offset(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pr_debug(ptr noundef, ...) local_unnamed_addr #2 declare i32 @bpf_object__section_size(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @btf_var_secinfos(ptr noundef) local_unnamed_addr #2 declare ptr @btf__type_by_id(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @btf_var(ptr noundef) local_unnamed_addr #2 declare i32 @btf_is_var(ptr noundef) local_unnamed_addr #2 declare i32 @bpf_object__variable_offset(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @qsort(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"btf_type", !6, i64 0, !11, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !6, i64 0} !14 = !{!15, !11, i64 8} !15 = !{!"btf_var_secinfo", !6, i64 0, !11, i64 8} !16 = !{!17, !6, i64 0} !17 = !{!"btf_var", !6, i64 0} !18 = !{!15, !6, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/tools/lib/bpf/extr_btf.c_btf_fixup_datasec.c' source_filename = "AnghaBench/linux/tools/lib/bpf/extr_btf.c_btf_fixup_datasec.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 [51 x i8] c"No name found in string section for DATASEC kind.\0A\00", align 1 @ENOENT = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [39 x i8] c"Invalid size for section %s: %u bytes\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Non-VAR type seen in section %s\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @BTF_VAR_STATIC = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [46 x i8] c"No name found in string section for VAR kind\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c"No offset found in symbol table for VAR %s\0A\00", align 1 @compare_vsi_off = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @btf_fixup_datasec], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @btf_fixup_datasec(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i64 0, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store i64 0, ptr %5, align 8, !tbaa !6 %6 = tail call i64 @btf_vlen(ptr noundef %2) #3 %7 = getelementptr inbounds i8, ptr %2, i64 8 %8 = load i32, ptr %7, align 8, !tbaa !10 %9 = tail call ptr @btf__name_by_offset(ptr noundef %1, i32 noundef %8) #3 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %3 %12 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str) #3 %13 = load i32, ptr @ENOENT, align 4, !tbaa !13 %14 = sub nsw i32 0, %13 br label %78 15: ; preds = %3 %16 = call i32 @bpf_object__section_size(ptr noundef %0, ptr noundef nonnull %9, ptr noundef nonnull %4) #3 %17 = icmp eq i32 %16, 0 %18 = load i64, ptr %4, align 8 %19 = icmp ne i64 %18, 0 %20 = select i1 %17, i1 %19, i1 false br i1 %20, label %21, label %26 21: ; preds = %15 %22 = load i64, ptr %2, align 8, !tbaa !14 %23 = icmp eq i64 %22, 0 %24 = icmp eq i64 %22, %18 %25 = select i1 %23, i1 true, i1 %24 br i1 %25, label %30, label %26 26: ; preds = %21, %15 %27 = call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.1, ptr noundef nonnull %9, i64 noundef %18) #3 %28 = load i32, ptr @ENOENT, align 4, !tbaa !13 %29 = sub nsw i32 0, %28 br label %78 30: ; preds = %21 store i64 %18, ptr %2, align 8, !tbaa !14 %31 = call ptr @btf_var_secinfos(ptr noundef nonnull %2) #3 %32 = icmp sgt i64 %6, 0 br i1 %32, label %33, label %74 33: ; preds = %30, %69 %34 = phi ptr [ %72, %69 ], [ %31, %30 ] %35 = phi i64 [ %71, %69 ], [ 0, %30 ] %36 = phi ptr [ %70, %69 ], [ %9, %30 ] %37 = getelementptr inbounds i8, ptr %34, i64 8 %38 = load i32, ptr %37, align 8, !tbaa !15 %39 = call ptr @btf__type_by_id(ptr noundef %1, i32 noundef %38) #3 %40 = call ptr @btf_var(ptr noundef %39) #3 %41 = call i32 @btf_is_var(ptr noundef %39) #3 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %33 %44 = call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.2, ptr noundef %36) #3 %45 = load i32, ptr @EINVAL, align 4, !tbaa !13 %46 = sub nsw i32 0, %45 br label %78 47: ; preds = %33 %48 = load i64, ptr %40, align 8, !tbaa !17 %49 = load i64, ptr @BTF_VAR_STATIC, align 8, !tbaa !6 %50 = icmp eq i64 %48, %49 br i1 %50, label %69, label %51 51: ; preds = %47 %52 = getelementptr inbounds i8, ptr %39, i64 8 %53 = load i32, ptr %52, align 8, !tbaa !10 %54 = call ptr @btf__name_by_offset(ptr noundef %1, i32 noundef %53) #3 %55 = icmp eq ptr %54, null br i1 %55, label %56, label %60 56: ; preds = %51 %57 = call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.3) #3 %58 = load i32, ptr @ENOENT, align 4, !tbaa !13 %59 = sub nsw i32 0, %58 br label %78 60: ; preds = %51 %61 = call i32 @bpf_object__variable_offset(ptr noundef %0, ptr noundef nonnull %54, ptr noundef nonnull %5) #3 %62 = icmp eq i32 %61, 0 br i1 %62, label %67, label %63 63: ; preds = %60 %64 = call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.4, ptr noundef nonnull %54) #3 %65 = load i32, ptr @ENOENT, align 4, !tbaa !13 %66 = sub nsw i32 0, %65 br label %78 67: ; preds = %60 %68 = load i64, ptr %5, align 8, !tbaa !6 store i64 %68, ptr %34, align 8, !tbaa !19 br label %69 69: ; preds = %47, %67 %70 = phi ptr [ %36, %47 ], [ %54, %67 ] %71 = add nuw nsw i64 %35, 1 %72 = getelementptr inbounds i8, ptr %34, i64 16 %73 = icmp eq i64 %71, %6 br i1 %73, label %74, label %33, !llvm.loop !20 74: ; preds = %69, %30 %75 = getelementptr inbounds i8, ptr %2, i64 16 %76 = load i32, ptr @compare_vsi_off, align 4, !tbaa !13 %77 = call i32 @qsort(ptr noundef nonnull %75, i64 noundef %6, i32 noundef 16, i32 noundef %76) #3 br label %78 78: ; preds = %74, %63, %56, %43, %26, %11 %79 = phi i32 [ %29, %26 ], [ %66, %63 ], [ %59, %56 ], [ %46, %43 ], [ 0, %74 ], [ %14, %11 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %79 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @btf_vlen(ptr noundef) local_unnamed_addr #2 declare ptr @btf__name_by_offset(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pr_debug(ptr noundef, ...) local_unnamed_addr #2 declare i32 @bpf_object__section_size(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @btf_var_secinfos(ptr noundef) local_unnamed_addr #2 declare ptr @btf__type_by_id(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @btf_var(ptr noundef) local_unnamed_addr #2 declare i32 @btf_is_var(ptr noundef) local_unnamed_addr #2 declare i32 @bpf_object__variable_offset(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @qsort(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"btf_type", !7, i64 0, !12, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !7, i64 0} !15 = !{!16, !12, i64 8} !16 = !{!"btf_var_secinfo", !7, i64 0, !12, i64 8} !17 = !{!18, !7, i64 0} !18 = !{!"btf_var", !7, i64 0} !19 = !{!16, !7, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
linux_tools_lib_bpf_extr_btf.c_btf_fixup_datasec
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/winbond/extr_wb35tx.c_Wb35Tx_EP2VM_complete.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/winbond/extr_wb35tx.c_Wb35Tx_EP2VM_complete.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32 } %struct.urb = type { i64, i32, ptr } %struct.hw_data = type { i64, i64, %struct.wb35_tx } %struct.wb35_tx = type { i64, ptr, i32, i64, i64 } @VM_COMPLETED = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [36 x i8] c"EP2 IoCompleteRoutine return error\0A\00", align 1 @VM_STOP = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @Wb35Tx_EP2VM_complete], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @Wb35Tx_EP2VM_complete(ptr nocapture noundef readonly %0) #0 { %2 = alloca %struct.TYPE_3__, align 4 %3 = getelementptr inbounds %struct.urb, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = getelementptr inbounds %struct.hw_data, ptr %4, i64 0, i32 2 %6 = getelementptr inbounds %struct.hw_data, ptr %4, i64 0, i32 2, i32 4 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = inttoptr i64 %7 to ptr %9 = load ptr, ptr @VM_COMPLETED, align 8, !tbaa !14 %10 = getelementptr inbounds %struct.hw_data, ptr %4, i64 0, i32 2, i32 1 store ptr %9, ptr %10, align 8, !tbaa !15 %11 = load i64, ptr %0, align 8, !tbaa !16 store i64 %11, ptr %5, align 8, !tbaa !17 %12 = getelementptr inbounds %struct.hw_data, ptr %4, i64 0, i32 1 %13 = load i64, ptr %12, align 8, !tbaa !18 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %52 15: ; preds = %1 %16 = load i64, ptr %4, align 8, !tbaa !20 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %52 18: ; preds = %15 %19 = getelementptr inbounds %struct.hw_data, ptr %4, i64 0, i32 2, i32 3 %20 = load i64, ptr %19, align 8, !tbaa !21 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %52 22: ; preds = %18 %23 = icmp eq i64 %11, 0 br i1 %23, label %27, label %24 24: ; preds = %22 %25 = tail call i32 @printk(ptr noundef nonnull @.str) #3 %26 = load ptr, ptr @VM_STOP, align 8, !tbaa !14 store ptr %26, ptr %10, align 8, !tbaa !15 br label %52 27: ; preds = %22 %28 = getelementptr inbounds %struct.urb, ptr %0, i64 0, i32 1 %29 = load i32, ptr %28, align 8, !tbaa !22 %30 = load i32, ptr %8, align 4, !tbaa !23 %31 = tail call i32 @cpu_to_le32(i32 noundef %30) #3 %32 = add nsw i32 %29, -1 %33 = ashr i32 %32, 2 %34 = icmp slt i32 %33, 1 br i1 %34, label %56, label %35 35: ; preds = %27 %36 = add nuw nsw i32 %33, 1 %37 = zext nneg i32 %36 to i64 br label %38 38: ; preds = %35, %38 %39 = phi i64 [ 1, %35 ], [ %50, %38 ] %40 = phi i32 [ %31, %35 ], [ %49, %38 ] %41 = ashr i32 %40, 8 %42 = getelementptr inbounds i32, ptr %8, i64 %39 %43 = load i32, ptr %42, align 4, !tbaa !23 %44 = call i32 @cpu_to_le32(i32 noundef %43) #3 %45 = shl i32 %44, 24 %46 = or i32 %45, %41 store i32 %46, ptr %2, align 4, !tbaa !24 %47 = call i32 @Mds_SendComplete(ptr noundef nonnull %4, ptr noundef nonnull %2) #3 %48 = load i32, ptr %42, align 4, !tbaa !23 %49 = call i32 @cpu_to_le32(i32 noundef %48) #3 %50 = add nuw nsw i64 %39, 1 %51 = icmp eq i64 %50, %37 br i1 %51, label %56, label %38, !llvm.loop !26 52: ; preds = %18, %1, %15, %24 %53 = getelementptr inbounds %struct.hw_data, ptr %4, i64 0, i32 2, i32 2 %54 = tail call i32 @atomic_dec(ptr noundef nonnull %53) #3 %55 = load ptr, ptr @VM_STOP, align 8, !tbaa !14 store ptr %55, ptr %10, align 8, !tbaa !15 br label %56 56: ; preds = %38, %27, %52 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @printk(ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @Mds_SendComplete(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @atomic_dec(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, !11, i64 16} !6 = !{!"urb", !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, !7, i64 32} !13 = !{!"wb35_tx", !7, i64 0, !11, i64 8, !10, i64 16, !7, i64 24, !7, i64 32} !14 = !{!11, !11, i64 0} !15 = !{!13, !11, i64 8} !16 = !{!6, !7, i64 0} !17 = !{!13, !7, i64 0} !18 = !{!19, !7, i64 8} !19 = !{!"hw_data", !7, i64 0, !7, i64 8, !13, i64 16} !20 = !{!19, !7, i64 0} !21 = !{!13, !7, i64 24} !22 = !{!6, !10, i64 8} !23 = !{!10, !10, i64 0} !24 = !{!25, !10, i64 0} !25 = !{!"TYPE_3__", !10, i64 0} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/winbond/extr_wb35tx.c_Wb35Tx_EP2VM_complete.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/winbond/extr_wb35tx.c_Wb35Tx_EP2VM_complete.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 } @VM_COMPLETED = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [36 x i8] c"EP2 IoCompleteRoutine return error\0A\00", align 1 @VM_STOP = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @Wb35Tx_EP2VM_complete], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @Wb35Tx_EP2VM_complete(ptr nocapture noundef readonly %0) #0 { %2 = alloca %struct.TYPE_3__, align 4 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = getelementptr inbounds i8, ptr %4, i64 16 %6 = getelementptr inbounds i8, ptr %4, i64 48 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = inttoptr i64 %7 to ptr %9 = load ptr, ptr @VM_COMPLETED, align 8, !tbaa !15 %10 = getelementptr inbounds i8, ptr %4, i64 24 store ptr %9, ptr %10, align 8, !tbaa !16 %11 = load i64, ptr %0, align 8, !tbaa !17 store i64 %11, ptr %5, align 8, !tbaa !18 %12 = getelementptr inbounds i8, ptr %4, i64 8 %13 = load i64, ptr %12, align 8, !tbaa !19 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %52 15: ; preds = %1 %16 = load i64, ptr %4, align 8, !tbaa !21 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %52 18: ; preds = %15 %19 = getelementptr inbounds i8, ptr %4, i64 40 %20 = load i64, ptr %19, align 8, !tbaa !22 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %52 22: ; preds = %18 %23 = icmp eq i64 %11, 0 br i1 %23, label %27, label %24 24: ; preds = %22 %25 = tail call i32 @printk(ptr noundef nonnull @.str) #3 %26 = load ptr, ptr @VM_STOP, align 8, !tbaa !15 store ptr %26, ptr %10, align 8, !tbaa !16 br label %52 27: ; preds = %22 %28 = getelementptr inbounds i8, ptr %0, i64 8 %29 = load i32, ptr %28, align 8, !tbaa !23 %30 = load i32, ptr %8, align 4, !tbaa !24 %31 = tail call i32 @cpu_to_le32(i32 noundef %30) #3 %32 = add nsw i32 %29, -1 %33 = ashr i32 %32, 2 %34 = icmp slt i32 %33, 1 br i1 %34, label %56, label %35 35: ; preds = %27 %36 = add nuw nsw i32 %33, 1 %37 = zext nneg i32 %36 to i64 br label %38 38: ; preds = %35, %38 %39 = phi i64 [ 1, %35 ], [ %50, %38 ] %40 = phi i32 [ %31, %35 ], [ %49, %38 ] %41 = ashr i32 %40, 8 %42 = getelementptr inbounds i32, ptr %8, i64 %39 %43 = load i32, ptr %42, align 4, !tbaa !24 %44 = call i32 @cpu_to_le32(i32 noundef %43) #3 %45 = shl i32 %44, 24 %46 = or i32 %45, %41 store i32 %46, ptr %2, align 4, !tbaa !25 %47 = call i32 @Mds_SendComplete(ptr noundef nonnull %4, ptr noundef nonnull %2) #3 %48 = load i32, ptr %42, align 4, !tbaa !24 %49 = call i32 @cpu_to_le32(i32 noundef %48) #3 %50 = add nuw nsw i64 %39, 1 %51 = icmp eq i64 %50, %37 br i1 %51, label %56, label %38, !llvm.loop !27 52: ; preds = %18, %1, %15, %24 %53 = getelementptr inbounds i8, ptr %4, i64 32 %54 = tail call i32 @atomic_dec(ptr noundef nonnull %53) #3 %55 = load ptr, ptr @VM_STOP, align 8, !tbaa !15 store ptr %55, ptr %10, align 8, !tbaa !16 br label %56 56: ; preds = %38, %27, %52 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @printk(ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @Mds_SendComplete(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @atomic_dec(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, !12, i64 16} !7 = !{!"urb", !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, !8, i64 32} !14 = !{!"wb35_tx", !8, i64 0, !12, i64 8, !11, i64 16, !8, i64 24, !8, i64 32} !15 = !{!12, !12, i64 0} !16 = !{!14, !12, i64 8} !17 = !{!7, !8, i64 0} !18 = !{!14, !8, i64 0} !19 = !{!20, !8, i64 8} !20 = !{!"hw_data", !8, i64 0, !8, i64 8, !14, i64 16} !21 = !{!20, !8, i64 0} !22 = !{!14, !8, i64 24} !23 = !{!7, !11, i64 8} !24 = !{!11, !11, i64 0} !25 = !{!26, !11, i64 0} !26 = !{!"TYPE_3__", !11, i64 0} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_staging_winbond_extr_wb35tx.c_Wb35Tx_EP2VM_complete
; ModuleID = 'AnghaBench/vlc/modules/access/rtp/extr_srtp-test-aes.c_main.c' source_filename = "AnghaBench/vlc/modules/access/rtp/extr_srtp-test-aes.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" @GCRYCTL_DISABLE_SECMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main() local_unnamed_addr #0 { %1 = load i32, ptr @GCRYCTL_DISABLE_SECMEM, align 4, !tbaa !5 %2 = tail call i32 @gcry_control(i32 noundef %1, ptr noundef null) #2 %3 = tail call i32 (...) @srtp_test() #2 ret i32 0 } declare i32 @gcry_control(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @srtp_test(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/vlc/modules/access/rtp/extr_srtp-test-aes.c_main.c' source_filename = "AnghaBench/vlc/modules/access/rtp/extr_srtp-test-aes.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GCRYCTL_DISABLE_SECMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main() local_unnamed_addr #0 { %1 = load i32, ptr @GCRYCTL_DISABLE_SECMEM, align 4, !tbaa !6 %2 = tail call i32 @gcry_control(i32 noundef %1, ptr noundef null) #2 %3 = tail call i32 @srtp_test() #2 ret i32 0 } declare i32 @gcry_control(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @srtp_test(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
vlc_modules_access_rtp_extr_srtp-test-aes.c_main
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/dma/ipu/extr_ipu_idmac.c_ipu_channel_set_priority.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/dma/ipu/extr_ipu_idmac.c_ipu_channel_set_priority.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IDMAC_CHA_PRI = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ipu_channel_set_priority], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ipu_channel_set_priority(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @IDMAC_CHA_PRI, align 4, !tbaa !5 %5 = tail call i64 @idmac_read_icreg(ptr noundef %0, i32 noundef %4) #2 %6 = icmp eq i32 %2, 0 %7 = zext nneg i32 %1 to i64 %8 = shl nuw i64 1, %7 %9 = or i64 %5, %8 %10 = xor i64 %8, -1 %11 = and i64 %5, %10 %12 = select i1 %6, i64 %11, i64 %9 %13 = load i32, ptr @IDMAC_CHA_PRI, align 4, !tbaa !5 %14 = tail call i32 @idmac_write_icreg(ptr noundef %0, i64 noundef %12, i32 noundef %13) #2 %15 = tail call i32 @dump_idmac_reg(ptr noundef %0) #2 ret void } declare i64 @idmac_read_icreg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @idmac_write_icreg(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dump_idmac_reg(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/dma/ipu/extr_ipu_idmac.c_ipu_channel_set_priority.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/dma/ipu/extr_ipu_idmac.c_ipu_channel_set_priority.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IDMAC_CHA_PRI = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ipu_channel_set_priority], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ipu_channel_set_priority(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @IDMAC_CHA_PRI, align 4, !tbaa !6 %5 = tail call i64 @idmac_read_icreg(ptr noundef %0, i32 noundef %4) #2 %6 = icmp eq i32 %2, 0 %7 = zext nneg i32 %1 to i64 %8 = shl nuw i64 1, %7 %9 = or i64 %5, %8 %10 = xor i64 %8, -1 %11 = and i64 %5, %10 %12 = select i1 %6, i64 %11, i64 %9 %13 = load i32, ptr @IDMAC_CHA_PRI, align 4, !tbaa !6 %14 = tail call i32 @idmac_write_icreg(ptr noundef %0, i64 noundef %12, i32 noundef %13) #2 %15 = tail call i32 @dump_idmac_reg(ptr noundef %0) #2 ret void } declare i64 @idmac_read_icreg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @idmac_write_icreg(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dump_idmac_reg(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_dma_ipu_extr_ipu_idmac.c_ipu_channel_set_priority
; ModuleID = 'AnghaBench/linux/drivers/base/power/extr_main.c_device_suspend_noirq.c' source_filename = "AnghaBench/linux/drivers/base/power/extr_main.c_device_suspend_noirq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @async_suspend_noirq = dso_local local_unnamed_addr global i32 0, align 4 @pm_transition = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @device_suspend_noirq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @device_suspend_noirq(ptr noundef %0) #0 { %2 = load i32, ptr @async_suspend_noirq, align 4, !tbaa !5 %3 = tail call i64 @dpm_async_fn(ptr noundef %0, i32 noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @pm_transition, align 4, !tbaa !5 %7 = tail call i32 @__device_suspend_noirq(ptr noundef %0, i32 noundef %6, i32 noundef 0) #2 br label %8 8: ; preds = %1, %5 %9 = phi i32 [ %7, %5 ], [ 0, %1 ] ret i32 %9 } declare i64 @dpm_async_fn(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__device_suspend_noirq(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/base/power/extr_main.c_device_suspend_noirq.c' source_filename = "AnghaBench/linux/drivers/base/power/extr_main.c_device_suspend_noirq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @async_suspend_noirq = common local_unnamed_addr global i32 0, align 4 @pm_transition = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @device_suspend_noirq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @device_suspend_noirq(ptr noundef %0) #0 { %2 = load i32, ptr @async_suspend_noirq, align 4, !tbaa !6 %3 = tail call i64 @dpm_async_fn(ptr noundef %0, i32 noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @pm_transition, align 4, !tbaa !6 %7 = tail call i32 @__device_suspend_noirq(ptr noundef %0, i32 noundef %6, i32 noundef 0) #2 br label %8 8: ; preds = %1, %5 %9 = phi i32 [ %7, %5 ], [ 0, %1 ] ret i32 %9 } declare i64 @dpm_async_fn(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__device_suspend_noirq(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_base_power_extr_main.c_device_suspend_noirq
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4filelayout.c_filelayout_write_release.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4filelayout.c_filelayout_write_release.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @filelayout_write_release], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @filelayout_write_release(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = load ptr, ptr %3, align 8, !tbaa !12 %5 = tail call i32 %4(ptr noundef nonnull %0) #1 ret void } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"nfs_write_data", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4filelayout.c_filelayout_write_release.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4filelayout.c_filelayout_write_release.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 @filelayout_write_release], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @filelayout_write_release(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = load ptr, ptr %3, align 8, !tbaa !13 %5 = tail call i32 %4(ptr noundef nonnull %0) #1 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"nfs_write_data", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_4__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_3__", !8, i64 0}
fastsocket_kernel_fs_nfs_extr_nfs4filelayout.c_filelayout_write_release
; ModuleID = 'AnghaBench/nginx/src/http/modules/extr_ngx_http_fastcgi_module.c_ngx_http_fastcgi_lowat_check.c' source_filename = "AnghaBench/nginx/src/http/modules/extr_ngx_http_fastcgi_module.c_ngx_http_fastcgi_lowat_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" @NGX_LOG_WARN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [47 x i8] c"\22fastcgi_send_lowat\22 is not supported, ignored\00", align 1 @NGX_CONF_OK = dso_local local_unnamed_addr global ptr null, align 8 @NGX_CONF_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @NGX_LOG_EMERG = dso_local local_unnamed_addr global i32 0, align 4 @ngx_freebsd_net_inet_tcp_sendspace = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_fastcgi_lowat_check], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @ngx_http_fastcgi_lowat_check(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2) #0 { %4 = load i32, ptr @NGX_LOG_WARN, align 4, !tbaa !5 %5 = tail call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %4, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str) #2 store i64 0, ptr %2, align 8, !tbaa !9 %6 = load ptr, ptr @NGX_CONF_OK, align 8, !tbaa !11 ret ptr %6 } declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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, !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/nginx/src/http/modules/extr_ngx_http_fastcgi_module.c_ngx_http_fastcgi_lowat_check.c' source_filename = "AnghaBench/nginx/src/http/modules/extr_ngx_http_fastcgi_module.c_ngx_http_fastcgi_lowat_check.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NGX_LOG_WARN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [47 x i8] c"\22fastcgi_send_lowat\22 is not supported, ignored\00", align 1 @NGX_CONF_OK = common local_unnamed_addr global ptr null, align 8 @NGX_CONF_ERROR = common local_unnamed_addr global ptr null, align 8 @NGX_LOG_EMERG = common local_unnamed_addr global i32 0, align 4 @ngx_freebsd_net_inet_tcp_sendspace = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ngx_http_fastcgi_lowat_check], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @ngx_http_fastcgi_lowat_check(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2) #0 { %4 = load i32, ptr @NGX_LOG_WARN, align 4, !tbaa !6 %5 = tail call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %4, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str) #2 store i64 0, ptr %2, align 8, !tbaa !10 %6 = load ptr, ptr @NGX_CONF_OK, align 8, !tbaa !12 ret ptr %6 } declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !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, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
nginx_src_http_modules_extr_ngx_http_fastcgi_module.c_ngx_http_fastcgi_lowat_check
; ModuleID = 'AnghaBench/twemproxy/src/hashkit/extr_nc_one_at_a_time.c_hash_one_at_a_time.c' source_filename = "AnghaBench/twemproxy/src/hashkit/extr_nc_one_at_a_time.c_hash_one_at_a_time.c" target datalayout = "e-m:e-p270:32:32-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: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local i32 @hash_one_at_a_time(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 br i1 %3, label %64, label %4 4: ; preds = %2 %5 = and i64 %1, 3 %6 = icmp ult i64 %1, 4 br i1 %6, label %43, label %7 7: ; preds = %4 %8 = and i64 %1, -4 br label %9 9: ; preds = %9, %7 %10 = phi i32 [ 0, %7 ], [ %40, %9 ] %11 = phi ptr [ %0, %7 ], [ %34, %9 ] %12 = phi i64 [ 0, %7 ], [ %41, %9 ] %13 = getelementptr inbounds i8, ptr %11, i64 1 %14 = load i8, ptr %11, align 1, !tbaa !5 %15 = sext i8 %14 to i32 %16 = add nsw i32 %10, %15 %17 = mul i32 %16, 1025 %18 = ashr i32 %17, 6 %19 = xor i32 %18, %17 %20 = getelementptr inbounds i8, ptr %11, i64 2 %21 = load i8, ptr %13, align 1, !tbaa !5 %22 = sext i8 %21 to i32 %23 = add nsw i32 %19, %22 %24 = mul i32 %23, 1025 %25 = ashr i32 %24, 6 %26 = xor i32 %25, %24 %27 = getelementptr inbounds i8, ptr %11, i64 3 %28 = load i8, ptr %20, align 1, !tbaa !5 %29 = sext i8 %28 to i32 %30 = add nsw i32 %26, %29 %31 = mul i32 %30, 1025 %32 = ashr i32 %31, 6 %33 = xor i32 %32, %31 %34 = getelementptr inbounds i8, ptr %11, i64 4 %35 = load i8, ptr %27, align 1, !tbaa !5 %36 = sext i8 %35 to i32 %37 = add nsw i32 %33, %36 %38 = mul i32 %37, 1025 %39 = ashr i32 %38, 6 %40 = xor i32 %39, %38 %41 = add i64 %12, 4 %42 = icmp eq i64 %41, %8 br i1 %42, label %43, label %9, !llvm.loop !8 43: ; preds = %9, %4 %44 = phi i32 [ undef, %4 ], [ %40, %9 ] %45 = phi i32 [ 0, %4 ], [ %40, %9 ] %46 = phi ptr [ %0, %4 ], [ %34, %9 ] %47 = icmp eq i64 %5, 0 br i1 %47, label %61, label %48 48: ; preds = %43, %48 %49 = phi i32 [ %58, %48 ], [ %45, %43 ] %50 = phi ptr [ %52, %48 ], [ %46, %43 ] %51 = phi i64 [ %59, %48 ], [ 0, %43 ] %52 = getelementptr inbounds i8, ptr %50, i64 1 %53 = load i8, ptr %50, align 1, !tbaa !5 %54 = sext i8 %53 to i32 %55 = add nsw i32 %49, %54 %56 = mul i32 %55, 1025 %57 = ashr i32 %56, 6 %58 = xor i32 %57, %56 %59 = add i64 %51, 1 %60 = icmp eq i64 %59, %5 br i1 %60, label %61, label %48, !llvm.loop !10 61: ; preds = %48, %43 %62 = phi i32 [ %44, %43 ], [ %58, %48 ] %63 = mul i32 %62, 9 br label %64 64: ; preds = %61, %2 %65 = phi i32 [ 0, %2 ], [ %63, %61 ] %66 = ashr i32 %65, 11 %67 = xor i32 %66, %65 %68 = mul i32 %67, 32769 ret i32 %68 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.unroll.disable"}
; ModuleID = 'AnghaBench/twemproxy/src/hashkit/extr_nc_one_at_a_time.c_hash_one_at_a_time.c' source_filename = "AnghaBench/twemproxy/src/hashkit/extr_nc_one_at_a_time.c_hash_one_at_a_time.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define i32 @hash_one_at_a_time(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 br i1 %3, label %19, label %4 4: ; preds = %2, %4 %5 = phi i64 [ %8, %4 ], [ %1, %2 ] %6 = phi i32 [ %15, %4 ], [ 0, %2 ] %7 = phi ptr [ %9, %4 ], [ %0, %2 ] %8 = add i64 %5, -1 %9 = getelementptr inbounds i8, ptr %7, i64 1 %10 = load i8, ptr %7, align 1, !tbaa !6 %11 = sext i8 %10 to i32 %12 = add nsw i32 %6, %11 %13 = mul i32 %12, 1025 %14 = ashr i32 %13, 6 %15 = xor i32 %14, %13 %16 = icmp eq i64 %8, 0 br i1 %16, label %17, label %4, !llvm.loop !9 17: ; preds = %4 %18 = mul i32 %15, 9 br label %19 19: ; preds = %17, %2 %20 = phi i32 [ 0, %2 ], [ %18, %17 ] %21 = ashr i32 %20, 11 %22 = xor i32 %21, %20 %23 = mul i32 %22, 32769 ret i32 %23 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
twemproxy_src_hashkit_extr_nc_one_at_a_time.c_hash_one_at_a_time
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wcd9335.c_wcd9335_codec_hph_lohifi_config.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wcd9335.c_wcd9335_codec_hph_lohifi_config.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @WCD9335_RX_BIAS_HPH_PA = dso_local local_unnamed_addr global i32 0, align 4 @WCD9335_RX_BIAS_HPH_PA_AMP_5_UA_MASK = dso_local local_unnamed_addr global i32 0, align 4 @WCD9335_RX_BIAS_HPH_RDACBUFF_CNP2 = dso_local local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_CNP_WG_CTL = dso_local local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_MASK = dso_local local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_1000 = dso_local local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_PA_CTL2 = dso_local local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_MASK = dso_local local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_PA_CTL1 = dso_local local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_PA_GM3_IB_SCALE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_DISABLE = dso_local local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_500 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wcd9335_codec_hph_lohifi_config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @wcd9335_codec_hph_lohifi_config(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i64 @SND_SOC_DAPM_EVENT_ON(i32 noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %23, label %5 5: ; preds = %2 %6 = load i32, ptr @WCD9335_RX_BIAS_HPH_PA, align 4, !tbaa !5 %7 = load i32, ptr @WCD9335_RX_BIAS_HPH_PA_AMP_5_UA_MASK, align 4, !tbaa !5 %8 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %6, i32 noundef %7, i32 noundef 6) #2 %9 = load i32, ptr @WCD9335_RX_BIAS_HPH_RDACBUFF_CNP2, align 4, !tbaa !5 %10 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %9, i32 noundef 240, i32 noundef 64) #2 %11 = load i32, ptr @WCD9335_HPH_CNP_WG_CTL, align 4, !tbaa !5 %12 = load i32, ptr @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_MASK, align 4, !tbaa !5 %13 = load i32, ptr @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_1000, align 4, !tbaa !5 %14 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %11, i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @WCD9335_HPH_PA_CTL2, align 4, !tbaa !5 %16 = load i32, ptr @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_MASK, align 4, !tbaa !5 %17 = load i32, ptr @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_ENABLE, align 4, !tbaa !5 %18 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %15, i32 noundef %16, i32 noundef %17) #2 %19 = load i32, ptr @WCD9335_HPH_PA_CTL1, align 4, !tbaa !5 %20 = load i32, ptr @WCD9335_HPH_PA_GM3_IB_SCALE_MASK, align 4, !tbaa !5 %21 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %19, i32 noundef %20, i32 noundef 12) #2 %22 = tail call i32 @wcd9335_codec_hph_mode_gain_opt(ptr noundef %0, i32 noundef 17) #2 br label %23 23: ; preds = %5, %2 %24 = tail call i64 @SND_SOC_DAPM_EVENT_OFF(i32 noundef %1) #2 %25 = icmp eq i64 %24, 0 br i1 %25, label %40, label %26 26: ; preds = %23 %27 = load i32, ptr @WCD9335_HPH_PA_CTL2, align 4, !tbaa !5 %28 = load i32, ptr @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_MASK, align 4, !tbaa !5 %29 = load i32, ptr @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_DISABLE, align 4, !tbaa !5 %30 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %27, i32 noundef %28, i32 noundef %29) #2 %31 = load i32, ptr @WCD9335_HPH_CNP_WG_CTL, align 4, !tbaa !5 %32 = load i32, ptr @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_MASK, align 4, !tbaa !5 %33 = load i32, ptr @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_500, align 4, !tbaa !5 %34 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %31, i32 noundef %32, i32 noundef %33) #2 %35 = load i32, ptr @WCD9335_RX_BIAS_HPH_RDACBUFF_CNP2, align 4, !tbaa !5 %36 = tail call i32 @snd_soc_component_write(ptr noundef %0, i32 noundef %35, i32 noundef 138) #2 %37 = load i32, ptr @WCD9335_RX_BIAS_HPH_PA, align 4, !tbaa !5 %38 = load i32, ptr @WCD9335_RX_BIAS_HPH_PA_AMP_5_UA_MASK, align 4, !tbaa !5 %39 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %37, i32 noundef %38, i32 noundef 10) #2 br label %40 40: ; preds = %26, %23 ret void } declare i64 @SND_SOC_DAPM_EVENT_ON(i32 noundef) local_unnamed_addr #1 declare i32 @snd_soc_component_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wcd9335_codec_hph_mode_gain_opt(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @SND_SOC_DAPM_EVENT_OFF(i32 noundef) local_unnamed_addr #1 declare i32 @snd_soc_component_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wcd9335.c_wcd9335_codec_hph_lohifi_config.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wcd9335.c_wcd9335_codec_hph_lohifi_config.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WCD9335_RX_BIAS_HPH_PA = common local_unnamed_addr global i32 0, align 4 @WCD9335_RX_BIAS_HPH_PA_AMP_5_UA_MASK = common local_unnamed_addr global i32 0, align 4 @WCD9335_RX_BIAS_HPH_RDACBUFF_CNP2 = common local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_CNP_WG_CTL = common local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_MASK = common local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_1000 = common local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_PA_CTL2 = common local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_MASK = common local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_ENABLE = common local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_PA_CTL1 = common local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_PA_GM3_IB_SCALE_MASK = common local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_DISABLE = common local_unnamed_addr global i32 0, align 4 @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_500 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wcd9335_codec_hph_lohifi_config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @wcd9335_codec_hph_lohifi_config(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i64 @SND_SOC_DAPM_EVENT_ON(i32 noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %23, label %5 5: ; preds = %2 %6 = load i32, ptr @WCD9335_RX_BIAS_HPH_PA, align 4, !tbaa !6 %7 = load i32, ptr @WCD9335_RX_BIAS_HPH_PA_AMP_5_UA_MASK, align 4, !tbaa !6 %8 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %6, i32 noundef %7, i32 noundef 6) #2 %9 = load i32, ptr @WCD9335_RX_BIAS_HPH_RDACBUFF_CNP2, align 4, !tbaa !6 %10 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %9, i32 noundef 240, i32 noundef 64) #2 %11 = load i32, ptr @WCD9335_HPH_CNP_WG_CTL, align 4, !tbaa !6 %12 = load i32, ptr @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_MASK, align 4, !tbaa !6 %13 = load i32, ptr @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_1000, align 4, !tbaa !6 %14 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %11, i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @WCD9335_HPH_PA_CTL2, align 4, !tbaa !6 %16 = load i32, ptr @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_MASK, align 4, !tbaa !6 %17 = load i32, ptr @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_ENABLE, align 4, !tbaa !6 %18 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %15, i32 noundef %16, i32 noundef %17) #2 %19 = load i32, ptr @WCD9335_HPH_PA_CTL1, align 4, !tbaa !6 %20 = load i32, ptr @WCD9335_HPH_PA_GM3_IB_SCALE_MASK, align 4, !tbaa !6 %21 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %19, i32 noundef %20, i32 noundef 12) #2 %22 = tail call i32 @wcd9335_codec_hph_mode_gain_opt(ptr noundef %0, i32 noundef 17) #2 br label %23 23: ; preds = %5, %2 %24 = tail call i64 @SND_SOC_DAPM_EVENT_OFF(i32 noundef %1) #2 %25 = icmp eq i64 %24, 0 br i1 %25, label %40, label %26 26: ; preds = %23 %27 = load i32, ptr @WCD9335_HPH_PA_CTL2, align 4, !tbaa !6 %28 = load i32, ptr @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_MASK, align 4, !tbaa !6 %29 = load i32, ptr @WCD9335_HPH_PA_CTL2_FORCE_IQCTRL_DISABLE, align 4, !tbaa !6 %30 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %27, i32 noundef %28, i32 noundef %29) #2 %31 = load i32, ptr @WCD9335_HPH_CNP_WG_CTL, align 4, !tbaa !6 %32 = load i32, ptr @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_MASK, align 4, !tbaa !6 %33 = load i32, ptr @WCD9335_HPH_CNP_WG_CTL_CURR_LDIV_RATIO_500, align 4, !tbaa !6 %34 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %31, i32 noundef %32, i32 noundef %33) #2 %35 = load i32, ptr @WCD9335_RX_BIAS_HPH_RDACBUFF_CNP2, align 4, !tbaa !6 %36 = tail call i32 @snd_soc_component_write(ptr noundef %0, i32 noundef %35, i32 noundef 138) #2 %37 = load i32, ptr @WCD9335_RX_BIAS_HPH_PA, align 4, !tbaa !6 %38 = load i32, ptr @WCD9335_RX_BIAS_HPH_PA_AMP_5_UA_MASK, align 4, !tbaa !6 %39 = tail call i32 @snd_soc_component_update_bits(ptr noundef %0, i32 noundef %37, i32 noundef %38, i32 noundef 10) #2 br label %40 40: ; preds = %26, %23 ret void } declare i64 @SND_SOC_DAPM_EVENT_ON(i32 noundef) local_unnamed_addr #1 declare i32 @snd_soc_component_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wcd9335_codec_hph_mode_gain_opt(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @SND_SOC_DAPM_EVENT_OFF(i32 noundef) local_unnamed_addr #1 declare i32 @snd_soc_component_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_sound_soc_codecs_extr_wcd9335.c_wcd9335_codec_hph_lohifi_config
; ModuleID = 'AnghaBench/freebsd/sys/dev/le/extr_if_le_lebuffer.c_le_lebuffer_rdcsr.c' source_filename = "AnghaBench/freebsd/sys/dev/le/extr_if_le_lebuffer.c_le_lebuffer_rdcsr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LEREG1_RAP = dso_local local_unnamed_addr global i32 0, align 4 @BUS_SPACE_BARRIER_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @LEREG1_RDP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @le_lebuffer_rdcsr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @le_lebuffer_rdcsr(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr @LEREG1_RAP, align 4, !tbaa !10 %5 = tail call i32 @bus_write_2(i32 noundef %3, i32 noundef %4, i32 noundef %1) #2 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = load i32, ptr @LEREG1_RAP, align 4, !tbaa !10 %8 = load i32, ptr @BUS_SPACE_BARRIER_WRITE, align 4, !tbaa !10 %9 = tail call i32 @bus_barrier(i32 noundef %6, i32 noundef %7, i32 noundef 2, i32 noundef %8) #2 %10 = load i32, ptr %0, align 4, !tbaa !5 %11 = load i32, ptr @LEREG1_RDP, align 4, !tbaa !10 %12 = tail call i32 @bus_read_2(i32 noundef %10, i32 noundef %11) #2 ret i32 %12 } declare i32 @bus_write_2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_barrier(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_read_2(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 = !{!"le_lebuffer_softc", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/le/extr_if_le_lebuffer.c_le_lebuffer_rdcsr.c' source_filename = "AnghaBench/freebsd/sys/dev/le/extr_if_le_lebuffer.c_le_lebuffer_rdcsr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LEREG1_RAP = common local_unnamed_addr global i32 0, align 4 @BUS_SPACE_BARRIER_WRITE = common local_unnamed_addr global i32 0, align 4 @LEREG1_RDP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @le_lebuffer_rdcsr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @le_lebuffer_rdcsr(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr @LEREG1_RAP, align 4, !tbaa !11 %5 = tail call i32 @bus_write_2(i32 noundef %3, i32 noundef %4, i32 noundef %1) #2 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = load i32, ptr @LEREG1_RAP, align 4, !tbaa !11 %8 = load i32, ptr @BUS_SPACE_BARRIER_WRITE, align 4, !tbaa !11 %9 = tail call i32 @bus_barrier(i32 noundef %6, i32 noundef %7, i32 noundef 2, i32 noundef %8) #2 %10 = load i32, ptr %0, align 4, !tbaa !6 %11 = load i32, ptr @LEREG1_RDP, align 4, !tbaa !11 %12 = tail call i32 @bus_read_2(i32 noundef %10, i32 noundef %11) #2 ret i32 %12 } declare i32 @bus_write_2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_barrier(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_read_2(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 = !{!"le_lebuffer_softc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
freebsd_sys_dev_le_extr_if_le_lebuffer.c_le_lebuffer_rdcsr
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intersil/p54/extr_txrx.c_p54_pspoll_workaround.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intersil/p54/extr_txrx.c_p54_pspoll_workaround.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ieee80211_hdr = type { i32, i32 } %struct.p54_common = type { i32, i32, i32 } @WLAN_EID_TIM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @p54_pspoll_workaround], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @p54_pspoll_workaround(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !5 %4 = inttoptr i64 %3 to ptr %5 = getelementptr inbounds %struct.ieee80211_hdr, ptr %4, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @ieee80211_is_beacon(i32 noundef %6) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %33, label %9 9: ; preds = %2 %10 = getelementptr inbounds %struct.p54_common, ptr %0, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = icmp eq i32 %11, 0 br i1 %12, label %33, label %13 13: ; preds = %9 %14 = load i32, ptr %4, align 4, !tbaa !15 %15 = getelementptr inbounds %struct.p54_common, ptr %0, i64 0, i32 2 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = tail call i32 @ether_addr_equal_64bits(i32 noundef %14, i32 noundef %16) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %33, label %19 19: ; preds = %13 %20 = load i32, ptr @WLAN_EID_TIM, align 4, !tbaa !17 %21 = tail call ptr @p54_find_ie(ptr noundef nonnull %1, i32 noundef %20) #2 %22 = icmp eq ptr %21, null br i1 %22, label %33, label %23 23: ; preds = %19 %24 = getelementptr inbounds i32, ptr %21, i64 1 %25 = load i32, ptr %24, align 4, !tbaa !17 %26 = getelementptr inbounds i32, ptr %21, i64 2 %27 = load i32, ptr %10, align 4, !tbaa !13 %28 = tail call i32 @ieee80211_check_tim(ptr noundef nonnull %26, i32 noundef %25, i32 noundef %27) #2 %29 = load i32, ptr %0, align 4, !tbaa !18 %30 = icmp eq i32 %28, %29 br i1 %30, label %33, label %31 31: ; preds = %23 store i32 %28, ptr %0, align 4, !tbaa !18 %32 = tail call i32 @p54_set_ps(ptr noundef nonnull %0) #2 br label %33 33: ; preds = %23, %31, %19, %13, %9, %2 ret void } declare i32 @ieee80211_is_beacon(i32 noundef) local_unnamed_addr #1 declare i32 @ether_addr_equal_64bits(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @p54_find_ie(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_check_tim(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @p54_set_ps(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 = !{!"sk_buff", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"ieee80211_hdr", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 4} !14 = !{!"p54_common", !12, i64 0, !12, i64 4, !12, i64 8} !15 = !{!11, !12, i64 0} !16 = !{!14, !12, i64 8} !17 = !{!12, !12, i64 0} !18 = !{!14, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intersil/p54/extr_txrx.c_p54_pspoll_workaround.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intersil/p54/extr_txrx.c_p54_pspoll_workaround.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WLAN_EID_TIM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @p54_pspoll_workaround], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @p54_pspoll_workaround(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !6 %4 = inttoptr i64 %3 to ptr %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @ieee80211_is_beacon(i32 noundef %6) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %33, label %9 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %0, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = icmp eq i32 %11, 0 br i1 %12, label %33, label %13 13: ; preds = %9 %14 = load i32, ptr %4, align 4, !tbaa !16 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load i32, ptr %15, align 4, !tbaa !17 %17 = tail call i32 @ether_addr_equal_64bits(i32 noundef %14, i32 noundef %16) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %33, label %19 19: ; preds = %13 %20 = load i32, ptr @WLAN_EID_TIM, align 4, !tbaa !18 %21 = tail call ptr @p54_find_ie(ptr noundef nonnull %1, i32 noundef %20) #2 %22 = icmp eq ptr %21, null br i1 %22, label %33, label %23 23: ; preds = %19 %24 = getelementptr inbounds i8, ptr %21, i64 4 %25 = load i32, ptr %24, align 4, !tbaa !18 %26 = getelementptr inbounds i8, ptr %21, i64 8 %27 = load i32, ptr %10, align 4, !tbaa !14 %28 = tail call i32 @ieee80211_check_tim(ptr noundef nonnull %26, i32 noundef %25, i32 noundef %27) #2 %29 = load i32, ptr %0, align 4, !tbaa !19 %30 = icmp eq i32 %28, %29 br i1 %30, label %33, label %31 31: ; preds = %23 store i32 %28, ptr %0, align 4, !tbaa !19 %32 = tail call i32 @p54_set_ps(ptr noundef nonnull %0) #2 br label %33 33: ; preds = %23, %31, %19, %13, %9, %2 ret void } declare i32 @ieee80211_is_beacon(i32 noundef) local_unnamed_addr #1 declare i32 @ether_addr_equal_64bits(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @p54_find_ie(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_check_tim(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @p54_set_ps(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 = !{!"sk_buff", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 4} !12 = !{!"ieee80211_hdr", !13, i64 0, !13, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!15, !13, i64 4} !15 = !{!"p54_common", !13, i64 0, !13, i64 4, !13, i64 8} !16 = !{!12, !13, i64 0} !17 = !{!15, !13, i64 8} !18 = !{!13, !13, i64 0} !19 = !{!15, !13, i64 0}
linux_drivers_net_wireless_intersil_p54_extr_txrx.c_p54_pspoll_workaround
; ModuleID = 'AnghaBench/reactos/dll/win32/msacm32/extr_pcmconverter.c_cvtSM88K.c' source_filename = "AnghaBench/reactos/dll/win32/msacm32/extr_pcmconverter.c_cvtSM88K.c" target datalayout = "e-m:e-p270:32:32-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 [14 x i8] c"(%p, %d, %p)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @cvtSM88K], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cvtSM88K(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %1, ptr noundef %2) #2 %5 = icmp eq i32 %1, 0 br i1 %5, label %19, label %6 6: ; preds = %3, %6 %7 = phi ptr [ %16, %6 ], [ %2, %3 ] %8 = phi i32 [ %10, %6 ], [ %1, %3 ] %9 = phi ptr [ %17, %6 ], [ %0, %3 ] %10 = add nsw i32 %8, -1 %11 = load i8, ptr %9, align 1, !tbaa !5 %12 = getelementptr inbounds i8, ptr %9, i64 1 %13 = load i8, ptr %12, align 1, !tbaa !5 %14 = tail call i32 @M8(i8 noundef zeroext %11, i8 noundef zeroext %13) #2 %15 = trunc i32 %14 to i8 %16 = getelementptr inbounds i8, ptr %7, i64 1 store i8 %15, ptr %7, align 1, !tbaa !5 %17 = getelementptr inbounds i8, ptr %9, i64 2 %18 = icmp eq i32 %10, 0 br i1 %18, label %19, label %6, !llvm.loop !8 19: ; preds = %6, %3 ret void } declare i32 @TRACE(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @M8(i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/dll/win32/msacm32/extr_pcmconverter.c_cvtSM88K.c' source_filename = "AnghaBench/reactos/dll/win32/msacm32/extr_pcmconverter.c_cvtSM88K.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 [14 x i8] c"(%p, %d, %p)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @cvtSM88K], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cvtSM88K(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %1, ptr noundef %2) #2 %5 = icmp eq i32 %1, 0 br i1 %5, label %19, label %6 6: ; preds = %3, %6 %7 = phi ptr [ %16, %6 ], [ %2, %3 ] %8 = phi i32 [ %10, %6 ], [ %1, %3 ] %9 = phi ptr [ %17, %6 ], [ %0, %3 ] %10 = add nsw i32 %8, -1 %11 = load i8, ptr %9, align 1, !tbaa !6 %12 = getelementptr inbounds i8, ptr %9, i64 1 %13 = load i8, ptr %12, align 1, !tbaa !6 %14 = tail call i32 @M8(i8 noundef zeroext %11, i8 noundef zeroext %13) #2 %15 = trunc i32 %14 to i8 %16 = getelementptr inbounds i8, ptr %7, i64 1 store i8 %15, ptr %7, align 1, !tbaa !6 %17 = getelementptr inbounds i8, ptr %9, i64 2 %18 = icmp eq i32 %10, 0 br i1 %18, label %19, label %6, !llvm.loop !9 19: ; preds = %6, %3 ret void } declare i32 @TRACE(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @M8(i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
reactos_dll_win32_msacm32_extr_pcmconverter.c_cvtSM88K
; ModuleID = 'AnghaBench/freebsd/sys/dev/le/extr_if_le_ledma.c_le_dma_rdcsr.c' source_filename = "AnghaBench/freebsd/sys/dev/le/extr_if_le_ledma.c_le_dma_rdcsr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LEREG1_RAP = dso_local local_unnamed_addr global i32 0, align 4 @BUS_SPACE_BARRIER_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @LEREG1_RDP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @le_dma_rdcsr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @le_dma_rdcsr(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr @LEREG1_RAP, align 4, !tbaa !10 %5 = tail call i32 @bus_write_2(i32 noundef %3, i32 noundef %4, i32 noundef %1) #2 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = load i32, ptr @LEREG1_RAP, align 4, !tbaa !10 %8 = load i32, ptr @BUS_SPACE_BARRIER_WRITE, align 4, !tbaa !10 %9 = tail call i32 @bus_barrier(i32 noundef %6, i32 noundef %7, i32 noundef 2, i32 noundef %8) #2 %10 = load i32, ptr %0, align 4, !tbaa !5 %11 = load i32, ptr @LEREG1_RDP, align 4, !tbaa !10 %12 = tail call i32 @bus_read_2(i32 noundef %10, i32 noundef %11) #2 ret i32 %12 } declare i32 @bus_write_2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_barrier(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_read_2(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 = !{!"le_dma_softc", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/le/extr_if_le_ledma.c_le_dma_rdcsr.c' source_filename = "AnghaBench/freebsd/sys/dev/le/extr_if_le_ledma.c_le_dma_rdcsr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LEREG1_RAP = common local_unnamed_addr global i32 0, align 4 @BUS_SPACE_BARRIER_WRITE = common local_unnamed_addr global i32 0, align 4 @LEREG1_RDP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @le_dma_rdcsr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @le_dma_rdcsr(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr @LEREG1_RAP, align 4, !tbaa !11 %5 = tail call i32 @bus_write_2(i32 noundef %3, i32 noundef %4, i32 noundef %1) #2 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = load i32, ptr @LEREG1_RAP, align 4, !tbaa !11 %8 = load i32, ptr @BUS_SPACE_BARRIER_WRITE, align 4, !tbaa !11 %9 = tail call i32 @bus_barrier(i32 noundef %6, i32 noundef %7, i32 noundef 2, i32 noundef %8) #2 %10 = load i32, ptr %0, align 4, !tbaa !6 %11 = load i32, ptr @LEREG1_RDP, align 4, !tbaa !11 %12 = tail call i32 @bus_read_2(i32 noundef %10, i32 noundef %11) #2 ret i32 %12 } declare i32 @bus_write_2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_barrier(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_read_2(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 = !{!"le_dma_softc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
freebsd_sys_dev_le_extr_if_le_ledma.c_le_dma_rdcsr
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_texture.c_wined3d_texture_use_pbo.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_texture.c_wined3d_texture_use_pbo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.wined3d_texture = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32, i32, ptr } @WINED3D_RESOURCE_ACCESS_CPU = dso_local local_unnamed_addr global i32 0, align 4 @WINED3DUSAGE_DYNAMIC = dso_local local_unnamed_addr global i32 0, align 4 @ARB_PIXEL_BUFFER_OBJECT = dso_local local_unnamed_addr global i64 0, align 8 @WINED3D_TEXTURE_PIN_SYSMEM = dso_local local_unnamed_addr global i32 0, align 4 @WINED3D_TEXTURE_COND_NP2_EMULATED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wined3d_texture_use_pbo], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @wined3d_texture_use_pbo(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.wined3d_texture, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr @WINED3D_RESOURCE_ACCESS_CPU, align 4, !tbaa !12 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %33 8: ; preds = %2 %9 = getelementptr inbounds %struct.wined3d_texture, ptr %0, i64 0, i32 1, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = load i32, ptr @WINED3DUSAGE_DYNAMIC, align 4, !tbaa !12 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 br i1 %13, label %33, label %14 14: ; preds = %8 %15 = load ptr, ptr %1, align 8, !tbaa !14 %16 = load i64, ptr @ARB_PIXEL_BUFFER_OBJECT, align 8, !tbaa !16 %17 = getelementptr inbounds i64, ptr %15, i64 %16 %18 = load i64, ptr %17, align 8, !tbaa !16 %19 = icmp eq i64 %18, 0 br i1 %19, label %33, label %20 20: ; preds = %14 %21 = getelementptr inbounds %struct.wined3d_texture, ptr %0, i64 0, i32 1, i32 2 %22 = load ptr, ptr %21, align 8, !tbaa !18 %23 = load i32, ptr %22, align 4, !tbaa !19 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %33 25: ; preds = %20 %26 = load i32, ptr %0, align 8, !tbaa !21 %27 = load i32, ptr @WINED3D_TEXTURE_PIN_SYSMEM, align 4, !tbaa !12 %28 = load i32, ptr @WINED3D_TEXTURE_COND_NP2_EMULATED, align 4, !tbaa !12 %29 = or i32 %28, %27 %30 = and i32 %29, %26 %31 = icmp eq i32 %30, 0 %32 = zext i1 %31 to i32 br label %33 33: ; preds = %25, %20, %14, %8, %2 %34 = phi i32 [ 0, %20 ], [ 0, %14 ], [ 0, %8 ], [ 0, %2 ], [ %32, %25 ] ret i32 %34 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"wined3d_texture", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !11, i64 8} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 12} !14 = !{!15, !11, i64 0} !15 = !{!"wined3d_gl_info", !11, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !8, i64 0} !18 = !{!6, !11, i64 16} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_3__", !7, i64 0} !21 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_texture.c_wined3d_texture_use_pbo.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_texture.c_wined3d_texture_use_pbo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WINED3D_RESOURCE_ACCESS_CPU = common local_unnamed_addr global i32 0, align 4 @WINED3DUSAGE_DYNAMIC = common local_unnamed_addr global i32 0, align 4 @ARB_PIXEL_BUFFER_OBJECT = common local_unnamed_addr global i64 0, align 8 @WINED3D_TEXTURE_PIN_SYSMEM = common local_unnamed_addr global i32 0, align 4 @WINED3D_TEXTURE_COND_NP2_EMULATED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wined3d_texture_use_pbo], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @wined3d_texture_use_pbo(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr @WINED3D_RESOURCE_ACCESS_CPU, align 4, !tbaa !13 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %33 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %0, i64 12 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = load i32, ptr @WINED3DUSAGE_DYNAMIC, align 4, !tbaa !13 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 br i1 %13, label %33, label %14 14: ; preds = %8 %15 = load ptr, ptr %1, align 8, !tbaa !15 %16 = load i64, ptr @ARB_PIXEL_BUFFER_OBJECT, align 8, !tbaa !17 %17 = getelementptr inbounds i64, ptr %15, i64 %16 %18 = load i64, ptr %17, align 8, !tbaa !17 %19 = icmp eq i64 %18, 0 br i1 %19, label %33, label %20 20: ; preds = %14 %21 = getelementptr inbounds i8, ptr %0, i64 16 %22 = load ptr, ptr %21, align 8, !tbaa !19 %23 = load i32, ptr %22, align 4, !tbaa !20 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %33 25: ; preds = %20 %26 = load i32, ptr %0, align 8, !tbaa !22 %27 = load i32, ptr @WINED3D_TEXTURE_PIN_SYSMEM, align 4, !tbaa !13 %28 = load i32, ptr @WINED3D_TEXTURE_COND_NP2_EMULATED, align 4, !tbaa !13 %29 = or i32 %28, %27 %30 = and i32 %29, %26 %31 = icmp eq i32 %30, 0 %32 = zext i1 %31 to i32 br label %33 33: ; preds = %25, %20, %14, %8, %2 %34 = phi i32 [ 0, %20 ], [ 0, %14 ], [ 0, %8 ], [ 0, %2 ], [ %32, %25 ] ret i32 %34 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"wined3d_texture", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !12, i64 8} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 12} !15 = !{!16, !12, i64 0} !16 = !{!"wined3d_gl_info", !12, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"long", !9, i64 0} !19 = !{!7, !12, i64 16} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_3__", !8, i64 0} !22 = !{!7, !8, i64 0}
reactos_dll_directx_wine_wined3d_extr_texture.c_wined3d_texture_use_pbo
; ModuleID = 'AnghaBench/linux/net/dcb/extr_dcbnl.c_dcbnl_pgtx_setcfg.c' source_filename = "AnghaBench/linux/net/dcb/extr_dcbnl.c_dcbnl_pgtx_setcfg.c" target datalayout = "e-m:e-p270:32:32-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 @dcbnl_pgtx_setcfg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dcbnl_pgtx_setcfg(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = tail call i32 @__dcbnl_pg_setcfg(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef 0) #2 ret i32 %6 } declare i32 @__dcbnl_pg_setcfg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/net/dcb/extr_dcbnl.c_dcbnl_pgtx_setcfg.c' source_filename = "AnghaBench/linux/net/dcb/extr_dcbnl.c_dcbnl_pgtx_setcfg.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 @dcbnl_pgtx_setcfg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dcbnl_pgtx_setcfg(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = tail call i32 @__dcbnl_pg_setcfg(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef 0) #2 ret i32 %6 } declare i32 @__dcbnl_pg_setcfg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_net_dcb_extr_dcbnl.c_dcbnl_pgtx_setcfg
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_i915_irq.c_intel_hpd_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_i915_irq.c_intel_hpd_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @intel_hpd_init(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 %3(ptr noundef nonnull %0) #1 br label %7 7: ; preds = %5, %1 ret void } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"drm_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"drm_i915_private", !12, i64 0} !12 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_i915_irq.c_intel_hpd_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_i915_irq.c_intel_hpd_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define void @intel_hpd_init(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 %3(ptr noundef nonnull %0) #1 br label %7 7: ; preds = %5, %1 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"drm_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"drm_i915_private", !13, i64 0} !13 = !{!"TYPE_2__", !8, i64 0}
fastsocket_kernel_drivers_gpu_drm_i915_extr_i915_irq.c_intel_hpd_init
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_hevc_mc_uniw_msa.c_hevc_uniwgt_copy_48w_msa.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_hevc_mc_uniw_msa.c_hevc_uniwgt_copy_48w_msa.c" target datalayout = "e-m:e-p270:32:32-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 @hevc_uniwgt_copy_48w_msa], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hevc_uniwgt_copy_48w_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = and i32 %5, 65535 %10 = tail call i32 @__msa_fill_w(i32 noundef %9) #2 %11 = tail call i32 @__msa_fill_h(i32 noundef %6) #2 %12 = tail call i32 @__msa_fill_w(i32 noundef %7) #2 %13 = icmp ult i32 %4, 2 br i1 %13, label %50, label %14 14: ; preds = %8 %15 = ashr i32 %4, 1 %16 = sext i32 %1 to i64 %17 = sext i32 %3 to i64 br label %18 18: ; preds = %14, %18 %19 = phi ptr [ %0, %14 ], [ %26, %18 ] %20 = phi ptr [ %2, %14 ], [ %48, %18 ] %21 = phi i32 [ %15, %14 ], [ %22, %18 ] %22 = add nsw i32 %21, -1 %23 = tail call i32 @LD_SB3(ptr noundef %19, i32 noundef 16, i32 undef, i32 undef, i32 undef) #2 %24 = getelementptr inbounds i32, ptr %19, i64 %16 %25 = tail call i32 @LD_SB3(ptr noundef %24, i32 noundef 16, i32 undef, i32 undef, i32 undef) #2 %26 = getelementptr inbounds i32, ptr %24, i64 %16 %27 = tail call i32 @ILVRL_B2_SH(i32 0, i32 undef, i32 noundef undef, i32 noundef undef) #2 %28 = tail call i32 @ILVRL_B2_SH(i32 0, i32 undef, i32 noundef undef, i32 noundef undef) #2 %29 = tail call i32 @ILVRL_B2_SH(i32 0, i32 undef, i32 noundef undef, i32 noundef undef) #2 %30 = tail call i32 @ILVRL_B2_SH(i32 0, i32 undef, i32 noundef undef, i32 noundef undef) #2 %31 = tail call i32 @ILVRL_B2_SH(i32 0, i32 undef, i32 noundef undef, i32 noundef undef) #2 %32 = tail call i32 @ILVRL_B2_SH(i32 0, i32 undef, i32 noundef undef, i32 noundef undef) #2 %33 = tail call i32 @SLLI_4V(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef 6) #2 %34 = tail call i32 @SLLI_4V(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef 6) #2 %35 = tail call i32 @SLLI_4V(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef 6) #2 %36 = tail call i32 @HEVC_UNIW_RND_CLIP4_MAX_SATU_H(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %37 = tail call i32 @HEVC_UNIW_RND_CLIP4_MAX_SATU_H(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %38 = tail call i32 @HEVC_UNIW_RND_CLIP4_MAX_SATU_H(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %39 = tail call i32 @PCKEV_B3_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %40 = tail call i32 @PCKEV_B3_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %41 = tail call i32 @ST_UB2(i32 noundef undef, i32 noundef undef, ptr noundef %20, i32 noundef 16) #2 %42 = getelementptr inbounds i32, ptr %20, i64 32 %43 = tail call i32 @ST_UB(i32 noundef undef, ptr noundef nonnull %42) #2 %44 = getelementptr inbounds i32, ptr %20, i64 %17 %45 = tail call i32 @ST_UB2(i32 noundef undef, i32 noundef undef, ptr noundef %44, i32 noundef 16) #2 %46 = getelementptr inbounds i32, ptr %44, i64 32 %47 = tail call i32 @ST_UB(i32 noundef undef, ptr noundef nonnull %46) #2 %48 = getelementptr inbounds i32, ptr %44, i64 %17 %49 = icmp eq i32 %22, 0 br i1 %49, label %50, label %18, !llvm.loop !5 50: ; preds = %18, %8 ret void } declare i32 @__msa_fill_w(i32 noundef) local_unnamed_addr #1 declare i32 @__msa_fill_h(i32 noundef) local_unnamed_addr #1 declare i32 @LD_SB3(ptr noundef, i32 noundef, i32, i32, i32) local_unnamed_addr #1 declare i32 @ILVRL_B2_SH(i32, i32, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SLLI_4V(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @HEVC_UNIW_RND_CLIP4_MAX_SATU_H(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PCKEV_B3_UB(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ST_UB2(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ST_UB(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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_hevc_mc_uniw_msa.c_hevc_uniwgt_copy_48w_msa.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_hevc_mc_uniw_msa.c_hevc_uniwgt_copy_48w_msa.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 @hevc_uniwgt_copy_48w_msa], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hevc_uniwgt_copy_48w_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = and i32 %5, 65535 %10 = tail call i32 @__msa_fill_w(i32 noundef %9) #2 %11 = tail call i32 @__msa_fill_h(i32 noundef %6) #2 %12 = tail call i32 @__msa_fill_w(i32 noundef %7) #2 %13 = icmp ult i32 %4, 2 br i1 %13, label %50, label %14 14: ; preds = %8 %15 = ashr i32 %4, 1 %16 = sext i32 %1 to i64 %17 = sext i32 %3 to i64 br label %18 18: ; preds = %14, %18 %19 = phi ptr [ %0, %14 ], [ %26, %18 ] %20 = phi ptr [ %2, %14 ], [ %48, %18 ] %21 = phi i32 [ %15, %14 ], [ %22, %18 ] %22 = add nsw i32 %21, -1 %23 = tail call i32 @LD_SB3(ptr noundef %19, i32 noundef 16, i64 0, i64 0, i64 0) #2 %24 = getelementptr inbounds i32, ptr %19, i64 %16 %25 = tail call i32 @LD_SB3(ptr noundef %24, i32 noundef 16, i64 0, i64 0, i64 0) #2 %26 = getelementptr inbounds i32, ptr %24, i64 %16 %27 = tail call i32 @ILVRL_B2_SH(i64 0, i64 0, i32 noundef undef, i32 noundef undef) #2 %28 = tail call i32 @ILVRL_B2_SH(i64 0, i64 0, i32 noundef undef, i32 noundef undef) #2 %29 = tail call i32 @ILVRL_B2_SH(i64 0, i64 0, i32 noundef undef, i32 noundef undef) #2 %30 = tail call i32 @ILVRL_B2_SH(i64 0, i64 0, i32 noundef undef, i32 noundef undef) #2 %31 = tail call i32 @ILVRL_B2_SH(i64 0, i64 0, i32 noundef undef, i32 noundef undef) #2 %32 = tail call i32 @ILVRL_B2_SH(i64 0, i64 0, i32 noundef undef, i32 noundef undef) #2 %33 = tail call i32 @SLLI_4V(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef 6) #2 %34 = tail call i32 @SLLI_4V(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef 6) #2 %35 = tail call i32 @SLLI_4V(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef 6) #2 %36 = tail call i32 @HEVC_UNIW_RND_CLIP4_MAX_SATU_H(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %37 = tail call i32 @HEVC_UNIW_RND_CLIP4_MAX_SATU_H(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %38 = tail call i32 @HEVC_UNIW_RND_CLIP4_MAX_SATU_H(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %39 = tail call i32 @PCKEV_B3_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %40 = tail call i32 @PCKEV_B3_UB(i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %41 = tail call i32 @ST_UB2(i32 noundef undef, i32 noundef undef, ptr noundef %20, i32 noundef 16) #2 %42 = getelementptr inbounds i8, ptr %20, i64 128 %43 = tail call i32 @ST_UB(i32 noundef undef, ptr noundef nonnull %42) #2 %44 = getelementptr inbounds i32, ptr %20, i64 %17 %45 = tail call i32 @ST_UB2(i32 noundef undef, i32 noundef undef, ptr noundef %44, i32 noundef 16) #2 %46 = getelementptr inbounds i8, ptr %44, i64 128 %47 = tail call i32 @ST_UB(i32 noundef undef, ptr noundef nonnull %46) #2 %48 = getelementptr inbounds i32, ptr %44, i64 %17 %49 = icmp eq i32 %22, 0 br i1 %49, label %50, label %18, !llvm.loop !6 50: ; preds = %18, %8 ret void } declare i32 @__msa_fill_w(i32 noundef) local_unnamed_addr #1 declare i32 @__msa_fill_h(i32 noundef) local_unnamed_addr #1 declare i32 @LD_SB3(ptr noundef, i32 noundef, i64, i64, i64) local_unnamed_addr #1 declare i32 @ILVRL_B2_SH(i64, i64, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SLLI_4V(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @HEVC_UNIW_RND_CLIP4_MAX_SATU_H(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PCKEV_B3_UB(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ST_UB2(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ST_UB(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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
FFmpeg_libavcodec_mips_extr_hevc_mc_uniw_msa.c_hevc_uniwgt_copy_48w_msa
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_gtucintel_guc.h_intel_guc_disable_msg.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_gtucintel_guc.h_intel_guc_disable_msg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.intel_guc = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @intel_guc_disable_msg], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @intel_guc_disable_msg(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @spin_lock_irq(ptr noundef %0) #2 %4 = xor i32 %1, -1 %5 = getelementptr inbounds %struct.intel_guc, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = and i32 %6, %4 store i32 %7, ptr %5, align 4, !tbaa !5 %8 = tail call i32 @spin_unlock_irq(ptr noundef %0) #2 ret void } declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(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, !7, i64 4} !6 = !{!"intel_guc", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_gtucintel_guc.h_intel_guc_disable_msg.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_gtucintel_guc.h_intel_guc_disable_msg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @intel_guc_disable_msg], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @intel_guc_disable_msg(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @spin_lock_irq(ptr noundef %0) #2 %4 = xor i32 %1, -1 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = and i32 %6, %4 store i32 %7, ptr %5, align 4, !tbaa !6 %8 = tail call i32 @spin_unlock_irq(ptr noundef %0) #2 ret void } declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(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, !8, i64 4} !7 = !{!"intel_guc", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_i915_extr_gtucintel_guc.h_intel_guc_disable_msg
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/services/extr_authzone.c_have_probe_targets.c' source_filename = "AnghaBench/freebsd/contrib/unbound/services/extr_authzone.c_have_probe_targets.c" target datalayout = "e-m:e-p270:32:32-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.auth_master = type { i64, i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @have_probe_targets], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal noundef i32 @have_probe_targets(ptr noundef readonly %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %15, label %3 3: ; preds = %1, %11 %4 = phi ptr [ %13, %11 ], [ %0, %1 ] %5 = getelementptr inbounds %struct.auth_master, ptr %4, i64 0, i32 1 %6 = load i32, ptr %5, align 8, !tbaa !5 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %3 %9 = load i64, ptr %4, align 8, !tbaa !12 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %3, %8 %12 = getelementptr inbounds %struct.auth_master, ptr %4, i64 0, i32 2 %13 = load ptr, ptr %12, align 8, !tbaa !13 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %3, !llvm.loop !14 15: ; preds = %8, %11, %1 %16 = phi i32 [ 0, %1 ], [ 0, %11 ], [ 1, %8 ] ret i32 %16 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"auth_master", !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 = !{!6, !7, i64 0} !13 = !{!6, !11, i64 16} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/services/extr_authzone.c_have_probe_targets.c' source_filename = "AnghaBench/freebsd/contrib/unbound/services/extr_authzone.c_have_probe_targets.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 @have_probe_targets], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @have_probe_targets(ptr noundef readonly %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %15, label %3 3: ; preds = %1, %11 %4 = phi ptr [ %13, %11 ], [ %0, %1 ] %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load i32, ptr %5, align 8, !tbaa !6 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %3 %9 = load i64, ptr %4, align 8, !tbaa !13 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %3, %8 %12 = getelementptr inbounds i8, ptr %4, i64 16 %13 = load ptr, ptr %12, align 8, !tbaa !14 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %3, !llvm.loop !15 15: ; preds = %8, %11, %1 %16 = phi i32 [ 0, %1 ], [ 0, %11 ], [ 1, %8 ] ret i32 %16 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"auth_master", !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 = !{!7, !8, i64 0} !14 = !{!7, !12, i64 16} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_unbound_services_extr_authzone.c_have_probe_targets
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_vino.c_vino_streamon.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_vino.c_vino_streamon.c" target datalayout = "e-m:e-p270:32:32-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.vino_channel_settings = type { i32, i32, i64 } @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"no buffers allocated\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"vino_queue_get_incoming() failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"couldn't start capture\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @vino_streamon], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vino_streamon(ptr noundef %0, ptr nocapture readnone %1, i32 %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @video_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = getelementptr inbounds %struct.vino_channel_settings, ptr %5, i64 0, i32 2 %7 = load i64, ptr %6, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %3 %10 = load i32, ptr @EBUSY, align 4, !tbaa !11 %11 = sub nsw i32 0, %10 br label %40 12: ; preds = %3 %13 = load i32, ptr %5, align 8, !tbaa !12 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %40 15: ; preds = %12 %16 = getelementptr inbounds %struct.vino_channel_settings, ptr %5, i64 0, i32 1 %17 = tail call i32 @vino_queue_get_length(ptr noundef nonnull %16) #3 %18 = icmp slt i32 %17, 1 br i1 %18, label %19, label %23 19: ; preds = %15 %20 = tail call i32 @dprintk(ptr noundef nonnull @.str) #3 %21 = load i32, ptr @EINVAL, align 4, !tbaa !11 %22 = sub nsw i32 0, %21 br label %40 23: ; preds = %15 %24 = call i32 @vino_queue_get_incoming(ptr noundef nonnull %16, ptr noundef nonnull %4) #3 %25 = icmp eq i32 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %23 %27 = call i32 @dprintk(ptr noundef nonnull @.str.1) #3 %28 = load i32, ptr @EINVAL, align 4, !tbaa !11 %29 = sub nsw i32 0, %28 br label %40 30: ; preds = %23 store i32 1, ptr %5, align 8, !tbaa !12 %31 = load i32, ptr %4, align 4, !tbaa !11 %32 = icmp eq i32 %31, 0 br i1 %32, label %40, label %33 33: ; preds = %30 %34 = call i32 @vino_capture_next(ptr noundef nonnull %5, i32 noundef 1) #3 %35 = icmp eq i32 %34, 0 br i1 %35, label %40, label %36 36: ; preds = %33 store i32 0, ptr %5, align 8, !tbaa !12 %37 = call i32 @dprintk(ptr noundef nonnull @.str.2) #3 %38 = load i32, ptr @EINVAL, align 4, !tbaa !11 %39 = sub nsw i32 0, %38 br label %40 40: ; preds = %30, %33, %12, %36, %26, %19, %9 %41 = phi i32 [ %11, %9 ], [ %22, %19 ], [ %29, %26 ], [ %39, %36 ], [ 0, %12 ], [ 0, %33 ], [ 0, %30 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @video_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @vino_queue_get_length(ptr noundef) local_unnamed_addr #2 declare i32 @dprintk(ptr noundef) local_unnamed_addr #2 declare i32 @vino_queue_get_incoming(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @vino_capture_next(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, !10, i64 8} !6 = !{!"vino_channel_settings", !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 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_vino.c_vino_streamon.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_vino.c_vino_streamon.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EBUSY = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"no buffers allocated\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"vino_queue_get_incoming() failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"couldn't start capture\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @vino_streamon], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @vino_streamon(ptr noundef %0, ptr nocapture readnone %1, i32 %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @video_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %3 %10 = load i32, ptr @EBUSY, align 4, !tbaa !12 %11 = sub nsw i32 0, %10 br label %40 12: ; preds = %3 %13 = load i32, ptr %5, align 8, !tbaa !13 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %40 15: ; preds = %12 %16 = getelementptr inbounds i8, ptr %5, i64 4 %17 = tail call i32 @vino_queue_get_length(ptr noundef nonnull %16) #3 %18 = icmp slt i32 %17, 1 br i1 %18, label %19, label %23 19: ; preds = %15 %20 = tail call i32 @dprintk(ptr noundef nonnull @.str) #3 %21 = load i32, ptr @EINVAL, align 4, !tbaa !12 %22 = sub nsw i32 0, %21 br label %40 23: ; preds = %15 %24 = call i32 @vino_queue_get_incoming(ptr noundef nonnull %16, ptr noundef nonnull %4) #3 %25 = icmp eq i32 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %23 %27 = call i32 @dprintk(ptr noundef nonnull @.str.1) #3 %28 = load i32, ptr @EINVAL, align 4, !tbaa !12 %29 = sub nsw i32 0, %28 br label %40 30: ; preds = %23 store i32 1, ptr %5, align 8, !tbaa !13 %31 = load i32, ptr %4, align 4, !tbaa !12 %32 = icmp eq i32 %31, 0 br i1 %32, label %40, label %33 33: ; preds = %30 %34 = call i32 @vino_capture_next(ptr noundef nonnull %5, i32 noundef 1) #3 %35 = icmp eq i32 %34, 0 br i1 %35, label %40, label %36 36: ; preds = %33 store i32 0, ptr %5, align 8, !tbaa !13 %37 = call i32 @dprintk(ptr noundef nonnull @.str.2) #3 %38 = load i32, ptr @EINVAL, align 4, !tbaa !12 %39 = sub nsw i32 0, %38 br label %40 40: ; preds = %30, %33, %12, %36, %26, %19, %9 %41 = phi i32 [ %11, %9 ], [ %22, %19 ], [ %29, %26 ], [ %39, %36 ], [ 0, %12 ], [ 0, %33 ], [ 0, %30 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @video_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @vino_queue_get_length(ptr noundef) local_unnamed_addr #2 declare i32 @dprintk(ptr noundef) local_unnamed_addr #2 declare i32 @vino_queue_get_incoming(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @vino_capture_next(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, !11, i64 8} !7 = !{!"vino_channel_settings", !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 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_media_video_extr_vino.c_vino_streamon
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8185b_init.c_PlatformIORead2Byte.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8185b_init.c_PlatformIORead2Byte.c" target datalayout = "e-m:e-p270:32:32-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 @PlatformIORead2Byte(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @read_nic_word(ptr noundef %0, i32 noundef %1) #2 ret i32 %3 } declare i32 @read_nic_word(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/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8185b_init.c_PlatformIORead2Byte.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8185b_init.c_PlatformIORead2Byte.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 @PlatformIORead2Byte(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @read_nic_word(ptr noundef %0, i32 noundef %1) #2 ret i32 %3 } declare i32 @read_nic_word(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)"}
fastsocket_kernel_drivers_staging_rtl8187se_extr_r8185b_init.c_PlatformIORead2Byte
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-opal.c_opal_set_rtc_time.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-opal.c_opal_set_rtc_time.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @OPAL_BUSY = dso_local local_unnamed_addr global i64 0, align 8 @OPAL_BUSY_EVENT = dso_local local_unnamed_addr global i64 0, align 8 @OPAL_BUSY_DELAY_MS = dso_local local_unnamed_addr global i32 0, align 4 @OPAL_HARDWARE = dso_local local_unnamed_addr global i64 0, align 8 @OPAL_INTERNAL_ERROR = dso_local local_unnamed_addr global i64 0, align 8 @OPAL_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @opal_set_rtc_time], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @opal_set_rtc_time(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = load i64, ptr @OPAL_BUSY, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !9 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !9 %6 = call i32 @tm_to_opal(ptr noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %7 = load i64, ptr @OPAL_BUSY, align 8, !tbaa !5 %8 = icmp eq i64 %5, %7 %9 = load i64, ptr @OPAL_BUSY_EVENT, align 8 %10 = icmp eq i64 %5, %9 %11 = select i1 %8, i1 true, i1 %10 br i1 %11, label %12, label %49 12: ; preds = %2, %41 %13 = phi i32 [ %43, %41 ], [ 10, %2 ] %14 = load i32, ptr %3, align 4, !tbaa !9 %15 = load i32, ptr %4, align 4, !tbaa !9 %16 = call i64 @opal_rtc_write(i32 noundef %14, i32 noundef %15) #3 %17 = load i64, ptr @OPAL_BUSY_EVENT, align 8, !tbaa !5 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %23 19: ; preds = %12 %20 = load i32, ptr @OPAL_BUSY_DELAY_MS, align 4, !tbaa !9 %21 = call i32 @msleep(i32 noundef %20) #3 %22 = call i32 @opal_poll_events(ptr noundef null) #3 br label %41 23: ; preds = %12 %24 = load i64, ptr @OPAL_BUSY, align 8, !tbaa !5 %25 = icmp eq i64 %16, %24 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i32, ptr @OPAL_BUSY_DELAY_MS, align 4, !tbaa !9 %28 = call i32 @msleep(i32 noundef %27) #3 br label %41 29: ; preds = %23 %30 = load i64, ptr @OPAL_HARDWARE, align 8, !tbaa !5 %31 = icmp eq i64 %16, %30 %32 = load i64, ptr @OPAL_INTERNAL_ERROR, align 8 %33 = icmp eq i64 %16, %32 %34 = select i1 %31, i1 true, i1 %33 br i1 %34, label %35, label %41 35: ; preds = %29 %36 = icmp eq i32 %13, 0 br i1 %36, label %41, label %37 37: ; preds = %35 %38 = add nsw i32 %13, -1 %39 = call i32 @msleep(i32 noundef 10) #3 %40 = load i64, ptr @OPAL_BUSY, align 8, !tbaa !5 br label %41 41: ; preds = %29, %26, %35, %37, %19 %42 = phi i64 [ %16, %19 ], [ %16, %26 ], [ %40, %37 ], [ %16, %35 ], [ %16, %29 ] %43 = phi i32 [ %13, %19 ], [ %13, %26 ], [ %38, %37 ], [ -1, %35 ], [ %13, %29 ] %44 = load i64, ptr @OPAL_BUSY, align 8, !tbaa !5 %45 = icmp eq i64 %42, %44 %46 = load i64, ptr @OPAL_BUSY_EVENT, align 8 %47 = icmp eq i64 %42, %46 %48 = select i1 %45, i1 true, i1 %47 br i1 %48, label %12, label %49, !llvm.loop !11 49: ; preds = %41, %2 %50 = phi i64 [ %5, %2 ], [ %42, %41 ] %51 = load i64, ptr @OPAL_SUCCESS, align 8, !tbaa !5 %52 = icmp eq i64 %50, %51 %53 = load i32, ptr @EIO, align 4 %54 = sub nsw i32 0, %53 %55 = select i1 %52, i32 0, i32 %54 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %55 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @tm_to_opal(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @opal_rtc_write(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @msleep(i32 noundef) local_unnamed_addr #2 declare i32 @opal_poll_events(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-opal.c_opal_set_rtc_time.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-opal.c_opal_set_rtc_time.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OPAL_BUSY = common local_unnamed_addr global i64 0, align 8 @OPAL_BUSY_EVENT = common local_unnamed_addr global i64 0, align 8 @OPAL_BUSY_DELAY_MS = common local_unnamed_addr global i32 0, align 4 @OPAL_HARDWARE = common local_unnamed_addr global i64 0, align 8 @OPAL_INTERNAL_ERROR = common local_unnamed_addr global i64 0, align 8 @OPAL_SUCCESS = common local_unnamed_addr global i64 0, align 8 @EIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @opal_set_rtc_time], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @opal_set_rtc_time(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = load i64, ptr @OPAL_BUSY, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !10 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !10 %6 = call i32 @tm_to_opal(ptr noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %7 = load i64, ptr @OPAL_BUSY, align 8, !tbaa !6 %8 = icmp eq i64 %5, %7 %9 = load i64, ptr @OPAL_BUSY_EVENT, align 8 %10 = icmp eq i64 %5, %9 %11 = select i1 %8, i1 true, i1 %10 br i1 %11, label %12, label %49 12: ; preds = %2, %41 %13 = phi i32 [ %43, %41 ], [ 10, %2 ] %14 = load i32, ptr %3, align 4, !tbaa !10 %15 = load i32, ptr %4, align 4, !tbaa !10 %16 = call i64 @opal_rtc_write(i32 noundef %14, i32 noundef %15) #3 %17 = load i64, ptr @OPAL_BUSY_EVENT, align 8, !tbaa !6 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %23 19: ; preds = %12 %20 = load i32, ptr @OPAL_BUSY_DELAY_MS, align 4, !tbaa !10 %21 = call i32 @msleep(i32 noundef %20) #3 %22 = call i32 @opal_poll_events(ptr noundef null) #3 br label %41 23: ; preds = %12 %24 = load i64, ptr @OPAL_BUSY, align 8, !tbaa !6 %25 = icmp eq i64 %16, %24 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i32, ptr @OPAL_BUSY_DELAY_MS, align 4, !tbaa !10 %28 = call i32 @msleep(i32 noundef %27) #3 br label %41 29: ; preds = %23 %30 = load i64, ptr @OPAL_HARDWARE, align 8, !tbaa !6 %31 = icmp eq i64 %16, %30 %32 = load i64, ptr @OPAL_INTERNAL_ERROR, align 8 %33 = icmp eq i64 %16, %32 %34 = select i1 %31, i1 true, i1 %33 br i1 %34, label %35, label %41 35: ; preds = %29 %36 = icmp eq i32 %13, 0 br i1 %36, label %41, label %37 37: ; preds = %35 %38 = add nsw i32 %13, -1 %39 = call i32 @msleep(i32 noundef 10) #3 %40 = load i64, ptr @OPAL_BUSY, align 8, !tbaa !6 br label %41 41: ; preds = %29, %26, %35, %37, %19 %42 = phi i64 [ %16, %19 ], [ %16, %26 ], [ %40, %37 ], [ %16, %35 ], [ %16, %29 ] %43 = phi i32 [ %13, %19 ], [ %13, %26 ], [ %38, %37 ], [ -1, %35 ], [ %13, %29 ] %44 = load i64, ptr @OPAL_BUSY, align 8, !tbaa !6 %45 = icmp eq i64 %42, %44 %46 = load i64, ptr @OPAL_BUSY_EVENT, align 8 %47 = icmp eq i64 %42, %46 %48 = select i1 %45, i1 true, i1 %47 br i1 %48, label %12, label %49, !llvm.loop !12 49: ; preds = %41, %2 %50 = phi i64 [ %5, %2 ], [ %42, %41 ] %51 = load i64, ptr @OPAL_SUCCESS, align 8, !tbaa !6 %52 = icmp eq i64 %50, %51 %53 = load i32, ptr @EIO, align 4 %54 = sub nsw i32 0, %53 %55 = select i1 %52, i32 0, i32 %54 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %55 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @tm_to_opal(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @opal_rtc_write(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @msleep(i32 noundef) local_unnamed_addr #2 declare i32 @opal_poll_events(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
linux_drivers_rtc_extr_rtc-opal.c_opal_set_rtc_time
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_api.c_tc_chain_notify_delete.c' source_filename = "AnghaBench/linux/net/sched/extr_cls_api.c_tc_chain_notify_delete.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NLMSG_GOODSIZE = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOBUFS = dso_local local_unnamed_addr global i32 0, align 4 @RTM_DELCHAIN = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @MSG_DONTWAIT = dso_local local_unnamed_addr global i32 0, align 4 @RTNLGRP_TC = dso_local local_unnamed_addr global i32 0, align 4 @NLM_F_ECHO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tc_chain_notify_delete], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tc_chain_notify_delete(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = icmp eq ptr %4, null br i1 %9, label %12, label %10 10: ; preds = %8 %11 = tail call i32 @NETLINK_CB(ptr noundef nonnull %4) #2 br label %12 12: ; preds = %8, %10 %13 = phi i32 [ %11, %10 ], [ 0, %8 ] %14 = load ptr, ptr %3, align 8, !tbaa !5 %15 = load i32, ptr @NLMSG_GOODSIZE, align 4, !tbaa !10 %16 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10 %17 = tail call ptr @alloc_skb(i32 noundef %15, i32 noundef %16) #2 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %12 %20 = load i32, ptr @ENOBUFS, align 4, !tbaa !10 %21 = sub nsw i32 0, %20 br label %41 22: ; preds = %12 %23 = load i32, ptr @RTM_DELCHAIN, align 4, !tbaa !10 %24 = tail call i64 @tc_chain_fill_node(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %14, ptr noundef nonnull %17, ptr noundef nonnull %3, i32 noundef %13, i32 noundef %5, i32 noundef %6, i32 noundef %23) #2 %25 = icmp slt i64 %24, 1 br i1 %25, label %26, label %30 26: ; preds = %22 %27 = tail call i32 @kfree_skb(ptr noundef nonnull %17) #2 %28 = load i32, ptr @EINVAL, align 4, !tbaa !10 %29 = sub nsw i32 0, %28 br label %41 30: ; preds = %22 %31 = icmp eq i32 %7, 0 br i1 %31, label %36, label %32 32: ; preds = %30 %33 = load i32, ptr %14, align 4, !tbaa !12 %34 = load i32, ptr @MSG_DONTWAIT, align 4, !tbaa !10 %35 = tail call i32 @netlink_unicast(i32 noundef %33, ptr noundef nonnull %17, i32 noundef %13, i32 noundef %34) #2 br label %41 36: ; preds = %30 %37 = load i32, ptr @RTNLGRP_TC, align 4, !tbaa !10 %38 = load i32, ptr @NLM_F_ECHO, align 4, !tbaa !10 %39 = and i32 %38, %6 %40 = tail call i32 @rtnetlink_send(ptr noundef nonnull %17, ptr noundef %14, i32 noundef %13, i32 noundef %37, i32 noundef %39) #2 br label %41 41: ; preds = %36, %32, %26, %19 %42 = phi i32 [ %29, %26 ], [ %35, %32 ], [ %40, %36 ], [ %21, %19 ] ret i32 %42 } declare i32 @NETLINK_CB(ptr noundef) local_unnamed_addr #1 declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @tc_chain_fill_node(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1 declare i32 @netlink_unicast(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtnetlink_send(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"tcf_block", !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 = !{!"net", !11, i64 0}
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_api.c_tc_chain_notify_delete.c' source_filename = "AnghaBench/linux/net/sched/extr_cls_api.c_tc_chain_notify_delete.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NLMSG_GOODSIZE = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOBUFS = common local_unnamed_addr global i32 0, align 4 @RTM_DELCHAIN = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @MSG_DONTWAIT = common local_unnamed_addr global i32 0, align 4 @RTNLGRP_TC = common local_unnamed_addr global i32 0, align 4 @NLM_F_ECHO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tc_chain_notify_delete], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tc_chain_notify_delete(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = icmp eq ptr %4, null br i1 %9, label %12, label %10 10: ; preds = %8 %11 = tail call i32 @NETLINK_CB(ptr noundef nonnull %4) #2 br label %12 12: ; preds = %8, %10 %13 = phi i32 [ %11, %10 ], [ 0, %8 ] %14 = load ptr, ptr %3, align 8, !tbaa !6 %15 = load i32, ptr @NLMSG_GOODSIZE, align 4, !tbaa !11 %16 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %17 = tail call ptr @alloc_skb(i32 noundef %15, i32 noundef %16) #2 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %12 %20 = load i32, ptr @ENOBUFS, align 4, !tbaa !11 %21 = sub nsw i32 0, %20 br label %41 22: ; preds = %12 %23 = load i32, ptr @RTM_DELCHAIN, align 4, !tbaa !11 %24 = tail call i64 @tc_chain_fill_node(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %14, ptr noundef nonnull %17, ptr noundef nonnull %3, i32 noundef %13, i32 noundef %5, i32 noundef %6, i32 noundef %23) #2 %25 = icmp slt i64 %24, 1 br i1 %25, label %26, label %30 26: ; preds = %22 %27 = tail call i32 @kfree_skb(ptr noundef nonnull %17) #2 %28 = load i32, ptr @EINVAL, align 4, !tbaa !11 %29 = sub nsw i32 0, %28 br label %41 30: ; preds = %22 %31 = icmp eq i32 %7, 0 br i1 %31, label %36, label %32 32: ; preds = %30 %33 = load i32, ptr %14, align 4, !tbaa !13 %34 = load i32, ptr @MSG_DONTWAIT, align 4, !tbaa !11 %35 = tail call i32 @netlink_unicast(i32 noundef %33, ptr noundef nonnull %17, i32 noundef %13, i32 noundef %34) #2 br label %41 36: ; preds = %30 %37 = load i32, ptr @RTNLGRP_TC, align 4, !tbaa !11 %38 = load i32, ptr @NLM_F_ECHO, align 4, !tbaa !11 %39 = and i32 %38, %6 %40 = tail call i32 @rtnetlink_send(ptr noundef nonnull %17, ptr noundef %14, i32 noundef %13, i32 noundef %37, i32 noundef %39) #2 br label %41 41: ; preds = %36, %32, %26, %19 %42 = phi i32 [ %29, %26 ], [ %35, %32 ], [ %40, %36 ], [ %21, %19 ] ret i32 %42 } declare i32 @NETLINK_CB(ptr noundef) local_unnamed_addr #1 declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @tc_chain_fill_node(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1 declare i32 @netlink_unicast(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtnetlink_send(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"tcf_block", !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 = !{!"net", !12, i64 0}
linux_net_sched_extr_cls_api.c_tc_chain_notify_delete
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/pxa/extr_e800_wm9712.c_e800_ac97_init.c' source_filename = "AnghaBench/fastsocket/kernel/sound/soc/pxa/extr_e800_wm9712.c_e800_ac97_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" @e800_dapm_widgets = dso_local local_unnamed_addr global i32 0, align 4 @audio_map = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @e800_ac97_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @e800_ac97_init(ptr noundef %0) #0 { %2 = load i32, ptr @e800_dapm_widgets, align 4, !tbaa !5 %3 = tail call i32 @ARRAY_SIZE(i32 noundef %2) #2 %4 = tail call i32 @snd_soc_dapm_new_controls(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 %5 = load i32, ptr @audio_map, align 4, !tbaa !5 %6 = tail call i32 @ARRAY_SIZE(i32 noundef %5) #2 %7 = tail call i32 @snd_soc_dapm_add_routes(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2 %8 = tail call i32 @snd_soc_dapm_sync(ptr noundef %0) #2 ret i32 0 } declare i32 @snd_soc_dapm_new_controls(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @snd_soc_dapm_add_routes(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_soc_dapm_sync(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/pxa/extr_e800_wm9712.c_e800_ac97_init.c' source_filename = "AnghaBench/fastsocket/kernel/sound/soc/pxa/extr_e800_wm9712.c_e800_ac97_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @e800_dapm_widgets = common local_unnamed_addr global i32 0, align 4 @audio_map = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @e800_ac97_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @e800_ac97_init(ptr noundef %0) #0 { %2 = load i32, ptr @e800_dapm_widgets, align 4, !tbaa !6 %3 = tail call i32 @ARRAY_SIZE(i32 noundef %2) #2 %4 = tail call i32 @snd_soc_dapm_new_controls(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 %5 = load i32, ptr @audio_map, align 4, !tbaa !6 %6 = tail call i32 @ARRAY_SIZE(i32 noundef %5) #2 %7 = tail call i32 @snd_soc_dapm_add_routes(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2 %8 = tail call i32 @snd_soc_dapm_sync(ptr noundef %0) #2 ret i32 0 } declare i32 @snd_soc_dapm_new_controls(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @snd_soc_dapm_add_routes(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_soc_dapm_sync(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_sound_soc_pxa_extr_e800_wm9712.c_e800_ac97_init
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-hotkey.c_obs_hotkeys_save_service.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-hotkey.c_obs_hotkeys_save_service.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @obs_hotkeys_save_service(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 (...) @lock() #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %1 %5 = tail call ptr @save_context_hotkeys(ptr noundef %0) #2 %6 = tail call i32 (...) @unlock() #2 br label %7 7: ; preds = %1, %4 %8 = phi ptr [ %5, %4 ], [ null, %1 ] ret ptr %8 } declare i32 @lock(...) local_unnamed_addr #1 declare ptr @save_context_hotkeys(ptr noundef) local_unnamed_addr #1 declare i32 @unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/obs-studio/libobs/extr_obs-hotkey.c_obs_hotkeys_save_service.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-hotkey.c_obs_hotkeys_save_service.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @obs_hotkeys_save_service(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @lock() #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %1 %5 = tail call ptr @save_context_hotkeys(ptr noundef %0) #2 %6 = tail call i32 @unlock() #2 br label %7 7: ; preds = %1, %4 %8 = phi ptr [ %5, %4 ], [ null, %1 ] ret ptr %8 } declare i32 @lock(...) local_unnamed_addr #1 declare ptr @save_context_hotkeys(ptr noundef) local_unnamed_addr #1 declare i32 @unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
obs-studio_libobs_extr_obs-hotkey.c_obs_hotkeys_save_service
; ModuleID = 'AnghaBench/freebsd/sys/amd64/amd64/extr_....kernsubr_syscall.c_syscallret.c' source_filename = "AnghaBench/freebsd/sys/amd64/amd64/extr_....kernsubr_syscall.c_syscallret.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32 } %struct.thread = type { i32, i32, ptr, i32, i32, %struct.syscall_args, ptr } %struct.syscall_args = type { i32 } %struct.proc = type { i32, i32, i32 } @TDP_FORKING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"fork() did not clear TDP_FORKING upon completion\00", align 1 @trap_enotcap = dso_local local_unnamed_addr global i64 0, align 8 @P2_TRAPCAP = dso_local local_unnamed_addr global i32 0, align 4 @ENOTCAPABLE = dso_local local_unnamed_addr global i32 0, align 4 @ECAPMODE = dso_local local_unnamed_addr global i32 0, align 4 @SIGTRAP = dso_local local_unnamed_addr global i32 0, align 4 @TRAP_CAP = dso_local local_unnamed_addr global i32 0, align 4 @P_TRACED = dso_local local_unnamed_addr global i32 0, align 4 @TDB_SCX = dso_local local_unnamed_addr global i32 0, align 4 @S_SCX = dso_local local_unnamed_addr global i32 0, align 4 @TDB_EXEC = dso_local local_unnamed_addr global i32 0, align 4 @TDB_FORK = dso_local local_unnamed_addr global i32 0, align 4 @PTRACE_SCX = dso_local local_unnamed_addr global i32 0, align 4 @TDP_RFPPWAIT = dso_local local_unnamed_addr global i32 0, align 4 @KTR_SYSRET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @syscallret], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @syscallret(ptr noundef %0) #0 { %2 = alloca %struct.TYPE_4__, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3 %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr @TDP_FORKING, align 4, !tbaa !12 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 %7 = zext i1 %6 to i32 %8 = tail call i32 @KASSERT(i32 noundef %7, ptr noundef nonnull @.str) #3 %9 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 6 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 5 %12 = load i64, ptr @trap_enotcap, align 8, !tbaa !14 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %1 %15 = load i32, ptr %10, align 4, !tbaa !16 %16 = load i32, ptr @P2_TRAPCAP, align 4, !tbaa !12 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %38, label %19 19: ; preds = %14, %1 %20 = tail call i64 @IN_CAPABILITY_MODE(ptr noundef nonnull %0) #3 %21 = icmp eq i64 %20, 0 br i1 %21, label %38, label %22 22: ; preds = %19 %23 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 3 %24 = load i32, ptr %23, align 8, !tbaa !18 %25 = load i32, ptr @ENOTCAPABLE, align 4, !tbaa !12 %26 = icmp eq i32 %24, %25 %27 = load i32, ptr @ECAPMODE, align 4 %28 = icmp eq i32 %24, %27 %29 = select i1 %26, i1 true, i1 %28 br i1 %29, label %30, label %38 30: ; preds = %22 %31 = call i32 @ksiginfo_init_trap(ptr noundef nonnull %2) #3 %32 = load i32, ptr @SIGTRAP, align 4, !tbaa !12 %33 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 2 store i32 %32, ptr %33, align 4, !tbaa !19 %34 = load i32, ptr %23, align 8, !tbaa !18 %35 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 1 store i32 %34, ptr %35, align 4, !tbaa !21 %36 = load i32, ptr @TRAP_CAP, align 4, !tbaa !12 store i32 %36, ptr %2, align 4, !tbaa !22 %37 = call i32 @trapsignal(ptr noundef nonnull %0, ptr noundef nonnull %2) #3 br label %38 38: ; preds = %22, %30, %19, %14 %39 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 4 %40 = load i32, ptr %39, align 4, !tbaa !23 %41 = call i32 @userret(ptr noundef nonnull %0, i32 noundef %40) #3 %42 = getelementptr inbounds %struct.proc, ptr %10, i64 0, i32 1 %43 = load i32, ptr %42, align 4, !tbaa !24 %44 = load i32, ptr @P_TRACED, align 4, !tbaa !12 %45 = and i32 %44, %43 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %60 47: ; preds = %38 %48 = load i32, ptr @S_SCX, align 4, !tbaa !12 %49 = load i32, ptr %11, align 4, !tbaa !25 %50 = call i32 @STOPEVENT(ptr noundef nonnull %10, i32 noundef %48, i32 noundef %49) #3 %51 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 1 %52 = load i32, ptr %51, align 4, !tbaa !26 %53 = load i32, ptr @TDB_EXEC, align 4, !tbaa !12 %54 = load i32, ptr @TDB_FORK, align 4, !tbaa !12 %55 = or i32 %54, %53 %56 = and i32 %55, %52 %57 = icmp eq i32 %56, 0 br i1 %57, label %97, label %58 58: ; preds = %47 %59 = call i32 @PROC_LOCK(ptr noundef nonnull %10) #3 br label %86 60: ; preds = %38 %61 = call i32 @PROC_LOCK(ptr noundef nonnull %10) #3 %62 = load i32, ptr @TDB_SCX, align 4, !tbaa !12 %63 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 1 %64 = load i32, ptr %63, align 4, !tbaa !26 %65 = or i32 %64, %62 store i32 %65, ptr %63, align 4, !tbaa !26 %66 = call i32 @PROC_UNLOCK(ptr noundef nonnull %10) #3 %67 = load i32, ptr @S_SCX, align 4, !tbaa !12 %68 = load i32, ptr %11, align 4, !tbaa !25 %69 = call i32 @STOPEVENT(ptr noundef nonnull %10, i32 noundef %67, i32 noundef %68) #3 %70 = call i32 @PROC_LOCK(ptr noundef nonnull %10) #3 %71 = load i32, ptr %63, align 4, !tbaa !26 %72 = load i32, ptr @TDB_FORK, align 4, !tbaa !12 %73 = load i32, ptr @TDB_EXEC, align 4, !tbaa !12 %74 = or i32 %73, %72 %75 = and i32 %74, %71 %76 = icmp eq i32 %75, 0 br i1 %76, label %77, label %83 77: ; preds = %60 %78 = getelementptr inbounds %struct.proc, ptr %10, i64 0, i32 2 %79 = load i32, ptr %78, align 4, !tbaa !27 %80 = load i32, ptr @PTRACE_SCX, align 4, !tbaa !12 %81 = and i32 %80, %79 %82 = icmp eq i32 %81, 0 br i1 %82, label %86, label %83 83: ; preds = %77, %60 %84 = load i32, ptr @SIGTRAP, align 4, !tbaa !12 %85 = call i32 @ptracestop(ptr noundef nonnull %0, i32 noundef %84, ptr noundef null) #3 br label %86 86: ; preds = %58, %83, %77 %87 = load i32, ptr @TDB_SCX, align 4, !tbaa !12 %88 = load i32, ptr @TDB_EXEC, align 4, !tbaa !12 %89 = or i32 %88, %87 %90 = load i32, ptr @TDB_FORK, align 4, !tbaa !12 %91 = or i32 %89, %90 %92 = xor i32 %91, -1 %93 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 1 %94 = load i32, ptr %93, align 4, !tbaa !26 %95 = and i32 %94, %92 store i32 %95, ptr %93, align 4, !tbaa !26 %96 = call i32 @PROC_UNLOCK(ptr noundef nonnull %10) #3 br label %97 97: ; preds = %86, %47 %98 = load i32, ptr %0, align 8, !tbaa !5 %99 = load i32, ptr @TDP_RFPPWAIT, align 4, !tbaa !12 %100 = and i32 %99, %98 %101 = call i64 @__predict_false(i32 noundef %100) #3 %102 = icmp eq i64 %101, 0 br i1 %102, label %105, label %103 103: ; preds = %97 %104 = call i32 @fork_rfppwait(ptr noundef nonnull %0) #3 br label %105 105: ; preds = %103, %97 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IN_CAPABILITY_MODE(ptr noundef) local_unnamed_addr #2 declare i32 @ksiginfo_init_trap(ptr noundef) local_unnamed_addr #2 declare i32 @trapsignal(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @userret(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PROC_LOCK(ptr noundef) local_unnamed_addr #2 declare i32 @PROC_UNLOCK(ptr noundef) local_unnamed_addr #2 declare i32 @STOPEVENT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ptracestop(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @__predict_false(i32 noundef) local_unnamed_addr #2 declare i32 @fork_rfppwait(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 = { 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 = { 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 = !{!"thread", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20, !11, i64 24, !10, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"syscall_args", !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !10, i64 32} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"proc", !7, i64 0, !7, i64 4, !7, i64 8} !18 = !{!6, !7, i64 16} !19 = !{!20, !7, i64 8} !20 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8} !21 = !{!20, !7, i64 4} !22 = !{!20, !7, i64 0} !23 = !{!6, !7, i64 20} !24 = !{!17, !7, i64 4} !25 = !{!11, !7, i64 0} !26 = !{!6, !7, i64 4} !27 = !{!17, !7, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/amd64/amd64/extr_....kernsubr_syscall.c_syscallret.c' source_filename = "AnghaBench/freebsd/sys/amd64/amd64/extr_....kernsubr_syscall.c_syscallret.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, i32, i32 } @TDP_FORKING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"fork() did not clear TDP_FORKING upon completion\00", align 1 @trap_enotcap = common local_unnamed_addr global i64 0, align 8 @P2_TRAPCAP = common local_unnamed_addr global i32 0, align 4 @ENOTCAPABLE = common local_unnamed_addr global i32 0, align 4 @ECAPMODE = common local_unnamed_addr global i32 0, align 4 @SIGTRAP = common local_unnamed_addr global i32 0, align 4 @TRAP_CAP = common local_unnamed_addr global i32 0, align 4 @P_TRACED = common local_unnamed_addr global i32 0, align 4 @TDB_SCX = common local_unnamed_addr global i32 0, align 4 @S_SCX = common local_unnamed_addr global i32 0, align 4 @TDB_EXEC = common local_unnamed_addr global i32 0, align 4 @TDB_FORK = common local_unnamed_addr global i32 0, align 4 @PTRACE_SCX = common local_unnamed_addr global i32 0, align 4 @TDP_RFPPWAIT = common local_unnamed_addr global i32 0, align 4 @KTR_SYSRET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @syscallret], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @syscallret(ptr noundef %0) #0 { %2 = alloca %struct.TYPE_4__, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3 %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr @TDP_FORKING, align 4, !tbaa !13 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 %7 = zext i1 %6 to i32 %8 = tail call i32 @KASSERT(i32 noundef %7, ptr noundef nonnull @.str) #3 %9 = getelementptr inbounds i8, ptr %0, i64 32 %10 = load ptr, ptr %9, align 8, !tbaa !14 %11 = getelementptr inbounds i8, ptr %0, i64 24 %12 = load i64, ptr @trap_enotcap, align 8, !tbaa !15 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %1 %15 = load i32, ptr %10, align 4, !tbaa !17 %16 = load i32, ptr @P2_TRAPCAP, align 4, !tbaa !13 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %38, label %19 19: ; preds = %14, %1 %20 = tail call i64 @IN_CAPABILITY_MODE(ptr noundef nonnull %0) #3 %21 = icmp eq i64 %20, 0 br i1 %21, label %38, label %22 22: ; preds = %19 %23 = getelementptr inbounds i8, ptr %0, i64 16 %24 = load i32, ptr %23, align 8, !tbaa !19 %25 = load i32, ptr @ENOTCAPABLE, align 4, !tbaa !13 %26 = icmp eq i32 %24, %25 %27 = load i32, ptr @ECAPMODE, align 4 %28 = icmp eq i32 %24, %27 %29 = select i1 %26, i1 true, i1 %28 br i1 %29, label %30, label %38 30: ; preds = %22 %31 = call i32 @ksiginfo_init_trap(ptr noundef nonnull %2) #3 %32 = load i32, ptr @SIGTRAP, align 4, !tbaa !13 %33 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %32, ptr %33, align 4, !tbaa !20 %34 = load i32, ptr %23, align 8, !tbaa !19 %35 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %34, ptr %35, align 4, !tbaa !22 %36 = load i32, ptr @TRAP_CAP, align 4, !tbaa !13 store i32 %36, ptr %2, align 4, !tbaa !23 %37 = call i32 @trapsignal(ptr noundef nonnull %0, ptr noundef nonnull %2) #3 br label %38 38: ; preds = %22, %30, %19, %14 %39 = getelementptr inbounds i8, ptr %0, i64 20 %40 = load i32, ptr %39, align 4, !tbaa !24 %41 = call i32 @userret(ptr noundef nonnull %0, i32 noundef %40) #3 %42 = getelementptr inbounds i8, ptr %10, i64 4 %43 = load i32, ptr %42, align 4, !tbaa !25 %44 = load i32, ptr @P_TRACED, align 4, !tbaa !13 %45 = and i32 %44, %43 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %60 47: ; preds = %38 %48 = load i32, ptr @S_SCX, align 4, !tbaa !13 %49 = load i32, ptr %11, align 4, !tbaa !26 %50 = call i32 @STOPEVENT(ptr noundef nonnull %10, i32 noundef %48, i32 noundef %49) #3 %51 = getelementptr inbounds i8, ptr %0, i64 4 %52 = load i32, ptr %51, align 4, !tbaa !27 %53 = load i32, ptr @TDB_EXEC, align 4, !tbaa !13 %54 = load i32, ptr @TDB_FORK, align 4, !tbaa !13 %55 = or i32 %54, %53 %56 = and i32 %55, %52 %57 = icmp eq i32 %56, 0 br i1 %57, label %97, label %58 58: ; preds = %47 %59 = call i32 @PROC_LOCK(ptr noundef nonnull %10) #3 br label %86 60: ; preds = %38 %61 = call i32 @PROC_LOCK(ptr noundef nonnull %10) #3 %62 = load i32, ptr @TDB_SCX, align 4, !tbaa !13 %63 = getelementptr inbounds i8, ptr %0, i64 4 %64 = load i32, ptr %63, align 4, !tbaa !27 %65 = or i32 %64, %62 store i32 %65, ptr %63, align 4, !tbaa !27 %66 = call i32 @PROC_UNLOCK(ptr noundef nonnull %10) #3 %67 = load i32, ptr @S_SCX, align 4, !tbaa !13 %68 = load i32, ptr %11, align 4, !tbaa !26 %69 = call i32 @STOPEVENT(ptr noundef nonnull %10, i32 noundef %67, i32 noundef %68) #3 %70 = call i32 @PROC_LOCK(ptr noundef nonnull %10) #3 %71 = load i32, ptr %63, align 4, !tbaa !27 %72 = load i32, ptr @TDB_FORK, align 4, !tbaa !13 %73 = load i32, ptr @TDB_EXEC, align 4, !tbaa !13 %74 = or i32 %73, %72 %75 = and i32 %74, %71 %76 = icmp eq i32 %75, 0 br i1 %76, label %77, label %83 77: ; preds = %60 %78 = getelementptr inbounds i8, ptr %10, i64 8 %79 = load i32, ptr %78, align 4, !tbaa !28 %80 = load i32, ptr @PTRACE_SCX, align 4, !tbaa !13 %81 = and i32 %80, %79 %82 = icmp eq i32 %81, 0 br i1 %82, label %86, label %83 83: ; preds = %77, %60 %84 = load i32, ptr @SIGTRAP, align 4, !tbaa !13 %85 = call i32 @ptracestop(ptr noundef nonnull %0, i32 noundef %84, ptr noundef null) #3 br label %86 86: ; preds = %58, %83, %77 %87 = load i32, ptr @TDB_SCX, align 4, !tbaa !13 %88 = load i32, ptr @TDB_EXEC, align 4, !tbaa !13 %89 = or i32 %88, %87 %90 = load i32, ptr @TDB_FORK, align 4, !tbaa !13 %91 = or i32 %89, %90 %92 = xor i32 %91, -1 %93 = getelementptr inbounds i8, ptr %0, i64 4 %94 = load i32, ptr %93, align 4, !tbaa !27 %95 = and i32 %94, %92 store i32 %95, ptr %93, align 4, !tbaa !27 %96 = call i32 @PROC_UNLOCK(ptr noundef nonnull %10) #3 br label %97 97: ; preds = %86, %47 %98 = load i32, ptr %0, align 8, !tbaa !6 %99 = load i32, ptr @TDP_RFPPWAIT, align 4, !tbaa !13 %100 = and i32 %99, %98 %101 = call i64 @__predict_false(i32 noundef %100) #3 %102 = icmp eq i64 %101, 0 br i1 %102, label %105, label %103 103: ; preds = %97 %104 = call i32 @fork_rfppwait(ptr noundef nonnull %0) #3 br label %105 105: ; preds = %103, %97 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IN_CAPABILITY_MODE(ptr noundef) local_unnamed_addr #2 declare i32 @ksiginfo_init_trap(ptr noundef) local_unnamed_addr #2 declare i32 @trapsignal(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @userret(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PROC_LOCK(ptr noundef) local_unnamed_addr #2 declare i32 @PROC_UNLOCK(ptr noundef) local_unnamed_addr #2 declare i32 @STOPEVENT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ptracestop(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @__predict_false(i32 noundef) local_unnamed_addr #2 declare i32 @fork_rfppwait(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 = { 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 = { 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 = !{!"thread", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !8, i64 20, !12, i64 24, !11, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"syscall_args", !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !11, i64 32} !15 = !{!16, !16, i64 0} !16 = !{!"long", !9, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"proc", !8, i64 0, !8, i64 4, !8, i64 8} !19 = !{!7, !8, i64 16} !20 = !{!21, !8, i64 8} !21 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8} !22 = !{!21, !8, i64 4} !23 = !{!21, !8, i64 0} !24 = !{!7, !8, i64 20} !25 = !{!18, !8, i64 4} !26 = !{!12, !8, i64 0} !27 = !{!7, !8, i64 4} !28 = !{!18, !8, i64 8}
freebsd_sys_amd64_amd64_extr_....kernsubr_syscall.c_syscallret
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpio-max732x.c_max732x_probe.c' source_filename = "AnghaBench/linux/drivers/gpio/extr_gpio-max732x.c_max732x_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.i2c_client = type { i32, %struct.TYPE_10__, i32 } %struct.TYPE_10__ = type { ptr } %struct.max732x_chip = type { %struct.TYPE_11__, ptr, i32, ptr, ptr, ptr, ptr } %struct.TYPE_11__ = type { i32, i32, ptr } %struct.max732x_platform_data = type { ptr, i32, i32 } @.str = private unnamed_addr constant [18 x i8] c"no platform data\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"Failed to allocate I2C device\0A\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"invalid I2C address specified %02x\0A\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"Failed to allocate second group I2C device\0A\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [18 x i8] c"setup failed, %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @max732x_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @max732x_probe(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 1 %4 = tail call ptr @dev_get_platdata(ptr noundef nonnull %3) #2 %5 = load ptr, ptr %3, align 8, !tbaa !5 %6 = icmp eq ptr %4, null %7 = icmp ne ptr %5, null %8 = select i1 %6, i1 %7, i1 false br i1 %8, label %9, label %11 9: ; preds = %2 %10 = tail call ptr @of_gpio_max732x(ptr noundef nonnull %3) #2 br label %11 11: ; preds = %9, %2 %12 = phi ptr [ %10, %9 ], [ %4, %2 ] %13 = icmp eq ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %11 %15 = tail call i32 @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str) #2 %16 = load i32, ptr @EINVAL, align 4, !tbaa !12 %17 = sub nsw i32 0, %16 br label %114 18: ; preds = %11 %19 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %20 = tail call ptr @devm_kzalloc(ptr noundef nonnull %3, i32 noundef 64, i32 noundef %19) #2 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %24 = sub nsw i32 0, %23 br label %114 25: ; preds = %18 %26 = getelementptr inbounds %struct.max732x_chip, ptr %20, i64 0, i32 6 store ptr %0, ptr %26, align 8, !tbaa !13 %27 = getelementptr inbounds %struct.max732x_platform_data, ptr %12, i64 0, i32 2 %28 = load i32, ptr %27, align 4, !tbaa !16 %29 = tail call i32 @max732x_setup_gpio(ptr noundef nonnull %20, ptr noundef %1, i32 noundef %28) #2 %30 = getelementptr inbounds %struct.TYPE_11__, ptr %20, i64 0, i32 2 store ptr %3, ptr %30, align 8, !tbaa !18 %31 = load i32, ptr %0, align 8, !tbaa !19 %32 = and i32 %31, 15 %33 = or disjoint i32 %32, 96 %34 = or disjoint i32 %32, 80 %35 = and i32 %31, 112 switch i32 %35, label %66 [ i32 96, label %36 i32 80, label %51 ] 36: ; preds = %25 %37 = getelementptr inbounds %struct.max732x_chip, ptr %20, i64 0, i32 4 store ptr %0, ptr %37, align 8, !tbaa !20 %38 = icmp sgt i32 %29, 8 br i1 %38, label %39, label %77 39: ; preds = %36 %40 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 2 %41 = load i32, ptr %40, align 8, !tbaa !21 %42 = tail call ptr @devm_i2c_new_dummy_device(ptr noundef nonnull %3, i32 noundef %41, i32 noundef %34) #2 %43 = tail call i32 @IS_ERR(ptr noundef %42) #2 %44 = icmp eq i32 %43, 0 br i1 %44, label %48, label %45 45: ; preds = %39 %46 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str.1) #2 %47 = tail call i32 @PTR_ERR(ptr noundef %42) #2 br label %114 48: ; preds = %39 %49 = getelementptr inbounds %struct.max732x_chip, ptr %20, i64 0, i32 3 store ptr %42, ptr %49, align 8, !tbaa !22 %50 = getelementptr inbounds %struct.max732x_chip, ptr %20, i64 0, i32 5 store ptr %42, ptr %50, align 8, !tbaa !23 br label %70 51: ; preds = %25 %52 = getelementptr inbounds %struct.max732x_chip, ptr %20, i64 0, i32 5 store ptr %0, ptr %52, align 8, !tbaa !23 %53 = icmp sgt i32 %29, 8 br i1 %53, label %54, label %77 54: ; preds = %51 %55 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 2 %56 = load i32, ptr %55, align 8, !tbaa !21 %57 = tail call ptr @devm_i2c_new_dummy_device(ptr noundef nonnull %3, i32 noundef %56, i32 noundef %33) #2 %58 = tail call i32 @IS_ERR(ptr noundef %57) #2 %59 = icmp eq i32 %58, 0 br i1 %59, label %63, label %60 60: ; preds = %54 %61 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str.1) #2 %62 = tail call i32 @PTR_ERR(ptr noundef %57) #2 br label %114 63: ; preds = %54 %64 = getelementptr inbounds %struct.max732x_chip, ptr %20, i64 0, i32 3 store ptr %57, ptr %64, align 8, !tbaa !22 %65 = getelementptr inbounds %struct.max732x_chip, ptr %20, i64 0, i32 4 store ptr %57, ptr %65, align 8, !tbaa !20 br label %70 66: ; preds = %25 %67 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str.2, i32 noundef %31) #2 %68 = load i32, ptr @EINVAL, align 4, !tbaa !12 %69 = sub nsw i32 0, %68 br label %114 70: ; preds = %63, %48 %71 = phi ptr [ %57, %63 ], [ %42, %48 ] %72 = icmp eq ptr %71, null br i1 %72, label %73, label %77 73: ; preds = %70 %74 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str.3) #2 %75 = load i32, ptr @ENODEV, align 4, !tbaa !12 %76 = sub nsw i32 0, %75 br label %114 77: ; preds = %36, %51, %70 %78 = phi i1 [ true, %70 ], [ false, %51 ], [ false, %36 ] %79 = getelementptr inbounds %struct.max732x_chip, ptr %20, i64 0, i32 2 %80 = tail call i32 @mutex_init(ptr noundef nonnull %79) #2 %81 = tail call i32 @is_group_a(ptr noundef nonnull %20, i32 noundef 0) #2 %82 = getelementptr inbounds %struct.max732x_chip, ptr %20, i64 0, i32 1 %83 = load ptr, ptr %82, align 8, !tbaa !24 %84 = tail call i32 @max732x_readb(ptr noundef nonnull %20, i32 noundef %81, ptr noundef %83) #2 %85 = icmp eq i32 %84, 0 br i1 %85, label %86, label %114 86: ; preds = %77 br i1 %78, label %87, label %93 87: ; preds = %86 %88 = tail call i32 @is_group_a(ptr noundef nonnull %20, i32 noundef 8) #2 %89 = load ptr, ptr %82, align 8, !tbaa !24 %90 = getelementptr inbounds i32, ptr %89, i64 1 %91 = tail call i32 @max732x_readb(ptr noundef nonnull %20, i32 noundef %88, ptr noundef nonnull %90) #2 %92 = icmp eq i32 %91, 0 br i1 %92, label %93, label %114 93: ; preds = %87, %86 %94 = tail call i32 @devm_gpiochip_add_data(ptr noundef nonnull %3, ptr noundef nonnull %20, ptr noundef nonnull %20) #2 %95 = icmp eq i32 %94, 0 br i1 %95, label %96, label %114 96: ; preds = %93 %97 = tail call i32 @max732x_irq_setup(ptr noundef nonnull %20, ptr noundef %1) #2 %98 = icmp eq i32 %97, 0 br i1 %98, label %99, label %114 99: ; preds = %96 %100 = load ptr, ptr %12, align 8, !tbaa !25 %101 = icmp eq ptr %100, null br i1 %101, label %112, label %102 102: ; preds = %99 %103 = getelementptr inbounds %struct.TYPE_11__, ptr %20, i64 0, i32 1 %104 = load i32, ptr %103, align 4, !tbaa !26 %105 = load i32, ptr %20, align 8, !tbaa !27 %106 = getelementptr inbounds %struct.max732x_platform_data, ptr %12, i64 0, i32 1 %107 = load i32, ptr %106, align 8, !tbaa !28 %108 = tail call i32 %100(ptr noundef nonnull %0, i32 noundef %104, i32 noundef %105, i32 noundef %107) #2 %109 = icmp slt i32 %108, 0 br i1 %109, label %110, label %112 110: ; preds = %102 %111 = tail call i32 @dev_warn(ptr noundef nonnull %3, ptr noundef nonnull @.str.4, i32 noundef %108) #2 br label %112 112: ; preds = %102, %110, %99 %113 = tail call i32 @i2c_set_clientdata(ptr noundef nonnull %0, ptr noundef nonnull %20) #2 br label %114 114: ; preds = %96, %93, %87, %77, %112, %73, %66, %60, %45, %22, %14 %115 = phi i32 [ %24, %22 ], [ %69, %66 ], [ %62, %60 ], [ 0, %112 ], [ %76, %73 ], [ %47, %45 ], [ %17, %14 ], [ %84, %77 ], [ %91, %87 ], [ %94, %93 ], [ %97, %96 ] ret i32 %115 } declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #1 declare ptr @of_gpio_max732x(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @max732x_setup_gpio(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @devm_i2c_new_dummy_device(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @max732x_readb(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @is_group_a(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @devm_gpiochip_add_data(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @max732x_irq_setup(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_set_clientdata(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, !11, i64 8} !6 = !{!"i2c_client", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_10__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!14, !11, i64 56} !14 = !{!"max732x_chip", !15, i64 0, !11, i64 16, !7, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56} !15 = !{!"TYPE_11__", !7, i64 0, !7, i64 4, !11, i64 8} !16 = !{!17, !7, i64 12} !17 = !{!"max732x_platform_data", !11, i64 0, !7, i64 8, !7, i64 12} !18 = !{!14, !11, i64 8} !19 = !{!6, !7, i64 0} !20 = !{!14, !11, i64 40} !21 = !{!6, !7, i64 16} !22 = !{!14, !11, i64 32} !23 = !{!14, !11, i64 48} !24 = !{!14, !11, i64 16} !25 = !{!17, !11, i64 0} !26 = !{!14, !7, i64 4} !27 = !{!14, !7, i64 0} !28 = !{!17, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpio-max732x.c_max732x_probe.c' source_filename = "AnghaBench/linux/drivers/gpio/extr_gpio-max732x.c_max732x_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [18 x i8] c"no platform data\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"Failed to allocate I2C device\0A\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"invalid I2C address specified %02x\0A\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"Failed to allocate second group I2C device\0A\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [18 x i8] c"setup failed, %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @max732x_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @max732x_probe(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = tail call ptr @dev_get_platdata(ptr noundef nonnull %3) #2 %5 = load ptr, ptr %3, align 8, !tbaa !6 %6 = icmp eq ptr %4, null %7 = icmp ne ptr %5, null %8 = select i1 %6, i1 %7, i1 false br i1 %8, label %9, label %11 9: ; preds = %2 %10 = tail call ptr @of_gpio_max732x(ptr noundef nonnull %3) #2 br label %11 11: ; preds = %9, %2 %12 = phi ptr [ %10, %9 ], [ %4, %2 ] %13 = icmp eq ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %11 %15 = tail call i32 @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str) #2 %16 = load i32, ptr @EINVAL, align 4, !tbaa !13 %17 = sub nsw i32 0, %16 br label %111 18: ; preds = %11 %19 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13 %20 = tail call ptr @devm_kzalloc(ptr noundef nonnull %3, i32 noundef 64, i32 noundef %19) #2 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %24 = sub nsw i32 0, %23 br label %111 25: ; preds = %18 %26 = getelementptr inbounds i8, ptr %20, i64 56 store ptr %0, ptr %26, align 8, !tbaa !14 %27 = getelementptr inbounds i8, ptr %12, i64 12 %28 = load i32, ptr %27, align 4, !tbaa !17 %29 = tail call i32 @max732x_setup_gpio(ptr noundef nonnull %20, ptr noundef %1, i32 noundef %28) #2 %30 = getelementptr inbounds i8, ptr %20, i64 8 store ptr %3, ptr %30, align 8, !tbaa !19 %31 = load i32, ptr %0, align 8, !tbaa !20 %32 = and i32 %31, 15 %33 = or disjoint i32 %32, 96 %34 = or disjoint i32 %32, 80 %35 = and i32 %31, 112 switch i32 %35, label %60 [ i32 96, label %36 i32 80, label %48 ] 36: ; preds = %25 %37 = getelementptr inbounds i8, ptr %20, i64 40 store ptr %0, ptr %37, align 8, !tbaa !21 %38 = icmp sgt i32 %29, 8 br i1 %38, label %39, label %74 39: ; preds = %36 %40 = getelementptr inbounds i8, ptr %0, i64 16 %41 = load i32, ptr %40, align 8, !tbaa !22 %42 = tail call ptr @devm_i2c_new_dummy_device(ptr noundef nonnull %3, i32 noundef %41, i32 noundef %34) #2 %43 = tail call i32 @IS_ERR(ptr noundef %42) #2 %44 = icmp eq i32 %43, 0 br i1 %44, label %64, label %45 45: ; preds = %39 %46 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str.1) #2 %47 = tail call i32 @PTR_ERR(ptr noundef %42) #2 br label %111 48: ; preds = %25 %49 = getelementptr inbounds i8, ptr %20, i64 48 store ptr %0, ptr %49, align 8, !tbaa !23 %50 = icmp sgt i32 %29, 8 br i1 %50, label %51, label %74 51: ; preds = %48 %52 = getelementptr inbounds i8, ptr %0, i64 16 %53 = load i32, ptr %52, align 8, !tbaa !22 %54 = tail call ptr @devm_i2c_new_dummy_device(ptr noundef nonnull %3, i32 noundef %53, i32 noundef %33) #2 %55 = tail call i32 @IS_ERR(ptr noundef %54) #2 %56 = icmp eq i32 %55, 0 br i1 %56, label %64, label %57 57: ; preds = %51 %58 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str.1) #2 %59 = tail call i32 @PTR_ERR(ptr noundef %54) #2 br label %111 60: ; preds = %25 %61 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str.2, i32 noundef %31) #2 %62 = load i32, ptr @EINVAL, align 4, !tbaa !13 %63 = sub nsw i32 0, %62 br label %111 64: ; preds = %51, %39 %65 = phi ptr [ %42, %39 ], [ %54, %51 ] %66 = phi i64 [ 48, %39 ], [ 40, %51 ] %67 = getelementptr inbounds i8, ptr %20, i64 32 store ptr %65, ptr %67, align 8, !tbaa !24 %68 = getelementptr inbounds i8, ptr %20, i64 %66 store ptr %65, ptr %68, align 8, !tbaa !25 %69 = icmp eq ptr %65, null br i1 %69, label %70, label %74 70: ; preds = %64 %71 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str.3) #2 %72 = load i32, ptr @ENODEV, align 4, !tbaa !13 %73 = sub nsw i32 0, %72 br label %111 74: ; preds = %36, %48, %64 %75 = phi i1 [ true, %64 ], [ false, %48 ], [ false, %36 ] %76 = getelementptr inbounds i8, ptr %20, i64 24 %77 = tail call i32 @mutex_init(ptr noundef nonnull %76) #2 %78 = tail call i32 @is_group_a(ptr noundef nonnull %20, i32 noundef 0) #2 %79 = getelementptr inbounds i8, ptr %20, i64 16 %80 = load ptr, ptr %79, align 8, !tbaa !26 %81 = tail call i32 @max732x_readb(ptr noundef nonnull %20, i32 noundef %78, ptr noundef %80) #2 %82 = icmp eq i32 %81, 0 br i1 %82, label %83, label %111 83: ; preds = %74 br i1 %75, label %84, label %90 84: ; preds = %83 %85 = tail call i32 @is_group_a(ptr noundef nonnull %20, i32 noundef 8) #2 %86 = load ptr, ptr %79, align 8, !tbaa !26 %87 = getelementptr inbounds i8, ptr %86, i64 4 %88 = tail call i32 @max732x_readb(ptr noundef nonnull %20, i32 noundef %85, ptr noundef nonnull %87) #2 %89 = icmp eq i32 %88, 0 br i1 %89, label %90, label %111 90: ; preds = %84, %83 %91 = tail call i32 @devm_gpiochip_add_data(ptr noundef nonnull %3, ptr noundef nonnull %20, ptr noundef nonnull %20) #2 %92 = icmp eq i32 %91, 0 br i1 %92, label %93, label %111 93: ; preds = %90 %94 = tail call i32 @max732x_irq_setup(ptr noundef nonnull %20, ptr noundef %1) #2 %95 = icmp eq i32 %94, 0 br i1 %95, label %96, label %111 96: ; preds = %93 %97 = load ptr, ptr %12, align 8, !tbaa !27 %98 = icmp eq ptr %97, null br i1 %98, label %109, label %99 99: ; preds = %96 %100 = getelementptr inbounds i8, ptr %20, i64 4 %101 = load i32, ptr %100, align 4, !tbaa !28 %102 = load i32, ptr %20, align 8, !tbaa !29 %103 = getelementptr inbounds i8, ptr %12, i64 8 %104 = load i32, ptr %103, align 8, !tbaa !30 %105 = tail call i32 %97(ptr noundef nonnull %0, i32 noundef %101, i32 noundef %102, i32 noundef %104) #2 %106 = icmp slt i32 %105, 0 br i1 %106, label %107, label %109 107: ; preds = %99 %108 = tail call i32 @dev_warn(ptr noundef nonnull %3, ptr noundef nonnull @.str.4, i32 noundef %105) #2 br label %109 109: ; preds = %99, %107, %96 %110 = tail call i32 @i2c_set_clientdata(ptr noundef nonnull %0, ptr noundef nonnull %20) #2 br label %111 111: ; preds = %93, %90, %84, %74, %109, %70, %60, %57, %45, %22, %14 %112 = phi i32 [ %24, %22 ], [ %63, %60 ], [ %59, %57 ], [ 0, %109 ], [ %73, %70 ], [ %47, %45 ], [ %17, %14 ], [ %81, %74 ], [ %88, %84 ], [ %91, %90 ], [ %94, %93 ] ret i32 %112 } declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #1 declare ptr @of_gpio_max732x(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @max732x_setup_gpio(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @devm_i2c_new_dummy_device(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @max732x_readb(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @is_group_a(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @devm_gpiochip_add_data(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @max732x_irq_setup(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_set_clientdata(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, !12, i64 8} !7 = !{!"i2c_client", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_10__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !12, i64 56} !15 = !{!"max732x_chip", !16, i64 0, !12, i64 16, !8, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56} !16 = !{!"TYPE_11__", !8, i64 0, !8, i64 4, !12, i64 8} !17 = !{!18, !8, i64 12} !18 = !{!"max732x_platform_data", !12, i64 0, !8, i64 8, !8, i64 12} !19 = !{!15, !12, i64 8} !20 = !{!7, !8, i64 0} !21 = !{!15, !12, i64 40} !22 = !{!7, !8, i64 16} !23 = !{!15, !12, i64 48} !24 = !{!15, !12, i64 32} !25 = !{!12, !12, i64 0} !26 = !{!15, !12, i64 16} !27 = !{!18, !12, i64 0} !28 = !{!15, !8, i64 4} !29 = !{!15, !8, i64 0} !30 = !{!18, !8, i64 8}
linux_drivers_gpio_extr_gpio-max732x.c_max732x_probe
; ModuleID = 'AnghaBench/freebsd/contrib/tcsh/extr_ed.chared.c_c_number.c' source_filename = "AnghaBench/freebsd/contrib/tcsh/extr_ed.chared.c_c_number.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @INT_MAX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @c_number], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal nonnull ptr @c_number(ptr noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 1 %5 = load i8, ptr %4, align 1, !tbaa !5 %6 = icmp eq i8 %5, 94 br i1 %6, label %7, label %8 7: ; preds = %3 store i32 1, ptr %1, align 4, !tbaa !8 br label %42 8: ; preds = %3 %9 = icmp eq i8 %5, 36 br i1 %9, label %10, label %19 10: ; preds = %8 %11 = getelementptr inbounds i8, ptr %0, i64 2 %12 = load i8, ptr %11, align 1, !tbaa !5 %13 = icmp eq i8 %12, 45 br i1 %13, label %16, label %14 14: ; preds = %10 %15 = load i32, ptr @INT_MAX, align 4, !tbaa !8 store i32 %15, ptr %1, align 4, !tbaa !8 br label %42 16: ; preds = %10 %17 = getelementptr inbounds i8, ptr %0, i64 3 %18 = load i8, ptr %17, align 1, !tbaa !5 br label %19 19: ; preds = %16, %8 %20 = phi i8 [ %18, %16 ], [ %5, %8 ] %21 = phi ptr [ %17, %16 ], [ %4, %8 ] %22 = add i8 %20, -48 %23 = icmp ult i8 %22, 10 br i1 %23, label %24, label %36 24: ; preds = %19, %24 %25 = phi i8 [ %33, %24 ], [ %20, %19 ] %26 = phi i32 [ %32, %24 ], [ 0, %19 ] %27 = phi ptr [ %30, %24 ], [ %21, %19 ] %28 = zext nneg i8 %25 to i32 %29 = mul nsw i32 %26, 10 %30 = getelementptr inbounds i8, ptr %27, i64 1 %31 = add i32 %29, -48 %32 = add i32 %31, %28 %33 = load i8, ptr %30, align 1, !tbaa !5 %34 = add i8 %33, -48 %35 = icmp ult i8 %34, 10 br i1 %35, label %24, label %36, !llvm.loop !10 36: ; preds = %24, %19 %37 = phi ptr [ %21, %19 ], [ %30, %24 ] %38 = phi i32 [ 0, %19 ], [ %32, %24 ] %39 = sub nsw i32 %2, %38 %40 = select i1 %9, i32 %39, i32 %38 store i32 %40, ptr %1, align 4, !tbaa !8 %41 = getelementptr inbounds i8, ptr %37, i64 -1 br label %42 42: ; preds = %36, %14, %7 %43 = phi ptr [ %4, %7 ], [ %4, %14 ], [ %41, %36 ] ret ptr %43 } attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/tcsh/extr_ed.chared.c_c_number.c' source_filename = "AnghaBench/freebsd/contrib/tcsh/extr_ed.chared.c_c_number.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INT_MAX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @c_number], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal nonnull ptr @c_number(ptr noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 1 %5 = load i8, ptr %4, align 1, !tbaa !6 %6 = icmp eq i8 %5, 94 br i1 %6, label %7, label %8 7: ; preds = %3 store i32 1, ptr %1, align 4, !tbaa !9 br label %42 8: ; preds = %3 %9 = icmp eq i8 %5, 36 br i1 %9, label %10, label %19 10: ; preds = %8 %11 = getelementptr inbounds i8, ptr %0, i64 2 %12 = load i8, ptr %11, align 1, !tbaa !6 %13 = icmp eq i8 %12, 45 br i1 %13, label %16, label %14 14: ; preds = %10 %15 = load i32, ptr @INT_MAX, align 4, !tbaa !9 store i32 %15, ptr %1, align 4, !tbaa !9 br label %42 16: ; preds = %10 %17 = getelementptr inbounds i8, ptr %0, i64 3 %18 = load i8, ptr %17, align 1, !tbaa !6 br label %19 19: ; preds = %16, %8 %20 = phi i8 [ %18, %16 ], [ %5, %8 ] %21 = phi ptr [ %17, %16 ], [ %4, %8 ] %22 = add i8 %20, -48 %23 = icmp ult i8 %22, 10 br i1 %23, label %24, label %36 24: ; preds = %19, %24 %25 = phi i8 [ %33, %24 ], [ %20, %19 ] %26 = phi i32 [ %32, %24 ], [ 0, %19 ] %27 = phi ptr [ %30, %24 ], [ %21, %19 ] %28 = zext nneg i8 %25 to i32 %29 = mul nsw i32 %26, 10 %30 = getelementptr inbounds i8, ptr %27, i64 1 %31 = add i32 %29, -48 %32 = add i32 %31, %28 %33 = load i8, ptr %30, align 1, !tbaa !6 %34 = add i8 %33, -48 %35 = icmp ult i8 %34, 10 br i1 %35, label %24, label %36, !llvm.loop !11 36: ; preds = %24, %19 %37 = phi ptr [ %21, %19 ], [ %30, %24 ] %38 = phi i32 [ 0, %19 ], [ %32, %24 ] %39 = sub nsw i32 %2, %38 %40 = select i1 %9, i32 %39, i32 %38 store i32 %40, ptr %1, align 4, !tbaa !9 %41 = getelementptr inbounds i8, ptr %37, i64 -1 br label %42 42: ; preds = %36, %14, %7 %43 = phi ptr [ %4, %7 ], [ %4, %14 ], [ %41, %36 ] ret ptr %43 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_tcsh_extr_ed.chared.c_c_number
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_pragmaVtabRowid.c' source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_pragmaVtabRowid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pragmaVtabRowid], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @pragmaVtabRowid(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 store i32 %3, ptr %1, align 4, !tbaa !10 %4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !10 ret i32 %4 } 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_2__", !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/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_pragmaVtabRowid.c' source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_pragmaVtabRowid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pragmaVtabRowid], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal i32 @pragmaVtabRowid(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 store i32 %3, ptr %1, align 4, !tbaa !11 %4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !11 ret i32 %4 } 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_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
ccv_lib_3rdparty_sqlite3_extr_sqlite3.c_pragmaVtabRowid
; ModuleID = 'AnghaBench/linux/drivers/iio/pressure/extr_hp03.c_hp03_remove.c' source_filename = "AnghaBench/linux/drivers/iio/pressure/extr_hp03.c_hp03_remove.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.hp03_priv = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @hp03_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @hp03_remove(ptr noundef %0) #0 { %2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2 %3 = tail call ptr @iio_priv(ptr noundef %2) #2 %4 = tail call i32 @iio_device_unregister(ptr noundef %2) #2 %5 = getelementptr inbounds %struct.hp03_priv, ptr %3, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = tail call i32 @regmap_exit(i32 noundef %6) #2 %8 = load i32, ptr %3, align 4, !tbaa !10 %9 = tail call i32 @i2c_unregister_device(i32 noundef %8) #2 ret i32 0 } declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1 declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @iio_device_unregister(ptr noundef) local_unnamed_addr #1 declare i32 @regmap_exit(i32 noundef) local_unnamed_addr #1 declare i32 @i2c_unregister_device(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 = !{!"hp03_priv", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/iio/pressure/extr_hp03.c_hp03_remove.c' source_filename = "AnghaBench/linux/drivers/iio/pressure/extr_hp03.c_hp03_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 @hp03_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @hp03_remove(ptr noundef %0) #0 { %2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2 %3 = tail call ptr @iio_priv(ptr noundef %2) #2 %4 = tail call i32 @iio_device_unregister(ptr noundef %2) #2 %5 = getelementptr inbounds i8, ptr %3, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = tail call i32 @regmap_exit(i32 noundef %6) #2 %8 = load i32, ptr %3, align 4, !tbaa !11 %9 = tail call i32 @i2c_unregister_device(i32 noundef %8) #2 ret i32 0 } declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1 declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @iio_device_unregister(ptr noundef) local_unnamed_addr #1 declare i32 @regmap_exit(i32 noundef) local_unnamed_addr #1 declare i32 @i2c_unregister_device(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 = !{!"hp03_priv", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
linux_drivers_iio_pressure_extr_hp03.c_hp03_remove
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/class/extr_cdc-acm.c_acm_tty_break_ctl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/class/extr_cdc-acm.c_acm_tty_break_ctl.c" target datalayout = "e-m:e-p270:32:32-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 @.str = private unnamed_addr constant [18 x i8] c"send break failed\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @acm_tty_break_ctl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @acm_tty_break_ctl(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @ACM_READY(ptr noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !10 %8 = sub nsw i32 0, %7 br label %16 9: ; preds = %2 %10 = icmp eq i32 %1, 0 %11 = select i1 %10, i32 0, i32 65535 %12 = tail call i32 @acm_send_break(ptr noundef %3, i32 noundef %11) #2 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = tail call i32 @dbg(ptr noundef nonnull @.str) #2 br label %16 16: ; preds = %9, %14, %6 %17 = phi i32 [ %8, %6 ], [ %12, %14 ], [ %12, %9 ] ret i32 %17 } declare i32 @ACM_READY(ptr noundef) local_unnamed_addr #1 declare i32 @acm_send_break(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dbg(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 = !{!"tty_struct", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/class/extr_cdc-acm.c_acm_tty_break_ctl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/class/extr_cdc-acm.c_acm_tty_break_ctl.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 @.str = private unnamed_addr constant [18 x i8] c"send break failed\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @acm_tty_break_ctl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @acm_tty_break_ctl(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @ACM_READY(ptr noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !11 %8 = sub nsw i32 0, %7 br label %16 9: ; preds = %2 %10 = icmp eq i32 %1, 0 %11 = select i1 %10, i32 0, i32 65535 %12 = tail call i32 @acm_send_break(ptr noundef %3, i32 noundef %11) #2 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = tail call i32 @dbg(ptr noundef nonnull @.str) #2 br label %16 16: ; preds = %9, %14, %6 %17 = phi i32 [ %8, %6 ], [ %12, %14 ], [ %12, %9 ] ret i32 %17 } declare i32 @ACM_READY(ptr noundef) local_unnamed_addr #1 declare i32 @acm_send_break(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dbg(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 = !{!"tty_struct", !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}
fastsocket_kernel_drivers_usb_class_extr_cdc-acm.c_acm_tty_break_ctl
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_mmu.c_reset_shadow_zero_bits_mask.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_mmu.c_reset_shadow_zero_bits_mask.c" target datalayout = "e-m:e-p270:32:32-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.kvm_mmu = type { i32, %struct.rsvd_bits_validate, %struct.TYPE_4__, i64 } %struct.rsvd_bits_validate = type { ptr } %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } @shadow_phys_bits = dso_local local_unnamed_addr global i32 0, align 4 @X86_FEATURE_GBPAGES = dso_local local_unnamed_addr global i32 0, align 4 @shadow_me_mask = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @reset_shadow_zero_bits_mask(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.kvm_mmu, ptr %1, i64 0, i32 3 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %2 %7 = getelementptr inbounds %struct.kvm_mmu, ptr %1, i64 0, i32 2 %8 = load i64, ptr %7, align 8, !tbaa !15 %9 = icmp ne i64 %8, 0 %10 = zext i1 %9 to i32 br label %11 11: ; preds = %6, %2 %12 = phi i32 [ 1, %2 ], [ %10, %6 ] %13 = getelementptr inbounds %struct.kvm_mmu, ptr %1, i64 0, i32 1 %14 = load i32, ptr @shadow_phys_bits, align 4, !tbaa !16 %15 = load i32, ptr %1, align 8, !tbaa !17 %16 = load i32, ptr @X86_FEATURE_GBPAGES, align 4, !tbaa !16 %17 = tail call i32 @guest_cpuid_has(ptr noundef %0, i32 noundef %16) #2 %18 = tail call i32 @is_pse(ptr noundef %0) #2 %19 = tail call i32 @__reset_rsvds_bits_mask(ptr noundef %0, ptr noundef nonnull %13, i32 noundef %14, i32 noundef %15, i32 noundef %12, i32 noundef %17, i32 noundef %18, i32 noundef 1) #2 %20 = load i32, ptr @shadow_me_mask, align 4, !tbaa !16 %21 = icmp eq i32 %20, 0 br i1 %21, label %94, label %22 22: ; preds = %11 %23 = load i32, ptr %1, align 8, !tbaa !17 %24 = icmp sgt i32 %23, 0 br i1 %24, label %25, label %94 25: ; preds = %22 %26 = load ptr, ptr %13, align 8, !tbaa !18 %27 = load ptr, ptr %26, align 8, !tbaa !19 %28 = getelementptr inbounds ptr, ptr %26, i64 1 %29 = load ptr, ptr %28, align 8, !tbaa !19 %30 = zext nneg i32 %23 to i64 %31 = icmp ult i32 %23, 12 br i1 %31, label %78, label %32 32: ; preds = %25 %33 = shl nuw nsw i64 %30, 2 %34 = getelementptr i8, ptr %27, i64 %33 %35 = getelementptr i8, ptr %29, i64 %33 %36 = icmp ult ptr %27, %35 %37 = icmp ult ptr %29, %34 %38 = and i1 %36, %37 %39 = icmp ult ptr %27, getelementptr inbounds (i32, ptr @shadow_me_mask, i64 1) %40 = icmp ugt ptr %34, @shadow_me_mask %41 = and i1 %39, %40 %42 = or i1 %38, %41 %43 = icmp ult ptr %29, getelementptr inbounds (i32, ptr @shadow_me_mask, i64 1) %44 = icmp ugt ptr %35, @shadow_me_mask %45 = and i1 %43, %44 %46 = or i1 %42, %45 br i1 %46, label %78, label %47 47: ; preds = %32 %48 = and i64 %30, 2147483644 %49 = and i64 %30, 3 %50 = load i32, ptr @shadow_me_mask, align 4, !tbaa !16, !alias.scope !20 %51 = insertelement <4 x i32> poison, i32 %50, i64 0 %52 = xor <4 x i32> %51, <i32 -1, i32 poison, i32 poison, i32 poison> %53 = shufflevector <4 x i32> %52, <4 x i32> poison, <4 x i32> zeroinitializer %54 = getelementptr i32, ptr %27, i64 -3 %55 = load i32, ptr @shadow_me_mask, align 4, !tbaa !16, !alias.scope !20 %56 = insertelement <4 x i32> poison, i32 %55, i64 0 %57 = xor <4 x i32> %56, <i32 -1, i32 poison, i32 poison, i32 poison> %58 = shufflevector <4 x i32> %57, <4 x i32> poison, <4 x i32> zeroinitializer %59 = getelementptr i32, ptr %29, i64 -3 br label %60 60: ; preds = %60, %47 %61 = phi i64 [ 0, %47 ], [ %74, %60 ] %62 = xor i64 %61, -1 %63 = add i64 %62, %30 %64 = getelementptr i32, ptr %54, i64 %63 %65 = load <4 x i32>, ptr %64, align 4, !tbaa !16, !alias.scope !23, !noalias !25 %66 = shufflevector <4 x i32> %65, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> %67 = and <4 x i32> %66, %53 %68 = shufflevector <4 x i32> %67, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> store <4 x i32> %68, ptr %64, align 4, !tbaa !16, !alias.scope !23, !noalias !25 %69 = getelementptr i32, ptr %59, i64 %63 %70 = load <4 x i32>, ptr %69, align 4, !tbaa !16, !alias.scope !27, !noalias !20 %71 = shufflevector <4 x i32> %70, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> %72 = and <4 x i32> %71, %58 %73 = shufflevector <4 x i32> %72, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> store <4 x i32> %73, ptr %69, align 4, !tbaa !16, !alias.scope !27, !noalias !20 %74 = add nuw i64 %61, 4 %75 = icmp eq i64 %74, %48 br i1 %75, label %76, label %60, !llvm.loop !28 76: ; preds = %60 %77 = icmp eq i64 %48, %30 br i1 %77, label %94, label %78 78: ; preds = %32, %25, %76 %79 = phi i64 [ %30, %32 ], [ %30, %25 ], [ %49, %76 ] br label %80 80: ; preds = %78, %80 %81 = phi i64 [ %82, %80 ], [ %79, %78 ] %82 = add nsw i64 %81, -1 %83 = load i32, ptr @shadow_me_mask, align 4, !tbaa !16 %84 = xor i32 %83, -1 %85 = getelementptr inbounds i32, ptr %27, i64 %82 %86 = load i32, ptr %85, align 4, !tbaa !16 %87 = and i32 %86, %84 store i32 %87, ptr %85, align 4, !tbaa !16 %88 = load i32, ptr @shadow_me_mask, align 4, !tbaa !16 %89 = xor i32 %88, -1 %90 = getelementptr inbounds i32, ptr %29, i64 %82 %91 = load i32, ptr %90, align 4, !tbaa !16 %92 = and i32 %91, %89 store i32 %92, ptr %90, align 4, !tbaa !16 %93 = icmp ugt i64 %81, 1 br i1 %93, label %80, label %94, !llvm.loop !32 94: ; preds = %80, %76, %22, %11 ret void } declare i32 @__reset_rsvds_bits_mask(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @guest_cpuid_has(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @is_pse(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, !14, i64 24} !6 = !{!"kvm_mmu", !7, i64 0, !10, i64 8, !12, i64 16, !14, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"rsvd_bits_validate", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!6, !14, i64 16} !16 = !{!7, !7, i64 0} !17 = !{!6, !7, i64 0} !18 = !{!10, !11, i64 0} !19 = !{!11, !11, i64 0} !20 = !{!21} !21 = distinct !{!21, !22} !22 = distinct !{!22, !"LVerDomain"} !23 = !{!24} !24 = distinct !{!24, !22} !25 = !{!26, !21} !26 = distinct !{!26, !22} !27 = !{!26} !28 = distinct !{!28, !29, !30, !31} !29 = !{!"llvm.loop.mustprogress"} !30 = !{!"llvm.loop.isvectorized", i32 1} !31 = !{!"llvm.loop.unroll.runtime.disable"} !32 = distinct !{!32, !29, !30}
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_mmu.c_reset_shadow_zero_bits_mask.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_mmu.c_reset_shadow_zero_bits_mask.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @shadow_phys_bits = common local_unnamed_addr global i32 0, align 4 @X86_FEATURE_GBPAGES = common local_unnamed_addr global i32 0, align 4 @shadow_me_mask = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @reset_shadow_zero_bits_mask(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 24 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %1, i64 16 %8 = load i64, ptr %7, align 8, !tbaa !16 %9 = icmp ne i64 %8, 0 %10 = zext i1 %9 to i32 br label %11 11: ; preds = %6, %2 %12 = phi i32 [ 1, %2 ], [ %10, %6 ] %13 = getelementptr inbounds i8, ptr %1, i64 8 %14 = load i32, ptr @shadow_phys_bits, align 4, !tbaa !17 %15 = load i32, ptr %1, align 8, !tbaa !18 %16 = load i32, ptr @X86_FEATURE_GBPAGES, align 4, !tbaa !17 %17 = tail call i32 @guest_cpuid_has(ptr noundef %0, i32 noundef %16) #2 %18 = tail call i32 @is_pse(ptr noundef %0) #2 %19 = tail call i32 @__reset_rsvds_bits_mask(ptr noundef %0, ptr noundef nonnull %13, i32 noundef %14, i32 noundef %15, i32 noundef %12, i32 noundef %17, i32 noundef %18, i32 noundef 1) #2 %20 = load i32, ptr @shadow_me_mask, align 4, !tbaa !17 %21 = icmp eq i32 %20, 0 br i1 %21, label %90, label %22 22: ; preds = %11 %23 = load i32, ptr %1, align 8, !tbaa !18 %24 = icmp sgt i32 %23, 0 br i1 %24, label %25, label %90 25: ; preds = %22 %26 = load ptr, ptr %13, align 8, !tbaa !19 %27 = load ptr, ptr %26, align 8, !tbaa !20 %28 = getelementptr inbounds i8, ptr %26, i64 8 %29 = load ptr, ptr %28, align 8, !tbaa !20 %30 = zext nneg i32 %23 to i64 %31 = icmp ult i32 %23, 8 br i1 %31, label %74, label %32 32: ; preds = %25 %33 = shl nuw nsw i64 %30, 2 %34 = getelementptr i8, ptr %27, i64 %33 %35 = getelementptr i8, ptr %29, i64 %33 %36 = icmp ult ptr %27, %35 %37 = icmp ult ptr %29, %34 %38 = and i1 %36, %37 %39 = icmp ult ptr %27, getelementptr inbounds (i8, ptr @shadow_me_mask, i64 4) %40 = icmp ugt ptr %34, @shadow_me_mask %41 = and i1 %39, %40 %42 = or i1 %38, %41 %43 = icmp ult ptr %29, getelementptr inbounds (i8, ptr @shadow_me_mask, i64 4) %44 = icmp ugt ptr %35, @shadow_me_mask %45 = and i1 %43, %44 %46 = or i1 %42, %45 br i1 %46, label %74, label %47 47: ; preds = %32 %48 = and i64 %30, 2147483644 %49 = and i64 %30, 3 %50 = load i32, ptr @shadow_me_mask, align 4, !tbaa !17, !alias.scope !21 %51 = insertelement <4 x i32> poison, i32 %50, i64 0 %52 = xor <4 x i32> %51, <i32 -1, i32 poison, i32 poison, i32 poison> %53 = getelementptr i8, ptr %27, i64 -12 %54 = shufflevector <4 x i32> %52, <4 x i32> poison, <4 x i32> zeroinitializer %55 = load i32, ptr @shadow_me_mask, align 4, !tbaa !17, !alias.scope !21 %56 = insertelement <4 x i32> poison, i32 %55, i64 0 %57 = xor <4 x i32> %56, <i32 -1, i32 poison, i32 poison, i32 poison> %58 = getelementptr i8, ptr %29, i64 -12 %59 = shufflevector <4 x i32> %57, <4 x i32> poison, <4 x i32> zeroinitializer br label %60 60: ; preds = %60, %47 %61 = phi i64 [ 0, %47 ], [ %70, %60 ] %62 = xor i64 %61, -1 %63 = add i64 %62, %30 %64 = getelementptr i32, ptr %53, i64 %63 %65 = load <4 x i32>, ptr %64, align 4, !tbaa !17, !alias.scope !24, !noalias !26 %66 = and <4 x i32> %65, %54 store <4 x i32> %66, ptr %64, align 4, !tbaa !17, !alias.scope !24, !noalias !26 %67 = getelementptr i32, ptr %58, i64 %63 %68 = load <4 x i32>, ptr %67, align 4, !tbaa !17, !alias.scope !28, !noalias !21 %69 = and <4 x i32> %68, %59 store <4 x i32> %69, ptr %67, align 4, !tbaa !17, !alias.scope !28, !noalias !21 %70 = add nuw i64 %61, 4 %71 = icmp eq i64 %70, %48 br i1 %71, label %72, label %60, !llvm.loop !29 72: ; preds = %60 %73 = icmp eq i64 %48, %30 br i1 %73, label %90, label %74 74: ; preds = %72, %32, %25 %75 = phi i64 [ %30, %32 ], [ %30, %25 ], [ %49, %72 ] br label %76 76: ; preds = %74, %76 %77 = phi i64 [ %78, %76 ], [ %75, %74 ] %78 = add nsw i64 %77, -1 %79 = load i32, ptr @shadow_me_mask, align 4, !tbaa !17 %80 = xor i32 %79, -1 %81 = getelementptr inbounds i32, ptr %27, i64 %78 %82 = load i32, ptr %81, align 4, !tbaa !17 %83 = and i32 %82, %80 store i32 %83, ptr %81, align 4, !tbaa !17 %84 = load i32, ptr @shadow_me_mask, align 4, !tbaa !17 %85 = xor i32 %84, -1 %86 = getelementptr inbounds i32, ptr %29, i64 %78 %87 = load i32, ptr %86, align 4, !tbaa !17 %88 = and i32 %87, %85 store i32 %88, ptr %86, align 4, !tbaa !17 %89 = icmp ugt i64 %77, 1 br i1 %89, label %76, label %90, !llvm.loop !33 90: ; preds = %76, %72, %22, %11 ret void } declare i32 @__reset_rsvds_bits_mask(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @guest_cpuid_has(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @is_pse(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, !15, i64 24} !7 = !{!"kvm_mmu", !8, i64 0, !11, i64 8, !13, i64 16, !15, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"rsvd_bits_validate", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"TYPE_3__", !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!7, !15, i64 16} !17 = !{!8, !8, i64 0} !18 = !{!7, !8, i64 0} !19 = !{!11, !12, i64 0} !20 = !{!12, !12, i64 0} !21 = !{!22} !22 = distinct !{!22, !23} !23 = distinct !{!23, !"LVerDomain"} !24 = !{!25} !25 = distinct !{!25, !23} !26 = !{!27, !22} !27 = distinct !{!27, !23} !28 = !{!27} !29 = distinct !{!29, !30, !31, !32} !30 = !{!"llvm.loop.mustprogress"} !31 = !{!"llvm.loop.isvectorized", i32 1} !32 = !{!"llvm.loop.unroll.runtime.disable"} !33 = distinct !{!33, !30, !31}
linux_arch_x86_kvm_extr_mmu.c_reset_shadow_zero_bits_mask
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vm_glue.c_kstack_release.c' source_filename = "AnghaBench/freebsd/sys/vm/extr_vm_glue.c_kstack_release.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @kstack_pages = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @kstack_release], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @kstack_release(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %19 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 br label %7 7: ; preds = %5, %7 %8 = phi i64 [ 0, %5 ], [ %17, %7 ] %9 = getelementptr inbounds ptr, ptr %1, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !5 %11 = ptrtoint ptr %10 to i64 %12 = tail call i32 @pmap_kextract(i64 noundef %11) #2 %13 = tail call ptr @PHYS_TO_VM_PAGE(i32 noundef %12) #2 %14 = load i32, ptr %13, align 4, !tbaa !9 %15 = load i32, ptr @kstack_pages, align 4, !tbaa !12 %16 = tail call i32 @vm_thread_stack_dispose(i32 noundef %14, i64 noundef %11, i32 noundef %15) #2 %17 = add nuw nsw i64 %8, 1 %18 = icmp eq i64 %17, %6 br i1 %18, label %19, label %7, !llvm.loop !13 19: ; preds = %7, %3 ret void } declare i32 @vm_thread_stack_dispose(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @PHYS_TO_VM_PAGE(i32 noundef) local_unnamed_addr #1 declare i32 @pmap_kextract(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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vm_glue.c_kstack_release.c' source_filename = "AnghaBench/freebsd/sys/vm/extr_vm_glue.c_kstack_release.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @kstack_pages = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @kstack_release], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @kstack_release(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %19 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 br label %7 7: ; preds = %5, %7 %8 = phi i64 [ 0, %5 ], [ %17, %7 ] %9 = getelementptr inbounds ptr, ptr %1, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !6 %11 = ptrtoint ptr %10 to i64 %12 = tail call i32 @pmap_kextract(i64 noundef %11) #2 %13 = tail call ptr @PHYS_TO_VM_PAGE(i32 noundef %12) #2 %14 = load i32, ptr %13, align 4, !tbaa !10 %15 = load i32, ptr @kstack_pages, align 4, !tbaa !13 %16 = tail call i32 @vm_thread_stack_dispose(i32 noundef %14, i64 noundef %11, i32 noundef %15) #2 %17 = add nuw nsw i64 %8, 1 %18 = icmp eq i64 %17, %6 br i1 %18, label %19, label %7, !llvm.loop !14 19: ; preds = %7, %3 ret void } declare i32 @vm_thread_stack_dispose(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @PHYS_TO_VM_PAGE(i32 noundef) local_unnamed_addr #1 declare i32 @pmap_kextract(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
freebsd_sys_vm_extr_vm_glue.c_kstack_release
; ModuleID = 'AnghaBench/freebsd/sys/mips/nlm/dev/net/extr_xlpge.c_nlm_setup_interface.c' source_filename = "AnghaBench/freebsd/sys/mips/nlm/dev/net/extr_xlpge.c_nlm_setup_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.nlm_xlpnae_softc = type { i32, ptr, ptr, i32, i32 } %struct.TYPE_2__ = type { i32, i32, i32 } @XAUIC = dso_local local_unnamed_addr global i32 0, align 4 @SGMIIC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nlm_setup_interface], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nlm_setup_interface(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = getelementptr inbounds %struct.nlm_xlpnae_softc, ptr %0, i64 0, i32 4 %9 = load i32, ptr %8, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.nlm_xlpnae_softc, ptr %0, i64 0, i32 2 %11 = load ptr, ptr %10, align 8, !tbaa !11 %12 = sext i32 %1 to i64 %13 = getelementptr inbounds i32, ptr %11, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = load i32, ptr @XAUIC, align 4, !tbaa !12 %16 = icmp eq i32 %14, %15 br i1 %16, label %19, label %17 17: ; preds = %7 %18 = sext i32 %2 to i64 br label %26 19: ; preds = %7 %20 = getelementptr inbounds %struct.nlm_xlpnae_softc, ptr %0, i64 0, i32 1 %21 = load ptr, ptr %20, align 8, !tbaa !13 %22 = sext i32 %2 to i64 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i64 %22, i32 2 %24 = load i32, ptr %23, align 4, !tbaa !14 %25 = tail call i32 @nlm_config_xaui(i32 noundef %9, i32 noundef %1, i32 noundef 1536, i32 noundef 1536, i32 noundef %24) #2 br label %26 26: ; preds = %17, %19 %27 = phi i64 [ %18, %17 ], [ %22, %19 ] %28 = getelementptr inbounds %struct.nlm_xlpnae_softc, ptr %0, i64 0, i32 1 %29 = load ptr, ptr %28, align 8, !tbaa !13 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i64 %27 %31 = load i32, ptr %30, align 4, !tbaa !16 %32 = tail call i32 @nlm_config_freein_fifo_uniq_cfg(i32 noundef %9, i32 noundef %2, i32 noundef %31) #2 %33 = load ptr, ptr %28, align 8, !tbaa !13 %34 = getelementptr inbounds %struct.TYPE_2__, ptr %33, i64 %27, i32 1 %35 = load i32, ptr %34, align 4, !tbaa !17 %36 = tail call i32 @nlm_config_ucore_iface_mask_cfg(i32 noundef %9, i32 noundef %2, i32 noundef %35) #2 %37 = tail call i32 @nlm_program_flow_cfg(i32 noundef %9, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %38 = load ptr, ptr %10, align 8, !tbaa !11 %39 = getelementptr inbounds i32, ptr %38, i64 %12 %40 = load i32, ptr %39, align 4, !tbaa !12 %41 = load i32, ptr @SGMIIC, align 4, !tbaa !12 %42 = icmp eq i32 %40, %41 br i1 %42, label %43, label %45 43: ; preds = %26 %44 = tail call i32 @nlm_configure_sgmii_interface(i32 noundef %9, i32 noundef %1, i32 noundef %2, i32 noundef 1536, i32 noundef 0) #2 br label %45 45: ; preds = %43, %26 %46 = tail call i32 @nlm_config_egress(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %6, i32 noundef %2, i32 noundef %5) #2 %47 = getelementptr inbounds %struct.nlm_xlpnae_softc, ptr %0, i64 0, i32 3 %48 = load i32, ptr %47, align 8, !tbaa !18 %49 = tail call i32 @nlm_nae_init_netior(i32 noundef %9, i32 noundef %48) #2 %50 = load ptr, ptr %10, align 8, !tbaa !11 %51 = getelementptr inbounds i32, ptr %50, i64 %12 %52 = load i32, ptr %51, align 4, !tbaa !12 %53 = load ptr, ptr %28, align 8, !tbaa !13 %54 = getelementptr inbounds %struct.TYPE_2__, ptr %53, i64 %27 %55 = load i32, ptr %54, align 4, !tbaa !16 %56 = tail call i32 @nlm_nae_open_if(i32 noundef %9, i32 noundef %1, i32 noundef %52, i32 noundef %2, i32 noundef %55) #2 %57 = load i32, ptr %0, align 8, !tbaa !19 %58 = shl nsw i32 -1, %57 %59 = xor i32 %58, -1 %60 = tail call i32 @nlm_nae_init_ucore(i32 noundef %9, i32 noundef %2, i32 noundef %59) #2 ret void } declare i32 @nlm_config_xaui(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_config_freein_fifo_uniq_cfg(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_config_ucore_iface_mask_cfg(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_program_flow_cfg(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_configure_sgmii_interface(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_config_egress(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_nae_init_netior(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_nae_open_if(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_nae_init_ucore(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 28} !6 = !{!"nlm_xlpnae_softc", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 16} !12 = !{!7, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!15, !7, i64 8} !15 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8} !16 = !{!15, !7, i64 0} !17 = !{!15, !7, i64 4} !18 = !{!6, !7, i64 24} !19 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/mips/nlm/dev/net/extr_xlpge.c_nlm_setup_interface.c' source_filename = "AnghaBench/freebsd/sys/mips/nlm/dev/net/extr_xlpge.c_nlm_setup_interface.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, i32, i32 } @XAUIC = common local_unnamed_addr global i32 0, align 4 @SGMIIC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nlm_setup_interface], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nlm_setup_interface(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = getelementptr inbounds i8, ptr %0, i64 28 %9 = load i32, ptr %8, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = sext i32 %1 to i64 %13 = getelementptr inbounds i32, ptr %11, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = load i32, ptr @XAUIC, align 4, !tbaa !13 %16 = icmp eq i32 %14, %15 br i1 %16, label %19, label %17 17: ; preds = %7 %18 = sext i32 %2 to i64 br label %26 19: ; preds = %7 %20 = getelementptr inbounds i8, ptr %0, i64 8 %21 = load ptr, ptr %20, align 8, !tbaa !14 %22 = sext i32 %2 to i64 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i64 %22, i32 2 %24 = load i32, ptr %23, align 4, !tbaa !15 %25 = tail call i32 @nlm_config_xaui(i32 noundef %9, i32 noundef %1, i32 noundef 1536, i32 noundef 1536, i32 noundef %24) #2 br label %26 26: ; preds = %17, %19 %27 = phi i64 [ %18, %17 ], [ %22, %19 ] %28 = getelementptr inbounds i8, ptr %0, i64 8 %29 = load ptr, ptr %28, align 8, !tbaa !14 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i64 %27 %31 = load i32, ptr %30, align 4, !tbaa !17 %32 = tail call i32 @nlm_config_freein_fifo_uniq_cfg(i32 noundef %9, i32 noundef %2, i32 noundef %31) #2 %33 = load ptr, ptr %28, align 8, !tbaa !14 %34 = getelementptr inbounds %struct.TYPE_2__, ptr %33, i64 %27, i32 1 %35 = load i32, ptr %34, align 4, !tbaa !18 %36 = tail call i32 @nlm_config_ucore_iface_mask_cfg(i32 noundef %9, i32 noundef %2, i32 noundef %35) #2 %37 = tail call i32 @nlm_program_flow_cfg(i32 noundef %9, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %38 = load ptr, ptr %10, align 8, !tbaa !12 %39 = getelementptr inbounds i32, ptr %38, i64 %12 %40 = load i32, ptr %39, align 4, !tbaa !13 %41 = load i32, ptr @SGMIIC, align 4, !tbaa !13 %42 = icmp eq i32 %40, %41 br i1 %42, label %43, label %45 43: ; preds = %26 %44 = tail call i32 @nlm_configure_sgmii_interface(i32 noundef %9, i32 noundef %1, i32 noundef %2, i32 noundef 1536, i32 noundef 0) #2 br label %45 45: ; preds = %43, %26 %46 = tail call i32 @nlm_config_egress(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %6, i32 noundef %2, i32 noundef %5) #2 %47 = getelementptr inbounds i8, ptr %0, i64 24 %48 = load i32, ptr %47, align 8, !tbaa !19 %49 = tail call i32 @nlm_nae_init_netior(i32 noundef %9, i32 noundef %48) #2 %50 = load ptr, ptr %10, align 8, !tbaa !12 %51 = getelementptr inbounds i32, ptr %50, i64 %12 %52 = load i32, ptr %51, align 4, !tbaa !13 %53 = load ptr, ptr %28, align 8, !tbaa !14 %54 = getelementptr inbounds %struct.TYPE_2__, ptr %53, i64 %27 %55 = load i32, ptr %54, align 4, !tbaa !17 %56 = tail call i32 @nlm_nae_open_if(i32 noundef %9, i32 noundef %1, i32 noundef %52, i32 noundef %2, i32 noundef %55) #2 %57 = load i32, ptr %0, align 8, !tbaa !20 %58 = shl nsw i32 -1, %57 %59 = xor i32 %58, -1 %60 = tail call i32 @nlm_nae_init_ucore(i32 noundef %9, i32 noundef %2, i32 noundef %59) #2 ret void } declare i32 @nlm_config_xaui(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_config_freein_fifo_uniq_cfg(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_config_ucore_iface_mask_cfg(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_program_flow_cfg(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_configure_sgmii_interface(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_config_egress(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_nae_init_netior(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_nae_open_if(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nlm_nae_init_ucore(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 28} !7 = !{!"nlm_xlpnae_softc", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 16} !13 = !{!8, !8, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!16, !8, i64 8} !16 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !8, i64 8} !17 = !{!16, !8, i64 0} !18 = !{!16, !8, i64 4} !19 = !{!7, !8, i64 24} !20 = !{!7, !8, i64 0}
freebsd_sys_mips_nlm_dev_net_extr_xlpge.c_nlm_setup_interface
; ModuleID = 'AnghaBench/linux/drivers/reset/extr_reset-lantiq.c_lantiq_rcu_reset_status_timeout.c' source_filename = "AnghaBench/linux/drivers/reset/extr_reset-lantiq.c_lantiq_rcu_reset_status_timeout.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LANTIQ_RCU_RESET_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lantiq_rcu_reset_status_timeout], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lantiq_rcu_reset_status_timeout(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @LANTIQ_RCU_RESET_TIMEOUT, align 4, !tbaa !5 br label %5 5: ; preds = %11, %3 %6 = phi i32 [ %4, %3 ], [ %13, %11 ] %7 = tail call i32 @lantiq_rcu_reset_status(ptr noundef %0, i64 noundef %1) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %18, label %9 9: ; preds = %5 %10 = icmp eq i32 %7, %2 br i1 %10, label %18, label %11 11: ; preds = %9 %12 = tail call i32 @usleep_range(i32 noundef 20, i32 noundef 40) #2 %13 = add nsw i32 %6, -1 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %5, !llvm.loop !9 15: ; preds = %11 %16 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !5 %17 = sub nsw i32 0, %16 br label %18 18: ; preds = %9, %5, %15 %19 = phi i32 [ %17, %15 ], [ 0, %9 ], [ %7, %5 ] ret i32 %19 } declare i32 @lantiq_rcu_reset_status(ptr noundef, i64 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/reset/extr_reset-lantiq.c_lantiq_rcu_reset_status_timeout.c' source_filename = "AnghaBench/linux/drivers/reset/extr_reset-lantiq.c_lantiq_rcu_reset_status_timeout.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LANTIQ_RCU_RESET_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @ETIMEDOUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lantiq_rcu_reset_status_timeout], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lantiq_rcu_reset_status_timeout(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @LANTIQ_RCU_RESET_TIMEOUT, align 4, !tbaa !6 br label %5 5: ; preds = %11, %3 %6 = phi i32 [ %4, %3 ], [ %13, %11 ] %7 = tail call i32 @lantiq_rcu_reset_status(ptr noundef %0, i64 noundef %1) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %18, label %9 9: ; preds = %5 %10 = icmp eq i32 %7, %2 br i1 %10, label %18, label %11 11: ; preds = %9 %12 = tail call i32 @usleep_range(i32 noundef 20, i32 noundef 40) #2 %13 = add nsw i32 %6, -1 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %5, !llvm.loop !10 15: ; preds = %11 %16 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !6 %17 = sub nsw i32 0, %16 br label %18 18: ; preds = %9, %5, %15 %19 = phi i32 [ %17, %15 ], [ 0, %9 ], [ %7, %5 ] ret i32 %19 } declare i32 @lantiq_rcu_reset_status(ptr noundef, i64 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, !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"}
linux_drivers_reset_extr_reset-lantiq.c_lantiq_rcu_reset_status_timeout
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_lock.c_hash_fetch.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_lock.c_hash_fetch.c" target datalayout = "e-m:e-p270:32:32-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 @hash_fetch], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @hash_fetch(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @svn_hash_gets(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = load ptr, ptr %3, align 8, !tbaa !5 br label %7 7: ; preds = %2, %5 %8 = phi ptr [ %6, %5 ], [ null, %2 ] ret ptr %8 } declare ptr @svn_hash_gets(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_lock.c_hash_fetch.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_lock.c_hash_fetch.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 @hash_fetch], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @hash_fetch(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @svn_hash_gets(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = load ptr, ptr %3, align 8, !tbaa !6 br label %7 7: ; preds = %2, %5 %8 = phi ptr [ %6, %5 ], [ null, %2 ] ret ptr %8 } declare ptr @svn_hash_gets(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_subversion_subversion_libsvn_fs_x_extr_lock.c_hash_fetch
; ModuleID = 'AnghaBench/linux/drivers/usb/chipidea/extr_core.c_ci_get_revision.c' source_filename = "AnghaBench/linux/drivers/usb/chipidea/extr_core.c_ci_get_revision.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ID_ID = dso_local local_unnamed_addr global i32 0, align 4 @VERSION = dso_local local_unnamed_addr global i32 0, align 4 @CI_REVISION_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4 @REVISION = dso_local local_unnamed_addr global i32 0, align 4 @CI_REVISION_20 = dso_local local_unnamed_addr global i64 0, align 8 @CI_REVISION_1X = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ci_get_revision], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ci_get_revision(ptr noundef %0) #0 { %2 = load i32, ptr @ID_ID, align 4, !tbaa !5 %3 = load i32, ptr @VERSION, align 4, !tbaa !5 %4 = tail call i32 @hw_read_id_reg(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 %5 = load i32, ptr @VERSION, align 4, !tbaa !5 %6 = tail call i32 @__ffs(i32 noundef %5) #2 %7 = ashr i32 %4, %6 %8 = icmp eq i32 %7, 2 br i1 %8, label %9, label %19 9: ; preds = %1 %10 = load i32, ptr @ID_ID, align 4, !tbaa !5 %11 = load i32, ptr @REVISION, align 4, !tbaa !5 %12 = tail call i32 @hw_read_id_reg(ptr noundef %0, i32 noundef %10, i32 noundef %11) #2 %13 = load i32, ptr @REVISION, align 4, !tbaa !5 %14 = tail call i32 @__ffs(i32 noundef %13) #2 %15 = ashr i32 %12, %14 %16 = load i64, ptr @CI_REVISION_20, align 8, !tbaa !9 %17 = trunc i64 %16 to i32 %18 = add i32 %15, %17 br label %24 19: ; preds = %1 %20 = load i32, ptr @CI_REVISION_UNKNOWN, align 4, !tbaa !5 %21 = icmp eq i32 %7, 0 %22 = load i32, ptr @CI_REVISION_1X, align 4 %23 = select i1 %21, i32 %22, i32 %20 br label %24 24: ; preds = %19, %9 %25 = phi i32 [ %18, %9 ], [ %23, %19 ] ret i32 %25 } declare i32 @hw_read_id_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__ffs(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}
; ModuleID = 'AnghaBench/linux/drivers/usb/chipidea/extr_core.c_ci_get_revision.c' source_filename = "AnghaBench/linux/drivers/usb/chipidea/extr_core.c_ci_get_revision.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ID_ID = common local_unnamed_addr global i32 0, align 4 @VERSION = common local_unnamed_addr global i32 0, align 4 @CI_REVISION_UNKNOWN = common local_unnamed_addr global i32 0, align 4 @REVISION = common local_unnamed_addr global i32 0, align 4 @CI_REVISION_20 = common local_unnamed_addr global i64 0, align 8 @CI_REVISION_1X = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ci_get_revision], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ci_get_revision(ptr noundef %0) #0 { %2 = load i32, ptr @ID_ID, align 4, !tbaa !6 %3 = load i32, ptr @VERSION, align 4, !tbaa !6 %4 = tail call i32 @hw_read_id_reg(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 %5 = load i32, ptr @VERSION, align 4, !tbaa !6 %6 = tail call i32 @__ffs(i32 noundef %5) #2 %7 = ashr i32 %4, %6 %8 = icmp eq i32 %7, 2 br i1 %8, label %9, label %19 9: ; preds = %1 %10 = load i32, ptr @ID_ID, align 4, !tbaa !6 %11 = load i32, ptr @REVISION, align 4, !tbaa !6 %12 = tail call i32 @hw_read_id_reg(ptr noundef %0, i32 noundef %10, i32 noundef %11) #2 %13 = load i32, ptr @REVISION, align 4, !tbaa !6 %14 = tail call i32 @__ffs(i32 noundef %13) #2 %15 = ashr i32 %12, %14 %16 = load i64, ptr @CI_REVISION_20, align 8, !tbaa !10 %17 = trunc i64 %16 to i32 %18 = add i32 %15, %17 br label %24 19: ; preds = %1 %20 = load i32, ptr @CI_REVISION_UNKNOWN, align 4, !tbaa !6 %21 = icmp eq i32 %7, 0 %22 = load i32, ptr @CI_REVISION_1X, align 4 %23 = select i1 %21, i32 %22, i32 %20 br label %24 24: ; preds = %19, %9 %25 = phi i32 [ %18, %9 ], [ %23, %19 ] ret i32 %25 } declare i32 @hw_read_id_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__ffs(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}
linux_drivers_usb_chipidea_extr_core.c_ci_get_revision
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_read_intctl_1.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_read_intctl_1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @read_intctl_1], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @read_intctl_1() #0 { %1 = tail call i32 asm sideeffect "mrc p6, 0, $0, c1, c4, 0", "=r,~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !5 ret i32 %1 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{i64 507}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_read_intctl_1.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_read_intctl_1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @read_intctl_1], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @read_intctl_1() #0 { %1 = tail call i32 asm sideeffect "mrc p6, 0, $0, c1, c4, 0", "=r"() #1, !srcloc !6 ret i32 %1 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{i64 507}
fastsocket_kernel_arch_arm_mach-iop13xx_extr_irq.c_read_intctl_1
; ModuleID = 'AnghaBench/skynet/lualib-src/extr_lua-skynet.c_lpackstring.c' source_filename = "AnghaBench/skynet/lualib-src/extr_lua-skynet.c_lpackstring.c" target datalayout = "e-m:e-p270:32:32-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 @lpackstring], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @lpackstring(ptr noundef %0) #0 { %2 = tail call i32 @luaseri_pack(ptr noundef %0) #2 %3 = tail call i64 @lua_touserdata(ptr noundef %0, i32 noundef -2) #2 %4 = inttoptr i64 %3 to ptr %5 = tail call i32 @lua_tointeger(ptr noundef %0, i32 noundef -1) #2 %6 = tail call i32 @lua_pushlstring(ptr noundef %0, ptr noundef %4, i32 noundef %5) #2 %7 = tail call i32 @skynet_free(ptr noundef %4) #2 ret i32 1 } declare i32 @luaseri_pack(ptr noundef) local_unnamed_addr #1 declare i64 @lua_touserdata(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_tointeger(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pushlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skynet_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/skynet/lualib-src/extr_lua-skynet.c_lpackstring.c' source_filename = "AnghaBench/skynet/lualib-src/extr_lua-skynet.c_lpackstring.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 @lpackstring], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @lpackstring(ptr noundef %0) #0 { %2 = tail call i32 @luaseri_pack(ptr noundef %0) #2 %3 = tail call i64 @lua_touserdata(ptr noundef %0, i32 noundef -2) #2 %4 = inttoptr i64 %3 to ptr %5 = tail call i32 @lua_tointeger(ptr noundef %0, i32 noundef -1) #2 %6 = tail call i32 @lua_pushlstring(ptr noundef %0, ptr noundef %4, i32 noundef %5) #2 %7 = tail call i32 @skynet_free(ptr noundef %4) #2 ret i32 1 } declare i32 @luaseri_pack(ptr noundef) local_unnamed_addr #1 declare i64 @lua_touserdata(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_tointeger(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pushlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skynet_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)"}
skynet_lualib-src_extr_lua-skynet.c_lpackstring
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_hweight.c_hweight32.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_hweight.c_hweight32.c" target datalayout = "e-m:e-p270:32:32-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 i32 @hweight32(i32 noundef %0) local_unnamed_addr #0 { %2 = lshr i32 %0, 1 %3 = and i32 %2, 1431655765 %4 = sub i32 %0, %3 %5 = and i32 %4, 858993459 %6 = lshr i32 %4, 2 %7 = and i32 %6, 858993459 %8 = add nuw nsw i32 %7, %5 %9 = lshr i32 %8, 4 %10 = add nuw nsw i32 %9, %8 %11 = and i32 %10, 252645135 %12 = lshr i32 %11, 8 %13 = add nuw nsw i32 %12, %11 %14 = lshr i32 %13, 16 %15 = add nuw nsw i32 %14, %13 %16 = and i32 %15, 63 ret i32 %16 } 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/tools/perf/util/extr_hweight.c_hweight32.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_hweight.c_hweight32.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 range(i32 0, 256) i32 @hweight32(i32 noundef %0) local_unnamed_addr #0 { %2 = lshr i32 %0, 1 %3 = and i32 %2, 1431655765 %4 = sub i32 %0, %3 %5 = and i32 %4, 858993459 %6 = lshr i32 %4, 2 %7 = and i32 %6, 858993459 %8 = add nuw nsw i32 %7, %5 %9 = lshr i32 %8, 4 %10 = add nuw nsw i32 %9, %8 %11 = and i32 %10, 252645135 %12 = lshr i32 %11, 8 %13 = add nuw nsw i32 %12, %11 %14 = lshr i32 %13, 16 %15 = add nuw nsw i32 %14, %13 %16 = and i32 %15, 63 ret i32 %16 } 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)"}
fastsocket_kernel_tools_perf_util_extr_hweight.c_hweight32
; ModuleID = 'AnghaBench/linux/fs/ubifs/extr_recovery.c_is_last_write.c' source_filename = "AnghaBench/linux/fs/ubifs/extr_recovery.c_is_last_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ubifs_info = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @is_last_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @is_last_write(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = add nsw i32 %2, 1 %5 = getelementptr inbounds %struct.ubifs_info, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = tail call i32 @ALIGN(i32 noundef %4, i32 noundef %6) #2 %8 = load i32, ptr %0, align 4, !tbaa !10 %9 = sub nsw i32 %8, %7 %10 = sext i32 %7 to i64 %11 = getelementptr inbounds i8, ptr %1, i64 %10 %12 = sext i32 %2 to i64 %13 = sub nsw i64 0, %12 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = tail call i32 @is_empty(ptr noundef %14, i32 noundef %9) #2 ret i32 %15 } declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @is_empty(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 = !{!"ubifs_info", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/ubifs/extr_recovery.c_is_last_write.c' source_filename = "AnghaBench/linux/fs/ubifs/extr_recovery.c_is_last_write.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_last_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @is_last_write(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = add nsw i32 %2, 1 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = tail call i32 @ALIGN(i32 noundef %4, i32 noundef %6) #2 %8 = load i32, ptr %0, align 4, !tbaa !11 %9 = sub nsw i32 %8, %7 %10 = sext i32 %7 to i64 %11 = getelementptr inbounds i8, ptr %1, i64 %10 %12 = sext i32 %2 to i64 %13 = sub nsw i64 0, %12 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = tail call i32 @is_empty(ptr noundef %14, i32 noundef %9) #2 ret i32 %15 } declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @is_empty(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 = !{!"ubifs_info", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
linux_fs_ubifs_extr_recovery.c_is_last_write
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/dvm/extr_rs.c_rs_rate_init_stub.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/dvm/extr_rs.c_rs_rate_init_stub.c" target datalayout = "e-m:e-p270:32:32-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 @rs_rate_init_stub], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @rs_rate_init_stub(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture readnone %3, ptr nocapture readnone %4) #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/linux/drivers/net/wireless/intel/iwlwifi/dvm/extr_rs.c_rs_rate_init_stub.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/dvm/extr_rs.c_rs_rate_init_stub.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 @rs_rate_init_stub], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @rs_rate_init_stub(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture readnone %3, ptr nocapture readnone %4) #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)"}
linux_drivers_net_wireless_intel_iwlwifi_dvm_extr_rs.c_rs_rate_init_stub
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/extr_nv04.c_nv04_gr_mthd_gdi.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/extr_nv04.c_nv04_gr_mthd_gdi.c" target datalayout = "e-m:e-p270:32:32-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 @nv04_gr_mthd_gdi], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nv04_gr_mthd_gdi(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { switch i32 %2, label %13 [ i32 392, label %10 i32 396, label %5 i32 400, label %6 i32 404, label %7 i32 408, label %8 i32 764, label %9 ] 5: ; preds = %4 br label %10 6: ; preds = %4 br label %10 7: ; preds = %4 br label %10 8: ; preds = %4 br label %10 9: ; preds = %4 br label %10 10: ; preds = %4, %9, %8, %7, %6, %5 %11 = phi ptr [ @nv04_gr_mthd_set_operation, %9 ], [ @nv04_gr_mthd_bind_surf2d, %8 ], [ @nv04_gr_mthd_bind_beta4, %7 ], [ @nv04_gr_mthd_bind_beta1, %6 ], [ @nv04_gr_mthd_bind_rop, %5 ], [ @nv04_gr_mthd_bind_patt, %4 ] %12 = tail call i32 %11(ptr noundef %0, i32 noundef %1, i32 noundef %3) #2 br label %13 13: ; preds = %4, %10 %14 = phi i32 [ %12, %10 ], [ 0, %4 ] ret i32 %14 } declare i32 @nv04_gr_mthd_bind_patt(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv04_gr_mthd_bind_rop(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv04_gr_mthd_bind_beta1(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv04_gr_mthd_bind_beta4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv04_gr_mthd_bind_surf2d(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv04_gr_mthd_set_operation(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/extr_nv04.c_nv04_gr_mthd_gdi.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/extr_nv04.c_nv04_gr_mthd_gdi.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 @nv04_gr_mthd_gdi], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nv04_gr_mthd_gdi(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { switch i32 %2, label %13 [ i32 392, label %10 i32 396, label %5 i32 400, label %6 i32 404, label %7 i32 408, label %8 i32 764, label %9 ] 5: ; preds = %4 br label %10 6: ; preds = %4 br label %10 7: ; preds = %4 br label %10 8: ; preds = %4 br label %10 9: ; preds = %4 br label %10 10: ; preds = %4, %9, %8, %7, %6, %5 %11 = phi ptr [ @nv04_gr_mthd_set_operation, %9 ], [ @nv04_gr_mthd_bind_surf2d, %8 ], [ @nv04_gr_mthd_bind_beta4, %7 ], [ @nv04_gr_mthd_bind_beta1, %6 ], [ @nv04_gr_mthd_bind_rop, %5 ], [ @nv04_gr_mthd_bind_patt, %4 ] %12 = tail call i32 %11(ptr noundef %0, i32 noundef %1, i32 noundef %3) #2 br label %13 13: ; preds = %4, %10 %14 = phi i32 [ %12, %10 ], [ 0, %4 ] ret i32 %14 } declare i32 @nv04_gr_mthd_bind_patt(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv04_gr_mthd_bind_rop(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv04_gr_mthd_bind_beta1(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv04_gr_mthd_bind_beta4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv04_gr_mthd_bind_surf2d(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv04_gr_mthd_set_operation(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_drm_nouveau_nvkm_engine_gr_extr_nv04.c_nv04_gr_mthd_gdi
; ModuleID = 'AnghaBench/linux/drivers/pcmcia/extr_db1xxx_ss.c_db1x_pcmcia_free_irqs.c' source_filename = "AnghaBench/linux/drivers/pcmcia/extr_db1xxx_ss.c_db1x_pcmcia_free_irqs.c" target datalayout = "e-m:e-p270:32:32-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.db1x_pcmcia_sock = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @db1x_pcmcia_free_irqs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @db1x_pcmcia_free_irqs(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = icmp eq i32 %2, -1 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @free_irq(i32 noundef %2, ptr noundef nonnull %0) #2 br label %6 6: ; preds = %4, %1 %7 = getelementptr inbounds %struct.db1x_pcmcia_sock, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = tail call i32 @free_irq(i32 noundef %8, ptr noundef nonnull %0) #2 %10 = getelementptr inbounds %struct.db1x_pcmcia_sock, ptr %0, i64 0, i32 2 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = icmp eq i32 %11, -1 br i1 %12, label %15, label %13 13: ; preds = %6 %14 = tail call i32 @free_irq(i32 noundef %11, ptr noundef nonnull %0) #2 br label %15 15: ; preds = %13, %6 ret void } declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"db1x_pcmcia_sock", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/pcmcia/extr_db1xxx_ss.c_db1x_pcmcia_free_irqs.c' source_filename = "AnghaBench/linux/drivers/pcmcia/extr_db1xxx_ss.c_db1x_pcmcia_free_irqs.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 @db1x_pcmcia_free_irqs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @db1x_pcmcia_free_irqs(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = icmp eq i32 %2, -1 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @free_irq(i32 noundef %2, ptr noundef nonnull %0) #2 br label %6 6: ; preds = %4, %1 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = tail call i32 @free_irq(i32 noundef %8, ptr noundef nonnull %0) #2 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = icmp eq i32 %11, -1 br i1 %12, label %15, label %13 13: ; preds = %6 %14 = tail call i32 @free_irq(i32 noundef %11, ptr noundef nonnull %0) #2 br label %15 15: ; preds = %13, %6 ret void } declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"db1x_pcmcia_sock", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!7, !8, i64 8}
linux_drivers_pcmcia_extr_db1xxx_ss.c_db1x_pcmcia_free_irqs
; ModuleID = 'AnghaBench/radare2/libr/anal/extr_esil2reil.c_reil_diveq.c' source_filename = "AnghaBench/radare2/libr/anal/extr_esil2reil.c_reil_diveq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @REIL_DIV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @reil_diveq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @reil_diveq(ptr noundef %0) #0 { %2 = load i32, ptr @REIL_DIV, align 4, !tbaa !5 %3 = tail call i32 @reil_bineqop(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @reil_bineqop(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/radare2/libr/anal/extr_esil2reil.c_reil_diveq.c' source_filename = "AnghaBench/radare2/libr/anal/extr_esil2reil.c_reil_diveq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REIL_DIV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @reil_diveq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @reil_diveq(ptr noundef %0) #0 { %2 = load i32, ptr @REIL_DIV, align 4, !tbaa !6 %3 = tail call i32 @reil_bineqop(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @reil_bineqop(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"}
radare2_libr_anal_extr_esil2reil.c_reil_diveq
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/ttpci/extr_av7110_ca.c_av7110_ca_exit.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/ttpci/extr_av7110_ca.c_av7110_ca_exit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.av7110 = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @av7110_ca_exit(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.av7110, ptr %0, i64 0, i32 1 %3 = tail call i32 @ci_ll_release(ptr noundef nonnull %2, ptr noundef %0) #2 ret void } declare i32 @ci_ll_release(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/ttpci/extr_av7110_ca.c_av7110_ca_exit.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/ttpci/extr_av7110_ca.c_av7110_ca_exit.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 @av7110_ca_exit(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = tail call i32 @ci_ll_release(ptr noundef nonnull %2, ptr noundef %0) #2 ret void } declare i32 @ci_ll_release(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_media_dvb_ttpci_extr_av7110_ca.c_av7110_ca_exit
; ModuleID = 'AnghaBench/linux/drivers/mmc/core/extr_mmc_ops.c_mmc_send_csd.c' source_filename = "AnghaBench/linux/drivers/mmc/core/extr_mmc_ops.c_mmc_send_csd.c" target datalayout = "e-m:e-p270:32:32-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.mmc_card = type { i32, i32 } @MMC_SEND_CSD = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mmc_send_csd(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.mmc_card, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i64 @mmc_host_is_spi(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %2 %8 = tail call i32 @mmc_spi_send_csd(ptr noundef nonnull %0, ptr noundef %1) #2 br label %15 9: ; preds = %2 %10 = load i32, ptr %3, align 4, !tbaa !5 %11 = load i32, ptr %0, align 4, !tbaa !10 %12 = shl i32 %11, 16 %13 = load i32, ptr @MMC_SEND_CSD, align 4, !tbaa !11 %14 = tail call i32 @mmc_send_cxd_native(i32 noundef %10, i32 noundef %12, ptr noundef %1, i32 noundef %13) #2 br label %15 15: ; preds = %9, %7 %16 = phi i32 [ %8, %7 ], [ %14, %9 ] ret i32 %16 } declare i64 @mmc_host_is_spi(i32 noundef) local_unnamed_addr #1 declare i32 @mmc_spi_send_csd(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mmc_send_cxd_native(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"mmc_card", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/mmc/core/extr_mmc_ops.c_mmc_send_csd.c' source_filename = "AnghaBench/linux/drivers/mmc/core/extr_mmc_ops.c_mmc_send_csd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MMC_SEND_CSD = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mmc_send_csd(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i64 @mmc_host_is_spi(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %2 %8 = tail call i32 @mmc_spi_send_csd(ptr noundef nonnull %0, ptr noundef %1) #2 br label %15 9: ; preds = %2 %10 = load i32, ptr %3, align 4, !tbaa !6 %11 = load i32, ptr %0, align 4, !tbaa !11 %12 = shl i32 %11, 16 %13 = load i32, ptr @MMC_SEND_CSD, align 4, !tbaa !12 %14 = tail call i32 @mmc_send_cxd_native(i32 noundef %10, i32 noundef %12, ptr noundef %1, i32 noundef %13) #2 br label %15 15: ; preds = %9, %7 %16 = phi i32 [ %8, %7 ], [ %14, %9 ] ret i32 %16 } declare i64 @mmc_host_is_spi(i32 noundef) local_unnamed_addr #1 declare i32 @mmc_spi_send_csd(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mmc_send_cxd_native(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"mmc_card", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!8, !8, i64 0}
linux_drivers_mmc_core_extr_mmc_ops.c_mmc_send_csd
; ModuleID = 'AnghaBench/linux/drivers/mtd/ubi/extr_upd.c_clear_update_marker.c' source_filename = "AnghaBench/linux/drivers/mtd/ubi/extr_upd.c_clear_update_marker.c" target datalayout = "e-m:e-p270:32:32-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.ubi_vtbl_record = type { i64 } %struct.ubi_device = type { i32, ptr } %struct.ubi_volume = type { i64, i64, i64, i32, i64, i64, i64, i64 } @.str = private unnamed_addr constant [34 x i8] c"clear update marker for volume %d\00", align 1 @UBI_STATIC_VOLUME = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @clear_update_marker], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @clear_update_marker(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca %struct.ubi_vtbl_record, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load i64, ptr %1, align 8, !tbaa !5 %6 = tail call i32 @dbg_gen(ptr noundef nonnull @.str, i64 noundef %5) #3 %7 = getelementptr inbounds %struct.ubi_device, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = load i64, ptr %1, align 8, !tbaa !5 %10 = getelementptr inbounds %struct.ubi_vtbl_record, ptr %8, i64 %9 %11 = load i64, ptr %10, align 8, !tbaa !15 %12 = getelementptr inbounds %struct.ubi_volume, ptr %1, i64 0, i32 4 %13 = load i64, ptr %12, align 8, !tbaa !16 %14 = icmp ne i64 %13, 0 %15 = icmp ne i64 %11, 0 %16 = select i1 %14, i1 %15, i1 false %17 = zext i1 %16 to i32 %18 = tail call i32 @ubi_assert(i32 noundef %17) #3 store i64 0, ptr %4, align 8, !tbaa !17 %19 = getelementptr inbounds %struct.ubi_volume, ptr %1, i64 0, i32 1 %20 = load i64, ptr %19, align 8, !tbaa !19 %21 = load i64, ptr @UBI_STATIC_VOLUME, align 8, !tbaa !15 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %37 23: ; preds = %3 %24 = getelementptr inbounds %struct.ubi_volume, ptr %1, i64 0, i32 7 store i64 0, ptr %24, align 8, !tbaa !20 %25 = getelementptr inbounds %struct.ubi_volume, ptr %1, i64 0, i32 2 store i64 %2, ptr %25, align 8, !tbaa !21 %26 = getelementptr inbounds %struct.ubi_volume, ptr %1, i64 0, i32 5 %27 = load i64, ptr %26, align 8, !tbaa !22 %28 = getelementptr inbounds %struct.ubi_volume, ptr %1, i64 0, i32 6 %29 = tail call i32 @div_u64_rem(i64 noundef %2, i64 noundef %27, ptr noundef nonnull %28) #3 %30 = getelementptr inbounds %struct.ubi_volume, ptr %1, i64 0, i32 3 store i32 %29, ptr %30, align 8, !tbaa !23 %31 = load i64, ptr %28, align 8, !tbaa !24 %32 = icmp eq i64 %31, 0 br i1 %32, label %35, label %33 33: ; preds = %23 %34 = add nsw i32 %29, 1 store i32 %34, ptr %30, align 8, !tbaa !23 br label %37 35: ; preds = %23 %36 = load i64, ptr %26, align 8, !tbaa !22 store i64 %36, ptr %28, align 8, !tbaa !24 br label %37 37: ; preds = %33, %35, %3 %38 = tail call i32 @mutex_lock(ptr noundef nonnull %0) #3 %39 = load i64, ptr %1, align 8, !tbaa !5 %40 = call i32 @ubi_change_vtbl_record(ptr noundef nonnull %0, i64 noundef %39, ptr noundef nonnull %4) #3 store i64 0, ptr %12, align 8, !tbaa !16 %41 = call i32 @mutex_unlock(ptr noundef nonnull %0) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %40 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @dbg_gen(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @ubi_assert(i32 noundef) local_unnamed_addr #2 declare i32 @div_u64_rem(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @ubi_change_vtbl_record(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ubi_volume", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long long", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"ubi_device", !11, i64 0, !14, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!6, !7, i64 32} !17 = !{!18, !7, i64 0} !18 = !{!"ubi_vtbl_record", !7, i64 0} !19 = !{!6, !7, i64 8} !20 = !{!6, !7, i64 56} !21 = !{!6, !10, i64 16} !22 = !{!6, !7, i64 40} !23 = !{!6, !11, i64 24} !24 = !{!6, !7, i64 48}
; ModuleID = 'AnghaBench/linux/drivers/mtd/ubi/extr_upd.c_clear_update_marker.c' source_filename = "AnghaBench/linux/drivers/mtd/ubi/extr_upd.c_clear_update_marker.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ubi_vtbl_record = type { i64 } @.str = private unnamed_addr constant [34 x i8] c"clear update marker for volume %d\00", align 1 @UBI_STATIC_VOLUME = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @clear_update_marker], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @clear_update_marker(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca %struct.ubi_vtbl_record, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load i64, ptr %1, align 8, !tbaa !6 %6 = tail call i32 @dbg_gen(ptr noundef nonnull @.str, i64 noundef %5) #3 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = load i64, ptr %1, align 8, !tbaa !6 %10 = getelementptr inbounds %struct.ubi_vtbl_record, ptr %8, i64 %9 %11 = load i64, ptr %10, align 8, !tbaa !16 %12 = getelementptr inbounds i8, ptr %1, i64 32 %13 = load i64, ptr %12, align 8, !tbaa !17 %14 = icmp ne i64 %13, 0 %15 = icmp ne i64 %11, 0 %16 = select i1 %14, i1 %15, i1 false %17 = zext i1 %16 to i32 %18 = tail call i32 @ubi_assert(i32 noundef %17) #3 store i64 0, ptr %4, align 8, !tbaa !18 %19 = getelementptr inbounds i8, ptr %1, i64 8 %20 = load i64, ptr %19, align 8, !tbaa !20 %21 = load i64, ptr @UBI_STATIC_VOLUME, align 8, !tbaa !16 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %37 23: ; preds = %3 %24 = getelementptr inbounds i8, ptr %1, i64 56 store i64 0, ptr %24, align 8, !tbaa !21 %25 = getelementptr inbounds i8, ptr %1, i64 16 store i64 %2, ptr %25, align 8, !tbaa !22 %26 = getelementptr inbounds i8, ptr %1, i64 40 %27 = load i64, ptr %26, align 8, !tbaa !23 %28 = getelementptr inbounds i8, ptr %1, i64 48 %29 = tail call i32 @div_u64_rem(i64 noundef %2, i64 noundef %27, ptr noundef nonnull %28) #3 %30 = getelementptr inbounds i8, ptr %1, i64 24 store i32 %29, ptr %30, align 8, !tbaa !24 %31 = load i64, ptr %28, align 8, !tbaa !25 %32 = icmp eq i64 %31, 0 br i1 %32, label %35, label %33 33: ; preds = %23 %34 = add nsw i32 %29, 1 store i32 %34, ptr %30, align 8, !tbaa !24 br label %37 35: ; preds = %23 %36 = load i64, ptr %26, align 8, !tbaa !23 store i64 %36, ptr %28, align 8, !tbaa !25 br label %37 37: ; preds = %33, %35, %3 %38 = tail call i32 @mutex_lock(ptr noundef nonnull %0) #3 %39 = load i64, ptr %1, align 8, !tbaa !6 %40 = call i32 @ubi_change_vtbl_record(ptr noundef nonnull %0, i64 noundef %39, ptr noundef nonnull %4) #3 store i64 0, ptr %12, align 8, !tbaa !17 %41 = call i32 @mutex_unlock(ptr noundef nonnull %0) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %40 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @dbg_gen(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @ubi_assert(i32 noundef) local_unnamed_addr #2 declare i32 @div_u64_rem(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @ubi_change_vtbl_record(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ubi_volume", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long long", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !15, i64 8} !14 = !{!"ubi_device", !12, i64 0, !15, i64 8} !15 = !{!"any pointer", !9, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!7, !8, i64 32} !18 = !{!19, !8, i64 0} !19 = !{!"ubi_vtbl_record", !8, i64 0} !20 = !{!7, !8, i64 8} !21 = !{!7, !8, i64 56} !22 = !{!7, !11, i64 16} !23 = !{!7, !8, i64 40} !24 = !{!7, !12, i64 24} !25 = !{!7, !8, i64 48}
linux_drivers_mtd_ubi_extr_upd.c_clear_update_marker
; ModuleID = 'AnghaBench/citus/src/backend/distributed/connection/extr_placement_connection.c_ResetShardPlacementAssociation.c' source_filename = "AnghaBench/citus/src/backend/distributed/connection/extr_placement_connection.c_ResetShardPlacementAssociation.c" target datalayout = "e-m:e-p270:32:32-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 @ResetShardPlacementAssociation(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @dlist_init(ptr noundef %0) #2 ret void } declare i32 @dlist_init(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/citus/src/backend/distributed/connection/extr_placement_connection.c_ResetShardPlacementAssociation.c' source_filename = "AnghaBench/citus/src/backend/distributed/connection/extr_placement_connection.c_ResetShardPlacementAssociation.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 @ResetShardPlacementAssociation(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @dlist_init(ptr noundef %0) #2 ret void } declare i32 @dlist_init(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
citus_src_backend_distributed_connection_extr_placement_connection.c_ResetShardPlacementAssociation
; ModuleID = 'AnghaBench/linux/drivers/block/paride/extr_kbic.c_kbic_write_regr.c' source_filename = "AnghaBench/linux/drivers/block/paride/extr_kbic.c_kbic_write_regr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @cont_map = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @kbic_write_regr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @kbic_write_regr(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load ptr, ptr @cont_map, align 8, !tbaa !5 %6 = sext i32 %1 to i64 %7 = getelementptr inbounds i32, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = load i32, ptr %0, align 4, !tbaa !11 switch i32 %9, label %32 [ i32 0, label %10 i32 1, label %10 i32 2, label %10 i32 3, label %18 i32 4, label %18 i32 5, label %18 ] 10: ; preds = %4, %4, %4 %11 = or i32 %8, %2 %12 = or i32 %11, 16 %13 = tail call i32 @w0(i32 noundef %12) #2 %14 = tail call i32 @w2(i32 noundef 4) #2 %15 = tail call i32 @w2(i32 noundef 6) #2 %16 = tail call i32 @w2(i32 noundef 4) #2 %17 = tail call i32 @w0(i32 noundef %3) #2 br label %28 18: ; preds = %4, %4, %4 %19 = or i32 %8, 32 %20 = tail call i32 @w0(i32 noundef %19) #2 %21 = tail call i32 @w2(i32 noundef 4) #2 %22 = tail call i32 @w2(i32 noundef 6) #2 %23 = tail call i32 @w2(i32 noundef 4) #2 %24 = tail call i32 @w3(i32 noundef %2) #2 %25 = tail call i32 @w4(i32 noundef %3) #2 %26 = tail call i32 @w4(i32 noundef %3) #2 %27 = tail call i32 @w2(i32 noundef 4) #2 br label %28 28: ; preds = %10, %18 %29 = phi i32 [ 0, %18 ], [ 5, %10 ] %30 = tail call i32 @w2(i32 noundef %29) #2 %31 = tail call i32 @w2(i32 noundef 4) #2 br label %32 32: ; preds = %28, %4 ret void } declare i32 @w0(i32 noundef) local_unnamed_addr #1 declare i32 @w2(i32 noundef) local_unnamed_addr #1 declare i32 @w3(i32 noundef) local_unnamed_addr #1 declare i32 @w4(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_3__", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/block/paride/extr_kbic.c_kbic_write_regr.c' source_filename = "AnghaBench/linux/drivers/block/paride/extr_kbic.c_kbic_write_regr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @cont_map = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @kbic_write_regr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @kbic_write_regr(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load ptr, ptr @cont_map, align 8, !tbaa !6 %6 = sext i32 %1 to i64 %7 = getelementptr inbounds i32, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = load i32, ptr %0, align 4, !tbaa !12 switch i32 %9, label %32 [ i32 0, label %10 i32 1, label %10 i32 2, label %10 i32 3, label %18 i32 4, label %18 i32 5, label %18 ] 10: ; preds = %4, %4, %4 %11 = or i32 %8, %2 %12 = or i32 %11, 16 %13 = tail call i32 @w0(i32 noundef %12) #2 %14 = tail call i32 @w2(i32 noundef 4) #2 %15 = tail call i32 @w2(i32 noundef 6) #2 %16 = tail call i32 @w2(i32 noundef 4) #2 %17 = tail call i32 @w0(i32 noundef %3) #2 br label %28 18: ; preds = %4, %4, %4 %19 = or i32 %8, 32 %20 = tail call i32 @w0(i32 noundef %19) #2 %21 = tail call i32 @w2(i32 noundef 4) #2 %22 = tail call i32 @w2(i32 noundef 6) #2 %23 = tail call i32 @w2(i32 noundef 4) #2 %24 = tail call i32 @w3(i32 noundef %2) #2 %25 = tail call i32 @w4(i32 noundef %3) #2 %26 = tail call i32 @w4(i32 noundef %3) #2 %27 = tail call i32 @w2(i32 noundef 4) #2 br label %28 28: ; preds = %10, %18 %29 = phi i32 [ 0, %18 ], [ 5, %10 ] %30 = tail call i32 @w2(i32 noundef %29) #2 %31 = tail call i32 @w2(i32 noundef 4) #2 br label %32 32: ; preds = %28, %4 ret void } declare i32 @w0(i32 noundef) local_unnamed_addr #1 declare i32 @w2(i32 noundef) local_unnamed_addr #1 declare i32 @w3(i32 noundef) local_unnamed_addr #1 declare i32 @w4(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_3__", !11, i64 0}
linux_drivers_block_paride_extr_kbic.c_kbic_write_regr
; ModuleID = 'AnghaBench/linux/tools/perf/extr_builtin-c2c.c_get_dimension.c' source_filename = "AnghaBench/linux/tools/perf/extr_builtin-c2c.c_get_dimension.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @dimensions = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_dimension], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @get_dimension(ptr noundef %0) #0 { %2 = load ptr, ptr @dimensions, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %18, label %12 5: ; preds = %12 %6 = add i32 %14, 1 %7 = load ptr, ptr @dimensions, align 8, !tbaa !5 %8 = zext i32 %6 to i64 %9 = getelementptr inbounds ptr, ptr %7, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !5 %11 = icmp eq ptr %10, null br i1 %11, label %18, label %12, !llvm.loop !9 12: ; preds = %1, %5 %13 = phi ptr [ %10, %5 ], [ %3, %1 ] %14 = phi i32 [ %6, %5 ], [ 0, %1 ] %15 = load i32, ptr %13, align 4, !tbaa !11 %16 = tail call i32 @strcmp(i32 noundef %15, ptr noundef %0) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %5 18: ; preds = %12, %5, %1 %19 = phi ptr [ null, %1 ], [ null, %5 ], [ %13, %12 ] ret ptr %19 } declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !13, i64 0} !12 = !{!"c2c_dimension", !13, i64 0} !13 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/tools/perf/extr_builtin-c2c.c_get_dimension.c' source_filename = "AnghaBench/linux/tools/perf/extr_builtin-c2c.c_get_dimension.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dimensions = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @get_dimension], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @get_dimension(ptr noundef %0) #0 { %2 = load ptr, ptr @dimensions, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %18, label %12 5: ; preds = %12 %6 = add i32 %14, 1 %7 = load ptr, ptr @dimensions, align 8, !tbaa !6 %8 = zext i32 %6 to i64 %9 = getelementptr inbounds ptr, ptr %7, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !6 %11 = icmp eq ptr %10, null br i1 %11, label %18, label %12, !llvm.loop !10 12: ; preds = %1, %5 %13 = phi ptr [ %10, %5 ], [ %3, %1 ] %14 = phi i32 [ %6, %5 ], [ 0, %1 ] %15 = load i32, ptr %13, align 4, !tbaa !12 %16 = tail call i32 @strcmp(i32 noundef %15, ptr noundef %0) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %5 18: ; preds = %12, %5, %1 %19 = phi ptr [ null, %1 ], [ null, %5 ], [ %13, %12 ] ret ptr %19 } declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !14, i64 0} !13 = !{!"c2c_dimension", !14, i64 0} !14 = !{!"int", !8, i64 0}
linux_tools_perf_extr_builtin-c2c.c_get_dimension
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_wol_restore.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_wol_restore.c" target datalayout = "e-m:e-p270:32:32-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.ravb_private = type { i32, ptr } @RAVB_NC = dso_local local_unnamed_addr global i64 0, align 8 @RAVB_BE = dso_local local_unnamed_addr global i64 0, align 8 @ECMR = dso_local local_unnamed_addr global i32 0, align 4 @ECMR_MPDE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ravb_wol_restore], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ravb_wol_restore(ptr noundef %0) #0 { %2 = tail call ptr @netdev_priv(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.ravb_private, ptr %2, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr @RAVB_NC, align 8, !tbaa !11 %6 = getelementptr inbounds i32, ptr %4, i64 %5 %7 = tail call i32 @napi_enable(ptr noundef %6) #2 %8 = load ptr, ptr %3, align 8, !tbaa !5 %9 = load i64, ptr @RAVB_BE, align 8, !tbaa !11 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = tail call i32 @napi_enable(ptr noundef %10) #2 %12 = load i32, ptr @ECMR, align 4, !tbaa !13 %13 = load i32, ptr @ECMR_MPDE, align 4, !tbaa !13 %14 = tail call i32 @ravb_modify(ptr noundef %0, i32 noundef %12, i32 noundef %13, i32 noundef 0) #2 %15 = tail call i32 @ravb_close(ptr noundef %0) #2 %16 = icmp slt i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %1 %18 = load i32, ptr %2, align 8, !tbaa !14 %19 = tail call i32 @disable_irq_wake(i32 noundef %18) #2 br label %20 20: ; preds = %1, %17 %21 = phi i32 [ %19, %17 ], [ %15, %1 ] ret i32 %21 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @napi_enable(ptr noundef) local_unnamed_addr #1 declare i32 @ravb_modify(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ravb_close(ptr noundef) local_unnamed_addr #1 declare i32 @disable_irq_wake(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 = !{!"ravb_private", !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, !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_wol_restore.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_wol_restore.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RAVB_NC = common local_unnamed_addr global i64 0, align 8 @RAVB_BE = common local_unnamed_addr global i64 0, align 8 @ECMR = common local_unnamed_addr global i32 0, align 4 @ECMR_MPDE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ravb_wol_restore], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ravb_wol_restore(ptr noundef %0) #0 { %2 = tail call ptr @netdev_priv(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr @RAVB_NC, align 8, !tbaa !12 %6 = getelementptr inbounds i32, ptr %4, i64 %5 %7 = tail call i32 @napi_enable(ptr noundef %6) #2 %8 = load ptr, ptr %3, align 8, !tbaa !6 %9 = load i64, ptr @RAVB_BE, align 8, !tbaa !12 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = tail call i32 @napi_enable(ptr noundef %10) #2 %12 = load i32, ptr @ECMR, align 4, !tbaa !14 %13 = load i32, ptr @ECMR_MPDE, align 4, !tbaa !14 %14 = tail call i32 @ravb_modify(ptr noundef %0, i32 noundef %12, i32 noundef %13, i32 noundef 0) #2 %15 = tail call i32 @ravb_close(ptr noundef %0) #2 %16 = icmp slt i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %1 %18 = load i32, ptr %2, align 8, !tbaa !15 %19 = tail call i32 @disable_irq_wake(i32 noundef %18) #2 br label %20 20: ; preds = %1, %17 %21 = phi i32 [ %19, %17 ], [ %15, %1 ] ret i32 %21 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @napi_enable(ptr noundef) local_unnamed_addr #1 declare i32 @ravb_modify(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ravb_close(ptr noundef) local_unnamed_addr #1 declare i32 @disable_irq_wake(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 = !{!"ravb_private", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 0}
linux_drivers_net_ethernet_renesas_extr_ravb_main.c_ravb_wol_restore
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cobalt/extr_cobalt-omnitek.c_descriptor_list_end_of_chain.c' source_filename = "AnghaBench/linux/drivers/media/pci/cobalt/extr_cobalt-omnitek.c_descriptor_list_end_of_chain.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @END_OF_CHAIN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define dso_local void @descriptor_list_end_of_chain(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @END_OF_CHAIN, align 4, !tbaa !10 %4 = load i32, ptr %2, align 4, !tbaa !12 %5 = or i32 %4, %3 store i32 %5, ptr %2, align 4, !tbaa !12 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sg_dma_desc_info", !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 = !{!"sg_dma_descriptor", !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cobalt/extr_cobalt-omnitek.c_descriptor_list_end_of_chain.c' source_filename = "AnghaBench/linux/drivers/media/pci/cobalt/extr_cobalt-omnitek.c_descriptor_list_end_of_chain.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @END_OF_CHAIN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define void @descriptor_list_end_of_chain(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @END_OF_CHAIN, align 4, !tbaa !11 %4 = load i32, ptr %2, align 4, !tbaa !13 %5 = or i32 %4, %3 store i32 %5, ptr %2, align 4, !tbaa !13 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sg_dma_desc_info", !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 = !{!"sg_dma_descriptor", !12, i64 0}
linux_drivers_media_pci_cobalt_extr_cobalt-omnitek.c_descriptor_list_end_of_chain
; ModuleID = 'AnghaBench/openssl/crypto/cmp/extr_cmp_ctx.c_OSSL_CMP_CTX_set_serverPort.c' source_filename = "AnghaBench/openssl/crypto/cmp/extr_cmp_ctx.c_OSSL_CMP_CTX_set_serverPort.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CMP_R_NULL_ARGUMENT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @OSSL_CMP_CTX_set_serverPort(ptr noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %4, label %7 4: ; preds = %2 %5 = load i32, ptr @CMP_R_NULL_ARGUMENT, align 4, !tbaa !5 %6 = tail call i32 @CMPerr(i32 noundef 0, i32 noundef %5) #2 br label %8 7: ; preds = %2 store i32 %1, ptr %0, align 4, !tbaa !9 br label %8 8: ; preds = %7, %4 %9 = phi i32 [ 0, %4 ], [ 1, %7 ] ret i32 %9 } declare i32 @CMPerr(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_3__", !6, i64 0}
; ModuleID = 'AnghaBench/openssl/crypto/cmp/extr_cmp_ctx.c_OSSL_CMP_CTX_set_serverPort.c' source_filename = "AnghaBench/openssl/crypto/cmp/extr_cmp_ctx.c_OSSL_CMP_CTX_set_serverPort.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CMP_R_NULL_ARGUMENT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @OSSL_CMP_CTX_set_serverPort(ptr noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %4, label %7 4: ; preds = %2 %5 = load i32, ptr @CMP_R_NULL_ARGUMENT, align 4, !tbaa !6 %6 = tail call i32 @CMPerr(i32 noundef 0, i32 noundef %5) #2 br label %8 7: ; preds = %2 store i32 %1, ptr %0, align 4, !tbaa !10 br label %8 8: ; preds = %7, %4 %9 = phi i32 [ 0, %4 ], [ 1, %7 ] ret i32 %9 } declare i32 @CMPerr(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_3__", !7, i64 0}
openssl_crypto_cmp_extr_cmp_ctx.c_OSSL_CMP_CTX_set_serverPort
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_sco.c_btm_reject_sco_link.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_sco.c_btm_reject_sco_link.c" target datalayout = "e-m:e-p270:32:32-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_10__ = type { %struct.TYPE_9__ } %struct.TYPE_9__ = type { ptr } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { i32 } @HCI_ERR_HOST_REJECT_RESOURCES = dso_local local_unnamed_addr global i32 0, align 4 @btm_cb = dso_local local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 8 ; Function Attrs: nounwind uwtable define dso_local void @btm_reject_sco_link(i64 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @HCI_ERR_HOST_REJECT_RESOURCES, align 4, !tbaa !5 %3 = load ptr, ptr @btm_cb, align 8, !tbaa !9 %4 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 %0 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = tail call i32 @btm_esco_conn_rsp(i64 noundef %0, i32 noundef %2, i32 noundef %5, ptr noundef null) #2 ret void } declare i32 @btm_esco_conn_rsp(i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 0} !10 = !{!"TYPE_10__", !11, i64 0} !11 = !{!"TYPE_9__", !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_8__", !15, i64 0} !15 = !{!"TYPE_7__", !16, i64 0} !16 = !{!"TYPE_6__", !6, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_sco.c_btm_reject_sco_link.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_sco.c_btm_reject_sco_link.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_10__ = type { %struct.TYPE_9__ } %struct.TYPE_9__ = type { ptr } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { i32 } @HCI_ERR_HOST_REJECT_RESOURCES = common local_unnamed_addr global i32 0, align 4 @btm_cb = common local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @btm_reject_sco_link(i64 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @HCI_ERR_HOST_REJECT_RESOURCES, align 4, !tbaa !6 %3 = load ptr, ptr @btm_cb, align 8, !tbaa !10 %4 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 %0 %5 = load i32, ptr %4, align 4, !tbaa !14 %6 = tail call i32 @btm_esco_conn_rsp(i64 noundef %0, i32 noundef %2, i32 noundef %5, ptr noundef null) #2 ret void } declare i32 @btm_esco_conn_rsp(i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"TYPE_10__", !12, i64 0} !12 = !{!"TYPE_9__", !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_8__", !16, i64 0} !16 = !{!"TYPE_7__", !17, i64 0} !17 = !{!"TYPE_6__", !7, i64 0}
esp-idf_components_bt_host_bluedroid_stack_btm_extr_btm_sco.c_btm_reject_sco_link
; ModuleID = 'AnghaBench/linux/drivers/phy/ti/extr_phy-dm816x-usb.c_dm816x_usb_phy_init.c' source_filename = "AnghaBench/linux/drivers/phy/ti/extr_phy-dm816x-usb.c_dm816x_usb_phy_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.dm816x_usb_phy = type { i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [24 x i8] c"nonstandard phy refclk\0A\00", align 1 @DM816X_USB_CTRL_PHYCLKSRC = dso_local local_unnamed_addr global i32 0, align 4 @DM816X_USB_CTRL_PHYSLEEP1 = dso_local local_unnamed_addr global i32 0, align 4 @DM816X_USB_CTRL_PHYSLEEP0 = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"Working dm816x USB_CTRL! (0x%08x)\0A\00", align 1 @DM816X_USBPHY_CTRL_TXRISETUNE = dso_local local_unnamed_addr global i32 0, align 4 @DM816X_USBPHY_CTRL_TXVREFTUNE = dso_local local_unnamed_addr global i32 0, align 4 @DM816X_USBPHY_CTRL_TXPREEMTUNE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dm816x_usb_phy_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @dm816x_usb_phy_init(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @phy_get_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %4 = getelementptr inbounds %struct.dm816x_usb_phy, ptr %3, i64 0, i32 4 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @clk_get_rate(i32 noundef %5) #3 %7 = icmp eq i32 %6, 24000000 br i1 %7, label %12, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.dm816x_usb_phy, ptr %3, i64 0, i32 2 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = tail call i32 @dev_warn(i32 noundef %10, ptr noundef nonnull @.str) #3 br label %12 12: ; preds = %8, %1 %13 = getelementptr inbounds %struct.dm816x_usb_phy, ptr %3, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !11 %15 = getelementptr inbounds %struct.dm816x_usb_phy, ptr %3, i64 0, i32 3 %16 = load i32, ptr %15, align 4, !tbaa !12 %17 = load i32, ptr @DM816X_USB_CTRL_PHYCLKSRC, align 4, !tbaa !13 %18 = load i32, ptr @DM816X_USB_CTRL_PHYSLEEP1, align 4, !tbaa !13 %19 = or i32 %18, %17 %20 = load i32, ptr @DM816X_USB_CTRL_PHYSLEEP0, align 4, !tbaa !13 %21 = or i32 %19, %20 %22 = tail call i32 @regmap_update_bits(i32 noundef %14, i32 noundef %16, i32 noundef %21, i32 noundef 0) #3 %23 = load i32, ptr %13, align 4, !tbaa !11 %24 = load i32, ptr %15, align 4, !tbaa !12 %25 = call i32 @regmap_read(i32 noundef %23, i32 noundef %24, ptr noundef nonnull %2) #3 %26 = load i32, ptr %2, align 4, !tbaa !13 %27 = and i32 %26, 3 %28 = icmp eq i32 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %12 %30 = getelementptr inbounds %struct.dm816x_usb_phy, ptr %3, i64 0, i32 2 %31 = load i32, ptr %30, align 4, !tbaa !10 %32 = call i32 @dev_info(i32 noundef %31, ptr noundef nonnull @.str.1, i32 noundef %26) #3 br label %33 33: ; preds = %29, %12 %34 = load i32, ptr %13, align 4, !tbaa !11 %35 = load i32, ptr %3, align 4, !tbaa !14 %36 = call i32 @regmap_read(i32 noundef %34, i32 noundef %35, ptr noundef nonnull %2) #3 %37 = load i32, ptr @DM816X_USBPHY_CTRL_TXRISETUNE, align 4, !tbaa !13 %38 = load i32, ptr @DM816X_USBPHY_CTRL_TXVREFTUNE, align 4, !tbaa !13 %39 = or i32 %38, %37 %40 = load i32, ptr @DM816X_USBPHY_CTRL_TXPREEMTUNE, align 4, !tbaa !13 %41 = or i32 %39, %40 %42 = load i32, ptr %2, align 4, !tbaa !13 %43 = or i32 %41, %42 store i32 %43, ptr %2, align 4, !tbaa !13 %44 = load i32, ptr %13, align 4, !tbaa !11 %45 = load i32, ptr %3, align 4, !tbaa !14 %46 = call i32 @regmap_write(i32 noundef %44, i32 noundef %45, i32 noundef %43) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @phy_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @clk_get_rate(i32 noundef) local_unnamed_addr #2 declare i32 @dev_warn(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_info(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"dm816x_usb_phy", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 4} !12 = !{!6, !7, i64 12} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/phy/ti/extr_phy-dm816x-usb.c_dm816x_usb_phy_init.c' source_filename = "AnghaBench/linux/drivers/phy/ti/extr_phy-dm816x-usb.c_dm816x_usb_phy_init.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 [24 x i8] c"nonstandard phy refclk\0A\00", align 1 @DM816X_USB_CTRL_PHYCLKSRC = common local_unnamed_addr global i32 0, align 4 @DM816X_USB_CTRL_PHYSLEEP1 = common local_unnamed_addr global i32 0, align 4 @DM816X_USB_CTRL_PHYSLEEP0 = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"Working dm816x USB_CTRL! (0x%08x)\0A\00", align 1 @DM816X_USBPHY_CTRL_TXRISETUNE = common local_unnamed_addr global i32 0, align 4 @DM816X_USBPHY_CTRL_TXVREFTUNE = common local_unnamed_addr global i32 0, align 4 @DM816X_USBPHY_CTRL_TXPREEMTUNE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dm816x_usb_phy_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @dm816x_usb_phy_init(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @phy_get_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %4 = getelementptr inbounds i8, ptr %3, i64 16 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @clk_get_rate(i32 noundef %5) #3 %7 = icmp eq i32 %6, 24000000 br i1 %7, label %12, label %8 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %3, i64 8 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = tail call i32 @dev_warn(i32 noundef %10, ptr noundef nonnull @.str) #3 br label %12 12: ; preds = %8, %1 %13 = getelementptr inbounds i8, ptr %3, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = getelementptr inbounds i8, ptr %3, i64 12 %16 = load i32, ptr %15, align 4, !tbaa !13 %17 = load i32, ptr @DM816X_USB_CTRL_PHYCLKSRC, align 4, !tbaa !14 %18 = load i32, ptr @DM816X_USB_CTRL_PHYSLEEP1, align 4, !tbaa !14 %19 = or i32 %18, %17 %20 = load i32, ptr @DM816X_USB_CTRL_PHYSLEEP0, align 4, !tbaa !14 %21 = or i32 %19, %20 %22 = tail call i32 @regmap_update_bits(i32 noundef %14, i32 noundef %16, i32 noundef %21, i32 noundef 0) #3 %23 = load i32, ptr %13, align 4, !tbaa !12 %24 = load i32, ptr %15, align 4, !tbaa !13 %25 = call i32 @regmap_read(i32 noundef %23, i32 noundef %24, ptr noundef nonnull %2) #3 %26 = load i32, ptr %2, align 4, !tbaa !14 %27 = and i32 %26, 3 %28 = icmp eq i32 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %12 %30 = getelementptr inbounds i8, ptr %3, i64 8 %31 = load i32, ptr %30, align 4, !tbaa !11 %32 = call i32 @dev_info(i32 noundef %31, ptr noundef nonnull @.str.1, i32 noundef %26) #3 br label %33 33: ; preds = %29, %12 %34 = load i32, ptr %13, align 4, !tbaa !12 %35 = load i32, ptr %3, align 4, !tbaa !15 %36 = call i32 @regmap_read(i32 noundef %34, i32 noundef %35, ptr noundef nonnull %2) #3 %37 = load i32, ptr @DM816X_USBPHY_CTRL_TXRISETUNE, align 4, !tbaa !14 %38 = load i32, ptr @DM816X_USBPHY_CTRL_TXVREFTUNE, align 4, !tbaa !14 %39 = or i32 %38, %37 %40 = load i32, ptr @DM816X_USBPHY_CTRL_TXPREEMTUNE, align 4, !tbaa !14 %41 = or i32 %39, %40 %42 = load i32, ptr %2, align 4, !tbaa !14 %43 = or i32 %41, %42 store i32 %43, ptr %2, align 4, !tbaa !14 %44 = load i32, ptr %13, align 4, !tbaa !12 %45 = load i32, ptr %3, align 4, !tbaa !15 %46 = call i32 @regmap_write(i32 noundef %44, i32 noundef %45, i32 noundef %43) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @phy_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @clk_get_rate(i32 noundef) local_unnamed_addr #2 declare i32 @dev_warn(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_info(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"dm816x_usb_phy", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 4} !13 = !{!7, !8, i64 12} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 0}
linux_drivers_phy_ti_extr_phy-dm816x-usb.c_dm816x_usb_phy_init
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bluetooth/btpand/extr_tap.c_tap_recv.c' source_filename = "AnghaBench/freebsd/usr.sbin/bluetooth/btpand/extr_tap.c_tap_recv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, i32, i32, i32, i32 } @ETHER_HDR_LEN = dso_local local_unnamed_addr global i64 0, align 8 @ETHER_ADDR_LEN = dso_local local_unnamed_addr global i32 0, align 4 @ETHER_TYPE_LEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tap_recv], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @tap_recv(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @ETHER_HDR_LEN, align 8, !tbaa !11 %4 = icmp slt i64 %2, %3 br i1 %4, label %19, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 8, !tbaa !12 %8 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4 store i32 %7, ptr %8, align 4, !tbaa !13 %9 = load i32, ptr @ETHER_ADDR_LEN, align 4, !tbaa !14 %10 = tail call i32 @packet_adj(ptr noundef nonnull %0, i32 noundef %9) #2 %11 = load i32, ptr %6, align 8, !tbaa !12 %12 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 store i32 %11, ptr %12, align 8, !tbaa !15 %13 = load i32, ptr @ETHER_ADDR_LEN, align 4, !tbaa !14 %14 = tail call i32 @packet_adj(ptr noundef nonnull %0, i32 noundef %13) #2 %15 = load i32, ptr %6, align 8, !tbaa !12 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 store i32 %15, ptr %16, align 4, !tbaa !16 %17 = load i32, ptr @ETHER_TYPE_LEN, align 4, !tbaa !14 %18 = tail call i32 @packet_adj(ptr noundef nonnull %0, i32 noundef %17) #2 br label %19 19: ; preds = %1, %5 %20 = phi i32 [ 1, %5 ], [ 0, %1 ] ret i32 %20 } declare i32 @packet_adj(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !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 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!6, !10, i64 20} !14 = !{!10, !10, i64 0} !15 = !{!6, !10, i64 16} !16 = !{!6, !10, i64 12}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bluetooth/btpand/extr_tap.c_tap_recv.c' source_filename = "AnghaBench/freebsd/usr.sbin/bluetooth/btpand/extr_tap.c_tap_recv.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ETHER_HDR_LEN = common local_unnamed_addr global i64 0, align 8 @ETHER_ADDR_LEN = common local_unnamed_addr global i32 0, align 4 @ETHER_TYPE_LEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tap_recv], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @tap_recv(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @ETHER_HDR_LEN, align 8, !tbaa !12 %4 = icmp slt i64 %2, %3 br i1 %4, label %19, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i32, ptr %6, align 8, !tbaa !13 %8 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %7, ptr %8, align 4, !tbaa !14 %9 = load i32, ptr @ETHER_ADDR_LEN, align 4, !tbaa !15 %10 = tail call i32 @packet_adj(ptr noundef nonnull %0, i32 noundef %9) #2 %11 = load i32, ptr %6, align 8, !tbaa !13 %12 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %11, ptr %12, align 8, !tbaa !16 %13 = load i32, ptr @ETHER_ADDR_LEN, align 4, !tbaa !15 %14 = tail call i32 @packet_adj(ptr noundef nonnull %0, i32 noundef %13) #2 %15 = load i32, ptr %6, align 8, !tbaa !13 %16 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %15, ptr %16, align 4, !tbaa !17 %17 = load i32, ptr @ETHER_TYPE_LEN, align 4, !tbaa !15 %18 = tail call i32 @packet_adj(ptr noundef nonnull %0, i32 noundef %17) #2 br label %19 19: ; preds = %1, %5 %20 = phi i32 [ 1, %5 ], [ 0, %1 ] ret i32 %20 } declare i32 @packet_adj(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !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 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!7, !11, i64 20} !15 = !{!11, !11, i64 0} !16 = !{!7, !11, i64 16} !17 = !{!7, !11, i64 12}
freebsd_usr.sbin_bluetooth_btpand_extr_tap.c_tap_recv
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-lg4ff.c_lg4ff_deinit.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-lg4ff.c_lg4ff_deinit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr, i64 } @.str = private unnamed_addr constant [60 x i8] c"Error while deinitializing device, no private driver data.\0A\00", align 1 @dev_attr_real_id = dso_local global i32 0, align 4 @dev_attr_alternate_modes = dso_local global i32 0, align 4 @dev_attr_combine_pedals = dso_local global i32 0, align 4 @dev_attr_range = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Device successfully unregistered\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @lg4ff_deinit(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @hid_get_drvdata(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @hid_err(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %22 6: ; preds = %1 %7 = load ptr, ptr %2, align 8, !tbaa !5 %8 = icmp eq ptr %7, null br i1 %8, label %20, label %9 9: ; preds = %6 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !10 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %9 %14 = tail call i32 @device_remove_file(ptr noundef %0, ptr noundef nonnull @dev_attr_real_id) #2 %15 = tail call i32 @device_remove_file(ptr noundef %0, ptr noundef nonnull @dev_attr_alternate_modes) #2 br label %16 16: ; preds = %13, %9 %17 = tail call i32 @device_remove_file(ptr noundef %0, ptr noundef nonnull @dev_attr_combine_pedals) #2 %18 = tail call i32 @device_remove_file(ptr noundef %0, ptr noundef nonnull @dev_attr_range) #2 store ptr null, ptr %2, align 8, !tbaa !5 %19 = tail call i32 @kfree(ptr noundef nonnull %7) #2 br label %20 20: ; preds = %6, %16 %21 = tail call i32 @dbg_hid(ptr noundef nonnull @.str.1) #2 br label %22 22: ; preds = %20, %4 %23 = phi i32 [ 0, %20 ], [ -1, %4 ] ret i32 %23 } declare ptr @hid_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @hid_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_remove_file(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @dbg_hid(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 = !{!"lg_drv_data", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 8} !11 = !{!"lg4ff_device_entry", !12, i64 0} !12 = !{!"TYPE_2__", !7, i64 0, !13, i64 8} !13 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-lg4ff.c_lg4ff_deinit.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-lg4ff.c_lg4ff_deinit.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 [60 x i8] c"Error while deinitializing device, no private driver data.\0A\00", align 1 @dev_attr_real_id = common global i32 0, align 4 @dev_attr_alternate_modes = common global i32 0, align 4 @dev_attr_combine_pedals = common global i32 0, align 4 @dev_attr_range = common global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Device successfully unregistered\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @lg4ff_deinit(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @hid_get_drvdata(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @hid_err(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %22 6: ; preds = %1 %7 = load ptr, ptr %2, align 8, !tbaa !6 %8 = icmp eq ptr %7, null br i1 %8, label %20, label %9 9: ; preds = %6 %10 = getelementptr inbounds i8, ptr %7, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !11 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %9 %14 = tail call i32 @device_remove_file(ptr noundef %0, ptr noundef nonnull @dev_attr_real_id) #2 %15 = tail call i32 @device_remove_file(ptr noundef %0, ptr noundef nonnull @dev_attr_alternate_modes) #2 br label %16 16: ; preds = %13, %9 %17 = tail call i32 @device_remove_file(ptr noundef %0, ptr noundef nonnull @dev_attr_combine_pedals) #2 %18 = tail call i32 @device_remove_file(ptr noundef %0, ptr noundef nonnull @dev_attr_range) #2 store ptr null, ptr %2, align 8, !tbaa !6 %19 = tail call i32 @kfree(ptr noundef nonnull %7) #2 br label %20 20: ; preds = %6, %16 %21 = tail call i32 @dbg_hid(ptr noundef nonnull @.str.1) #2 br label %22 22: ; preds = %20, %4 %23 = phi i32 [ 0, %20 ], [ -1, %4 ] ret i32 %23 } declare ptr @hid_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @hid_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_remove_file(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @dbg_hid(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 = !{!"lg_drv_data", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 8} !12 = !{!"lg4ff_device_entry", !13, i64 0} !13 = !{!"TYPE_2__", !8, i64 0, !14, i64 8} !14 = !{!"long", !9, i64 0}
linux_drivers_hid_extr_hid-lg4ff.c_lg4ff_deinit
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/misc/extr_udbp.c_ng_udbp_rcvdata.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/misc/extr_udbp.c_ng_udbp_rcvdata.c" target datalayout = "e-m:e-p270:32:32-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.udbp_softc = type { i32, ptr, %struct.ng_bt_mbufq, %struct.ng_bt_mbufq } %struct.ng_bt_mbufq = type { i32 } @EHOSTDOWN = dso_local local_unnamed_addr global i32 0, align 4 @NGM_GENERIC_COOKIE = dso_local local_unnamed_addr global i32 0, align 4 @NG_TAG_PRIO = dso_local local_unnamed_addr global i32 0, align 4 @NG_PRIO_CUTOFF = dso_local local_unnamed_addr global i64 0, align 8 @ENOBUFS = dso_local local_unnamed_addr global i32 0, align 4 @UDBP_T_WR = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ng_udbp_rcvdata], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ng_udbp_rcvdata(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @NG_HOOK_NODE(i32 noundef %0) #2 %4 = tail call ptr @NG_NODE_PRIVATE(i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %2 %7 = tail call i32 @NG_FREE_ITEM(i32 noundef %1) #2 %8 = load i32, ptr @EHOSTDOWN, align 4, !tbaa !5 br label %45 9: ; preds = %2 %10 = tail call i32 @NGI_GET_M(i32 noundef %1, ptr noundef undef) #2 %11 = tail call i32 @NG_FREE_ITEM(i32 noundef %1) #2 %12 = load i32, ptr @NGM_GENERIC_COOKIE, align 4, !tbaa !5 %13 = load i32, ptr @NG_TAG_PRIO, align 4, !tbaa !5 %14 = tail call i64 @m_tag_locate(ptr noundef undef, i32 noundef %12, i32 noundef %13, ptr noundef null) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %23, label %16 16: ; preds = %9 %17 = inttoptr i64 %14 to ptr %18 = load i64, ptr %17, align 8, !tbaa !9 %19 = load i64, ptr @NG_PRIO_CUTOFF, align 8, !tbaa !12 %20 = icmp sgt i64 %18, %19 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = getelementptr inbounds %struct.udbp_softc, ptr %4, i64 0, i32 3 br label %25 23: ; preds = %16, %9 %24 = getelementptr inbounds %struct.udbp_softc, ptr %4, i64 0, i32 2 br label %25 25: ; preds = %23, %21 %26 = phi ptr [ %22, %21 ], [ %24, %23 ] %27 = tail call i32 @mtx_lock(ptr noundef nonnull %4) #2 %28 = tail call i64 @NG_BT_MBUFQ_FULL(ptr noundef nonnull %26) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %34, label %30 30: ; preds = %25 %31 = tail call i32 @NG_BT_MBUFQ_DROP(ptr noundef nonnull %26) #2 %32 = tail call i32 @NG_FREE_M(ptr noundef undef) #2 %33 = load i32, ptr @ENOBUFS, align 4, !tbaa !5 br label %42 34: ; preds = %25 %35 = tail call i32 @NG_BT_MBUFQ_ENQUEUE(ptr noundef nonnull %26, ptr noundef undef) #2 %36 = getelementptr inbounds %struct.udbp_softc, ptr %4, i64 0, i32 1 %37 = load ptr, ptr %36, align 8, !tbaa !13 %38 = load i64, ptr @UDBP_T_WR, align 8, !tbaa !12 %39 = getelementptr inbounds i32, ptr %37, i64 %38 %40 = load i32, ptr %39, align 4, !tbaa !5 %41 = tail call i32 @usbd_transfer_start(i32 noundef %40) #2 br label %42 42: ; preds = %34, %30 %43 = phi i32 [ %33, %30 ], [ 0, %34 ] %44 = tail call i32 @mtx_unlock(ptr noundef nonnull %4) #2 br label %45 45: ; preds = %42, %6 %46 = phi i32 [ %8, %6 ], [ %43, %42 ] ret i32 %46 } declare ptr @NG_NODE_PRIVATE(i32 noundef) local_unnamed_addr #1 declare i32 @NG_HOOK_NODE(i32 noundef) local_unnamed_addr #1 declare i32 @NG_FREE_ITEM(i32 noundef) local_unnamed_addr #1 declare i32 @NGI_GET_M(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @m_tag_locate(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1 declare i64 @NG_BT_MBUFQ_FULL(ptr noundef) local_unnamed_addr #1 declare i32 @NG_BT_MBUFQ_DROP(ptr noundef) local_unnamed_addr #1 declare i32 @NG_FREE_M(ptr noundef) local_unnamed_addr #1 declare i32 @NG_BT_MBUFQ_ENQUEUE(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usbd_transfer_start(i32 noundef) local_unnamed_addr #1 declare i32 @mtx_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, !11, i64 0} !10 = !{!"ng_tag_prio", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !15, i64 8} !14 = !{!"udbp_softc", !6, i64 0, !15, i64 8, !16, i64 16, !16, i64 20} !15 = !{!"any pointer", !7, i64 0} !16 = !{!"ng_bt_mbufq", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/misc/extr_udbp.c_ng_udbp_rcvdata.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/misc/extr_udbp.c_ng_udbp_rcvdata.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EHOSTDOWN = common local_unnamed_addr global i32 0, align 4 @NGM_GENERIC_COOKIE = common local_unnamed_addr global i32 0, align 4 @NG_TAG_PRIO = common local_unnamed_addr global i32 0, align 4 @NG_PRIO_CUTOFF = common local_unnamed_addr global i64 0, align 8 @ENOBUFS = common local_unnamed_addr global i32 0, align 4 @UDBP_T_WR = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ng_udbp_rcvdata], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ng_udbp_rcvdata(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @NG_HOOK_NODE(i32 noundef %0) #2 %4 = tail call ptr @NG_NODE_PRIVATE(i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %2 %7 = tail call i32 @NG_FREE_ITEM(i32 noundef %1) #2 %8 = load i32, ptr @EHOSTDOWN, align 4, !tbaa !6 br label %43 9: ; preds = %2 %10 = tail call i32 @NGI_GET_M(i32 noundef %1, ptr noundef undef) #2 %11 = tail call i32 @NG_FREE_ITEM(i32 noundef %1) #2 %12 = load i32, ptr @NGM_GENERIC_COOKIE, align 4, !tbaa !6 %13 = load i32, ptr @NG_TAG_PRIO, align 4, !tbaa !6 %14 = tail call i64 @m_tag_locate(ptr noundef undef, i32 noundef %12, i32 noundef %13, ptr noundef null) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %9 %17 = inttoptr i64 %14 to ptr %18 = load i64, ptr %17, align 8, !tbaa !10 %19 = load i64, ptr @NG_PRIO_CUTOFF, align 8, !tbaa !13 %20 = icmp sgt i64 %18, %19 br i1 %20, label %22, label %21 21: ; preds = %16, %9 br label %22 22: ; preds = %16, %21 %23 = phi i64 [ 16, %21 ], [ 20, %16 ] %24 = getelementptr inbounds i8, ptr %4, i64 %23 %25 = tail call i32 @mtx_lock(ptr noundef nonnull %4) #2 %26 = tail call i64 @NG_BT_MBUFQ_FULL(ptr noundef nonnull %24) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %32, label %28 28: ; preds = %22 %29 = tail call i32 @NG_BT_MBUFQ_DROP(ptr noundef nonnull %24) #2 %30 = tail call i32 @NG_FREE_M(ptr noundef undef) #2 %31 = load i32, ptr @ENOBUFS, align 4, !tbaa !6 br label %40 32: ; preds = %22 %33 = tail call i32 @NG_BT_MBUFQ_ENQUEUE(ptr noundef nonnull %24, ptr noundef undef) #2 %34 = getelementptr inbounds i8, ptr %4, i64 8 %35 = load ptr, ptr %34, align 8, !tbaa !14 %36 = load i64, ptr @UDBP_T_WR, align 8, !tbaa !13 %37 = getelementptr inbounds i32, ptr %35, i64 %36 %38 = load i32, ptr %37, align 4, !tbaa !6 %39 = tail call i32 @usbd_transfer_start(i32 noundef %38) #2 br label %40 40: ; preds = %32, %28 %41 = phi i32 [ %31, %28 ], [ 0, %32 ] %42 = tail call i32 @mtx_unlock(ptr noundef nonnull %4) #2 br label %43 43: ; preds = %40, %6 %44 = phi i32 [ %8, %6 ], [ %41, %40 ] ret i32 %44 } declare ptr @NG_NODE_PRIVATE(i32 noundef) local_unnamed_addr #1 declare i32 @NG_HOOK_NODE(i32 noundef) local_unnamed_addr #1 declare i32 @NG_FREE_ITEM(i32 noundef) local_unnamed_addr #1 declare i32 @NGI_GET_M(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @m_tag_locate(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1 declare i64 @NG_BT_MBUFQ_FULL(ptr noundef) local_unnamed_addr #1 declare i32 @NG_BT_MBUFQ_DROP(ptr noundef) local_unnamed_addr #1 declare i32 @NG_FREE_M(ptr noundef) local_unnamed_addr #1 declare i32 @NG_BT_MBUFQ_ENQUEUE(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usbd_transfer_start(i32 noundef) local_unnamed_addr #1 declare i32 @mtx_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, !12, i64 0} !11 = !{!"ng_tag_prio", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !16, i64 8} !15 = !{!"udbp_softc", !7, i64 0, !16, i64 8, !17, i64 16, !17, i64 20} !16 = !{!"any pointer", !8, i64 0} !17 = !{!"ng_bt_mbufq", !7, i64 0}
freebsd_sys_dev_usb_misc_extr_udbp.c_ng_udbp_rcvdata
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_mesh.c_mesh_get_default_parameters.c' source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_mesh.c_mesh_get_default_parameters.c" target datalayout = "e-m:e-p270:32:32-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.cmd_ds_mesh_config = type { ptr } @CMD_ACT_MESH_CONFIG_GET = dso_local local_unnamed_addr global i32 0, align 4 @CMD_TYPE_MESH_GET_DEFAULTS = dso_local local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mesh_get_default_parameters], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mesh_get_default_parameters(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.cmd_ds_mesh_config, align 8 %4 = tail call ptr @to_net_dev(ptr noundef %0) #3 %5 = load ptr, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %6 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 8) #3 %7 = load i32, ptr @CMD_ACT_MESH_CONFIG_GET, align 4, !tbaa !10 %8 = load i32, ptr @CMD_TYPE_MESH_GET_DEFAULTS, align 4, !tbaa !10 %9 = call i32 @lbs_mesh_config_send(ptr noundef %5, ptr noundef nonnull %3, i32 noundef %7, i32 noundef %8) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !10 %13 = sub nsw i32 0, %12 br label %17 14: ; preds = %2 %15 = load ptr, ptr %3, align 8, !tbaa !12 %16 = call i32 @memcpy(ptr noundef %1, ptr noundef %15, i32 noundef 4) #3 br label %17 17: ; preds = %14, %11 %18 = phi i32 [ %13, %11 ], [ 0, %14 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @to_net_dev(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lbs_mesh_config_send(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 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, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"cmd_ds_mesh_config", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_mesh.c_mesh_get_default_parameters.c' source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_mesh.c_mesh_get_default_parameters.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.cmd_ds_mesh_config = type { ptr } @CMD_ACT_MESH_CONFIG_GET = common local_unnamed_addr global i32 0, align 4 @CMD_TYPE_MESH_GET_DEFAULTS = common local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mesh_get_default_parameters], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @mesh_get_default_parameters(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.cmd_ds_mesh_config, align 8 %4 = tail call ptr @to_net_dev(ptr noundef %0) #3 %5 = load ptr, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %6 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 8) #3 %7 = load i32, ptr @CMD_ACT_MESH_CONFIG_GET, align 4, !tbaa !11 %8 = load i32, ptr @CMD_TYPE_MESH_GET_DEFAULTS, align 4, !tbaa !11 %9 = call i32 @lbs_mesh_config_send(ptr noundef %5, ptr noundef nonnull %3, i32 noundef %7, i32 noundef %8) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !11 %13 = sub nsw i32 0, %12 br label %17 14: ; preds = %2 %15 = load ptr, ptr %3, align 8, !tbaa !13 %16 = call i32 @memcpy(ptr noundef %1, ptr noundef %15, i32 noundef 4) #3 br label %17 17: ; preds = %14, %11 %18 = phi i32 [ %13, %11 ], [ 0, %14 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @to_net_dev(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lbs_mesh_config_send(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 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, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"cmd_ds_mesh_config", !8, i64 0}
linux_drivers_net_wireless_marvell_libertas_extr_mesh.c_mesh_get_default_parameters
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Proto_IkePacket.c_IkeFreeDataPayload.c' source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Proto_IkePacket.c_IkeFreeDataPayload.c" target datalayout = "e-m:e-p270:32:32-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 @IkeFreeDataPayload(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %6, label %3 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call i32 @FreeBuf(i32 noundef %4) #2 br label %6 6: ; preds = %1, %3 ret void } declare i32 @FreeBuf(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Proto_IkePacket.c_IkeFreeDataPayload.c' source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Proto_IkePacket.c_IkeFreeDataPayload.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 @IkeFreeDataPayload(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %6, label %3 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call i32 @FreeBuf(i32 noundef %4) #2 br label %6 6: ; preds = %1, %3 ret void } declare i32 @FreeBuf(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
SoftEtherVPN_src_Cedar_extr_Proto_IkePacket.c_IkeFreeDataPayload
; ModuleID = 'AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_io.c_ocs_mgmt_io_list.c' source_filename = "AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_io.c_ocs_mgmt_io_list.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MGMT_MODE_RD = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"display_name\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"init_task_tag\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"tag\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"transferred\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"auto_resp\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"exp_xfer_len\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"xfer_req\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @ocs_mgmt_io_list(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !5 %4 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %3, ptr noundef nonnull @.str) #2 %5 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !5 %6 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %5, ptr noundef nonnull @.str.1) #2 %7 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !5 %8 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %7, ptr noundef nonnull @.str.2) #2 %9 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !5 %10 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %9, ptr noundef nonnull @.str.3) #2 %11 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !5 %12 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %11, ptr noundef nonnull @.str.4) #2 %13 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !5 %14 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %13, ptr noundef nonnull @.str.5) #2 %15 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !5 %16 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %15, ptr noundef nonnull @.str.6) #2 ret void } declare i32 @ocs_mgmt_emit_property_name(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_io.c_ocs_mgmt_io_list.c' source_filename = "AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_io.c_ocs_mgmt_io_list.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MGMT_MODE_RD = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"display_name\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"init_task_tag\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"tag\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"transferred\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"auto_resp\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"exp_xfer_len\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"xfer_req\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @ocs_mgmt_io_list(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !6 %4 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %3, ptr noundef nonnull @.str) #2 %5 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !6 %6 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %5, ptr noundef nonnull @.str.1) #2 %7 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !6 %8 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %7, ptr noundef nonnull @.str.2) #2 %9 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !6 %10 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %9, ptr noundef nonnull @.str.3) #2 %11 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !6 %12 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %11, ptr noundef nonnull @.str.4) #2 %13 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !6 %14 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %13, ptr noundef nonnull @.str.5) #2 %15 = load i32, ptr @MGMT_MODE_RD, align 4, !tbaa !6 %16 = tail call i32 @ocs_mgmt_emit_property_name(ptr noundef %0, i32 noundef %15, ptr noundef nonnull @.str.6) #2 ret void } declare i32 @ocs_mgmt_emit_property_name(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_ocs_fc_extr_ocs_io.c_ocs_mgmt_io_list
; ModuleID = 'AnghaBench/linux/samples/bpf/extr_cpustat_user.c_int_exit.c' source_filename = "AnghaBench/linux/samples/bpf/extr_cpustat_user.c_int_exit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @map_fd = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @int_exit], section "llvm.metadata" ; Function Attrs: noreturn nounwind uwtable define internal void @int_exit(i32 %0) #0 { %2 = tail call i32 (...) @cpu_stat_inject_cpu_idle_event() #3 %3 = tail call i32 (...) @cpu_stat_inject_cpu_frequency_event() #3 %4 = load ptr, ptr @map_fd, align 8, !tbaa !5 %5 = getelementptr inbounds i32, ptr %4, i64 1 %6 = load i32, ptr %5, align 4, !tbaa !9 %7 = getelementptr inbounds i32, ptr %4, i64 2 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = tail call i32 @cpu_stat_update(i32 noundef %6, i32 noundef %8) #3 %10 = tail call i32 (...) @cpu_stat_print() #3 %11 = tail call i32 @exit(i32 noundef 0) #4 unreachable } declare i32 @cpu_stat_inject_cpu_idle_event(...) local_unnamed_addr #1 declare i32 @cpu_stat_inject_cpu_frequency_event(...) local_unnamed_addr #1 declare i32 @cpu_stat_update(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpu_stat_print(...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/samples/bpf/extr_cpustat_user.c_int_exit.c' source_filename = "AnghaBench/linux/samples/bpf/extr_cpustat_user.c_int_exit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @map_fd = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @int_exit], section "llvm.metadata" ; Function Attrs: noreturn nounwind ssp uwtable(sync) define internal void @int_exit(i32 %0) #0 { %2 = tail call i32 @cpu_stat_inject_cpu_idle_event() #3 %3 = tail call i32 @cpu_stat_inject_cpu_frequency_event() #3 %4 = load ptr, ptr @map_fd, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = getelementptr inbounds i8, ptr %4, i64 8 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = tail call i32 @cpu_stat_update(i32 noundef %6, i32 noundef %8) #3 %10 = tail call i32 @cpu_stat_print() #3 %11 = tail call i32 @exit(i32 noundef 0) #4 unreachable } declare i32 @cpu_stat_inject_cpu_idle_event(...) local_unnamed_addr #1 declare i32 @cpu_stat_inject_cpu_frequency_event(...) local_unnamed_addr #1 declare i32 @cpu_stat_update(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpu_stat_print(...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
linux_samples_bpf_extr_cpustat_user.c_int_exit
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/wcn36xx/extr_dxe.c_wcn36xx_dxe_ch_free_skbs.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/wcn36xx/extr_dxe.c_wcn36xx_dxe_ch_free_skbs.c" target datalayout = "e-m:e-p270:32:32-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.wcn36xx_dxe_ch = type { i32, ptr } %struct.wcn36xx_dxe_ctl = type { ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @wcn36xx_dxe_ch_free_skbs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @wcn36xx_dxe_ch_free_skbs(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !5 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %17 5: ; preds = %2 %6 = getelementptr inbounds %struct.wcn36xx_dxe_ch, ptr %1, i64 0, i32 1 br label %7 7: ; preds = %5, %7 %8 = phi i32 [ %14, %7 ], [ 0, %5 ] %9 = phi ptr [ %10, %7 ], [ %6, %5 ] %10 = load ptr, ptr %9, align 8, !tbaa !11 %11 = getelementptr inbounds %struct.wcn36xx_dxe_ctl, ptr %10, i64 0, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !12 %13 = tail call i32 @kfree_skb(i32 noundef %12) #2 %14 = add nuw nsw i32 %8, 1 %15 = load i32, ptr %1, align 8, !tbaa !5 %16 = icmp slt i32 %14, %15 br i1 %16, label %7, label %17, !llvm.loop !14 17: ; preds = %7, %2 ret void } declare i32 @kfree_skb(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 = !{!"wcn36xx_dxe_ch", !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 = !{!10, !10, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"wcn36xx_dxe_ctl", !10, i64 0, !7, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/wcn36xx/extr_dxe.c_wcn36xx_dxe_ch_free_skbs.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/wcn36xx/extr_dxe.c_wcn36xx_dxe_ch_free_skbs.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 @wcn36xx_dxe_ch_free_skbs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @wcn36xx_dxe_ch_free_skbs(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !6 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %17 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %1, i64 8 br label %7 7: ; preds = %5, %7 %8 = phi i32 [ %14, %7 ], [ 0, %5 ] %9 = phi ptr [ %10, %7 ], [ %6, %5 ] %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = getelementptr inbounds i8, ptr %10, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !13 %13 = tail call i32 @kfree_skb(i32 noundef %12) #2 %14 = add nuw nsw i32 %8, 1 %15 = load i32, ptr %1, align 8, !tbaa !6 %16 = icmp slt i32 %14, %15 br i1 %16, label %7, label %17, !llvm.loop !15 17: ; preds = %7, %2 ret void } declare i32 @kfree_skb(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 = !{!"wcn36xx_dxe_ch", !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 = !{!11, !11, i64 0} !13 = !{!14, !8, i64 8} !14 = !{!"wcn36xx_dxe_ctl", !11, i64 0, !8, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_wireless_ath_wcn36xx_extr_dxe.c_wcn36xx_dxe_ch_free_skbs
; ModuleID = 'AnghaBench/exploitdb/exploits/multiple/dos/extr_46297.c_lookup.c' source_filename = "AnghaBench/exploitdb/exploits/multiple/dos/extr_46297.c_lookup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MACH_PORT_NULL = dso_local local_unnamed_addr global i64 0, align 8 @bootstrap_port = dso_local local_unnamed_addr global i32 0, align 4 @KERN_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [22 x i8] c"unable to look up %s\0A\00", align 1 @str = private unnamed_addr constant [17 x i8] c"bad service port\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @lookup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @lookup(ptr noundef %0) #0 { %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5 %3 = load i64, ptr @MACH_PORT_NULL, align 8, !tbaa !5 store i64 %3, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr @bootstrap_port, align 4, !tbaa !9 %5 = call i64 @bootstrap_look_up(i32 noundef %4, ptr noundef %0, ptr noundef nonnull %2) #5 %6 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !5 %7 = icmp eq i64 %5, %6 br i1 %7, label %11, label %8 8: ; preds = %1 %9 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %0) %10 = load i64, ptr @MACH_PORT_NULL, align 8, !tbaa !5 br label %18 11: ; preds = %1 %12 = load i64, ptr %2, align 8, !tbaa !5 %13 = load i64, ptr @MACH_PORT_NULL, align 8, !tbaa !5 %14 = icmp eq i64 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = call i32 @puts(ptr nonnull dereferenceable(1) @str) %17 = load i64, ptr @MACH_PORT_NULL, align 8, !tbaa !5 br label %18 18: ; preds = %11, %15, %8 %19 = phi i64 [ %10, %8 ], [ %17, %15 ], [ %12, %11 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5 ret i64 %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @bootstrap_look_up(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { nofree nounwind } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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/exploitdb/exploits/multiple/dos/extr_46297.c_lookup.c' source_filename = "AnghaBench/exploitdb/exploits/multiple/dos/extr_46297.c_lookup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MACH_PORT_NULL = common local_unnamed_addr global i64 0, align 8 @bootstrap_port = common local_unnamed_addr global i32 0, align 4 @KERN_SUCCESS = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [22 x i8] c"unable to look up %s\0A\00", align 1 @str = private unnamed_addr constant [17 x i8] c"bad service port\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @lookup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @lookup(ptr noundef %0) #0 { %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5 %3 = load i64, ptr @MACH_PORT_NULL, align 8, !tbaa !6 store i64 %3, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr @bootstrap_port, align 4, !tbaa !10 %5 = call i64 @bootstrap_look_up(i32 noundef %4, ptr noundef %0, ptr noundef nonnull %2) #5 %6 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !6 %7 = icmp eq i64 %5, %6 br i1 %7, label %11, label %8 8: ; preds = %1 %9 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %0) %10 = load i64, ptr @MACH_PORT_NULL, align 8, !tbaa !6 br label %18 11: ; preds = %1 %12 = load i64, ptr %2, align 8, !tbaa !6 %13 = load i64, ptr @MACH_PORT_NULL, align 8, !tbaa !6 %14 = icmp eq i64 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = call i32 @puts(ptr nonnull dereferenceable(1) @str) %17 = load i64, ptr @MACH_PORT_NULL, align 8, !tbaa !6 br label %18 18: ; preds = %11, %15, %8 %19 = phi i64 [ %10, %8 ], [ %17, %15 ], [ %12, %11 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5 ret i64 %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @bootstrap_look_up(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { 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 = { nofree nounwind } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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}
exploitdb_exploits_multiple_dos_extr_46297.c_lookup
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_subq_32_pi.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_subq_32_pi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @REG_IR = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_N = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_C = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_X = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_V = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @m68k_op_subq_32_pi], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @m68k_op_subq_32_pi() #0 { %1 = load i32, ptr @REG_IR, align 4, !tbaa !5 %2 = lshr i32 %1, 9 %3 = add nuw nsw i32 %2, 7 %4 = and i32 %3, 7 %5 = add nuw nsw i32 %4, 1 %6 = tail call i32 (...) @EA_AY_PI_32() #2 %7 = tail call i32 @m68ki_read_32(i32 noundef %6) #2 %8 = sub nsw i32 %7, %5 %9 = tail call i32 @NFLAG_32(i32 noundef %8) #2 store i32 %9, ptr @FLAG_N, align 4, !tbaa !5 %10 = tail call i32 @MASK_OUT_ABOVE_32(i32 noundef %8) #2 store i32 %10, ptr @FLAG_Z, align 4, !tbaa !5 %11 = tail call i32 @CFLAG_SUB_32(i32 noundef %5, i32 noundef %7, i32 noundef %8) #2 store i32 %11, ptr @FLAG_C, align 4, !tbaa !5 store i32 %11, ptr @FLAG_X, align 4, !tbaa !5 %12 = tail call i32 @VFLAG_SUB_32(i32 noundef %5, i32 noundef %7, i32 noundef %8) #2 store i32 %12, ptr @FLAG_V, align 4, !tbaa !5 %13 = load i32, ptr @FLAG_Z, align 4, !tbaa !5 %14 = tail call i32 @m68ki_write_32(i32 noundef %6, i32 noundef %13) #2 ret void } declare i32 @EA_AY_PI_32(...) local_unnamed_addr #1 declare i32 @m68ki_read_32(i32 noundef) local_unnamed_addr #1 declare i32 @NFLAG_32(i32 noundef) local_unnamed_addr #1 declare i32 @MASK_OUT_ABOVE_32(i32 noundef) local_unnamed_addr #1 declare i32 @CFLAG_SUB_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VFLAG_SUB_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @m68ki_write_32(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_subq_32_pi.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_subq_32_pi.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REG_IR = common local_unnamed_addr global i32 0, align 4 @FLAG_N = common local_unnamed_addr global i32 0, align 4 @FLAG_Z = common local_unnamed_addr global i32 0, align 4 @FLAG_C = common local_unnamed_addr global i32 0, align 4 @FLAG_X = common local_unnamed_addr global i32 0, align 4 @FLAG_V = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @m68k_op_subq_32_pi], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @m68k_op_subq_32_pi() #0 { %1 = load i32, ptr @REG_IR, align 4, !tbaa !6 %2 = lshr i32 %1, 9 %3 = add nuw nsw i32 %2, 7 %4 = and i32 %3, 7 %5 = add nuw nsw i32 %4, 1 %6 = tail call i32 @EA_AY_PI_32() #2 %7 = tail call i32 @m68ki_read_32(i32 noundef %6) #2 %8 = sub nsw i32 %7, %5 %9 = tail call i32 @NFLAG_32(i32 noundef %8) #2 store i32 %9, ptr @FLAG_N, align 4, !tbaa !6 %10 = tail call i32 @MASK_OUT_ABOVE_32(i32 noundef %8) #2 store i32 %10, ptr @FLAG_Z, align 4, !tbaa !6 %11 = tail call i32 @CFLAG_SUB_32(i32 noundef %5, i32 noundef %7, i32 noundef %8) #2 store i32 %11, ptr @FLAG_C, align 4, !tbaa !6 store i32 %11, ptr @FLAG_X, align 4, !tbaa !6 %12 = tail call i32 @VFLAG_SUB_32(i32 noundef %5, i32 noundef %7, i32 noundef %8) #2 store i32 %12, ptr @FLAG_V, align 4, !tbaa !6 %13 = load i32, ptr @FLAG_Z, align 4, !tbaa !6 %14 = tail call i32 @m68ki_write_32(i32 noundef %6, i32 noundef %13) #2 ret void } declare i32 @EA_AY_PI_32(...) local_unnamed_addr #1 declare i32 @m68ki_read_32(i32 noundef) local_unnamed_addr #1 declare i32 @NFLAG_32(i32 noundef) local_unnamed_addr #1 declare i32 @MASK_OUT_ABOVE_32(i32 noundef) local_unnamed_addr #1 declare i32 @CFLAG_SUB_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VFLAG_SUB_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @m68ki_write_32(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_m68k_extr_m68kops.h_m68k_op_subq_32_pi
; ModuleID = 'AnghaBench/linux/drivers/staging/gasket/extr_apex_driver.c_apex_device_open_cb.c' source_filename = "AnghaBench/linux/drivers/staging/gasket/extr_apex_driver.c_apex_device_open_cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @apex_device_open_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @apex_device_open_cb(ptr noundef %0) #0 { %2 = tail call i32 @gasket_reset_nolock(ptr noundef %0) #2 ret i32 %2 } declare i32 @gasket_reset_nolock(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/staging/gasket/extr_apex_driver.c_apex_device_open_cb.c' source_filename = "AnghaBench/linux/drivers/staging/gasket/extr_apex_driver.c_apex_device_open_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @apex_device_open_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @apex_device_open_cb(ptr noundef %0) #0 { %2 = tail call i32 @gasket_reset_nolock(ptr noundef %0) #2 ret i32 %2 } declare i32 @gasket_reset_nolock(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_staging_gasket_extr_apex_driver.c_apex_device_open_cb
; ModuleID = 'AnghaBench/linux/fs/ceph/extr_caps.c_ceph_try_get_caps.c' source_filename = "AnghaBench/linux/fs/ceph/extr_caps.c_ceph_try_get_caps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CEPH_CAP_FILE_RD = dso_local local_unnamed_addr global i32 0, align 4 @CEPH_CAP_FILE_CACHE = dso_local local_unnamed_addr global i32 0, align 4 @CEPH_CAP_FILE_LAZYIO = dso_local local_unnamed_addr global i32 0, align 4 @CEPH_CAP_FILE_SHARED = dso_local local_unnamed_addr global i32 0, align 4 @NON_BLOCKING = dso_local local_unnamed_addr global i32 0, align 4 @EAGAIN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ceph_try_get_caps(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @CEPH_CAP_FILE_RD, align 4, !tbaa !5 %7 = xor i32 %6, -1 %8 = and i32 %7, %1 %9 = tail call i32 @BUG_ON(i32 noundef %8) #2 %10 = load i32, ptr @CEPH_CAP_FILE_CACHE, align 4, !tbaa !5 %11 = load i32, ptr @CEPH_CAP_FILE_LAZYIO, align 4, !tbaa !5 %12 = or i32 %11, %10 %13 = load i32, ptr @CEPH_CAP_FILE_SHARED, align 4, !tbaa !5 %14 = or i32 %12, %13 %15 = xor i32 %14, -1 %16 = and i32 %15, %2 %17 = tail call i32 @BUG_ON(i32 noundef %16) #2 %18 = tail call i32 @ceph_pool_perm_check(ptr noundef %0, i32 noundef %1) #2 %19 = icmp slt i32 %18, 0 br i1 %19, label %29, label %20 20: ; preds = %5 %21 = icmp eq i32 %3, 0 %22 = load i32, ptr @NON_BLOCKING, align 4 %23 = select i1 %21, i32 0, i32 %22 %24 = tail call i32 @try_get_cap_refs(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef 0, i32 noundef %23, ptr noundef %4) #2 %25 = load i32, ptr @EAGAIN, align 4, !tbaa !5 %26 = sub nsw i32 0, %25 %27 = icmp eq i32 %24, %26 %28 = select i1 %27, i32 0, i32 %24 br label %29 29: ; preds = %5, %20 %30 = phi i32 [ %28, %20 ], [ %18, %5 ] ret i32 %30 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @ceph_pool_perm_check(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @try_get_cap_refs(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/fs/ceph/extr_caps.c_ceph_try_get_caps.c' source_filename = "AnghaBench/linux/fs/ceph/extr_caps.c_ceph_try_get_caps.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CEPH_CAP_FILE_RD = common local_unnamed_addr global i32 0, align 4 @CEPH_CAP_FILE_CACHE = common local_unnamed_addr global i32 0, align 4 @CEPH_CAP_FILE_LAZYIO = common local_unnamed_addr global i32 0, align 4 @CEPH_CAP_FILE_SHARED = common local_unnamed_addr global i32 0, align 4 @NON_BLOCKING = common local_unnamed_addr global i32 0, align 4 @EAGAIN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ceph_try_get_caps(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @CEPH_CAP_FILE_RD, align 4, !tbaa !6 %7 = xor i32 %6, -1 %8 = and i32 %7, %1 %9 = tail call i32 @BUG_ON(i32 noundef %8) #2 %10 = load i32, ptr @CEPH_CAP_FILE_CACHE, align 4, !tbaa !6 %11 = load i32, ptr @CEPH_CAP_FILE_LAZYIO, align 4, !tbaa !6 %12 = or i32 %11, %10 %13 = load i32, ptr @CEPH_CAP_FILE_SHARED, align 4, !tbaa !6 %14 = or i32 %12, %13 %15 = xor i32 %14, -1 %16 = and i32 %15, %2 %17 = tail call i32 @BUG_ON(i32 noundef %16) #2 %18 = tail call i32 @ceph_pool_perm_check(ptr noundef %0, i32 noundef %1) #2 %19 = icmp slt i32 %18, 0 br i1 %19, label %29, label %20 20: ; preds = %5 %21 = icmp eq i32 %3, 0 %22 = load i32, ptr @NON_BLOCKING, align 4 %23 = select i1 %21, i32 0, i32 %22 %24 = tail call i32 @try_get_cap_refs(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef 0, i32 noundef %23, ptr noundef %4) #2 %25 = load i32, ptr @EAGAIN, align 4, !tbaa !6 %26 = sub nsw i32 0, %25 %27 = icmp eq i32 %24, %26 %28 = select i1 %27, i32 0, i32 %24 br label %29 29: ; preds = %5, %20 %30 = phi i32 [ %28, %20 ], [ %18, %5 ] ret i32 %30 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @ceph_pool_perm_check(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @try_get_cap_refs(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_fs_ceph_extr_caps.c_ceph_try_get_caps
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-stmp378x/extr_stmp378x.c_stmp378x_mask_irq.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-stmp378x/extr_stmp378x.c_stmp378x_mask_irq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BM_ICOLL_INTERRUPTn_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @REGS_ICOLL_BASE = dso_local local_unnamed_addr global i64 0, align 8 @HW_ICOLL_INTERRUPTn = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @stmp378x_mask_irq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @stmp378x_mask_irq(i32 noundef %0) #0 { %2 = load i32, ptr @BM_ICOLL_INTERRUPTn_ENABLE, align 4, !tbaa !5 %3 = load i64, ptr @REGS_ICOLL_BASE, align 8, !tbaa !9 %4 = load i64, ptr @HW_ICOLL_INTERRUPTn, align 8, !tbaa !9 %5 = shl i32 %0, 4 %6 = zext i32 %5 to i64 %7 = add i64 %3, %6 %8 = add i64 %7, %4 %9 = tail call i32 @stmp3xxx_clearl(i32 noundef %2, i64 noundef %8) #2 ret void } declare i32 @stmp3xxx_clearl(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-stmp378x/extr_stmp378x.c_stmp378x_mask_irq.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-stmp378x/extr_stmp378x.c_stmp378x_mask_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BM_ICOLL_INTERRUPTn_ENABLE = common local_unnamed_addr global i32 0, align 4 @REGS_ICOLL_BASE = common local_unnamed_addr global i64 0, align 8 @HW_ICOLL_INTERRUPTn = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @stmp378x_mask_irq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @stmp378x_mask_irq(i32 noundef %0) #0 { %2 = load i32, ptr @BM_ICOLL_INTERRUPTn_ENABLE, align 4, !tbaa !6 %3 = load i64, ptr @REGS_ICOLL_BASE, align 8, !tbaa !10 %4 = load i64, ptr @HW_ICOLL_INTERRUPTn, align 8, !tbaa !10 %5 = shl i32 %0, 4 %6 = zext i32 %5 to i64 %7 = add i64 %3, %6 %8 = add i64 %7, %4 %9 = tail call i32 @stmp3xxx_clearl(i32 noundef %2, i64 noundef %8) #2 ret void } declare i32 @stmp3xxx_clearl(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
fastsocket_kernel_arch_arm_mach-stmp378x_extr_stmp378x.c_stmp378x_mask_irq
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/netfilter/extr_ip6table_security.c_ip6t_local_out_hook.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/netfilter/extr_ip6table_security.c_ip6t_local_out_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @ip6t_local_out_hook], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ip6t_local_out_hook(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture readnone %4) #0 { %6 = tail call ptr @dev_net(ptr noundef %3) #2 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = tail call i32 @ip6t_do_table(ptr noundef %1, i32 noundef %0, ptr noundef %2, ptr noundef %3, i32 noundef %7) #2 ret i32 %8 } declare i32 @ip6t_do_table(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @dev_net(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_4__", !7, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/netfilter/extr_ip6table_security.c_ip6t_local_out_hook.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/netfilter/extr_ip6table_security.c_ip6t_local_out_hook.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 @ip6t_local_out_hook], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ip6t_local_out_hook(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture readnone %4) #0 { %6 = tail call ptr @dev_net(ptr noundef %3) #2 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = tail call i32 @ip6t_do_table(ptr noundef %1, i32 noundef %0, ptr noundef %2, ptr noundef %3, i32 noundef %7) #2 ret i32 %8 } declare i32 @ip6t_do_table(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @dev_net(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_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_net_ipv6_netfilter_extr_ip6table_security.c_ip6t_local_out_hook
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-v3-abi.c_gnuv3_is_operator_name.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-v3-abi.c_gnuv3_is_operator_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 [9 x i8] c"operator\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @gnuv3_is_operator_name], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gnuv3_is_operator_name(ptr noundef %0) #0 { %2 = tail call i64 @strncmp(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 8) #2 %3 = icmp eq i64 %2, 0 %4 = zext i1 %3 to i32 ret i32 %4 } declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-v3-abi.c_gnuv3_is_operator_name.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-v3-abi.c_gnuv3_is_operator_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 [9 x i8] c"operator\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @gnuv3_is_operator_name], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @gnuv3_is_operator_name(ptr noundef %0) #0 { %2 = tail call i64 @strncmp(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 8) #2 %3 = icmp eq i64 %2, 0 %4 = zext i1 %3 to i32 ret i32 %4 } declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_gdb_gdb_extr_gnu-v3-abi.c_gnuv3_is_operator_name
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_coid.c_zfiWlanQueryBssList.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_coid.c_zfiWlanQueryBssList.c" target datalayout = "e-m:e-p270:32:32-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.zsBssList = type { i32, ptr } %struct.TYPE_4__ = type { i32, ptr } %struct.zsBssInfo = type { ptr } @wd = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @zfiWlanQueryBssList(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @zmw_get_wlan_dev(ptr noundef %0) #2 %4 = tail call i32 (...) @zmw_declare_for_critical_section() #2 %5 = getelementptr inbounds i32, ptr %1, i64 16 %6 = getelementptr inbounds %struct.zsBssList, ptr %1, i64 0, i32 1 store ptr %5, ptr %6, align 8, !tbaa !5 %7 = tail call i32 @zmw_enter_critical_section(ptr noundef %0) #2 %8 = load ptr, ptr @wd, align 8, !tbaa !11 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = load i32, ptr %8, align 8, !tbaa !16 store i32 %11, ptr %1, align 8, !tbaa !17 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %36 13: ; preds = %2, %29 %14 = phi ptr [ %31, %29 ], [ %10, %2 ] %15 = phi ptr [ %30, %29 ], [ %5, %2 ] %16 = phi i32 [ %32, %29 ], [ 0, %2 ] %17 = tail call i32 @zfMemoryCopy(ptr noundef %15, ptr noundef %14, i32 noundef 8) #2 %18 = load ptr, ptr %14, align 8, !tbaa !18 %19 = icmp eq ptr %18, null br i1 %19, label %22, label %20 20: ; preds = %13 %21 = getelementptr inbounds %struct.zsBssInfo, ptr %15, i64 1 store ptr %21, ptr %15, align 8, !tbaa !18 br label %29 22: ; preds = %13 %23 = load ptr, ptr @wd, align 8, !tbaa !11 %24 = load i32, ptr %23, align 8, !tbaa !16 %25 = add nsw i32 %24, -1 %26 = icmp eq i32 %16, %25 %27 = zext i1 %26 to i32 %28 = tail call i32 @zm_assert(i32 noundef %27) #2 br label %29 29: ; preds = %20, %22 %30 = phi ptr [ %21, %20 ], [ %15, %22 ] %31 = phi ptr [ %18, %20 ], [ %14, %22 ] %32 = add nuw nsw i32 %16, 1 %33 = load ptr, ptr @wd, align 8, !tbaa !11 %34 = load i32, ptr %33, align 8, !tbaa !16 %35 = icmp slt i32 %32, %34 br i1 %35, label %13, label %36, !llvm.loop !20 36: ; preds = %29, %2 %37 = tail call i32 @zmw_leave_critical_section(ptr noundef %0) #2 %38 = tail call i32 @zfScanMgrScanAck(ptr noundef %0) #2 ret void } declare i32 @zmw_get_wlan_dev(ptr noundef) local_unnamed_addr #1 declare i32 @zmw_declare_for_critical_section(...) local_unnamed_addr #1 declare i32 @zmw_enter_critical_section(ptr noundef) local_unnamed_addr #1 declare i32 @zfMemoryCopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zm_assert(i32 noundef) local_unnamed_addr #1 declare i32 @zmw_leave_critical_section(ptr noundef) local_unnamed_addr #1 declare i32 @zfScanMgrScanAck(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 = !{!"zsBssList", !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 = !{!10, !10, i64 0} !12 = !{!13, !10, i64 8} !13 = !{!"TYPE_6__", !14, i64 0} !14 = !{!"TYPE_5__", !15, i64 0} !15 = !{!"TYPE_4__", !7, i64 0, !10, i64 8} !16 = !{!13, !7, i64 0} !17 = !{!6, !7, i64 0} !18 = !{!19, !10, i64 0} !19 = !{!"zsBssInfo", !10, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_coid.c_zfiWlanQueryBssList.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_coid.c_zfiWlanQueryBssList.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @wd = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @zfiWlanQueryBssList(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @zmw_get_wlan_dev(ptr noundef %0) #2 %4 = tail call i32 @zmw_declare_for_critical_section() #2 %5 = getelementptr inbounds i8, ptr %1, i64 64 %6 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %5, ptr %6, align 8, !tbaa !6 %7 = tail call i32 @zmw_enter_critical_section(ptr noundef %0) #2 %8 = load ptr, ptr @wd, align 8, !tbaa !12 %9 = getelementptr inbounds i8, ptr %8, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = load i32, ptr %8, align 8, !tbaa !17 store i32 %11, ptr %1, align 8, !tbaa !18 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %36 13: ; preds = %2, %29 %14 = phi ptr [ %31, %29 ], [ %10, %2 ] %15 = phi ptr [ %30, %29 ], [ %5, %2 ] %16 = phi i32 [ %32, %29 ], [ 0, %2 ] %17 = tail call i32 @zfMemoryCopy(ptr noundef %15, ptr noundef %14, i32 noundef 8) #2 %18 = load ptr, ptr %14, align 8, !tbaa !19 %19 = icmp eq ptr %18, null br i1 %19, label %22, label %20 20: ; preds = %13 %21 = getelementptr inbounds i8, ptr %15, i64 8 store ptr %21, ptr %15, align 8, !tbaa !19 br label %29 22: ; preds = %13 %23 = load ptr, ptr @wd, align 8, !tbaa !12 %24 = load i32, ptr %23, align 8, !tbaa !17 %25 = add nsw i32 %24, -1 %26 = icmp eq i32 %16, %25 %27 = zext i1 %26 to i32 %28 = tail call i32 @zm_assert(i32 noundef %27) #2 br label %29 29: ; preds = %20, %22 %30 = phi ptr [ %21, %20 ], [ %15, %22 ] %31 = phi ptr [ %18, %20 ], [ %14, %22 ] %32 = add nuw nsw i32 %16, 1 %33 = load ptr, ptr @wd, align 8, !tbaa !12 %34 = load i32, ptr %33, align 8, !tbaa !17 %35 = icmp slt i32 %32, %34 br i1 %35, label %13, label %36, !llvm.loop !21 36: ; preds = %29, %2 %37 = tail call i32 @zmw_leave_critical_section(ptr noundef %0) #2 %38 = tail call i32 @zfScanMgrScanAck(ptr noundef %0) #2 ret void } declare i32 @zmw_get_wlan_dev(ptr noundef) local_unnamed_addr #1 declare i32 @zmw_declare_for_critical_section(...) local_unnamed_addr #1 declare i32 @zmw_enter_critical_section(ptr noundef) local_unnamed_addr #1 declare i32 @zfMemoryCopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zm_assert(i32 noundef) local_unnamed_addr #1 declare i32 @zmw_leave_critical_section(ptr noundef) local_unnamed_addr #1 declare i32 @zfScanMgrScanAck(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 = !{!"zsBssList", !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 = !{!11, !11, i64 0} !13 = !{!14, !11, i64 8} !14 = !{!"TYPE_6__", !15, i64 0} !15 = !{!"TYPE_5__", !16, i64 0} !16 = !{!"TYPE_4__", !8, i64 0, !11, i64 8} !17 = !{!14, !8, i64 0} !18 = !{!7, !8, i64 0} !19 = !{!20, !11, i64 0} !20 = !{!"zsBssInfo", !11, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_staging_otus_80211core_extr_coid.c_zfiWlanQueryBssList
; ModuleID = 'AnghaBench/linux/drivers/ntb/hw/amd/extr_ntb_hw_amd.c_amd_ntb_db_vector_count.c' source_filename = "AnghaBench/linux/drivers/ntb/hw/amd/extr_ntb_hw_amd.c_amd_ntb_db_vector_count.c" target datalayout = "e-m:e-p270:32:32-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 @amd_ntb_db_vector_count], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @amd_ntb_db_vector_count(ptr noundef %0) #0 { %2 = tail call ptr @ntb_ndev(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !5 ret i32 %3 } declare ptr @ntb_ndev(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/ntb/hw/amd/extr_ntb_hw_amd.c_amd_ntb_db_vector_count.c' source_filename = "AnghaBench/linux/drivers/ntb/hw/amd/extr_ntb_hw_amd.c_amd_ntb_db_vector_count.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 @amd_ntb_db_vector_count], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @amd_ntb_db_vector_count(ptr noundef %0) #0 { %2 = tail call ptr @ntb_ndev(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !6 ret i32 %3 } declare ptr @ntb_ndev(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_ntb_hw_amd_extr_ntb_hw_amd.c_amd_ntb_db_vector_count
; ModuleID = 'AnghaBench/linux/sound/hda/extr_local.h_get_wcaps_type.c' source_filename = "AnghaBench/linux/sound/hda/extr_local.h_get_wcaps_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" @AC_WCAP_TYPE = dso_local local_unnamed_addr global i32 0, align 4 @AC_WCAP_TYPE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_wcaps_type], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @get_wcaps_type(i32 noundef %0) #0 { %2 = icmp eq i32 %0, 0 %3 = load i32, ptr @AC_WCAP_TYPE, align 4 %4 = and i32 %3, %0 %5 = load i32, ptr @AC_WCAP_TYPE_SHIFT, align 4 %6 = lshr i32 %4, %5 %7 = select i1 %2, i32 -1, i32 %6 ret i32 %7 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/sound/hda/extr_local.h_get_wcaps_type.c' source_filename = "AnghaBench/linux/sound/hda/extr_local.h_get_wcaps_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AC_WCAP_TYPE = common local_unnamed_addr global i32 0, align 4 @AC_WCAP_TYPE_SHIFT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_wcaps_type], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @get_wcaps_type(i32 noundef %0) #0 { %2 = icmp eq i32 %0, 0 %3 = load i32, ptr @AC_WCAP_TYPE, align 4 %4 = and i32 %3, %0 %5 = load i32, ptr @AC_WCAP_TYPE_SHIFT, align 4 %6 = lshr i32 %4, %5 %7 = select i1 %2, i32 -1, i32 %6 ret i32 %7 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_sound_hda_extr_local.h_get_wcaps_type
; ModuleID = 'AnghaBench/libgit2/src/extr_submodule.c_git_submodule_set_update.c' source_filename = "AnghaBench/libgit2/src/extr_submodule.c_git_submodule_set_update.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @_sm_update_map = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"update\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @git_submodule_set_update(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %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) #2 %9 = load i32, ptr @_sm_update_map, align 4, !tbaa !5 %10 = tail call i32 @ARRAY_SIZE(i32 noundef %9) #2 %11 = tail call i32 @write_mapped_var(ptr noundef %0, ptr noundef %1, i32 noundef %9, i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %2) #2 ret i32 %11 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @write_mapped_var(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(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/libgit2/src/extr_submodule.c_git_submodule_set_update.c' source_filename = "AnghaBench/libgit2/src/extr_submodule.c_git_submodule_set_update.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @_sm_update_map = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"update\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @git_submodule_set_update(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %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) #2 %9 = load i32, ptr @_sm_update_map, align 4, !tbaa !6 %10 = tail call i32 @ARRAY_SIZE(i32 noundef %9) #2 %11 = tail call i32 @write_mapped_var(ptr noundef %0, ptr noundef %1, i32 noundef %9, i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %2) #2 ret i32 %11 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @write_mapped_var(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(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"}
libgit2_src_extr_submodule.c_git_submodule_set_update
; ModuleID = 'AnghaBench/Quake-III-Arena/code/renderer/extr_tr_sky.c_ClearSkyBox.c' source_filename = "AnghaBench/Quake-III-Arena/code/renderer/extr_tr_sky.c_ClearSkyBox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @sky_mins = dso_local local_unnamed_addr global ptr null, align 8 @sky_maxs = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ClearSkyBox], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define internal void @ClearSkyBox() #0 { %1 = load ptr, ptr @sky_mins, align 8, !tbaa !5 %2 = getelementptr inbounds ptr, ptr %1, i64 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = load ptr, ptr @sky_maxs, align 8, !tbaa !5 %6 = getelementptr inbounds ptr, ptr %5, i64 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = load ptr, ptr %5, align 8, !tbaa !5 store i32 9999, ptr %3, align 4, !tbaa !9 store i32 9999, ptr %4, align 4, !tbaa !9 store i32 -9999, ptr %7, align 4, !tbaa !9 store i32 -9999, ptr %8, align 4, !tbaa !9 %9 = getelementptr inbounds i32, ptr %3, i64 1 store i32 9999, ptr %9, align 4, !tbaa !9 %10 = getelementptr inbounds i32, ptr %4, i64 1 store i32 9999, ptr %10, align 4, !tbaa !9 %11 = getelementptr inbounds i32, ptr %7, i64 1 store i32 -9999, ptr %11, align 4, !tbaa !9 %12 = getelementptr inbounds i32, ptr %8, i64 1 store i32 -9999, ptr %12, align 4, !tbaa !9 %13 = getelementptr inbounds i32, ptr %3, i64 2 store i32 9999, ptr %13, align 4, !tbaa !9 %14 = getelementptr inbounds i32, ptr %4, i64 2 store i32 9999, ptr %14, align 4, !tbaa !9 %15 = getelementptr inbounds i32, ptr %7, i64 2 store i32 -9999, ptr %15, align 4, !tbaa !9 %16 = getelementptr inbounds i32, ptr %8, i64 2 store i32 -9999, ptr %16, align 4, !tbaa !9 %17 = getelementptr inbounds i32, ptr %3, i64 3 store i32 9999, ptr %17, align 4, !tbaa !9 %18 = getelementptr inbounds i32, ptr %4, i64 3 store i32 9999, ptr %18, align 4, !tbaa !9 %19 = getelementptr inbounds i32, ptr %7, i64 3 store i32 -9999, ptr %19, align 4, !tbaa !9 %20 = getelementptr inbounds i32, ptr %8, i64 3 store i32 -9999, ptr %20, align 4, !tbaa !9 %21 = getelementptr inbounds i32, ptr %3, i64 4 store i32 9999, ptr %21, align 4, !tbaa !9 %22 = getelementptr inbounds i32, ptr %4, i64 4 store i32 9999, ptr %22, align 4, !tbaa !9 %23 = getelementptr inbounds i32, ptr %7, i64 4 store i32 -9999, ptr %23, align 4, !tbaa !9 %24 = getelementptr inbounds i32, ptr %8, i64 4 store i32 -9999, ptr %24, align 4, !tbaa !9 %25 = getelementptr inbounds i32, ptr %3, i64 5 store i32 9999, ptr %25, align 4, !tbaa !9 %26 = getelementptr inbounds i32, ptr %4, i64 5 store i32 9999, ptr %26, align 4, !tbaa !9 %27 = getelementptr inbounds i32, ptr %7, i64 5 store i32 -9999, ptr %27, align 4, !tbaa !9 %28 = getelementptr inbounds i32, ptr %8, i64 5 store i32 -9999, ptr %28, align 4, !tbaa !9 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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/Quake-III-Arena/code/renderer/extr_tr_sky.c_ClearSkyBox.c' source_filename = "AnghaBench/Quake-III-Arena/code/renderer/extr_tr_sky.c_ClearSkyBox.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sky_mins = common local_unnamed_addr global ptr null, align 8 @sky_maxs = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @ClearSkyBox], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal void @ClearSkyBox() #0 { %1 = load ptr, ptr @sky_mins, align 8, !tbaa !6 %2 = getelementptr inbounds i8, ptr %1, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = load ptr, ptr @sky_maxs, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = load ptr, ptr %5, align 8, !tbaa !6 store i32 9999, ptr %3, align 4, !tbaa !10 store i32 9999, ptr %4, align 4, !tbaa !10 store i32 -9999, ptr %7, align 4, !tbaa !10 store i32 -9999, ptr %8, align 4, !tbaa !10 %9 = getelementptr inbounds i8, ptr %3, i64 4 store i32 9999, ptr %9, align 4, !tbaa !10 %10 = getelementptr inbounds i8, ptr %4, i64 4 store i32 9999, ptr %10, align 4, !tbaa !10 %11 = getelementptr inbounds i8, ptr %7, i64 4 store i32 -9999, ptr %11, align 4, !tbaa !10 %12 = getelementptr inbounds i8, ptr %8, i64 4 store i32 -9999, ptr %12, align 4, !tbaa !10 %13 = getelementptr inbounds i8, ptr %3, i64 8 store i32 9999, ptr %13, align 4, !tbaa !10 %14 = getelementptr inbounds i8, ptr %4, i64 8 store i32 9999, ptr %14, align 4, !tbaa !10 %15 = getelementptr inbounds i8, ptr %7, i64 8 store i32 -9999, ptr %15, align 4, !tbaa !10 %16 = getelementptr inbounds i8, ptr %8, i64 8 store i32 -9999, ptr %16, align 4, !tbaa !10 %17 = getelementptr inbounds i8, ptr %3, i64 12 store i32 9999, ptr %17, align 4, !tbaa !10 %18 = getelementptr inbounds i8, ptr %4, i64 12 store i32 9999, ptr %18, align 4, !tbaa !10 %19 = getelementptr inbounds i8, ptr %7, i64 12 store i32 -9999, ptr %19, align 4, !tbaa !10 %20 = getelementptr inbounds i8, ptr %8, i64 12 store i32 -9999, ptr %20, align 4, !tbaa !10 %21 = getelementptr inbounds i8, ptr %3, i64 16 store i32 9999, ptr %21, align 4, !tbaa !10 %22 = getelementptr inbounds i8, ptr %4, i64 16 store i32 9999, ptr %22, align 4, !tbaa !10 %23 = getelementptr inbounds i8, ptr %7, i64 16 store i32 -9999, ptr %23, align 4, !tbaa !10 %24 = getelementptr inbounds i8, ptr %8, i64 16 store i32 -9999, ptr %24, align 4, !tbaa !10 %25 = getelementptr inbounds i8, ptr %3, i64 20 store i32 9999, ptr %25, align 4, !tbaa !10 %26 = getelementptr inbounds i8, ptr %4, i64 20 store i32 9999, ptr %26, align 4, !tbaa !10 %27 = getelementptr inbounds i8, ptr %7, i64 20 store i32 -9999, ptr %27, align 4, !tbaa !10 %28 = getelementptr inbounds i8, ptr %8, i64 20 store i32 -9999, ptr %28, align 4, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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}
Quake-III-Arena_code_renderer_extr_tr_sky.c_ClearSkyBox
; ModuleID = 'AnghaBench/postgres/src/backend/postmaster/extr_pgstat.c_pgstat_recv_deadlock.c' source_filename = "AnghaBench/postgres/src/backend/postmaster/extr_pgstat.c_pgstat_recv_deadlock.c" target datalayout = "e-m:e-p270:32:32-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 @pgstat_recv_deadlock], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pgstat_recv_deadlock(ptr nocapture noundef readonly %0, i32 %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call ptr @pgstat_get_db_entry(i32 noundef %3, i32 noundef 1) #2 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = add nsw i32 %5, 1 store i32 %6, ptr %4, align 4, !tbaa !10 ret void } declare ptr @pgstat_get_db_entry(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_5__", !7, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/postmaster/extr_pgstat.c_pgstat_recv_deadlock.c' source_filename = "AnghaBench/postgres/src/backend/postmaster/extr_pgstat.c_pgstat_recv_deadlock.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 @pgstat_recv_deadlock], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pgstat_recv_deadlock(ptr nocapture noundef readonly %0, i32 %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call ptr @pgstat_get_db_entry(i32 noundef %3, i32 noundef 1) #2 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = add nsw i32 %5, 1 store i32 %6, ptr %4, align 4, !tbaa !11 ret void } declare ptr @pgstat_get_db_entry(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_5__", !8, i64 0}
postgres_src_backend_postmaster_extr_pgstat.c_pgstat_recv_deadlock
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/extr_bufferlist.c_isc_bufferlist_availablecount.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/extr_bufferlist.c_isc_bufferlist_availablecount.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @link = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @isc_bufferlist_availablecount(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp ne ptr %0, null %3 = zext i1 %2 to i32 %4 = tail call i32 @REQUIRE(i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call ptr @ISC_LIST_HEAD(i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %19, label %8 8: ; preds = %1, %8 %9 = phi i32 [ %15, %8 ], [ 0, %1 ] %10 = phi ptr [ %17, %8 ], [ %6, %1 ] %11 = tail call i32 @ISC_BUFFER_VALID(ptr noundef nonnull %10) #2 %12 = tail call i32 @REQUIRE(i32 noundef %11) #2 %13 = tail call i64 @isc_buffer_availablelength(ptr noundef nonnull %10) #2 %14 = trunc i64 %13 to i32 %15 = add i32 %9, %14 %16 = load i32, ptr @link, align 4, !tbaa !5 %17 = tail call ptr @ISC_LIST_NEXT(ptr noundef nonnull %10, i32 noundef %16) #2 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %8, !llvm.loop !9 19: ; preds = %8, %1 %20 = phi i32 [ 0, %1 ], [ %15, %8 ] ret i32 %20 } declare i32 @REQUIRE(i32 noundef) local_unnamed_addr #1 declare ptr @ISC_LIST_HEAD(i32 noundef) local_unnamed_addr #1 declare i32 @ISC_BUFFER_VALID(ptr noundef) local_unnamed_addr #1 declare i64 @isc_buffer_availablelength(ptr noundef) local_unnamed_addr #1 declare ptr @ISC_LIST_NEXT(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/extr_bufferlist.c_isc_bufferlist_availablecount.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/extr_bufferlist.c_isc_bufferlist_availablecount.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @link = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @isc_bufferlist_availablecount(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp ne ptr %0, null %3 = zext i1 %2 to i32 %4 = tail call i32 @REQUIRE(i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call ptr @ISC_LIST_HEAD(i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %19, label %8 8: ; preds = %1, %8 %9 = phi i32 [ %15, %8 ], [ 0, %1 ] %10 = phi ptr [ %17, %8 ], [ %6, %1 ] %11 = tail call i32 @ISC_BUFFER_VALID(ptr noundef nonnull %10) #2 %12 = tail call i32 @REQUIRE(i32 noundef %11) #2 %13 = tail call i64 @isc_buffer_availablelength(ptr noundef nonnull %10) #2 %14 = trunc i64 %13 to i32 %15 = add i32 %9, %14 %16 = load i32, ptr @link, align 4, !tbaa !6 %17 = tail call ptr @ISC_LIST_NEXT(ptr noundef nonnull %10, i32 noundef %16) #2 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %8, !llvm.loop !10 19: ; preds = %8, %1 %20 = phi i32 [ 0, %1 ], [ %15, %8 ] ret i32 %20 } declare i32 @REQUIRE(i32 noundef) local_unnamed_addr #1 declare ptr @ISC_LIST_HEAD(i32 noundef) local_unnamed_addr #1 declare i32 @ISC_BUFFER_VALID(ptr noundef) local_unnamed_addr #1 declare i64 @isc_buffer_availablelength(ptr noundef) local_unnamed_addr #1 declare ptr @ISC_LIST_NEXT(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_ntp_lib_isc_extr_bufferlist.c_isc_bufferlist_availablecount
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_http.c_evhttp_uriencode.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_http.c_evhttp_uriencode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%%%02X\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @evhttp_uriencode(ptr noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call ptr (...) @evbuffer_new() #2 %5 = icmp eq ptr %4, null br i1 %5, label %45, label %6 6: ; preds = %3 %7 = icmp sgt i64 %1, -1 br i1 %7, label %11, label %8 8: ; preds = %6 %9 = tail call i32 @strlen(ptr noundef %0) #2 %10 = sext i32 %9 to i64 br label %11 11: ; preds = %6, %8 %12 = phi i64 [ %10, %8 ], [ %1, %6 ] %13 = getelementptr inbounds i8, ptr %0, i64 %12 %14 = icmp sgt i64 %12, 0 br i1 %14, label %15, label %35 15: ; preds = %11 %16 = icmp ne i32 %2, 0 br label %17 17: ; preds = %15, %32 %18 = phi ptr [ %0, %15 ], [ %33, %32 ] %19 = load i8, ptr %18, align 1, !tbaa !5 %20 = tail call i64 @CHAR_IS_UNRESERVED(i8 noundef signext %19) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %17 %23 = tail call i32 @evbuffer_add(ptr noundef nonnull %4, ptr noundef nonnull %18, i32 noundef 1) #2 br label %32 24: ; preds = %17 %25 = load i8, ptr %18, align 1, !tbaa !5 %26 = icmp eq i8 %25, 32 %27 = and i1 %16, %26 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = tail call i32 @evbuffer_add(ptr noundef nonnull %4, ptr noundef nonnull @.str, i32 noundef 1) #2 br label %32 30: ; preds = %24 %31 = tail call i32 @evbuffer_add_printf(ptr noundef nonnull %4, ptr noundef nonnull @.str.1, i8 noundef zeroext %25) #2 br label %32 32: ; preds = %22, %30, %28 %33 = getelementptr inbounds i8, ptr %18, i64 1 %34 = icmp ult ptr %33, %13 br i1 %34, label %17, label %35, !llvm.loop !8 35: ; preds = %32, %11 %36 = tail call i32 @evbuffer_add(ptr noundef nonnull %4, ptr noundef nonnull @.str.2, i32 noundef 1) #2 %37 = tail call i32 @evbuffer_get_length(ptr noundef nonnull %4) #2 %38 = tail call ptr @mm_malloc(i32 noundef %37) #2 %39 = icmp eq ptr %38, null br i1 %39, label %43, label %40 40: ; preds = %35 %41 = tail call i32 @evbuffer_get_length(ptr noundef nonnull %4) #2 %42 = tail call i32 @evbuffer_remove(ptr noundef nonnull %4, ptr noundef nonnull %38, i32 noundef %41) #2 br label %43 43: ; preds = %40, %35 %44 = tail call i32 @evbuffer_free(ptr noundef nonnull %4) #2 br label %45 45: ; preds = %3, %43 %46 = phi ptr [ %38, %43 ], [ null, %3 ] ret ptr %46 } declare ptr @evbuffer_new(...) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i64 @CHAR_IS_UNRESERVED(i8 noundef signext) local_unnamed_addr #1 declare i32 @evbuffer_add(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @evbuffer_add_printf(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1 declare ptr @mm_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @evbuffer_get_length(ptr noundef) local_unnamed_addr #1 declare i32 @evbuffer_remove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @evbuffer_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_http.c_evhttp_uriencode.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_http.c_evhttp_uriencode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%%%02X\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @evhttp_uriencode(ptr noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @evbuffer_new() #2 %5 = icmp eq ptr %4, null br i1 %5, label %45, label %6 6: ; preds = %3 %7 = icmp sgt i64 %1, -1 br i1 %7, label %11, label %8 8: ; preds = %6 %9 = tail call i32 @strlen(ptr noundef %0) #2 %10 = sext i32 %9 to i64 br label %11 11: ; preds = %6, %8 %12 = phi i64 [ %10, %8 ], [ %1, %6 ] %13 = getelementptr inbounds i8, ptr %0, i64 %12 %14 = icmp sgt i64 %12, 0 br i1 %14, label %15, label %35 15: ; preds = %11 %16 = icmp ne i32 %2, 0 br label %17 17: ; preds = %15, %32 %18 = phi ptr [ %0, %15 ], [ %33, %32 ] %19 = load i8, ptr %18, align 1, !tbaa !6 %20 = tail call i64 @CHAR_IS_UNRESERVED(i8 noundef signext %19) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %17 %23 = tail call i32 @evbuffer_add(ptr noundef nonnull %4, ptr noundef nonnull %18, i32 noundef 1) #2 br label %32 24: ; preds = %17 %25 = load i8, ptr %18, align 1, !tbaa !6 %26 = icmp eq i8 %25, 32 %27 = and i1 %16, %26 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = tail call i32 @evbuffer_add(ptr noundef nonnull %4, ptr noundef nonnull @.str, i32 noundef 1) #2 br label %32 30: ; preds = %24 %31 = tail call i32 @evbuffer_add_printf(ptr noundef nonnull %4, ptr noundef nonnull @.str.1, i8 noundef zeroext %25) #2 br label %32 32: ; preds = %22, %30, %28 %33 = getelementptr inbounds i8, ptr %18, i64 1 %34 = icmp ult ptr %33, %13 br i1 %34, label %17, label %35, !llvm.loop !9 35: ; preds = %32, %11 %36 = tail call i32 @evbuffer_add(ptr noundef nonnull %4, ptr noundef nonnull @.str.2, i32 noundef 1) #2 %37 = tail call i32 @evbuffer_get_length(ptr noundef nonnull %4) #2 %38 = tail call ptr @mm_malloc(i32 noundef %37) #2 %39 = icmp eq ptr %38, null br i1 %39, label %43, label %40 40: ; preds = %35 %41 = tail call i32 @evbuffer_get_length(ptr noundef nonnull %4) #2 %42 = tail call i32 @evbuffer_remove(ptr noundef nonnull %4, ptr noundef nonnull %38, i32 noundef %41) #2 br label %43 43: ; preds = %40, %35 %44 = tail call i32 @evbuffer_free(ptr noundef nonnull %4) #2 br label %45 45: ; preds = %3, %43 %46 = phi ptr [ %38, %43 ], [ null, %3 ] ret ptr %46 } declare ptr @evbuffer_new(...) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i64 @CHAR_IS_UNRESERVED(i8 noundef signext) local_unnamed_addr #1 declare i32 @evbuffer_add(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @evbuffer_add_printf(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1 declare ptr @mm_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @evbuffer_get_length(ptr noundef) local_unnamed_addr #1 declare i32 @evbuffer_remove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @evbuffer_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_ntp_sntp_libevent_extr_http.c_evhttp_uriencode
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibmad/extr_fields.c_mad_field_name.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libibmad/extr_fields.c_mad_field_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" %struct.TYPE_2__ = type { ptr } @ib_mad_f = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local ptr @mad_field_name(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @ib_mad_f, align 8, !tbaa !5 %3 = zext i32 %0 to i64 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %3 %5 = load ptr, ptr %4, align 8, !tbaa !9 ret ptr %5 } 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibmad/extr_fields.c_mad_field_name.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libibmad/extr_fields.c_mad_field_name.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { ptr } @ib_mad_f = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define ptr @mad_field_name(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @ib_mad_f, align 8, !tbaa !6 %3 = zext i32 %0 to i64 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %3 %5 = load ptr, ptr %4, align 8, !tbaa !10 ret ptr %5 } 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0}
freebsd_contrib_ofed_libibmad_extr_fields.c_mad_field_name