IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_smpquery.c_vlarb_dump_table.c' source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_smpquery.c_vlarb_dump_table.c" target datalayout = "e-m:e-p270:32:32-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 [36 x i8] c"# %s priority VL Arbitration Table:\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @vlarb_dump_table], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @vlarb_dump_table(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %2) #3 %7 = tail call i32 @llvm.smin.i32(i32 %4, i32 32) %8 = tail call ptr @vlarb_dump_table_entry(ptr noundef %0, i32 noundef %1, i32 noundef %3, i32 noundef %7) #3 %9 = icmp eq ptr %8, null %10 = icmp sgt i32 %4, 32 %11 = and i1 %10, %9 br i1 %11, label %12, label %16 12: ; preds = %5 %13 = add nsw i32 %3, 1 %14 = add nsw i32 %4, -32 %15 = tail call ptr @vlarb_dump_table_entry(ptr noundef %0, i32 noundef %1, i32 noundef %13, i32 noundef %14) #3 br label %16 16: ; preds = %12, %5 %17 = phi ptr [ %15, %12 ], [ %8, %5 ] ret ptr %17 } declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @vlarb_dump_table_entry(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_smpquery.c_vlarb_dump_table.c' source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_smpquery.c_vlarb_dump_table.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 [36 x i8] c"# %s priority VL Arbitration Table:\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @vlarb_dump_table], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @vlarb_dump_table(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %2) #3 %7 = tail call i32 @llvm.smin.i32(i32 %4, i32 32) %8 = tail call ptr @vlarb_dump_table_entry(ptr noundef %0, i32 noundef %1, i32 noundef %3, i32 noundef %7) #3 %9 = icmp eq ptr %8, null %10 = icmp sgt i32 %4, 32 %11 = and i1 %10, %9 br i1 %11, label %12, label %16 12: ; preds = %5 %13 = add nsw i32 %3, 1 %14 = add nsw i32 %4, -32 %15 = tail call ptr @vlarb_dump_table_entry(ptr noundef %0, i32 noundef %1, i32 noundef %13, i32 noundef %14) #3 br label %16 16: ; preds = %12, %5 %17 = phi ptr [ %15, %12 ], [ %8, %5 ] ret ptr %17 } declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @vlarb_dump_table_entry(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_ofed_infiniband-diags_src_extr_smpquery.c_vlarb_dump_table
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_sedlbauer_cs.c_sedlbauer_suspend.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_sedlbauer_cs.c_sedlbauer_suspend.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @sedlbauer_suspend], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @sedlbauer_suspend(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 store i32 1, ptr %2, align 4, !tbaa !10 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"pcmcia_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_sedlbauer_cs.c_sedlbauer_suspend.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_sedlbauer_cs.c_sedlbauer_suspend.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 @sedlbauer_suspend], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal noundef i32 @sedlbauer_suspend(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 store i32 1, ptr %2, align 4, !tbaa !11 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"pcmcia_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !9, i64 0}
fastsocket_kernel_drivers_isdn_hisax_extr_sedlbauer_cs.c_sedlbauer_suspend
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pcm/extr_feeder.c_chn_removefeeder.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/pcm/extr_feeder.c_chn_removefeeder.c" target datalayout = "e-m:e-p270:32:32-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 @chn_removefeeder(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = icmp eq ptr %2, null br i1 %3, label %7, label %4 4: ; preds = %1 %5 = load ptr, ptr %2, align 8, !tbaa !10 store ptr %5, ptr %0, align 8, !tbaa !5 %6 = tail call i32 @feeder_destroy(ptr noundef nonnull %2) #2 br label %7 7: ; preds = %1, %4 %8 = phi i32 [ 0, %4 ], [ -1, %1 ] ret i32 %8 } declare i32 @feeder_destroy(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 = !{!"pcm_channel", !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 = !{!"pcm_feeder", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pcm/extr_feeder.c_chn_removefeeder.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/pcm/extr_feeder.c_chn_removefeeder.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @chn_removefeeder(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = icmp eq ptr %2, null br i1 %3, label %7, label %4 4: ; preds = %1 %5 = load ptr, ptr %2, align 8, !tbaa !11 store ptr %5, ptr %0, align 8, !tbaa !6 %6 = tail call i32 @feeder_destroy(ptr noundef nonnull %2) #2 br label %7 7: ; preds = %1, %4 %8 = phi i32 [ 0, %4 ], [ -1, %1 ] ret i32 %8 } declare i32 @feeder_destroy(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 = !{!"pcm_channel", !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 = !{!"pcm_feeder", !8, i64 0}
freebsd_sys_dev_sound_pcm_extr_feeder.c_chn_removefeeder
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc280_fixup_hp_9480m.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc280_fixup_hp_9480m.c" target datalayout = "e-m:e-p270:32:32-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.alc_spec = type { i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @HDA_FIXUP_ACT_PRE_PROBE = dso_local local_unnamed_addr global i32 0, align 4 @alc280_hp_gpio4_automute_hook = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @alc280_fixup_hp_9480m], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @alc280_fixup_hp_9480m(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = tail call i32 @alc_fixup_hp_gpio_led(ptr noundef nonnull %0, i32 noundef %2, i32 noundef 8, i32 noundef 0) #2 %6 = load i32, ptr @HDA_FIXUP_ACT_PRE_PROBE, align 4, !tbaa !10 %7 = icmp eq i32 %6, %2 br i1 %7, label %8, label %13 8: ; preds = %3 %9 = load <2 x i32>, ptr %4, align 4, !tbaa !10 %10 = or <2 x i32> %9, <i32 16, i32 16> store <2 x i32> %10, ptr %4, align 4, !tbaa !10 %11 = load i32, ptr @alc280_hp_gpio4_automute_hook, align 4, !tbaa !10 %12 = getelementptr inbounds %struct.alc_spec, ptr %4, i64 0, i32 2 store i32 %11, ptr %12, align 4, !tbaa !12 br label %13 13: ; preds = %8, %3 ret void } declare i32 @alc_fixup_hp_gpio_led(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 = !{!"hda_codec", !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 8} !13 = !{!"alc_spec", !11, i64 0, !11, i64 4, !14, i64 8} !14 = !{!"TYPE_2__", !11, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc280_fixup_hp_9480m.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc280_fixup_hp_9480m.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HDA_FIXUP_ACT_PRE_PROBE = common local_unnamed_addr global i32 0, align 4 @alc280_hp_gpio4_automute_hook = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @alc280_fixup_hp_9480m], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @alc280_fixup_hp_9480m(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = tail call i32 @alc_fixup_hp_gpio_led(ptr noundef nonnull %0, i32 noundef %2, i32 noundef 8, i32 noundef 0) #2 %6 = load i32, ptr @HDA_FIXUP_ACT_PRE_PROBE, align 4, !tbaa !11 %7 = icmp eq i32 %6, %2 br i1 %7, label %8, label %13 8: ; preds = %3 %9 = load <2 x i32>, ptr %4, align 4, !tbaa !11 %10 = or <2 x i32> %9, <i32 16, i32 16> store <2 x i32> %10, ptr %4, align 4, !tbaa !11 %11 = load i32, ptr @alc280_hp_gpio4_automute_hook, align 4, !tbaa !11 %12 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %11, ptr %12, align 4, !tbaa !13 br label %13 13: ; preds = %8, %3 ret void } declare i32 @alc_fixup_hp_gpio_led(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 = !{!"hda_codec", !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 8} !14 = !{!"alc_spec", !12, i64 0, !12, i64 4, !15, i64 8} !15 = !{!"TYPE_2__", !12, i64 0}
linux_sound_pci_hda_extr_patch_realtek.c_alc280_fixup_hp_9480m
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_drm_gem.c_rockchip_drm_gem_object_mmap_iommu.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_drm_gem.c_rockchip_drm_gem_object_mmap_iommu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PAGE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rockchip_drm_gem_object_mmap_iommu], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rockchip_drm_gem_object_mmap_iommu(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @to_rockchip_obj(ptr noundef %0) #2 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !10 %6 = tail call i64 @vma_pages(ptr noundef %1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @ENXIO, align 4, !tbaa !10 %10 = sub nsw i32 0, %9 br label %15 11: ; preds = %2 %12 = lshr i32 %4, %5 %13 = load i32, ptr %3, align 4, !tbaa !11 %14 = tail call i32 @vm_map_pages(ptr noundef %1, i32 noundef %13, i32 noundef %12) #2 br label %15 15: ; preds = %11, %8 %16 = phi i32 [ %10, %8 ], [ %14, %11 ] ret i32 %16 } declare ptr @to_rockchip_obj(ptr noundef) local_unnamed_addr #1 declare i64 @vma_pages(ptr noundef) local_unnamed_addr #1 declare i32 @vm_map_pages(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"drm_gem_object", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"rockchip_gem_object", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_drm_gem.c_rockchip_drm_gem_object_mmap_iommu.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_drm_gem.c_rockchip_drm_gem_object_mmap_iommu.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SHIFT = common local_unnamed_addr global i32 0, align 4 @ENXIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rockchip_drm_gem_object_mmap_iommu], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rockchip_drm_gem_object_mmap_iommu(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @to_rockchip_obj(ptr noundef %0) #2 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !11 %6 = tail call i64 @vma_pages(ptr noundef %1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @ENXIO, align 4, !tbaa !11 %10 = sub nsw i32 0, %9 br label %15 11: ; preds = %2 %12 = lshr i32 %4, %5 %13 = load i32, ptr %3, align 4, !tbaa !12 %14 = tail call i32 @vm_map_pages(ptr noundef %1, i32 noundef %13, i32 noundef %12) #2 br label %15 15: ; preds = %11, %8 %16 = phi i32 [ %10, %8 ], [ %14, %11 ] ret i32 %16 } declare ptr @to_rockchip_obj(ptr noundef) local_unnamed_addr #1 declare i64 @vma_pages(ptr noundef) local_unnamed_addr #1 declare i32 @vm_map_pages(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"drm_gem_object", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"rockchip_gem_object", !8, i64 0}
linux_drivers_gpu_drm_rockchip_extr_rockchip_drm_gem.c_rockchip_drm_gem_object_mmap_iommu
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_gem.c_omap_gem_is_cached_coherent.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_gem.c_omap_gem_is_cached_coherent.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @OMAP_BO_MEM_SHMEM = dso_local local_unnamed_addr global i32 0, align 4 @OMAP_BO_CACHE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @OMAP_BO_CACHED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @omap_gem_is_cached_coherent], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @omap_gem_is_cached_coherent(ptr noundef %0) #0 { %2 = tail call ptr @to_omap_bo(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = load i32, ptr @OMAP_BO_MEM_SHMEM, align 4, !tbaa !10 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %13, label %7 7: ; preds = %1 %8 = load i32, ptr @OMAP_BO_CACHE_MASK, align 4, !tbaa !10 %9 = and i32 %8, %3 %10 = load i32, ptr @OMAP_BO_CACHED, align 4, !tbaa !10 %11 = icmp ne i32 %9, %10 %12 = zext i1 %11 to i32 br label %13 13: ; preds = %7, %1 %14 = phi i32 [ 1, %1 ], [ %12, %7 ] ret i32 %14 } declare ptr @to_omap_bo(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 0} !6 = !{!"omap_gem_object", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_gem.c_omap_gem_is_cached_coherent.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_gem.c_omap_gem_is_cached_coherent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OMAP_BO_MEM_SHMEM = common local_unnamed_addr global i32 0, align 4 @OMAP_BO_CACHE_MASK = common local_unnamed_addr global i32 0, align 4 @OMAP_BO_CACHED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @omap_gem_is_cached_coherent], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @omap_gem_is_cached_coherent(ptr noundef %0) #0 { %2 = tail call ptr @to_omap_bo(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = load i32, ptr @OMAP_BO_MEM_SHMEM, align 4, !tbaa !11 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %13, label %7 7: ; preds = %1 %8 = load i32, ptr @OMAP_BO_CACHE_MASK, align 4, !tbaa !11 %9 = and i32 %8, %3 %10 = load i32, ptr @OMAP_BO_CACHED, align 4, !tbaa !11 %11 = icmp ne i32 %9, %10 %12 = zext i1 %11 to i32 br label %13 13: ; preds = %7, %1 %14 = phi i32 [ 1, %1 ], [ %12, %7 ] ret i32 %14 } declare ptr @to_omap_bo(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 0} !7 = !{!"omap_gem_object", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_gpu_drm_omapdrm_extr_omap_gem.c_omap_gem_is_cached_coherent
; ModuleID = 'AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_get_enc_dpb_count_v6.c' source_filename = "AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_get_enc_dpb_count_v6.c" target datalayout = "e-m:e-p270:32:32-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 @s5p_mfc_get_enc_dpb_count_v6], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @s5p_mfc_get_enc_dpb_count_v6(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 4, !tbaa !10 %4 = tail call i32 @readl(i32 noundef %3) #2 ret i32 %4 } declare i32 @readl(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 = !{!"s5p_mfc_dev", !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}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_get_enc_dpb_count_v6.c' source_filename = "AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_get_enc_dpb_count_v6.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 @s5p_mfc_get_enc_dpb_count_v6], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @s5p_mfc_get_enc_dpb_count_v6(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 4, !tbaa !11 %4 = tail call i32 @readl(i32 noundef %3) #2 ret i32 %4 } declare i32 @readl(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 = !{!"s5p_mfc_dev", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_drivers_media_platform_s5p-mfc_extr_s5p_mfc_opr_v6.c_s5p_mfc_get_enc_dpb_count_v6
; ModuleID = 'AnghaBench/linux/fs/proc/extr_internal.h_PDE.c' source_filename = "AnghaBench/linux/fs/proc/extr_internal.h_PDE.c" target datalayout = "e-m:e-p270:32:32-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 @PDE], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @PDE(ptr noundef %0) #0 { %2 = tail call ptr @PROC_I(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 ret ptr %3 } declare ptr @PROC_I(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 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/fs/proc/extr_internal.h_PDE.c' source_filename = "AnghaBench/linux/fs/proc/extr_internal.h_PDE.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 @PDE], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @PDE(ptr noundef %0) #0 { %2 = tail call ptr @PROC_I(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 ret ptr %3 } declare ptr @PROC_I(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 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_fs_proc_extr_internal.h_PDE
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68-internal.h_PUSH16.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68-internal.h_PUSH16.c" target datalayout = "e-m:e-p270:32:32-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 @PUSH16], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @PUSH16(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds i32, ptr %3, i64 7 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = add nsw i32 %5, -2 store i32 %6, ptr %4, align 4, !tbaa !10 %7 = tail call i32 @WRITE16(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %1) #2 ret void } declare i32 @WRITE16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68-internal.h_PUSH16.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68-internal.h_PUSH16.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 @PUSH16], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @PUSH16(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 28 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = add nsw i32 %5, -2 store i32 %6, ptr %4, align 4, !tbaa !11 %7 = tail call i32 @WRITE16(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %1) #2 ret void } declare i32 @WRITE16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
Provenance_Cores_Yabause_yabause_src_q68_extr_q68-internal.h_PUSH16
; ModuleID = 'AnghaBench/linux/drivers/crypto/chelsio/extr_chcr_algo.c_chcr_add_aead_dst_ent.c' source_filename = "AnghaBench/linux/drivers/crypto/chelsio/extr_chcr_algo.c_chcr_add_aead_dst_ent.c" target datalayout = "e-m:e-p270:32:32-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.dsgl_walk = type { i32 } %struct.chcr_aead_reqctx = type { i64, i32, i64 } %struct.aead_request = type { i32, i64, i64 } @IV = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @chcr_add_aead_dst_ent(ptr noundef %0, ptr noundef %1, i16 noundef zeroext %2) local_unnamed_addr #0 { %4 = alloca %struct.dsgl_walk, align 4 %5 = tail call ptr @aead_request_ctx(ptr noundef %0) #3 %6 = tail call ptr @crypto_aead_reqtfm(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %7 = tail call i32 @crypto_aead_authsize(ptr noundef %6) #3 %8 = tail call ptr @a_ctx(ptr noundef %6) #3 %9 = call i32 @dsgl_walk_init(ptr noundef nonnull %4, ptr noundef %1) #3 %10 = load i64, ptr @IV, align 8, !tbaa !5 %11 = getelementptr inbounds %struct.chcr_aead_reqctx, ptr %5, i64 0, i32 2 %12 = load i64, ptr %11, align 8, !tbaa !9 %13 = add nsw i64 %12, %10 %14 = getelementptr inbounds %struct.chcr_aead_reqctx, ptr %5, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !12 %16 = call i32 @dsgl_walk_add_page(ptr noundef nonnull %4, i64 noundef %13, i32 noundef %15) #3 %17 = getelementptr inbounds %struct.aead_request, ptr %0, i64 0, i32 2 %18 = load i64, ptr %17, align 8, !tbaa !13 %19 = getelementptr inbounds %struct.aead_request, ptr %0, i64 0, i32 1 %20 = load i64, ptr %19, align 8, !tbaa !15 %21 = add nsw i64 %20, %18 %22 = load i64, ptr %5, align 8, !tbaa !16 %23 = icmp eq i64 %22, 0 %24 = sub i32 0, %7 %25 = select i1 %23, i32 %7, i32 %24 %26 = zext i32 %25 to i64 %27 = add nsw i64 %21, %26 %28 = load i32, ptr %0, align 8, !tbaa !17 %29 = call i32 @dsgl_walk_add_sg(ptr noundef nonnull %4, i32 noundef %28, i64 noundef %27, i32 noundef 0) #3 %30 = load i32, ptr %8, align 4, !tbaa !18 %31 = call i32 @dsgl_walk_end(ptr noundef nonnull %4, i16 noundef zeroext %2, i32 noundef %30) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @aead_request_ctx(ptr noundef) local_unnamed_addr #2 declare ptr @crypto_aead_reqtfm(ptr noundef) local_unnamed_addr #2 declare i32 @crypto_aead_authsize(ptr noundef) local_unnamed_addr #2 declare ptr @a_ctx(ptr noundef) local_unnamed_addr #2 declare i32 @dsgl_walk_init(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dsgl_walk_add_page(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dsgl_walk_add_sg(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dsgl_walk_end(ptr noundef, i16 noundef zeroext, 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, !6, i64 16} !10 = !{!"chcr_aead_reqctx", !6, i64 0, !11, i64 8, !6, i64 16} !11 = !{!"int", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!14, !6, i64 16} !14 = !{!"aead_request", !11, i64 0, !6, i64 8, !6, i64 16} !15 = !{!14, !6, i64 8} !16 = !{!10, !6, i64 0} !17 = !{!14, !11, i64 0} !18 = !{!19, !11, i64 0} !19 = !{!"chcr_context", !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/crypto/chelsio/extr_chcr_algo.c_chcr_add_aead_dst_ent.c' source_filename = "AnghaBench/linux/drivers/crypto/chelsio/extr_chcr_algo.c_chcr_add_aead_dst_ent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.dsgl_walk = type { i32 } @IV = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @chcr_add_aead_dst_ent(ptr noundef %0, ptr noundef %1, i16 noundef zeroext %2) local_unnamed_addr #0 { %4 = alloca %struct.dsgl_walk, align 4 %5 = tail call ptr @aead_request_ctx(ptr noundef %0) #3 %6 = tail call ptr @crypto_aead_reqtfm(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %7 = tail call i32 @crypto_aead_authsize(ptr noundef %6) #3 %8 = tail call ptr @a_ctx(ptr noundef %6) #3 %9 = call i32 @dsgl_walk_init(ptr noundef nonnull %4, ptr noundef %1) #3 %10 = load i64, ptr @IV, align 8, !tbaa !6 %11 = getelementptr inbounds i8, ptr %5, i64 16 %12 = load i64, ptr %11, align 8, !tbaa !10 %13 = add nsw i64 %12, %10 %14 = getelementptr inbounds i8, ptr %5, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !13 %16 = call i32 @dsgl_walk_add_page(ptr noundef nonnull %4, i64 noundef %13, i32 noundef %15) #3 %17 = getelementptr inbounds i8, ptr %0, i64 16 %18 = load i64, ptr %17, align 8, !tbaa !14 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load i64, ptr %19, align 8, !tbaa !16 %21 = add nsw i64 %20, %18 %22 = load i64, ptr %5, align 8, !tbaa !17 %23 = icmp eq i64 %22, 0 %24 = sub i32 0, %7 %25 = select i1 %23, i32 %7, i32 %24 %26 = zext i32 %25 to i64 %27 = add nsw i64 %21, %26 %28 = load i32, ptr %0, align 8, !tbaa !18 %29 = call i32 @dsgl_walk_add_sg(ptr noundef nonnull %4, i32 noundef %28, i64 noundef %27, i32 noundef 0) #3 %30 = load i32, ptr %8, align 4, !tbaa !19 %31 = call i32 @dsgl_walk_end(ptr noundef nonnull %4, i16 noundef zeroext %2, i32 noundef %30) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @aead_request_ctx(ptr noundef) local_unnamed_addr #2 declare ptr @crypto_aead_reqtfm(ptr noundef) local_unnamed_addr #2 declare i32 @crypto_aead_authsize(ptr noundef) local_unnamed_addr #2 declare ptr @a_ctx(ptr noundef) local_unnamed_addr #2 declare i32 @dsgl_walk_init(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dsgl_walk_add_page(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dsgl_walk_add_sg(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dsgl_walk_end(ptr noundef, i16 noundef zeroext, 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, !7, i64 16} !11 = !{!"chcr_aead_reqctx", !7, i64 0, !12, i64 8, !7, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!15, !7, i64 16} !15 = !{!"aead_request", !12, i64 0, !7, i64 8, !7, i64 16} !16 = !{!15, !7, i64 8} !17 = !{!11, !7, i64 0} !18 = !{!15, !12, i64 0} !19 = !{!20, !12, i64 0} !20 = !{!"chcr_context", !12, i64 0}
linux_drivers_crypto_chelsio_extr_chcr_algo.c_chcr_add_aead_dst_ent
; ModuleID = 'AnghaBench/mpv/misc/extr_json.c_eat_ws.c' source_filename = "AnghaBench/mpv/misc/extr_json.c_eat_ws.c" target datalayout = "e-m:e-p270:32:32-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 @eat_ws], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @eat_ws(ptr nocapture noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 br label %3 3: ; preds = %8, %1 %4 = phi ptr [ %2, %1 ], [ %7, %8 ] %5 = load i8, ptr %4, align 1, !tbaa !9 switch i8 %5, label %9 [ i8 32, label %6 i8 13, label %6 i8 10, label %6 i8 9, label %6 ] 6: ; preds = %3, %3, %3, %3 %7 = getelementptr inbounds i8, ptr %4, i64 1 store ptr %7, ptr %0, align 8, !tbaa !5 switch i8 %5, label %9 [ i8 32, label %8 i8 13, label %8 i8 10, label %8 i8 9, label %8 ] 8: ; preds = %6, %6, %6, %6 br label %3 9: ; preds = %3, %6 ret void } 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/mpv/misc/extr_json.c_eat_ws.c' source_filename = "AnghaBench/mpv/misc/extr_json.c_eat_ws.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 @eat_ws], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @eat_ws(ptr nocapture noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 br label %3 3: ; preds = %8, %1 %4 = phi ptr [ %2, %1 ], [ %7, %8 ] %5 = load i8, ptr %4, align 1, !tbaa !10 switch i8 %5, label %9 [ i8 32, label %6 i8 13, label %6 i8 10, label %6 i8 9, label %6 ] 6: ; preds = %3, %3, %3, %3 %7 = getelementptr inbounds i8, ptr %4, i64 1 store ptr %7, ptr %0, align 8, !tbaa !6 switch i8 %5, label %9 [ i8 32, label %8 i8 13, label %8 i8 10, label %8 i8 9, label %8 ] 8: ; preds = %6, %6, %6, %6 br label %3 9: ; preds = %3, %6 ret void } 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0}
mpv_misc_extr_json.c_eat_ws
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_dsi.c_mtk_dsi_probe.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_dsi.c_mtk_dsi_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.mtk_dsi = type { i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr, ptr } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @mtk_dsi_ops = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"engine\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Failed to get engine clock: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"digital\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"Failed to get digital clock: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"hs\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"Failed to get hs clock: %d\0A\00", align 1 @IORESOURCE_MEM = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [30 x i8] c"Failed to ioremap memory: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"dphy\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"Failed to get MIPI-DPHY: %d\0A\00", align 1 @MTK_DSI = dso_local local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [33 x i8] c"Failed to identify by alias: %d\0A\00", align 1 @mtk_dsi_funcs = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [36 x i8] c"Failed to initialize component: %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [36 x i8] c"failed to request dsi irq resource\0A\00", align 1 @EPROBE_DEFER = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_TYPE_LEVEL_LOW = dso_local local_unnamed_addr global i32 0, align 4 @mtk_dsi_irq = dso_local local_unnamed_addr global i32 0, align 4 @IRQF_TRIGGER_LOW = dso_local local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [36 x i8] c"failed to request mediatek dsi irq\0A\00", align 1 @mtk_dsi_component_ops = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mtk_dsi_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mtk_dsi_probe(ptr noundef %0) #0 { %2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %3 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 72, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %100 8: ; preds = %1 %9 = getelementptr inbounds %struct.mtk_dsi, ptr %3, i64 0, i32 9 %10 = getelementptr inbounds %struct.mtk_dsi, ptr %3, i64 0, i32 9, i32 1 store ptr @mtk_dsi_ops, ptr %10, align 8, !tbaa !9 store ptr %0, ptr %9, align 8, !tbaa !13 %11 = load i32, ptr %0, align 4, !tbaa !14 %12 = getelementptr inbounds %struct.mtk_dsi, ptr %3, i64 0, i32 8 %13 = getelementptr inbounds %struct.mtk_dsi, ptr %3, i64 0, i32 7 %14 = tail call i32 @drm_of_find_panel_or_bridge(i32 noundef %11, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %12, ptr noundef nonnull %13) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %100 16: ; preds = %8 %17 = tail call ptr @devm_clk_get(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 %18 = getelementptr inbounds %struct.mtk_dsi, ptr %3, i64 0, i32 6 store ptr %17, ptr %18, align 8, !tbaa !16 %19 = tail call i64 @IS_ERR(ptr noundef %17) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %25, label %21 21: ; preds = %16 %22 = load ptr, ptr %18, align 8, !tbaa !16 %23 = tail call i32 @PTR_ERR(ptr noundef %22) #2 %24 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %23) #2 br label %100 25: ; preds = %16 %26 = tail call ptr @devm_clk_get(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2 %27 = getelementptr inbounds %struct.mtk_dsi, ptr %3, i64 0, i32 5 store ptr %26, ptr %27, align 8, !tbaa !17 %28 = tail call i64 @IS_ERR(ptr noundef %26) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %34, label %30 30: ; preds = %25 %31 = load ptr, ptr %27, align 8, !tbaa !17 %32 = tail call i32 @PTR_ERR(ptr noundef %31) #2 %33 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, i32 noundef %32) #2 br label %100 34: ; preds = %25 %35 = tail call ptr @devm_clk_get(ptr noundef nonnull %0, ptr noundef nonnull @.str.4) #2 %36 = getelementptr inbounds %struct.mtk_dsi, ptr %3, i64 0, i32 4 store ptr %35, ptr %36, align 8, !tbaa !18 %37 = tail call i64 @IS_ERR(ptr noundef %35) #2 %38 = icmp eq i64 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %34 %40 = load ptr, ptr %36, align 8, !tbaa !18 %41 = tail call i32 @PTR_ERR(ptr noundef %40) #2 %42 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, i32 noundef %41) #2 br label %100 43: ; preds = %34 %44 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !5 %45 = tail call ptr @platform_get_resource(ptr noundef nonnull %0, i32 noundef %44, i32 noundef 0) #2 %46 = tail call ptr @devm_ioremap_resource(ptr noundef nonnull %0, ptr noundef %45) #2 %47 = getelementptr inbounds %struct.mtk_dsi, ptr %3, i64 0, i32 3 store ptr %46, ptr %47, align 8, !tbaa !19 %48 = tail call i64 @IS_ERR(ptr noundef %46) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %54, label %50 50: ; preds = %43 %51 = load ptr, ptr %47, align 8, !tbaa !19 %52 = tail call i32 @PTR_ERR(ptr noundef %51) #2 %53 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.6, i32 noundef %52) #2 br label %100 54: ; preds = %43 %55 = tail call ptr @devm_phy_get(ptr noundef nonnull %0, ptr noundef nonnull @.str.7) #2 %56 = getelementptr inbounds %struct.mtk_dsi, ptr %3, i64 0, i32 2 store ptr %55, ptr %56, align 8, !tbaa !20 %57 = tail call i64 @IS_ERR(ptr noundef %55) #2 %58 = icmp eq i64 %57, 0 br i1 %58, label %63, label %59 59: ; preds = %54 %60 = load ptr, ptr %56, align 8, !tbaa !20 %61 = tail call i32 @PTR_ERR(ptr noundef %60) #2 %62 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.8, i32 noundef %61) #2 br label %100 63: ; preds = %54 %64 = load i32, ptr %0, align 4, !tbaa !14 %65 = load i32, ptr @MTK_DSI, align 4, !tbaa !5 %66 = tail call i32 @mtk_ddp_comp_get_id(i32 noundef %64, i32 noundef %65) #2 %67 = icmp slt i32 %66, 0 br i1 %67, label %68, label %70 68: ; preds = %63 %69 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.9, i32 noundef %66) #2 br label %100 70: ; preds = %63 %71 = load i32, ptr %0, align 4, !tbaa !14 %72 = getelementptr inbounds %struct.mtk_dsi, ptr %3, i64 0, i32 1 %73 = tail call i32 @mtk_ddp_comp_init(ptr noundef nonnull %0, i32 noundef %71, ptr noundef nonnull %72, i32 noundef %66, ptr noundef nonnull @mtk_dsi_funcs) #2 %74 = icmp eq i32 %73, 0 br i1 %74, label %77, label %75 75: ; preds = %70 %76 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.10, i32 noundef %73) #2 br label %100 77: ; preds = %70 %78 = tail call i32 @platform_get_irq(ptr noundef nonnull %0, i32 noundef 0) #2 %79 = icmp slt i32 %78, 0 br i1 %79, label %80, label %84 80: ; preds = %77 %81 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.11) #2 %82 = load i32, ptr @EPROBE_DEFER, align 4, !tbaa !5 %83 = sub nsw i32 0, %82 br label %100 84: ; preds = %77 %85 = load i32, ptr @IRQ_TYPE_LEVEL_LOW, align 4, !tbaa !5 %86 = tail call i32 @irq_set_status_flags(i32 noundef %78, i32 noundef %85) #2 %87 = load i32, ptr @mtk_dsi_irq, align 4, !tbaa !5 %88 = load i32, ptr @IRQF_TRIGGER_LOW, align 4, !tbaa !5 %89 = tail call i32 @dev_name(ptr noundef nonnull %0) #2 %90 = tail call i32 @devm_request_irq(ptr noundef nonnull %0, i32 noundef %78, i32 noundef %87, i32 noundef %88, i32 noundef %89, ptr noundef nonnull %3) #2 %91 = icmp eq i32 %90, 0 br i1 %91, label %96, label %92 92: ; preds = %84 %93 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.12) #2 %94 = load i32, ptr @EPROBE_DEFER, align 4, !tbaa !5 %95 = sub nsw i32 0, %94 br label %100 96: ; preds = %84 %97 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %3) #2 %98 = tail call i32 @platform_set_drvdata(ptr noundef nonnull %0, ptr noundef nonnull %3) #2 %99 = tail call i32 @component_add(ptr noundef nonnull %0, ptr noundef nonnull @mtk_dsi_component_ops) #2 br label %100 100: ; preds = %8, %96, %92, %80, %75, %68, %59, %50, %39, %30, %21, %5 %101 = phi i32 [ %23, %21 ], [ %32, %30 ], [ %41, %39 ], [ %52, %50 ], [ %61, %59 ], [ %66, %68 ], [ %73, %75 ], [ %83, %80 ], [ %95, %92 ], [ %99, %96 ], [ %7, %5 ], [ %14, %8 ] ret i32 %101 } declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @drm_of_find_panel_or_bridge(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @devm_clk_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @platform_get_resource(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @devm_ioremap_resource(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @devm_phy_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mtk_ddp_comp_get_id(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mtk_ddp_comp_init(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @platform_get_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @irq_set_status_flags(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @devm_request_irq(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_name(ptr noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1 declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @component_add(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 64} !10 = !{!"mtk_dsi", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !6, i64 48, !6, i64 52, !12, i64 56} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"TYPE_2__", !11, i64 0, !11, i64 8} !13 = !{!10, !11, i64 56} !14 = !{!15, !6, i64 0} !15 = !{!"device", !6, i64 0} !16 = !{!10, !11, i64 40} !17 = !{!10, !11, i64 32} !18 = !{!10, !11, i64 24} !19 = !{!10, !11, i64 16} !20 = !{!10, !11, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_dsi.c_mtk_dsi_probe.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_dsi.c_mtk_dsi_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @mtk_dsi_ops = common global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"engine\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Failed to get engine clock: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"digital\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"Failed to get digital clock: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"hs\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"Failed to get hs clock: %d\0A\00", align 1 @IORESOURCE_MEM = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [30 x i8] c"Failed to ioremap memory: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"dphy\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"Failed to get MIPI-DPHY: %d\0A\00", align 1 @MTK_DSI = common local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [33 x i8] c"Failed to identify by alias: %d\0A\00", align 1 @mtk_dsi_funcs = common global i32 0, align 4 @.str.10 = private unnamed_addr constant [36 x i8] c"Failed to initialize component: %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [36 x i8] c"failed to request dsi irq resource\0A\00", align 1 @EPROBE_DEFER = common local_unnamed_addr global i32 0, align 4 @IRQ_TYPE_LEVEL_LOW = common local_unnamed_addr global i32 0, align 4 @mtk_dsi_irq = common local_unnamed_addr global i32 0, align 4 @IRQF_TRIGGER_LOW = common local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [36 x i8] c"failed to request mediatek dsi irq\0A\00", align 1 @mtk_dsi_component_ops = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mtk_dsi_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mtk_dsi_probe(ptr noundef %0) #0 { %2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %3 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 72, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %100 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %3, i64 56 %10 = getelementptr inbounds i8, ptr %3, i64 64 store ptr @mtk_dsi_ops, ptr %10, align 8, !tbaa !10 store ptr %0, ptr %9, align 8, !tbaa !14 %11 = load i32, ptr %0, align 4, !tbaa !15 %12 = getelementptr inbounds i8, ptr %3, i64 52 %13 = getelementptr inbounds i8, ptr %3, i64 48 %14 = tail call i32 @drm_of_find_panel_or_bridge(i32 noundef %11, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %12, ptr noundef nonnull %13) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %100 16: ; preds = %8 %17 = tail call ptr @devm_clk_get(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 %18 = getelementptr inbounds i8, ptr %3, i64 40 store ptr %17, ptr %18, align 8, !tbaa !17 %19 = tail call i64 @IS_ERR(ptr noundef %17) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %25, label %21 21: ; preds = %16 %22 = load ptr, ptr %18, align 8, !tbaa !17 %23 = tail call i32 @PTR_ERR(ptr noundef %22) #2 %24 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %23) #2 br label %100 25: ; preds = %16 %26 = tail call ptr @devm_clk_get(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2 %27 = getelementptr inbounds i8, ptr %3, i64 32 store ptr %26, ptr %27, align 8, !tbaa !18 %28 = tail call i64 @IS_ERR(ptr noundef %26) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %34, label %30 30: ; preds = %25 %31 = load ptr, ptr %27, align 8, !tbaa !18 %32 = tail call i32 @PTR_ERR(ptr noundef %31) #2 %33 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, i32 noundef %32) #2 br label %100 34: ; preds = %25 %35 = tail call ptr @devm_clk_get(ptr noundef nonnull %0, ptr noundef nonnull @.str.4) #2 %36 = getelementptr inbounds i8, ptr %3, i64 24 store ptr %35, ptr %36, align 8, !tbaa !19 %37 = tail call i64 @IS_ERR(ptr noundef %35) #2 %38 = icmp eq i64 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %34 %40 = load ptr, ptr %36, align 8, !tbaa !19 %41 = tail call i32 @PTR_ERR(ptr noundef %40) #2 %42 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, i32 noundef %41) #2 br label %100 43: ; preds = %34 %44 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !6 %45 = tail call ptr @platform_get_resource(ptr noundef nonnull %0, i32 noundef %44, i32 noundef 0) #2 %46 = tail call ptr @devm_ioremap_resource(ptr noundef nonnull %0, ptr noundef %45) #2 %47 = getelementptr inbounds i8, ptr %3, i64 16 store ptr %46, ptr %47, align 8, !tbaa !20 %48 = tail call i64 @IS_ERR(ptr noundef %46) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %54, label %50 50: ; preds = %43 %51 = load ptr, ptr %47, align 8, !tbaa !20 %52 = tail call i32 @PTR_ERR(ptr noundef %51) #2 %53 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.6, i32 noundef %52) #2 br label %100 54: ; preds = %43 %55 = tail call ptr @devm_phy_get(ptr noundef nonnull %0, ptr noundef nonnull @.str.7) #2 %56 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %55, ptr %56, align 8, !tbaa !21 %57 = tail call i64 @IS_ERR(ptr noundef %55) #2 %58 = icmp eq i64 %57, 0 br i1 %58, label %63, label %59 59: ; preds = %54 %60 = load ptr, ptr %56, align 8, !tbaa !21 %61 = tail call i32 @PTR_ERR(ptr noundef %60) #2 %62 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.8, i32 noundef %61) #2 br label %100 63: ; preds = %54 %64 = load i32, ptr %0, align 4, !tbaa !15 %65 = load i32, ptr @MTK_DSI, align 4, !tbaa !6 %66 = tail call i32 @mtk_ddp_comp_get_id(i32 noundef %64, i32 noundef %65) #2 %67 = icmp slt i32 %66, 0 br i1 %67, label %68, label %70 68: ; preds = %63 %69 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.9, i32 noundef %66) #2 br label %100 70: ; preds = %63 %71 = load i32, ptr %0, align 4, !tbaa !15 %72 = getelementptr inbounds i8, ptr %3, i64 4 %73 = tail call i32 @mtk_ddp_comp_init(ptr noundef nonnull %0, i32 noundef %71, ptr noundef nonnull %72, i32 noundef %66, ptr noundef nonnull @mtk_dsi_funcs) #2 %74 = icmp eq i32 %73, 0 br i1 %74, label %77, label %75 75: ; preds = %70 %76 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.10, i32 noundef %73) #2 br label %100 77: ; preds = %70 %78 = tail call i32 @platform_get_irq(ptr noundef nonnull %0, i32 noundef 0) #2 %79 = icmp slt i32 %78, 0 br i1 %79, label %80, label %84 80: ; preds = %77 %81 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.11) #2 %82 = load i32, ptr @EPROBE_DEFER, align 4, !tbaa !6 %83 = sub nsw i32 0, %82 br label %100 84: ; preds = %77 %85 = load i32, ptr @IRQ_TYPE_LEVEL_LOW, align 4, !tbaa !6 %86 = tail call i32 @irq_set_status_flags(i32 noundef %78, i32 noundef %85) #2 %87 = load i32, ptr @mtk_dsi_irq, align 4, !tbaa !6 %88 = load i32, ptr @IRQF_TRIGGER_LOW, align 4, !tbaa !6 %89 = tail call i32 @dev_name(ptr noundef nonnull %0) #2 %90 = tail call i32 @devm_request_irq(ptr noundef nonnull %0, i32 noundef %78, i32 noundef %87, i32 noundef %88, i32 noundef %89, ptr noundef nonnull %3) #2 %91 = icmp eq i32 %90, 0 br i1 %91, label %96, label %92 92: ; preds = %84 %93 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.12) #2 %94 = load i32, ptr @EPROBE_DEFER, align 4, !tbaa !6 %95 = sub nsw i32 0, %94 br label %100 96: ; preds = %84 %97 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %3) #2 %98 = tail call i32 @platform_set_drvdata(ptr noundef nonnull %0, ptr noundef nonnull %3) #2 %99 = tail call i32 @component_add(ptr noundef nonnull %0, ptr noundef nonnull @mtk_dsi_component_ops) #2 br label %100 100: ; preds = %8, %96, %92, %80, %75, %68, %59, %50, %39, %30, %21, %5 %101 = phi i32 [ %23, %21 ], [ %32, %30 ], [ %41, %39 ], [ %52, %50 ], [ %61, %59 ], [ %66, %68 ], [ %73, %75 ], [ %83, %80 ], [ %95, %92 ], [ %99, %96 ], [ %7, %5 ], [ %14, %8 ] ret i32 %101 } declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @drm_of_find_panel_or_bridge(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @devm_clk_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @platform_get_resource(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @devm_ioremap_resource(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @devm_phy_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mtk_ddp_comp_get_id(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mtk_ddp_comp_init(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @platform_get_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @irq_set_status_flags(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @devm_request_irq(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_name(ptr noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1 declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @component_add(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 64} !11 = !{!"mtk_dsi", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !7, i64 48, !7, i64 52, !13, i64 56} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"TYPE_2__", !12, i64 0, !12, i64 8} !14 = !{!11, !12, i64 56} !15 = !{!16, !7, i64 0} !16 = !{!"device", !7, i64 0} !17 = !{!11, !12, i64 40} !18 = !{!11, !12, i64 32} !19 = !{!11, !12, i64 24} !20 = !{!11, !12, i64 16} !21 = !{!11, !12, i64 8}
linux_drivers_gpu_drm_mediatek_extr_mtk_dsi.c_mtk_dsi_probe
; ModuleID = 'AnghaBench/openssl/crypto/evp/extr_kdf_lib.c_EVP_KDF_CTX_set_params.c' source_filename = "AnghaBench/openssl/crypto/evp/extr_kdf_lib.c_EVP_KDF_CTX_set_params.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, ptr } ; Function Attrs: nounwind uwtable define dso_local i32 @EVP_KDF_CTX_set_params(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = icmp eq ptr %5, null br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr %0, align 8, !tbaa !13 %9 = tail call i32 %5(i32 noundef %8, ptr noundef %1) #1 br label %10 10: ; preds = %2, %7 %11 = phi i32 [ %9, %7 ], [ 1, %2 ] ret i32 %11 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !10, i64 8} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_4__", !10, i64 0} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/openssl/crypto/evp/extr_kdf_lib.c_EVP_KDF_CTX_set_params.c' source_filename = "AnghaBench/openssl/crypto/evp/extr_kdf_lib.c_EVP_KDF_CTX_set_params.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 @EVP_KDF_CTX_set_params(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = icmp eq ptr %5, null br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr %0, align 8, !tbaa !14 %9 = tail call i32 %5(i32 noundef %8, ptr noundef %1) #1 br label %10 10: ; preds = %2, %7 %11 = phi i32 [ %9, %7 ], [ 1, %2 ] ret i32 %11 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !11, i64 8} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_4__", !11, i64 0} !14 = !{!7, !8, i64 0}
openssl_crypto_evp_extr_kdf_lib.c_EVP_KDF_CTX_set_params
; ModuleID = 'AnghaBench/linux/sound/pci/lola/extr_lola_pcm.c_lola_pcm_prepare.c' source_filename = "AnghaBench/linux/sound/pci/lola/extr_lola_pcm.c_lola_pcm_prepare.c" target datalayout = "e-m:e-p270:32:32-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.lola = type { i32, i32 } %struct.lola_stream = type { i64, i32, i32, i32, i32, ptr } %struct.snd_pcm_runtime = type { i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lola_pcm_prepare], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lola_pcm_prepare(ptr noundef %0) #0 { %2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %3 = tail call ptr @lola_get_pcm(ptr noundef %0) #2 %4 = tail call ptr @lola_get_stream(ptr noundef %0) #2 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.lola, ptr %2, i64 0, i32 1 %7 = tail call i32 @mutex_lock(ptr noundef nonnull %6) #2 %8 = tail call i32 @lola_stream_reset(ptr noundef %2, ptr noundef %4) #2 %9 = tail call i32 @lola_cleanup_slave_streams(ptr noundef %3, ptr noundef %4) #2 %10 = load i64, ptr %4, align 8, !tbaa !10 %11 = load i32, ptr %5, align 4, !tbaa !14 %12 = sext i32 %11 to i64 %13 = add nsw i64 %10, %12 %14 = load i64, ptr %3, align 8, !tbaa !16 %15 = icmp sgt i64 %13, %14 br i1 %15, label %25, label %16 16: ; preds = %1 %17 = icmp sgt i32 %11, 1 br i1 %17, label %18, label %46 18: ; preds = %16 %19 = zext nneg i32 %11 to i64 %20 = add nsw i64 %19, -1 %21 = and i64 %20, 1 %22 = icmp eq i32 %11, 2 br i1 %22, label %40, label %23 23: ; preds = %18 %24 = and i64 %20, -2 br label %29 25: ; preds = %1 %26 = tail call i32 @mutex_unlock(ptr noundef nonnull %6) #2 %27 = load i32, ptr @EINVAL, align 4, !tbaa !18 %28 = sub nsw i32 0, %27 br label %71 29: ; preds = %29, %23 %30 = phi i64 [ 1, %23 ], [ %37, %29 ] %31 = phi i64 [ 0, %23 ], [ %38, %29 ] %32 = getelementptr inbounds %struct.lola_stream, ptr %4, i64 %30, i32 5 store ptr %4, ptr %32, align 8, !tbaa !19 %33 = getelementptr inbounds %struct.lola_stream, ptr %4, i64 %30, i32 1 store i32 1, ptr %33, align 8, !tbaa !20 %34 = add nuw nsw i64 %30, 1 %35 = getelementptr inbounds %struct.lola_stream, ptr %4, i64 %34, i32 5 store ptr %4, ptr %35, align 8, !tbaa !19 %36 = getelementptr inbounds %struct.lola_stream, ptr %4, i64 %34, i32 1 store i32 1, ptr %36, align 8, !tbaa !20 %37 = add nuw nsw i64 %30, 2 %38 = add i64 %31, 2 %39 = icmp eq i64 %38, %24 br i1 %39, label %40, label %29, !llvm.loop !21 40: ; preds = %29, %18 %41 = phi i64 [ 1, %18 ], [ %37, %29 ] %42 = icmp eq i64 %21, 0 br i1 %42, label %46, label %43 43: ; preds = %40 %44 = getelementptr inbounds %struct.lola_stream, ptr %4, i64 %41, i32 5 store ptr %4, ptr %44, align 8, !tbaa !19 %45 = getelementptr inbounds %struct.lola_stream, ptr %4, i64 %41, i32 1 store i32 1, ptr %45, align 8, !tbaa !20 br label %46 46: ; preds = %43, %40, %16 %47 = tail call i32 @mutex_unlock(ptr noundef nonnull %6) #2 %48 = tail call i32 @snd_pcm_lib_buffer_bytes(ptr noundef nonnull %0) #2 %49 = tail call i32 @snd_pcm_lib_period_bytes(ptr noundef nonnull %0) #2 %50 = tail call i32 @lola_get_format_verb(ptr noundef nonnull %0) #2 %51 = getelementptr inbounds %struct.lola_stream, ptr %4, i64 0, i32 2 store i32 %48, ptr %51, align 4, !tbaa !23 %52 = getelementptr inbounds %struct.lola_stream, ptr %4, i64 0, i32 3 store i32 %49, ptr %52, align 8, !tbaa !24 %53 = getelementptr inbounds %struct.lola_stream, ptr %4, i64 0, i32 4 store i32 %50, ptr %53, align 4, !tbaa !25 %54 = tail call i32 @lola_setup_periods(ptr noundef %2, ptr noundef nonnull %3, ptr noundef nonnull %0, ptr noundef nonnull %4) #2 %55 = icmp slt i32 %54, 0 br i1 %55, label %71, label %56 56: ; preds = %46 %57 = getelementptr inbounds %struct.snd_pcm_runtime, ptr %5, i64 0, i32 1 %58 = load i32, ptr %57, align 4, !tbaa !26 %59 = tail call i32 @lola_set_sample_rate(ptr noundef %2, i32 noundef %58) #2 %60 = icmp slt i32 %59, 0 br i1 %60, label %71, label %61 61: ; preds = %56 %62 = load i32, ptr %57, align 4, !tbaa !26 store i32 %62, ptr %2, align 4, !tbaa !27 %63 = load i32, ptr %5, align 4, !tbaa !14 %64 = tail call i32 @lola_set_stream_config(ptr noundef nonnull %2, ptr noundef nonnull %4, i32 noundef %63) #2 %65 = icmp slt i32 %64, 0 br i1 %65, label %71, label %66 66: ; preds = %61 %67 = tail call i32 @lola_setup_controller(ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #2 %68 = icmp slt i32 %67, 0 br i1 %68, label %69, label %71 69: ; preds = %66 %70 = tail call i32 @lola_stream_reset(ptr noundef nonnull %2, ptr noundef nonnull %4) #2 br label %71 71: ; preds = %66, %61, %56, %46, %69, %25 %72 = phi i32 [ %28, %25 ], [ %67, %69 ], [ %54, %46 ], [ %59, %56 ], [ %64, %61 ], [ 0, %66 ] ret i32 %72 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare ptr @lola_get_pcm(ptr noundef) local_unnamed_addr #1 declare ptr @lola_get_stream(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @lola_stream_reset(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lola_cleanup_slave_streams(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @snd_pcm_lib_buffer_bytes(ptr noundef) local_unnamed_addr #1 declare i32 @snd_pcm_lib_period_bytes(ptr noundef) local_unnamed_addr #1 declare i32 @lola_get_format_verb(ptr noundef) local_unnamed_addr #1 declare i32 @lola_setup_periods(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lola_set_sample_rate(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lola_set_stream_config(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lola_setup_controller(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 = !{!"snd_pcm_substream", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"lola_stream", !12, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24} !12 = !{!"long", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"snd_pcm_runtime", !13, i64 0, !13, i64 4} !16 = !{!17, !12, i64 0} !17 = !{!"lola_pcm", !12, i64 0} !18 = !{!13, !13, i64 0} !19 = !{!11, !7, i64 24} !20 = !{!11, !13, i64 8} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!11, !13, i64 12} !24 = !{!11, !13, i64 16} !25 = !{!11, !13, i64 20} !26 = !{!15, !13, i64 4} !27 = !{!28, !13, i64 0} !28 = !{!"lola", !13, i64 0, !13, i64 4}
; ModuleID = 'AnghaBench/linux/sound/pci/lola/extr_lola_pcm.c_lola_pcm_prepare.c' source_filename = "AnghaBench/linux/sound/pci/lola/extr_lola_pcm.c_lola_pcm_prepare.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.lola_stream = type { i64, i32, i32, i32, i32, ptr } @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lola_pcm_prepare], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lola_pcm_prepare(ptr noundef %0) #0 { %2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %3 = tail call ptr @lola_get_pcm(ptr noundef %0) #2 %4 = tail call ptr @lola_get_stream(ptr noundef %0) #2 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %2, i64 4 %7 = tail call i32 @mutex_lock(ptr noundef nonnull %6) #2 %8 = tail call i32 @lola_stream_reset(ptr noundef %2, ptr noundef %4) #2 %9 = tail call i32 @lola_cleanup_slave_streams(ptr noundef %3, ptr noundef %4) #2 %10 = load i64, ptr %4, align 8, !tbaa !11 %11 = load i32, ptr %5, align 4, !tbaa !15 %12 = sext i32 %11 to i64 %13 = add nsw i64 %10, %12 %14 = load i64, ptr %3, align 8, !tbaa !17 %15 = icmp sgt i64 %13, %14 br i1 %15, label %48, label %16 16: ; preds = %1 %17 = icmp sgt i32 %11, 1 br i1 %17, label %18, label %59 18: ; preds = %16 %19 = zext nneg i32 %11 to i64 %20 = add nsw i64 %19, -1 %21 = icmp ult i32 %11, 5 br i1 %21, label %22, label %24 22: ; preds = %46, %18 %23 = phi i64 [ 1, %18 ], [ %26, %46 ] br label %52 24: ; preds = %18 %25 = and i64 %20, -4 %26 = or disjoint i64 %25, 1 br label %27 27: ; preds = %27, %24 %28 = phi i64 [ 0, %24 ], [ %44, %27 ] %29 = or disjoint i64 %28, 1 %30 = or disjoint i64 %28, 2 %31 = or disjoint i64 %28, 3 %32 = getelementptr inbounds %struct.lola_stream, ptr %4, i64 %29 %33 = getelementptr inbounds %struct.lola_stream, ptr %4, i64 %30 %34 = getelementptr inbounds %struct.lola_stream, ptr %4, i64 %31 %35 = getelementptr %struct.lola_stream, ptr %4, i64 %28 %36 = getelementptr inbounds i8, ptr %32, i64 24 %37 = getelementptr inbounds i8, ptr %33, i64 24 %38 = getelementptr inbounds i8, ptr %34, i64 24 %39 = getelementptr i8, ptr %35, i64 152 store ptr %4, ptr %36, align 8, !tbaa !19 store ptr %4, ptr %37, align 8, !tbaa !19 store ptr %4, ptr %38, align 8, !tbaa !19 store ptr %4, ptr %39, align 8, !tbaa !19 %40 = getelementptr inbounds i8, ptr %32, i64 8 %41 = getelementptr inbounds i8, ptr %33, i64 8 %42 = getelementptr inbounds i8, ptr %34, i64 8 %43 = getelementptr i8, ptr %35, i64 136 store i32 1, ptr %40, align 8, !tbaa !20 store i32 1, ptr %41, align 8, !tbaa !20 store i32 1, ptr %42, align 8, !tbaa !20 store i32 1, ptr %43, align 8, !tbaa !20 %44 = add nuw i64 %28, 4 %45 = icmp eq i64 %44, %25 br i1 %45, label %46, label %27, !llvm.loop !21 46: ; preds = %27 %47 = icmp eq i64 %20, %25 br i1 %47, label %59, label %22 48: ; preds = %1 %49 = tail call i32 @mutex_unlock(ptr noundef nonnull %6) #2 %50 = load i32, ptr @EINVAL, align 4, !tbaa !25 %51 = sub nsw i32 0, %50 br label %84 52: ; preds = %22, %52 %53 = phi i64 [ %57, %52 ], [ %23, %22 ] %54 = getelementptr inbounds %struct.lola_stream, ptr %4, i64 %53 %55 = getelementptr inbounds i8, ptr %54, i64 24 store ptr %4, ptr %55, align 8, !tbaa !19 %56 = getelementptr inbounds i8, ptr %54, i64 8 store i32 1, ptr %56, align 8, !tbaa !20 %57 = add nuw nsw i64 %53, 1 %58 = icmp eq i64 %57, %19 br i1 %58, label %59, label %52, !llvm.loop !26 59: ; preds = %52, %46, %16 %60 = tail call i32 @mutex_unlock(ptr noundef nonnull %6) #2 %61 = tail call i32 @snd_pcm_lib_buffer_bytes(ptr noundef nonnull %0) #2 %62 = tail call i32 @snd_pcm_lib_period_bytes(ptr noundef nonnull %0) #2 %63 = tail call i32 @lola_get_format_verb(ptr noundef nonnull %0) #2 %64 = getelementptr inbounds i8, ptr %4, i64 12 store i32 %61, ptr %64, align 4, !tbaa !27 %65 = getelementptr inbounds i8, ptr %4, i64 16 store i32 %62, ptr %65, align 8, !tbaa !28 %66 = getelementptr inbounds i8, ptr %4, i64 20 store i32 %63, ptr %66, align 4, !tbaa !29 %67 = tail call i32 @lola_setup_periods(ptr noundef %2, ptr noundef nonnull %3, ptr noundef nonnull %0, ptr noundef nonnull %4) #2 %68 = icmp slt i32 %67, 0 br i1 %68, label %84, label %69 69: ; preds = %59 %70 = getelementptr inbounds i8, ptr %5, i64 4 %71 = load i32, ptr %70, align 4, !tbaa !30 %72 = tail call i32 @lola_set_sample_rate(ptr noundef %2, i32 noundef %71) #2 %73 = icmp slt i32 %72, 0 br i1 %73, label %84, label %74 74: ; preds = %69 %75 = load i32, ptr %70, align 4, !tbaa !30 store i32 %75, ptr %2, align 4, !tbaa !31 %76 = load i32, ptr %5, align 4, !tbaa !15 %77 = tail call i32 @lola_set_stream_config(ptr noundef nonnull %2, ptr noundef nonnull %4, i32 noundef %76) #2 %78 = icmp slt i32 %77, 0 br i1 %78, label %84, label %79 79: ; preds = %74 %80 = tail call i32 @lola_setup_controller(ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #2 %81 = icmp slt i32 %80, 0 br i1 %81, label %82, label %84 82: ; preds = %79 %83 = tail call i32 @lola_stream_reset(ptr noundef nonnull %2, ptr noundef nonnull %4) #2 br label %84 84: ; preds = %79, %74, %69, %59, %82, %48 %85 = phi i32 [ %51, %48 ], [ %80, %82 ], [ %67, %59 ], [ %72, %69 ], [ %77, %74 ], [ 0, %79 ] ret i32 %85 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare ptr @lola_get_pcm(ptr noundef) local_unnamed_addr #1 declare ptr @lola_get_stream(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @lola_stream_reset(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lola_cleanup_slave_streams(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @snd_pcm_lib_buffer_bytes(ptr noundef) local_unnamed_addr #1 declare i32 @snd_pcm_lib_period_bytes(ptr noundef) local_unnamed_addr #1 declare i32 @lola_get_format_verb(ptr noundef) local_unnamed_addr #1 declare i32 @lola_setup_periods(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lola_set_sample_rate(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lola_set_stream_config(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lola_setup_controller(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 = !{!"snd_pcm_substream", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"lola_stream", !13, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !8, i64 24} !13 = !{!"long", !9, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"snd_pcm_runtime", !14, i64 0, !14, i64 4} !17 = !{!18, !13, i64 0} !18 = !{!"lola_pcm", !13, i64 0} !19 = !{!12, !8, i64 24} !20 = !{!12, !14, i64 8} !21 = distinct !{!21, !22, !23, !24} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!"llvm.loop.isvectorized", i32 1} !24 = !{!"llvm.loop.unroll.runtime.disable"} !25 = !{!14, !14, i64 0} !26 = distinct !{!26, !22, !23} !27 = !{!12, !14, i64 12} !28 = !{!12, !14, i64 16} !29 = !{!12, !14, i64 20} !30 = !{!16, !14, i64 4} !31 = !{!32, !14, i64 0} !32 = !{!"lola", !14, i64 0, !14, i64 4}
linux_sound_pci_lola_extr_lola_pcm.c_lola_pcm_prepare
; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/wrappers/spawn/extr_posix_spawn.c__posix_spawn_file_actions_grow.c' source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/spawn/extr_posix_spawn.c__posix_spawn_file_actions_grow.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @_posix_spawn_file_actions_grow], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @_posix_spawn_file_actions_grow(ptr nocapture noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 0, ptr %2, align 4, !tbaa !5 %3 = load ptr, ptr %0, align 8, !tbaa !9 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = call i64 @os_mul_overflow(i32 noundef %4, i32 noundef 2, ptr noundef nonnull %2) #3 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !5 br label %24 9: ; preds = %1 %10 = load i32, ptr %2, align 4, !tbaa !5 %11 = call i64 @PSF_ACTIONS_SIZE(i32 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !5 br label %24 15: ; preds = %9 %16 = load ptr, ptr %0, align 8, !tbaa !9 %17 = call i64 @realloc(ptr noundef %16, i64 noundef %11) #3 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load i32, ptr @ENOMEM, align 4, !tbaa !5 br label %24 21: ; preds = %15 %22 = inttoptr i64 %17 to ptr %23 = load i32, ptr %2, align 4, !tbaa !5 store i32 %23, ptr %22, align 4, !tbaa !11 store ptr %22, ptr %0, align 8, !tbaa !9 br label %24 24: ; preds = %13, %21, %19, %7 %25 = phi i32 [ %8, %7 ], [ %14, %13 ], [ %20, %19 ], [ 0, %21 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %25 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @os_mul_overflow(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @PSF_ACTIONS_SIZE(i32 noundef) local_unnamed_addr #2 declare i64 @realloc(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/wrappers/spawn/extr_posix_spawn.c__posix_spawn_file_actions_grow.c' source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/spawn/extr_posix_spawn.c__posix_spawn_file_actions_grow.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @_posix_spawn_file_actions_grow], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @_posix_spawn_file_actions_grow(ptr nocapture noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 0, ptr %2, align 4, !tbaa !6 %3 = load ptr, ptr %0, align 8, !tbaa !10 %4 = load i32, ptr %3, align 4, !tbaa !12 %5 = call i64 @os_mul_overflow(i32 noundef %4, i32 noundef 2, ptr noundef nonnull %2) #3 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !6 br label %24 9: ; preds = %1 %10 = load i32, ptr %2, align 4, !tbaa !6 %11 = call i64 @PSF_ACTIONS_SIZE(i32 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !6 br label %24 15: ; preds = %9 %16 = load ptr, ptr %0, align 8, !tbaa !10 %17 = call i64 @realloc(ptr noundef %16, i64 noundef %11) #3 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load i32, ptr @ENOMEM, align 4, !tbaa !6 br label %24 21: ; preds = %15 %22 = inttoptr i64 %17 to ptr %23 = load i32, ptr %2, align 4, !tbaa !6 store i32 %23, ptr %22, align 4, !tbaa !12 store ptr %22, ptr %0, align 8, !tbaa !10 br label %24 24: ; preds = %13, %21, %19, %7 %25 = phi i32 [ %8, %7 ], [ %14, %13 ], [ %20, %19 ], [ 0, %21 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %25 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @os_mul_overflow(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @PSF_ACTIONS_SIZE(i32 noundef) local_unnamed_addr #2 declare i64 @realloc(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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 0} !13 = !{!"TYPE_4__", !7, i64 0}
darwin-xnu_libsyscall_wrappers_spawn_extr_posix_spawn.c__posix_spawn_file_actions_grow
; ModuleID = 'AnghaBench/postgres/src/backend/storage/buffer/extr_bufmgr.c_ReadBufferExtended.c' source_filename = "AnghaBench/postgres/src/backend/storage/buffer/extr_bufmgr.c_ReadBufferExtended.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { ptr, i32 } @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_FEATURE_NOT_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"cannot access temporary tables of other sessions\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @ReadBufferExtended(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = tail call i32 @RelationOpenSmgr(ptr noundef %0) #3 %8 = tail call i64 @RELATION_IS_OTHER_TEMP(ptr noundef %0) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %16, label %10 10: ; preds = %5 %11 = load i32, ptr @ERROR, align 4, !tbaa !5 %12 = load i32, ptr @ERRCODE_FEATURE_NOT_SUPPORTED, align 4, !tbaa !5 %13 = tail call i32 @errcode(i32 noundef %12) #3 %14 = tail call i32 @errmsg(ptr noundef nonnull @.str) #3 %15 = tail call i32 @ereport(i32 noundef %11, i32 noundef %14) #3 br label %16 16: ; preds = %10, %5 %17 = tail call i32 @pgstat_count_buffer_read(ptr noundef %0) #3 %18 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %19 = load i32, ptr %18, align 8, !tbaa !9 %20 = load ptr, ptr %0, align 8, !tbaa !12 %21 = load i32, ptr %20, align 4, !tbaa !13 %22 = call i32 @ReadBuffer_common(i32 noundef %19, i32 noundef %21, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %6) #3 %23 = load i32, ptr %6, align 4, !tbaa !5 %24 = icmp eq i32 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %16 %26 = call i32 @pgstat_count_buffer_hit(ptr noundef nonnull %0) #3 br label %27 27: ; preds = %25, %16 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @RelationOpenSmgr(ptr noundef) local_unnamed_addr #2 declare i64 @RELATION_IS_OTHER_TEMP(ptr noundef) local_unnamed_addr #2 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errcode(i32 noundef) local_unnamed_addr #2 declare i32 @errmsg(ptr noundef) local_unnamed_addr #2 declare i32 @pgstat_count_buffer_read(ptr noundef) local_unnamed_addr #2 declare i32 @ReadBuffer_common(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pgstat_count_buffer_hit(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"TYPE_9__", !11, i64 0, !6, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_8__", !6, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/storage/buffer/extr_bufmgr.c_ReadBufferExtended.c' source_filename = "AnghaBench/postgres/src/backend/storage/buffer/extr_bufmgr.c_ReadBufferExtended.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ERROR = common local_unnamed_addr global i32 0, align 4 @ERRCODE_FEATURE_NOT_SUPPORTED = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"cannot access temporary tables of other sessions\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ReadBufferExtended(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = tail call i32 @RelationOpenSmgr(ptr noundef %0) #3 %8 = tail call i64 @RELATION_IS_OTHER_TEMP(ptr noundef %0) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %16, label %10 10: ; preds = %5 %11 = load i32, ptr @ERROR, align 4, !tbaa !6 %12 = load i32, ptr @ERRCODE_FEATURE_NOT_SUPPORTED, align 4, !tbaa !6 %13 = tail call i32 @errcode(i32 noundef %12) #3 %14 = tail call i32 @errmsg(ptr noundef nonnull @.str) #3 %15 = tail call i32 @ereport(i32 noundef %11, i32 noundef %14) #3 br label %16 16: ; preds = %10, %5 %17 = tail call i32 @pgstat_count_buffer_read(ptr noundef %0) #3 %18 = getelementptr inbounds i8, ptr %0, i64 8 %19 = load i32, ptr %18, align 8, !tbaa !10 %20 = load ptr, ptr %0, align 8, !tbaa !13 %21 = load i32, ptr %20, align 4, !tbaa !14 %22 = call i32 @ReadBuffer_common(i32 noundef %19, i32 noundef %21, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %6) #3 %23 = load i32, ptr %6, align 4, !tbaa !6 %24 = icmp eq i32 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %16 %26 = call i32 @pgstat_count_buffer_hit(ptr noundef nonnull %0) #3 br label %27 27: ; preds = %25, %16 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @RelationOpenSmgr(ptr noundef) local_unnamed_addr #2 declare i64 @RELATION_IS_OTHER_TEMP(ptr noundef) local_unnamed_addr #2 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errcode(i32 noundef) local_unnamed_addr #2 declare i32 @errmsg(ptr noundef) local_unnamed_addr #2 declare i32 @pgstat_count_buffer_read(ptr noundef) local_unnamed_addr #2 declare i32 @ReadBuffer_common(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pgstat_count_buffer_hit(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_9__", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_8__", !7, i64 0}
postgres_src_backend_storage_buffer_extr_bufmgr.c_ReadBufferExtended
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dmu_traverse.c_prefetch_dnode_metadata.c' source_filename = "AnghaBench/zfs/module/zfs/extr_dmu_traverse.c_prefetch_dnode_metadata.c" target datalayout = "e-m:e-p270:32:32-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, ptr, i64 } @DNODE_FLAG_SPILL_BLKPTR = dso_local local_unnamed_addr global i32 0, align 4 @DMU_SPILL_BLKID = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @prefetch_dnode_metadata], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @prefetch_dnode_metadata(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i32, ptr %1, align 8, !tbaa !5 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %24 8: ; preds = %4 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 br label %11 11: ; preds = %8, %11 %12 = phi i64 [ 0, %8 ], [ %20, %11 ] %13 = load i64, ptr %9, align 8, !tbaa !12 %14 = add nsw i64 %13, -1 %15 = trunc i64 %12 to i32 %16 = call i32 @SET_BOOKMARK(ptr noundef nonnull %5, i32 noundef %2, i32 noundef %3, i64 noundef %14, i32 noundef %15) #3 %17 = load ptr, ptr %10, align 8, !tbaa !13 %18 = getelementptr inbounds i32, ptr %17, i64 %12 %19 = call i32 @traverse_prefetch_metadata(ptr noundef %0, ptr noundef %18, ptr noundef nonnull %5) #3 %20 = add nuw nsw i64 %12, 1 %21 = load i32, ptr %1, align 8, !tbaa !5 %22 = sext i32 %21 to i64 %23 = icmp slt i64 %20, %22 br i1 %23, label %11, label %24, !llvm.loop !14 24: ; preds = %11, %4 %25 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !16 %27 = load i32, ptr @DNODE_FLAG_SPILL_BLKPTR, align 4, !tbaa !17 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 br i1 %29, label %35, label %30 30: ; preds = %24 %31 = load i32, ptr @DMU_SPILL_BLKID, align 4, !tbaa !17 %32 = call i32 @SET_BOOKMARK(ptr noundef nonnull %5, i32 noundef %2, i32 noundef %3, i64 noundef 0, i32 noundef %31) #3 %33 = call ptr @DN_SPILL_BLKPTR(ptr noundef nonnull %1) #3 %34 = call i32 @traverse_prefetch_metadata(ptr noundef %0, ptr noundef %33, ptr noundef nonnull %5) #3 br label %35 35: ; preds = %30, %24 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SET_BOOKMARK(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @traverse_prefetch_metadata(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @DN_SPILL_BLKPTR(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !11, i64 16} !13 = !{!6, !10, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!6, !7, i64 4} !17 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dmu_traverse.c_prefetch_dnode_metadata.c' source_filename = "AnghaBench/zfs/module/zfs/extr_dmu_traverse.c_prefetch_dnode_metadata.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DNODE_FLAG_SPILL_BLKPTR = common local_unnamed_addr global i32 0, align 4 @DMU_SPILL_BLKID = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @prefetch_dnode_metadata], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @prefetch_dnode_metadata(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i32, ptr %1, align 8, !tbaa !6 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %24 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %1, i64 16 %10 = getelementptr inbounds i8, ptr %1, i64 8 br label %11 11: ; preds = %8, %11 %12 = phi i64 [ 0, %8 ], [ %20, %11 ] %13 = load i64, ptr %9, align 8, !tbaa !13 %14 = add nsw i64 %13, -1 %15 = trunc nuw nsw i64 %12 to i32 %16 = call i32 @SET_BOOKMARK(ptr noundef nonnull %5, i32 noundef %2, i32 noundef %3, i64 noundef %14, i32 noundef %15) #3 %17 = load ptr, ptr %10, align 8, !tbaa !14 %18 = getelementptr inbounds i32, ptr %17, i64 %12 %19 = call i32 @traverse_prefetch_metadata(ptr noundef %0, ptr noundef %18, ptr noundef nonnull %5) #3 %20 = add nuw nsw i64 %12, 1 %21 = load i32, ptr %1, align 8, !tbaa !6 %22 = sext i32 %21 to i64 %23 = icmp slt i64 %20, %22 br i1 %23, label %11, label %24, !llvm.loop !15 24: ; preds = %11, %4 %25 = getelementptr inbounds i8, ptr %1, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !17 %27 = load i32, ptr @DNODE_FLAG_SPILL_BLKPTR, align 4, !tbaa !18 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 br i1 %29, label %35, label %30 30: ; preds = %24 %31 = load i32, ptr @DMU_SPILL_BLKID, align 4, !tbaa !18 %32 = call i32 @SET_BOOKMARK(ptr noundef nonnull %5, i32 noundef %2, i32 noundef %3, i64 noundef 0, i32 noundef %31) #3 %33 = call ptr @DN_SPILL_BLKPTR(ptr noundef nonnull %1) #3 %34 = call i32 @traverse_prefetch_metadata(ptr noundef %0, ptr noundef %33, ptr noundef nonnull %5) #3 br label %35 35: ; preds = %30, %24 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SET_BOOKMARK(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @traverse_prefetch_metadata(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @DN_SPILL_BLKPTR(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !12, i64 16} !14 = !{!7, !11, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!7, !8, i64 4} !18 = !{!8, !8, i64 0}
zfs_module_zfs_extr_dmu_traverse.c_prefetch_dnode_metadata
; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-helper-fpa.c_cvmx_helper_initialize_fpa.c' source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-helper-fpa.c_cvmx_helper_initialize_fpa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CVMX_FPA_DFA_POOL = dso_local local_unnamed_addr global i32 0, align 4 @CVMX_FPA_DFA_POOL_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @CVMX_FPA_OUTPUT_BUFFER_POOL = dso_local local_unnamed_addr global i32 0, align 4 @CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @CVMX_FPA_PACKET_POOL = dso_local local_unnamed_addr global i32 0, align 4 @CVMX_FPA_PACKET_POOL_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @CVMX_FPA_TIMER_POOL = dso_local local_unnamed_addr global i32 0, align 4 @CVMX_FPA_TIMER_POOL_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @CVMX_FPA_WQE_POOL = dso_local local_unnamed_addr global i32 0, align 4 @CVMX_FPA_WQE_POOL_SIZE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @cvmx_helper_initialize_fpa(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @__cvmx_helper_initialize_fpa(i32 noundef -1, i32 noundef 0, i32 noundef %0, i32 noundef -1, i32 noundef 0, i32 noundef %1, i32 noundef -1, i32 noundef 0, i32 noundef %2, i32 noundef -1, i32 noundef 0, i32 noundef %3, i32 noundef -1, i32 noundef 0, i32 noundef %4) #2 ret i32 %6 } declare i32 @__cvmx_helper_initialize_fpa(i32 noundef, i32 noundef, i32 noundef, i32 noundef, 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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-helper-fpa.c_cvmx_helper_initialize_fpa.c' source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-helper-fpa.c_cvmx_helper_initialize_fpa.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CVMX_FPA_DFA_POOL = common local_unnamed_addr global i32 0, align 4 @CVMX_FPA_DFA_POOL_SIZE = common local_unnamed_addr global i32 0, align 4 @CVMX_FPA_OUTPUT_BUFFER_POOL = common local_unnamed_addr global i32 0, align 4 @CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE = common local_unnamed_addr global i32 0, align 4 @CVMX_FPA_PACKET_POOL = common local_unnamed_addr global i32 0, align 4 @CVMX_FPA_PACKET_POOL_SIZE = common local_unnamed_addr global i32 0, align 4 @CVMX_FPA_TIMER_POOL = common local_unnamed_addr global i32 0, align 4 @CVMX_FPA_TIMER_POOL_SIZE = common local_unnamed_addr global i32 0, align 4 @CVMX_FPA_WQE_POOL = common local_unnamed_addr global i32 0, align 4 @CVMX_FPA_WQE_POOL_SIZE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @cvmx_helper_initialize_fpa(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @__cvmx_helper_initialize_fpa(i32 noundef -1, i32 noundef 0, i32 noundef %0, i32 noundef -1, i32 noundef 0, i32 noundef %1, i32 noundef -1, i32 noundef 0, i32 noundef %2, i32 noundef -1, i32 noundef 0, i32 noundef %3, i32 noundef -1, i32 noundef 0, i32 noundef %4) #2 ret i32 %6 } declare i32 @__cvmx_helper_initialize_fpa(i32 noundef, i32 noundef, i32 noundef, i32 noundef, 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 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_contrib_octeon-sdk_extr_cvmx-helper-fpa.c_cvmx_helper_initialize_fpa
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslutils.c_UtQueryForOverwrite.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslutils.c_UtQueryForOverwrite.c" target datalayout = "e-m:e-p270:32:32-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.stat = type { i32 } @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"Target file \22%s\22 already exists, overwrite? [y|n] \00", align 1 @stdin = dso_local local_unnamed_addr global i32 0, align 4 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @UtQueryForOverwrite(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.stat, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 %3 = call i32 @stat(ptr noundef %0, ptr noundef nonnull %2) %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %18 5: ; preds = %1 %6 = load i32, ptr @stderr, align 4, !tbaa !5 %7 = tail call i32 @fprintf(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %0) #4 %8 = load i32, ptr @stdin, align 4, !tbaa !5 %9 = tail call i32 @fgetc(i32 noundef %8) #4 %10 = icmp eq i32 %9, 10 br i1 %10, label %11, label %14 11: ; preds = %5 %12 = load i32, ptr @stdin, align 4, !tbaa !5 %13 = tail call i32 @fgetc(i32 noundef %12) #4 br label %14 14: ; preds = %11, %5 %15 = phi i32 [ %13, %11 ], [ %9, %5 ] %16 = and i32 %15, -33 %17 = icmp eq i32 %16, 89 br i1 %17, label %18, label %19 18: ; preds = %14, %1 br label %19 19: ; preds = %14, %18 %20 = phi ptr [ @TRUE, %18 ], [ @FALSE, %14 ] %21 = load i32, ptr %20, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @stat(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @fgetc(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslutils.c_UtQueryForOverwrite.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslutils.c_UtQueryForOverwrite.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.stat = type { i32 } @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"Target file \22%s\22 already exists, overwrite? [y|n] \00", align 1 @stdin = common local_unnamed_addr global i32 0, align 4 @FALSE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @UtQueryForOverwrite(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.stat, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 %3 = call i32 @stat(ptr noundef %0, ptr noundef nonnull %2) %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %18 5: ; preds = %1 %6 = load i32, ptr @stderr, align 4, !tbaa !6 %7 = tail call i32 @fprintf(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %0) #4 %8 = load i32, ptr @stdin, align 4, !tbaa !6 %9 = tail call i32 @fgetc(i32 noundef %8) #4 %10 = icmp eq i32 %9, 10 br i1 %10, label %11, label %14 11: ; preds = %5 %12 = load i32, ptr @stdin, align 4, !tbaa !6 %13 = tail call i32 @fgetc(i32 noundef %12) #4 br label %14 14: ; preds = %11, %5 %15 = phi i32 [ %13, %11 ], [ %9, %5 ] %16 = and i32 %15, -33 %17 = icmp eq i32 %16, 89 br i1 %17, label %18, label %19 18: ; preds = %14, %1 br label %19 19: ; preds = %14, %18 %20 = phi ptr [ @TRUE, %18 ], [ @FALSE, %14 ] %21 = load i32, ptr %20, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @stat(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @fgetc(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_contrib_dev_acpica_compiler_extr_aslutils.c_UtQueryForOverwrite
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_find_idx_in_nid_list.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_find_idx_in_nid_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @find_idx_in_nid_list], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal i32 @find_idx_in_nid_list(i64 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %17 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 br label %7 7: ; preds = %5, %12 %8 = phi i64 [ 0, %5 ], [ %13, %12 ] %9 = getelementptr inbounds i64, ptr %1, i64 %8 %10 = load i64, ptr %9, align 8, !tbaa !5 %11 = icmp eq i64 %10, %0 br i1 %11, label %15, label %12 12: ; preds = %7 %13 = add nuw nsw i64 %8, 1 %14 = icmp eq i64 %13, %6 br i1 %14, label %17, label %7, !llvm.loop !9 15: ; preds = %7 %16 = trunc i64 %8 to i32 br label %17 17: ; preds = %12, %15, %3 %18 = phi i32 [ -1, %3 ], [ %16, %15 ], [ -1, %12 ] ret i32 %18 } attributes #0 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !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/sound/pci/hda/extr_hda_generic.c_find_idx_in_nid_list.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_find_idx_in_nid_list.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @find_idx_in_nid_list], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) define internal i32 @find_idx_in_nid_list(i64 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %17 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 br label %7 7: ; preds = %5, %12 %8 = phi i64 [ 0, %5 ], [ %13, %12 ] %9 = getelementptr inbounds i64, ptr %1, i64 %8 %10 = load i64, ptr %9, align 8, !tbaa !6 %11 = icmp eq i64 %10, %0 br i1 %11, label %15, label %12 12: ; preds = %7 %13 = add nuw nsw i64 %8, 1 %14 = icmp eq i64 %13, %6 br i1 %14, label %17, label %7, !llvm.loop !10 15: ; preds = %7 %16 = trunc nuw nsw i64 %8 to i32 br label %17 17: ; preds = %12, %15, %3 %18 = phi i32 [ -1, %3 ], [ %16, %15 ], [ -1, %12 ] ret i32 %18 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
linux_sound_pci_hda_extr_hda_generic.c_find_idx_in_nid_list
; ModuleID = 'AnghaBench/twemproxy/src/hashkit/extr_nc_modula.c_modula_dispatch.c' source_filename = "AnghaBench/twemproxy/src/hashkit/extr_nc_modula.c_modula_dispatch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.continuum = type { i32 } ; Function Attrs: nounwind uwtable define dso_local i32 @modula_dispatch(ptr noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp ne ptr %0, null %5 = zext i1 %4 to i32 %6 = tail call i32 @ASSERT(i32 noundef %5) #2 %7 = icmp ne i32 %1, 0 %8 = zext i1 %7 to i32 %9 = tail call i32 @ASSERT(i32 noundef %8) #2 %10 = srem i32 %2, %1 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds %struct.continuum, ptr %0, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !5 ret i32 %13 } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"continuum", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/twemproxy/src/hashkit/extr_nc_modula.c_modula_dispatch.c' source_filename = "AnghaBench/twemproxy/src/hashkit/extr_nc_modula.c_modula_dispatch.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.continuum = type { i32 } ; Function Attrs: nounwind ssp uwtable(sync) define i32 @modula_dispatch(ptr noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp ne ptr %0, null %5 = zext i1 %4 to i32 %6 = tail call i32 @ASSERT(i32 noundef %5) #2 %7 = icmp ne i32 %1, 0 %8 = zext i1 %7 to i32 %9 = tail call i32 @ASSERT(i32 noundef %8) #2 %10 = srem i32 %2, %1 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds %struct.continuum, ptr %0, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !6 ret i32 %13 } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"continuum", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
twemproxy_src_hashkit_extr_nc_modula.c_modula_dispatch
; ModuleID = 'AnghaBench/freebsd/contrib/dtc/extr_data.c_data_add_marker.c' source_filename = "AnghaBench/freebsd/contrib/dtc/extr_data.c_data_add_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.marker = type { i32, ptr, ptr, i32 } ; Function Attrs: nounwind uwtable define dso_local i32 @data_add_marker(i32 %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @xmalloc(i32 noundef 32) #2 %5 = getelementptr inbounds %struct.marker, ptr %4, i64 0, i32 3 store i32 %0, ptr %5, align 8, !tbaa !5 store i32 %1, ptr %4, align 8, !tbaa !11 %6 = getelementptr inbounds %struct.marker, ptr %4, i64 0, i32 1 store ptr %2, ptr %6, align 8, !tbaa !12 %7 = getelementptr inbounds %struct.marker, ptr %4, i64 0, i32 2 store ptr null, ptr %7, align 8, !tbaa !13 %8 = tail call i32 @data_append_markers(i32 %0, ptr noundef nonnull %4) #2 ret i32 %8 } declare ptr @xmalloc(i32 noundef) local_unnamed_addr #1 declare i32 @data_append_markers(i32, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 24} !6 = !{!"marker", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/freebsd/contrib/dtc/extr_data.c_data_add_marker.c' source_filename = "AnghaBench/freebsd/contrib/dtc/extr_data.c_data_add_marker.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 @data_add_marker(i64 %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = trunc i64 %0 to i32 %5 = tail call ptr @xmalloc(i32 noundef 32) #2 %6 = getelementptr inbounds i8, ptr %5, i64 24 store i32 %4, ptr %6, align 8, !tbaa !6 store i32 %1, ptr %5, align 8, !tbaa !12 %7 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %2, ptr %7, align 8, !tbaa !13 %8 = getelementptr inbounds i8, ptr %5, i64 16 store ptr null, ptr %8, align 8, !tbaa !14 %9 = and i64 %0, 4294967295 %10 = tail call i32 @data_append_markers(i64 %9, ptr noundef nonnull %5) #2 ret i32 %10 } declare ptr @xmalloc(i32 noundef) local_unnamed_addr #1 declare i32 @data_append_markers(i64, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 24} !7 = !{!"marker", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!7, !11, i64 16}
freebsd_contrib_dtc_extr_data.c_data_add_marker
; ModuleID = 'AnghaBench/linux/drivers/media/radio/extr_radio-aztech.c_aztech_alloc.c' source_filename = "AnghaBench/linux/drivers/media/radio/extr_radio-aztech.c_aztech_alloc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @aztech_alloc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @aztech_alloc() #0 { %1 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %2 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %1) #2 ret ptr %2 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/media/radio/extr_radio-aztech.c_aztech_alloc.c' source_filename = "AnghaBench/linux/drivers/media/radio/extr_radio-aztech.c_aztech_alloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @aztech_alloc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @aztech_alloc() #0 { %1 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %2 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %1) #2 ret ptr %2 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_media_radio_extr_radio-aztech.c_aztech_alloc
; ModuleID = 'AnghaBench/h2o/lib/common/extr_multithread.c_h2o_multithread_create_queue.c' source_filename = "AnghaBench/h2o/lib/common/extr_multithread.c_h2o_multithread_create_queue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { %struct.TYPE_7__, i32, i32 } %struct.TYPE_7__ = type { i32, i32 } @queue_cb = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @h2o_multithread_create_queue(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @h2o_mem_alloc(i32 noundef 16) #2 %3 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 16) #2 %4 = tail call i32 @init_async(ptr noundef %2, ptr noundef %0) #2 %5 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1 %6 = tail call i32 @pthread_mutex_init(ptr noundef nonnull %5, ptr noundef null) #2 %7 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 1 %8 = tail call i32 @h2o_linklist_init_anchor(ptr noundef nonnull %7) #2 %9 = tail call i32 @h2o_linklist_init_anchor(ptr noundef %2) #2 ret ptr %2 } declare ptr @h2o_mem_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_async(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @h2o_linklist_init_anchor(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/h2o/lib/common/extr_multithread.c_h2o_multithread_create_queue.c' source_filename = "AnghaBench/h2o/lib/common/extr_multithread.c_h2o_multithread_create_queue.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @queue_cb = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @h2o_multithread_create_queue(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @h2o_mem_alloc(i32 noundef 16) #2 %3 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 16) #2 %4 = tail call i32 @init_async(ptr noundef %2, ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %2, i64 8 %6 = tail call i32 @pthread_mutex_init(ptr noundef nonnull %5, ptr noundef null) #2 %7 = getelementptr inbounds i8, ptr %2, i64 4 %8 = tail call i32 @h2o_linklist_init_anchor(ptr noundef nonnull %7) #2 %9 = tail call i32 @h2o_linklist_init_anchor(ptr noundef %2) #2 ret ptr %2 } declare ptr @h2o_mem_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_async(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @h2o_linklist_init_anchor(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)"}
h2o_lib_common_extr_multithread.c_h2o_multithread_create_queue
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_ahci_imx.c_imx_ahci_parse_props.c' source_filename = "AnghaBench/linux/drivers/ata/extr_ahci_imx.c_imx_ahci_parse_props.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.reg_property = type { i32, i64, i64, i32, ptr } %struct.TYPE_2__ = type { i64, i64 } @.str = private unnamed_addr constant [30 x i8] c"%s not specified, using %08x\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"%s value %u, using %08x\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"DT property %s is not a valid value\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @imx_ahci_parse_props], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @imx_ahci_parse_props(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = icmp eq i64 %2, 0 br i1 %6, label %76, label %7 7: ; preds = %3, %71 %8 = phi i64 [ %73, %71 ], [ 0, %3 ] %9 = phi i64 [ %72, %71 ], [ 0, %3 ] %10 = phi ptr [ %74, %71 ], [ %1, %3 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %11 = load i32, ptr %10, align 8, !tbaa !10 %12 = icmp eq i32 %11, 0 %13 = getelementptr inbounds %struct.reg_property, ptr %10, i64 0, i32 3 %14 = load i32, ptr %13, align 8, !tbaa !14 br i1 %12, label %15, label %21 15: ; preds = %7 %16 = call i64 @of_property_read_bool(ptr noundef %5, i32 noundef %14) #3 %17 = icmp eq i64 %16, 0 %18 = getelementptr inbounds %struct.reg_property, ptr %10, i64 0, i32 1 %19 = getelementptr inbounds %struct.reg_property, ptr %10, i64 0, i32 2 %20 = select i1 %17, ptr %19, ptr %18 br label %66 21: ; preds = %7 %22 = call i64 @of_property_read_u32(ptr noundef %5, i32 noundef %14, ptr noundef nonnull %4) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %32 24: ; preds = %21 %25 = load i32, ptr %10, align 8, !tbaa !10 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %56 27: ; preds = %24 %28 = getelementptr inbounds %struct.reg_property, ptr %10, i64 0, i32 4 %29 = load ptr, ptr %28, align 8, !tbaa !15 %30 = load i64, ptr %4, align 8, !tbaa !16 %31 = zext nneg i32 %25 to i64 br label %37 32: ; preds = %21 %33 = load i32, ptr %13, align 8, !tbaa !14 %34 = getelementptr inbounds %struct.reg_property, ptr %10, i64 0, i32 2 %35 = load i64, ptr %34, align 8, !tbaa !17 %36 = call i32 (ptr, ptr, i32, i64, ...) @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %33, i64 noundef %35) #3 br label %66 37: ; preds = %27, %53 %38 = phi i64 [ 0, %27 ], [ %54, %53 ] %39 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i64 %38 %40 = load i64, ptr %39, align 8, !tbaa !18 %41 = icmp eq i64 %40, %30 br i1 %41, label %42, label %53 42: ; preds = %37 %43 = trunc i64 %38 to i32 %44 = load i32, ptr %13, align 8, !tbaa !14 %45 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i64 %38, i32 1 %46 = load i64, ptr %45, align 8, !tbaa !20 %47 = call i32 (ptr, ptr, i32, i64, ...) @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %44, i64 noundef %30, i64 noundef %46) #3 %48 = load ptr, ptr %28, align 8, !tbaa !15 %49 = getelementptr inbounds %struct.TYPE_2__, ptr %48, i64 %38, i32 1 %50 = load i64, ptr %49, align 8, !tbaa !20 %51 = or i64 %50, %9 %52 = load i32, ptr %10, align 8, !tbaa !10 br label %56 53: ; preds = %37 %54 = add nuw nsw i64 %38, 1 %55 = icmp eq i64 %54, %31 br i1 %55, label %61, label %37, !llvm.loop !21 56: ; preds = %24, %42 %57 = phi i32 [ %52, %42 ], [ %25, %24 ] %58 = phi i32 [ %43, %42 ], [ 0, %24 ] %59 = phi i64 [ %51, %42 ], [ %9, %24 ] %60 = icmp eq i32 %58, %57 br i1 %60, label %61, label %71 61: ; preds = %53, %56 %62 = phi i64 [ %59, %56 ], [ %9, %53 ] %63 = load i32, ptr %13, align 8, !tbaa !14 %64 = call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %63) #3 %65 = getelementptr inbounds %struct.reg_property, ptr %10, i64 0, i32 2 br label %66 66: ; preds = %15, %32, %61 %67 = phi ptr [ %65, %61 ], [ %34, %32 ], [ %20, %15 ] %68 = phi i64 [ %62, %61 ], [ %9, %32 ], [ %9, %15 ] %69 = load i64, ptr %67, align 8, !tbaa !16 %70 = or i64 %69, %68 br label %71 71: ; preds = %66, %56 %72 = phi i64 [ %59, %56 ], [ %70, %66 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 %73 = add nuw i64 %8, 1 %74 = getelementptr inbounds %struct.reg_property, ptr %10, i64 1 %75 = icmp eq i64 %73, %2 br i1 %75, label %76, label %7, !llvm.loop !23 76: ; preds = %71, %3 %77 = phi i64 [ 0, %3 ], [ %72, %71 ] ret i64 %77 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @of_property_read_bool(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @of_property_read_u32(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_info(ptr noundef, ptr noundef, i32 noundef, i64 noundef, ...) local_unnamed_addr #2 declare i32 @dev_err(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 = !{!"device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"reg_property", !12, i64 0, !13, i64 8, !13, i64 16, !12, i64 24, !7, i64 32} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !12, i64 24} !15 = !{!11, !7, i64 32} !16 = !{!13, !13, i64 0} !17 = !{!11, !13, i64 16} !18 = !{!19, !13, i64 0} !19 = !{!"TYPE_2__", !13, i64 0, !13, i64 8} !20 = !{!19, !13, i64 8} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = distinct !{!23, !22}
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_ahci_imx.c_imx_ahci_parse_props.c' source_filename = "AnghaBench/linux/drivers/ata/extr_ahci_imx.c_imx_ahci_parse_props.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64, i64 } @.str = private unnamed_addr constant [30 x i8] c"%s not specified, using %08x\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"%s value %u, using %08x\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"DT property %s is not a valid value\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @imx_ahci_parse_props], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @imx_ahci_parse_props(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = icmp eq i64 %2, 0 br i1 %6, label %75, label %7 7: ; preds = %3, %70 %8 = phi i64 [ %72, %70 ], [ 0, %3 ] %9 = phi i64 [ %71, %70 ], [ 0, %3 ] %10 = phi ptr [ %73, %70 ], [ %1, %3 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %11 = load i32, ptr %10, align 8, !tbaa !11 %12 = icmp eq i32 %11, 0 %13 = getelementptr inbounds i8, ptr %10, i64 24 %14 = load i32, ptr %13, align 8, !tbaa !15 br i1 %12, label %15, label %20 15: ; preds = %7 %16 = call i64 @of_property_read_bool(ptr noundef %5, i32 noundef %14) #3 %17 = icmp eq i64 %16, 0 %18 = select i1 %17, i64 16, i64 8 %19 = getelementptr inbounds i8, ptr %10, i64 %18 br label %65 20: ; preds = %7 %21 = call i64 @of_property_read_u32(ptr noundef %5, i32 noundef %14, ptr noundef nonnull %4) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %20 %24 = load i32, ptr %10, align 8, !tbaa !11 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %55 26: ; preds = %23 %27 = getelementptr inbounds i8, ptr %10, i64 32 %28 = load ptr, ptr %27, align 8, !tbaa !16 %29 = load i64, ptr %4, align 8, !tbaa !17 %30 = zext nneg i32 %24 to i64 br label %36 31: ; preds = %20 %32 = load i32, ptr %13, align 8, !tbaa !15 %33 = getelementptr inbounds i8, ptr %10, i64 16 %34 = load i64, ptr %33, align 8, !tbaa !18 %35 = call i32 (ptr, ptr, i32, i64, ...) @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %32, i64 noundef %34) #3 br label %65 36: ; preds = %26, %52 %37 = phi i64 [ 0, %26 ], [ %53, %52 ] %38 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i64 %37 %39 = load i64, ptr %38, align 8, !tbaa !19 %40 = icmp eq i64 %39, %29 br i1 %40, label %41, label %52 41: ; preds = %36 %42 = trunc nuw nsw i64 %37 to i32 %43 = load i32, ptr %13, align 8, !tbaa !15 %44 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i64 %37, i32 1 %45 = load i64, ptr %44, align 8, !tbaa !21 %46 = call i32 (ptr, ptr, i32, i64, ...) @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %43, i64 noundef %29, i64 noundef %45) #3 %47 = load ptr, ptr %27, align 8, !tbaa !16 %48 = getelementptr inbounds %struct.TYPE_2__, ptr %47, i64 %37, i32 1 %49 = load i64, ptr %48, align 8, !tbaa !21 %50 = or i64 %49, %9 %51 = load i32, ptr %10, align 8, !tbaa !11 br label %55 52: ; preds = %36 %53 = add nuw nsw i64 %37, 1 %54 = icmp eq i64 %53, %30 br i1 %54, label %60, label %36, !llvm.loop !22 55: ; preds = %23, %41 %56 = phi i32 [ %51, %41 ], [ %24, %23 ] %57 = phi i32 [ %42, %41 ], [ 0, %23 ] %58 = phi i64 [ %50, %41 ], [ %9, %23 ] %59 = icmp eq i32 %57, %56 br i1 %59, label %60, label %70 60: ; preds = %52, %55 %61 = phi i64 [ %58, %55 ], [ %9, %52 ] %62 = load i32, ptr %13, align 8, !tbaa !15 %63 = call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %62) #3 %64 = getelementptr inbounds i8, ptr %10, i64 16 br label %65 65: ; preds = %15, %31, %60 %66 = phi ptr [ %64, %60 ], [ %33, %31 ], [ %19, %15 ] %67 = phi i64 [ %61, %60 ], [ %9, %31 ], [ %9, %15 ] %68 = load i64, ptr %66, align 8, !tbaa !17 %69 = or i64 %68, %67 br label %70 70: ; preds = %65, %55 %71 = phi i64 [ %58, %55 ], [ %69, %65 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 %72 = add nuw i64 %8, 1 %73 = getelementptr inbounds i8, ptr %10, i64 40 %74 = icmp eq i64 %72, %2 br i1 %74, label %75, label %7, !llvm.loop !24 75: ; preds = %70, %3 %76 = phi i64 [ 0, %3 ], [ %71, %70 ] ret i64 %76 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @of_property_read_bool(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @of_property_read_u32(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_info(ptr noundef, ptr noundef, i32 noundef, i64 noundef, ...) local_unnamed_addr #2 declare i32 @dev_err(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 = !{!"device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"reg_property", !13, i64 0, !14, i64 8, !14, i64 16, !13, i64 24, !8, i64 32} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!12, !13, i64 24} !16 = !{!12, !8, i64 32} !17 = !{!14, !14, i64 0} !18 = !{!12, !14, i64 16} !19 = !{!20, !14, i64 0} !20 = !{!"TYPE_2__", !14, i64 0, !14, i64 8} !21 = !{!20, !14, i64 8} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = distinct !{!24, !23}
linux_drivers_ata_extr_ahci_imx.c_imx_ahci_parse_props
; ModuleID = 'AnghaBench/linux/kernel/sched/extr_fair.c_clear_buddies.c' source_filename = "AnghaBench/linux/kernel/sched/extr_fair.c_clear_buddies.c" target datalayout = "e-m:e-p270:32:32-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.cfs_rq = type { ptr, ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @clear_buddies], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @clear_buddies(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.cfs_rq, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = icmp eq ptr %4, %1 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = tail call i32 @__clear_buddies_last(ptr noundef %1) #2 br label %8 8: ; preds = %6, %2 %9 = getelementptr inbounds %struct.cfs_rq, ptr %0, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !10 %11 = icmp eq ptr %10, %1 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = tail call i32 @__clear_buddies_next(ptr noundef %1) #2 br label %14 14: ; preds = %12, %8 %15 = load ptr, ptr %0, align 8, !tbaa !11 %16 = icmp eq ptr %15, %1 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = tail call i32 @__clear_buddies_skip(ptr noundef %1) #2 br label %19 19: ; preds = %17, %14 ret void } declare i32 @__clear_buddies_last(ptr noundef) local_unnamed_addr #1 declare i32 @__clear_buddies_next(ptr noundef) local_unnamed_addr #1 declare i32 @__clear_buddies_skip(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 16} !6 = !{!"cfs_rq", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/kernel/sched/extr_fair.c_clear_buddies.c' source_filename = "AnghaBench/linux/kernel/sched/extr_fair.c_clear_buddies.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 @clear_buddies], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @clear_buddies(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = icmp eq ptr %4, %1 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = tail call i32 @__clear_buddies_last(ptr noundef %1) #2 br label %8 8: ; preds = %6, %2 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !11 %11 = icmp eq ptr %10, %1 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = tail call i32 @__clear_buddies_next(ptr noundef %1) #2 br label %14 14: ; preds = %12, %8 %15 = load ptr, ptr %0, align 8, !tbaa !12 %16 = icmp eq ptr %15, %1 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = tail call i32 @__clear_buddies_skip(ptr noundef %1) #2 br label %19 19: ; preds = %17, %14 ret void } declare i32 @__clear_buddies_last(ptr noundef) local_unnamed_addr #1 declare i32 @__clear_buddies_next(ptr noundef) local_unnamed_addr #1 declare i32 @__clear_buddies_skip(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 16} !7 = !{!"cfs_rq", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 0}
linux_kernel_sched_extr_fair.c_clear_buddies
; ModuleID = 'AnghaBench/linux/drivers/media/pci/bt8xx/extr_bttv-i2c.c_bttv_bit_setsda.c' source_filename = "AnghaBench/linux/drivers/media/pci/bt8xx/extr_bttv-i2c.c_bttv_bit_setsda.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BT848_I2C = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bttv_bit_setsda], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bttv_bit_setsda(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = icmp ne i32 %1, 0 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = and i32 %4, -2 %6 = zext i1 %3 to i32 %7 = or disjoint i32 %5, %6 store i32 %7, ptr %0, align 4, !tbaa !5 %8 = load i32, ptr @BT848_I2C, align 4, !tbaa !10 %9 = tail call i32 @btwrite(i32 noundef %7, i32 noundef %8) #2 %10 = load i32, ptr @BT848_I2C, align 4, !tbaa !10 %11 = tail call i32 @btread(i32 noundef %10) #2 ret void } declare i32 @btwrite(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btread(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 = !{!"bttv", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/pci/bt8xx/extr_bttv-i2c.c_bttv_bit_setsda.c' source_filename = "AnghaBench/linux/drivers/media/pci/bt8xx/extr_bttv-i2c.c_bttv_bit_setsda.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BT848_I2C = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bttv_bit_setsda], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bttv_bit_setsda(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = icmp ne i32 %1, 0 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = and i32 %4, -2 %6 = zext i1 %3 to i32 %7 = or disjoint i32 %5, %6 store i32 %7, ptr %0, align 4, !tbaa !6 %8 = load i32, ptr @BT848_I2C, align 4, !tbaa !11 %9 = tail call i32 @btwrite(i32 noundef %7, i32 noundef %8) #2 %10 = load i32, ptr @BT848_I2C, align 4, !tbaa !11 %11 = tail call i32 @btread(i32 noundef %10) #2 ret void } declare i32 @btwrite(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btread(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 = !{!"bttv", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_media_pci_bt8xx_extr_bttv-i2c.c_bttv_bit_setsda
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_btreeDropTable.c' source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_btreeDropTable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_13__ = type { i64, ptr } @TRANS_WRITE = dso_local local_unnamed_addr global i64 0, align 8 @SQLITE_CORRUPT_BKPT = dso_local local_unnamed_addr global i32 0, align 4 @BTREE_LARGEST_ROOT_PAGE = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @PTRMAP_ROOTPAGE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @btreeDropTable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @btreeDropTable(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !5 %8 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !9 %10 = tail call i32 @sqlite3BtreeHoldsMutex(ptr noundef %0) #3 %11 = tail call i32 @assert(i32 noundef %10) #3 %12 = load i64, ptr %0, align 8, !tbaa !12 %13 = load i64, ptr @TRANS_WRITE, align 8, !tbaa !13 %14 = icmp eq i64 %12, %13 %15 = zext i1 %14 to i32 %16 = tail call i32 @assert(i32 noundef %15) #3 %17 = icmp sgt i32 %1, 1 %18 = zext i1 %17 to i32 %19 = tail call i32 @assert(i32 noundef %18) #3 %20 = tail call i32 @btreePagecount(ptr noundef %9) #3 %21 = icmp slt i32 %20, %1 br i1 %21, label %22, label %24 22: ; preds = %3 %23 = load i32, ptr @SQLITE_CORRUPT_BKPT, align 4, !tbaa !14 br label %106 24: ; preds = %3 %25 = call i32 @btreeGetPage(ptr noundef %9, i32 noundef %1, ptr noundef nonnull %5, i32 noundef 0) #3 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %106 27: ; preds = %24 %28 = call i32 @sqlite3BtreeClearTable(ptr noundef nonnull %0, i32 noundef %1, i32 noundef 0) #3 store i32 %28, ptr %4, align 4, !tbaa !14 %29 = icmp eq i32 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %27 %31 = load ptr, ptr %5, align 8, !tbaa !5 %32 = call i32 @releasePage(ptr noundef %31) #3 br label %106 33: ; preds = %27 store i32 0, ptr %2, align 4, !tbaa !14 %34 = load i64, ptr %9, align 8, !tbaa !16 %35 = icmp eq i64 %34, 0 br i1 %35, label %100, label %36 36: ; preds = %33 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %37 = load i32, ptr @BTREE_LARGEST_ROOT_PAGE, align 4, !tbaa !14 %38 = call i32 @sqlite3BtreeGetMeta(ptr noundef nonnull %0, i32 noundef %37, ptr noundef nonnull %6) #3 %39 = load i32, ptr %6, align 4, !tbaa !14 %40 = icmp eq i32 %39, %1 br i1 %40, label %41, label %49 41: ; preds = %36 %42 = load ptr, ptr %5, align 8, !tbaa !5 %43 = call i32 @freePage(ptr noundef %42, ptr noundef nonnull %4) #3 %44 = load ptr, ptr %5, align 8, !tbaa !5 %45 = call i32 @releasePage(ptr noundef %44) #3 %46 = load i32, ptr %4, align 4, !tbaa !14 %47 = load i32, ptr @SQLITE_OK, align 4, !tbaa !14 %48 = icmp eq i32 %46, %47 br i1 %48, label %79, label %90 49: ; preds = %36 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %50 = load ptr, ptr %5, align 8, !tbaa !5 %51 = call i32 @releasePage(ptr noundef %50) #3 %52 = load i32, ptr %6, align 4, !tbaa !14 %53 = call i32 @btreeGetPage(ptr noundef nonnull %9, i32 noundef %52, ptr noundef nonnull %7, i32 noundef 0) #3 store i32 %53, ptr %4, align 4, !tbaa !14 %54 = load i32, ptr @SQLITE_OK, align 4, !tbaa !14 %55 = icmp eq i32 %53, %54 br i1 %55, label %56, label %75 56: ; preds = %49 %57 = load ptr, ptr %7, align 8, !tbaa !5 %58 = load i32, ptr @PTRMAP_ROOTPAGE, align 4, !tbaa !14 %59 = call i32 @relocatePage(ptr noundef nonnull %9, ptr noundef %57, i32 noundef %58, i32 noundef 0, i32 noundef %1, i32 noundef 0) #3 store i32 %59, ptr %4, align 4, !tbaa !14 %60 = load ptr, ptr %7, align 8, !tbaa !5 %61 = call i32 @releasePage(ptr noundef %60) #3 %62 = load i32, ptr %4, align 4, !tbaa !14 %63 = load i32, ptr @SQLITE_OK, align 4, !tbaa !14 %64 = icmp eq i32 %62, %63 br i1 %64, label %65, label %75 65: ; preds = %56 store ptr null, ptr %7, align 8, !tbaa !5 %66 = load i32, ptr %6, align 4, !tbaa !14 %67 = call i32 @btreeGetPage(ptr noundef nonnull %9, i32 noundef %66, ptr noundef nonnull %7, i32 noundef 0) #3 store i32 %67, ptr %4, align 4, !tbaa !14 %68 = load ptr, ptr %7, align 8, !tbaa !5 %69 = call i32 @freePage(ptr noundef %68, ptr noundef nonnull %4) #3 %70 = load ptr, ptr %7, align 8, !tbaa !5 %71 = call i32 @releasePage(ptr noundef %70) #3 %72 = load i32, ptr %4, align 4, !tbaa !14 %73 = load i32, ptr @SQLITE_OK, align 4, !tbaa !14 %74 = icmp eq i32 %72, %73 br i1 %74, label %77, label %75 75: ; preds = %49, %56, %65 %76 = phi i32 [ %72, %65 ], [ %62, %56 ], [ %53, %49 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 br label %90 77: ; preds = %65 %78 = load i32, ptr %6, align 4, !tbaa !14 store i32 %78, ptr %2, align 4, !tbaa !14 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 br label %79 79: ; preds = %77, %41 br label %80 80: ; preds = %85, %79 %81 = load i32, ptr %6, align 4, !tbaa !14 %82 = add nsw i32 %81, -1 store i32 %82, ptr %6, align 4, !tbaa !14 %83 = call i32 @PENDING_BYTE_PAGE(ptr noundef nonnull %9) #3 %84 = icmp eq i32 %82, %83 br i1 %84, label %85, label %86 85: ; preds = %80, %86 br label %80, !llvm.loop !18 86: ; preds = %80 %87 = load i32, ptr %6, align 4, !tbaa !14 %88 = call i64 @PTRMAP_ISPAGE(ptr noundef nonnull %9, i32 noundef %87) #3 %89 = icmp eq i64 %88, 0 br i1 %89, label %92, label %85 90: ; preds = %41, %75 %91 = phi i32 [ %76, %75 ], [ %46, %41 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %106 92: ; preds = %86 %93 = load i32, ptr %6, align 4, !tbaa !14 %94 = call i32 @PENDING_BYTE_PAGE(ptr noundef nonnull %9) #3 %95 = icmp ne i32 %93, %94 %96 = zext i1 %95 to i32 %97 = call i32 @assert(i32 noundef %96) #3 %98 = load i32, ptr %6, align 4, !tbaa !14 %99 = call i32 @sqlite3BtreeUpdateMeta(ptr noundef nonnull %0, i32 noundef 4, i32 noundef %98) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %106 100: ; preds = %33 %101 = load ptr, ptr %5, align 8, !tbaa !5 %102 = call i32 @freePage(ptr noundef %101, ptr noundef nonnull %4) #3 %103 = load ptr, ptr %5, align 8, !tbaa !5 %104 = call i32 @releasePage(ptr noundef %103) #3 %105 = load i32, ptr %4, align 4, !tbaa !14 br label %106 106: ; preds = %100, %92, %90, %24, %30, %22 %107 = phi i32 [ %23, %22 ], [ %28, %30 ], [ %25, %24 ], [ %91, %90 ], [ %99, %92 ], [ %105, %100 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %107 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3BtreeHoldsMutex(ptr noundef) local_unnamed_addr #2 declare i32 @btreePagecount(ptr noundef) local_unnamed_addr #2 declare i32 @btreeGetPage(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3BtreeClearTable(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @releasePage(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3BtreeGetMeta(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @freePage(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @relocatePage(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @PENDING_BYTE_PAGE(ptr noundef) local_unnamed_addr #2 declare i64 @PTRMAP_ISPAGE(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3BtreeUpdateMeta(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"TYPE_13__", !11, i64 0, !6, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !7, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_14__", !11, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_btreeDropTable.c' source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_btreeDropTable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TRANS_WRITE = common local_unnamed_addr global i64 0, align 8 @SQLITE_CORRUPT_BKPT = common local_unnamed_addr global i32 0, align 4 @BTREE_LARGEST_ROOT_PAGE = common local_unnamed_addr global i32 0, align 4 @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @PTRMAP_ROOTPAGE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @btreeDropTable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @btreeDropTable(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !6 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !10 %10 = tail call i32 @sqlite3BtreeHoldsMutex(ptr noundef %0) #3 %11 = tail call i32 @assert(i32 noundef %10) #3 %12 = load i64, ptr %0, align 8, !tbaa !13 %13 = load i64, ptr @TRANS_WRITE, align 8, !tbaa !14 %14 = icmp eq i64 %12, %13 %15 = zext i1 %14 to i32 %16 = tail call i32 @assert(i32 noundef %15) #3 %17 = icmp sgt i32 %1, 1 %18 = zext i1 %17 to i32 %19 = tail call i32 @assert(i32 noundef %18) #3 %20 = tail call i32 @btreePagecount(ptr noundef %9) #3 %21 = icmp slt i32 %20, %1 br i1 %21, label %22, label %24 22: ; preds = %3 %23 = load i32, ptr @SQLITE_CORRUPT_BKPT, align 4, !tbaa !15 br label %106 24: ; preds = %3 %25 = call i32 @btreeGetPage(ptr noundef %9, i32 noundef %1, ptr noundef nonnull %5, i32 noundef 0) #3 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %106 27: ; preds = %24 %28 = call i32 @sqlite3BtreeClearTable(ptr noundef nonnull %0, i32 noundef %1, i32 noundef 0) #3 store i32 %28, ptr %4, align 4, !tbaa !15 %29 = icmp eq i32 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %27 %31 = load ptr, ptr %5, align 8, !tbaa !6 %32 = call i32 @releasePage(ptr noundef %31) #3 br label %106 33: ; preds = %27 store i32 0, ptr %2, align 4, !tbaa !15 %34 = load i64, ptr %9, align 8, !tbaa !17 %35 = icmp eq i64 %34, 0 br i1 %35, label %100, label %36 36: ; preds = %33 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %37 = load i32, ptr @BTREE_LARGEST_ROOT_PAGE, align 4, !tbaa !15 %38 = call i32 @sqlite3BtreeGetMeta(ptr noundef nonnull %0, i32 noundef %37, ptr noundef nonnull %6) #3 %39 = load i32, ptr %6, align 4, !tbaa !15 %40 = icmp eq i32 %39, %1 br i1 %40, label %41, label %49 41: ; preds = %36 %42 = load ptr, ptr %5, align 8, !tbaa !6 %43 = call i32 @freePage(ptr noundef %42, ptr noundef nonnull %4) #3 %44 = load ptr, ptr %5, align 8, !tbaa !6 %45 = call i32 @releasePage(ptr noundef %44) #3 %46 = load i32, ptr %4, align 4, !tbaa !15 %47 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 %48 = icmp eq i32 %46, %47 br i1 %48, label %79, label %90 49: ; preds = %36 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %50 = load ptr, ptr %5, align 8, !tbaa !6 %51 = call i32 @releasePage(ptr noundef %50) #3 %52 = load i32, ptr %6, align 4, !tbaa !15 %53 = call i32 @btreeGetPage(ptr noundef nonnull %9, i32 noundef %52, ptr noundef nonnull %7, i32 noundef 0) #3 store i32 %53, ptr %4, align 4, !tbaa !15 %54 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 %55 = icmp eq i32 %53, %54 br i1 %55, label %56, label %75 56: ; preds = %49 %57 = load ptr, ptr %7, align 8, !tbaa !6 %58 = load i32, ptr @PTRMAP_ROOTPAGE, align 4, !tbaa !15 %59 = call i32 @relocatePage(ptr noundef nonnull %9, ptr noundef %57, i32 noundef %58, i32 noundef 0, i32 noundef %1, i32 noundef 0) #3 store i32 %59, ptr %4, align 4, !tbaa !15 %60 = load ptr, ptr %7, align 8, !tbaa !6 %61 = call i32 @releasePage(ptr noundef %60) #3 %62 = load i32, ptr %4, align 4, !tbaa !15 %63 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 %64 = icmp eq i32 %62, %63 br i1 %64, label %65, label %75 65: ; preds = %56 store ptr null, ptr %7, align 8, !tbaa !6 %66 = load i32, ptr %6, align 4, !tbaa !15 %67 = call i32 @btreeGetPage(ptr noundef nonnull %9, i32 noundef %66, ptr noundef nonnull %7, i32 noundef 0) #3 store i32 %67, ptr %4, align 4, !tbaa !15 %68 = load ptr, ptr %7, align 8, !tbaa !6 %69 = call i32 @freePage(ptr noundef %68, ptr noundef nonnull %4) #3 %70 = load ptr, ptr %7, align 8, !tbaa !6 %71 = call i32 @releasePage(ptr noundef %70) #3 %72 = load i32, ptr %4, align 4, !tbaa !15 %73 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 %74 = icmp eq i32 %72, %73 br i1 %74, label %77, label %75 75: ; preds = %49, %56, %65 %76 = phi i32 [ %72, %65 ], [ %62, %56 ], [ %53, %49 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 br label %90 77: ; preds = %65 %78 = load i32, ptr %6, align 4, !tbaa !15 store i32 %78, ptr %2, align 4, !tbaa !15 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 br label %79 79: ; preds = %77, %41 br label %80 80: ; preds = %85, %79 %81 = load i32, ptr %6, align 4, !tbaa !15 %82 = add nsw i32 %81, -1 store i32 %82, ptr %6, align 4, !tbaa !15 %83 = call i32 @PENDING_BYTE_PAGE(ptr noundef nonnull %9) #3 %84 = icmp eq i32 %82, %83 br i1 %84, label %85, label %86 85: ; preds = %80, %86 br label %80, !llvm.loop !19 86: ; preds = %80 %87 = load i32, ptr %6, align 4, !tbaa !15 %88 = call i64 @PTRMAP_ISPAGE(ptr noundef nonnull %9, i32 noundef %87) #3 %89 = icmp eq i64 %88, 0 br i1 %89, label %92, label %85 90: ; preds = %41, %75 %91 = phi i32 [ %76, %75 ], [ %46, %41 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %106 92: ; preds = %86 %93 = load i32, ptr %6, align 4, !tbaa !15 %94 = call i32 @PENDING_BYTE_PAGE(ptr noundef nonnull %9) #3 %95 = icmp ne i32 %93, %94 %96 = zext i1 %95 to i32 %97 = call i32 @assert(i32 noundef %96) #3 %98 = load i32, ptr %6, align 4, !tbaa !15 %99 = call i32 @sqlite3BtreeUpdateMeta(ptr noundef nonnull %0, i32 noundef 4, i32 noundef %98) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %106 100: ; preds = %33 %101 = load ptr, ptr %5, align 8, !tbaa !6 %102 = call i32 @freePage(ptr noundef %101, ptr noundef nonnull %4) #3 %103 = load ptr, ptr %5, align 8, !tbaa !6 %104 = call i32 @releasePage(ptr noundef %103) #3 %105 = load i32, ptr %4, align 4, !tbaa !15 br label %106 106: ; preds = %100, %92, %90, %24, %30, %22 %107 = phi i32 [ %23, %22 ], [ %28, %30 ], [ %25, %24 ], [ %91, %90 ], [ %99, %92 ], [ %105, %100 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %107 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3BtreeHoldsMutex(ptr noundef) local_unnamed_addr #2 declare i32 @btreePagecount(ptr noundef) local_unnamed_addr #2 declare i32 @btreeGetPage(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3BtreeClearTable(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @releasePage(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3BtreeGetMeta(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @freePage(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @relocatePage(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @PENDING_BYTE_PAGE(ptr noundef) local_unnamed_addr #2 declare i64 @PTRMAP_ISPAGE(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3BtreeUpdateMeta(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_13__", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0} !17 = !{!18, !12, i64 0} !18 = !{!"TYPE_14__", !12, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_sqlite3_extr_sqlite3.c_btreeDropTable
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_tt.c_iwl_mvm_thermal_exit.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_tt.c_iwl_mvm_thermal_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.iwl_mvm = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @IWL_MVM_INIT_STATUS_THERMAL_INIT_COMPLETE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Exit Thermal Throttling\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @iwl_mvm_thermal_exit(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @IWL_MVM_INIT_STATUS_THERMAL_INIT_COMPLETE, align 4, !tbaa !11 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.iwl_mvm, ptr %0, i64 0, i32 1 %8 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %7) #2 %9 = tail call i32 @IWL_DEBUG_TEMP(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 %10 = load i32, ptr @IWL_MVM_INIT_STATUS_THERMAL_INIT_COMPLETE, align 4, !tbaa !11 %11 = xor i32 %10, -1 %12 = load i32, ptr %0, align 4, !tbaa !5 %13 = and i32 %12, %11 store i32 %13, ptr %0, align 4, !tbaa !5 br label %14 14: ; preds = %1, %6 ret void } declare i32 @cancel_delayed_work_sync(ptr noundef) local_unnamed_addr #1 declare i32 @IWL_DEBUG_TEMP(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 = !{!"iwl_mvm", !7, i64 0, !10, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_tt.c_iwl_mvm_thermal_exit.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_tt.c_iwl_mvm_thermal_exit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IWL_MVM_INIT_STATUS_THERMAL_INIT_COMPLETE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Exit Thermal Throttling\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @iwl_mvm_thermal_exit(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @IWL_MVM_INIT_STATUS_THERMAL_INIT_COMPLETE, align 4, !tbaa !12 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %7) #2 %9 = tail call i32 @IWL_DEBUG_TEMP(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 %10 = load i32, ptr @IWL_MVM_INIT_STATUS_THERMAL_INIT_COMPLETE, align 4, !tbaa !12 %11 = xor i32 %10, -1 %12 = load i32, ptr %0, align 4, !tbaa !6 %13 = and i32 %12, %11 store i32 %13, ptr %0, align 4, !tbaa !6 br label %14 14: ; preds = %1, %6 ret void } declare i32 @cancel_delayed_work_sync(ptr noundef) local_unnamed_addr #1 declare i32 @IWL_DEBUG_TEMP(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 = !{!"iwl_mvm", !8, i64 0, !11, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0} !12 = !{!8, !8, i64 0}
linux_drivers_net_wireless_intel_iwlwifi_mvm_extr_tt.c_iwl_mvm_thermal_exit
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/ps3/extr_device-init.c_ps3_stop_probe_thread.c' source_filename = "AnghaBench/linux/arch/powerpc/platforms/ps3/extr_device-init.c_ps3_stop_probe_thread.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @probe_task = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ps3_stop_probe_thread], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ps3_stop_probe_thread(ptr nocapture readnone %0, i64 %1, ptr nocapture readnone %2) #0 { %4 = load i64, ptr @probe_task, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %3 %7 = tail call i32 @kthread_stop(i64 noundef %4) #2 br label %8 8: ; preds = %6, %3 ret i32 0 } declare i32 @kthread_stop(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/ps3/extr_device-init.c_ps3_stop_probe_thread.c' source_filename = "AnghaBench/linux/arch/powerpc/platforms/ps3/extr_device-init.c_ps3_stop_probe_thread.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @probe_task = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ps3_stop_probe_thread], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ps3_stop_probe_thread(ptr nocapture readnone %0, i64 %1, ptr nocapture readnone %2) #0 { %4 = load i64, ptr @probe_task, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %3 %7 = tail call i32 @kthread_stop(i64 noundef %4) #2 br label %8 8: ; preds = %6, %3 ret i32 0 } declare i32 @kthread_stop(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"}
linux_arch_powerpc_platforms_ps3_extr_device-init.c_ps3_stop_probe_thread
; ModuleID = 'AnghaBench/freebsd/contrib/dialog/extr_util.c_dlg_will_resize.c' source_filename = "AnghaBench/freebsd/contrib/dialog/extr_util.c_dlg_will_resize.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ERR = dso_local local_unnamed_addr global i32 0, align 4 @KEY_RESIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"# caught %d KEY_RESIZE key%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"s\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @dlg_will_resize(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @dlg_trace_win(ptr noundef %0) #2 %3 = tail call i32 @wtimeout(ptr noundef %0, i32 noundef 20) #2 br label %4 4: ; preds = %1, %18 %5 = phi i32 [ 0, %1 ], [ %20, %18 ] %6 = phi i32 [ 0, %1 ], [ %19, %18 ] %7 = phi i32 [ 0, %1 ], [ %21, %18 ] %8 = tail call i32 @wgetch(ptr noundef %0) #2 %9 = load i32, ptr @ERR, align 4, !tbaa !5 %10 = icmp eq i32 %8, %9 br i1 %10, label %18, label %11 11: ; preds = %4 %12 = load i32, ptr @KEY_RESIZE, align 4, !tbaa !5 %13 = icmp eq i32 %8, %12 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = add nsw i32 %5, 1 br label %18 16: ; preds = %11 %17 = tail call i32 @ungetch(i32 noundef %8) #2 br label %24 18: ; preds = %4, %14 %19 = phi i32 [ %7, %14 ], [ %6, %4 ] %20 = phi i32 [ %15, %14 ], [ %5, %4 ] %21 = add nuw nsw i32 %7, 1 %22 = add nsw i32 %19, 9 %23 = icmp slt i32 %7, %22 br i1 %23, label %4, label %24, !llvm.loop !9 24: ; preds = %18, %16 %25 = phi i32 [ %5, %16 ], [ %20, %18 ] %26 = add nsw i32 %25, 1 %27 = icmp eq i32 %25, 1 %28 = select i1 %27, ptr @.str.1, ptr @.str.2 %29 = tail call i32 @dlg_trace_msg(ptr noundef nonnull @.str, i32 noundef %26, ptr noundef nonnull %28) #2 ret void } declare i32 @dlg_trace_win(ptr noundef) local_unnamed_addr #1 declare i32 @wtimeout(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wgetch(ptr noundef) local_unnamed_addr #1 declare i32 @ungetch(i32 noundef) local_unnamed_addr #1 declare i32 @dlg_trace_msg(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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/dialog/extr_util.c_dlg_will_resize.c' source_filename = "AnghaBench/freebsd/contrib/dialog/extr_util.c_dlg_will_resize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ERR = common local_unnamed_addr global i32 0, align 4 @KEY_RESIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"# caught %d KEY_RESIZE key%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"s\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @dlg_will_resize(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @dlg_trace_win(ptr noundef %0) #2 %3 = tail call i32 @wtimeout(ptr noundef %0, i32 noundef 20) #2 br label %4 4: ; preds = %1, %18 %5 = phi i32 [ 0, %1 ], [ %20, %18 ] %6 = phi i32 [ 0, %1 ], [ %19, %18 ] %7 = phi i32 [ 0, %1 ], [ %21, %18 ] %8 = tail call i32 @wgetch(ptr noundef %0) #2 %9 = load i32, ptr @ERR, align 4, !tbaa !6 %10 = icmp eq i32 %8, %9 br i1 %10, label %18, label %11 11: ; preds = %4 %12 = load i32, ptr @KEY_RESIZE, align 4, !tbaa !6 %13 = icmp eq i32 %8, %12 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = add nsw i32 %5, 1 br label %18 16: ; preds = %11 %17 = tail call i32 @ungetch(i32 noundef %8) #2 br label %24 18: ; preds = %4, %14 %19 = phi i32 [ %7, %14 ], [ %6, %4 ] %20 = phi i32 [ %15, %14 ], [ %5, %4 ] %21 = add nuw nsw i32 %7, 1 %22 = add nsw i32 %19, 9 %23 = icmp slt i32 %7, %22 br i1 %23, label %4, label %24, !llvm.loop !10 24: ; preds = %18, %16 %25 = phi i32 [ %5, %16 ], [ %20, %18 ] %26 = add nsw i32 %25, 1 %27 = icmp eq i32 %25, 1 %28 = select i1 %27, ptr @.str.1, ptr @.str.2 %29 = tail call i32 @dlg_trace_msg(ptr noundef nonnull @.str, i32 noundef %26, ptr noundef nonnull %28) #2 ret void } declare i32 @dlg_trace_win(ptr noundef) local_unnamed_addr #1 declare i32 @wtimeout(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wgetch(ptr noundef) local_unnamed_addr #1 declare i32 @ungetch(i32 noundef) local_unnamed_addr #1 declare i32 @dlg_trace_msg(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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_dialog_extr_util.c_dlg_will_resize
; ModuleID = 'AnghaBench/freebsd/sys/dev/bxe/extr_bxe.c_bxe_release_nvram_lock.c' source_filename = "AnghaBench/freebsd/sys/dev/bxe/extr_bxe.c_bxe_release_nvram_lock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NVRAM_TIMEOUT_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @MCP_REG_MCPR_NVM_SW_ARB = dso_local local_unnamed_addr global i32 0, align 4 @MCPR_NVM_SW_ARB_ARB_REQ_CLR1 = dso_local local_unnamed_addr global i32 0, align 4 @MCPR_NVM_SW_ARB_ARB_ARB1 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [91 x i8] c"Cannot free access to nvram interface port %d val 0x%x (MCPR_NVM_SW_ARB_ARB_ARB1 << port)\0A\00", align 1 @HW_LOCK_RESOURCE_NVRAM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bxe_release_nvram_lock], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @bxe_release_nvram_lock(ptr noundef %0) #0 { %2 = tail call i32 @SC_PORT(ptr noundef %0) #3 %3 = load i32, ptr @NVRAM_TIMEOUT_COUNT, align 4, !tbaa !5 %4 = tail call i64 @CHIP_REV_IS_SLOW(ptr noundef %0) #3 %5 = icmp eq i64 %4, 0 %6 = mul nsw i32 %3, 100 %7 = select i1 %5, i32 %3, i32 %6 %8 = load i32, ptr @MCP_REG_MCPR_NVM_SW_ARB, align 4, !tbaa !5 %9 = load i32, ptr @MCPR_NVM_SW_ARB_ARB_REQ_CLR1, align 4, !tbaa !5 %10 = shl i32 %9, %2 %11 = tail call i32 @REG_WR(ptr noundef %0, i32 noundef %8, i32 noundef %10) #3 %12 = icmp sgt i32 %7, 0 br i1 %12, label %13, label %28 13: ; preds = %1 %14 = mul i32 %7, 10 %15 = tail call i32 @llvm.smax.i32(i32 %14, i32 1) br label %16 16: ; preds = %13, %24 %17 = phi i32 [ %26, %24 ], [ 0, %13 ] %18 = load i32, ptr @MCP_REG_MCPR_NVM_SW_ARB, align 4, !tbaa !5 %19 = tail call i32 @REG_RD(ptr noundef %0, i32 noundef %18) #3 %20 = load i32, ptr @MCPR_NVM_SW_ARB_ARB_ARB1, align 4, !tbaa !5 %21 = shl i32 %20, %2 %22 = and i32 %21, %19 %23 = icmp eq i32 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %16 %25 = tail call i32 @DELAY(i32 noundef 5) #3 %26 = add nuw nsw i32 %17, 1 %27 = icmp eq i32 %26, %15 br i1 %27, label %28, label %16, !llvm.loop !9 28: ; preds = %24, %16, %1 %29 = phi i32 [ 0, %1 ], [ %19, %16 ], [ %19, %24 ] %30 = load i32, ptr @MCPR_NVM_SW_ARB_ARB_ARB1, align 4, !tbaa !5 %31 = shl i32 %30, %2 %32 = and i32 %31, %29 %33 = icmp eq i32 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %28 %35 = tail call i32 @BLOGE(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %29) #3 br label %39 36: ; preds = %28 %37 = load i32, ptr @HW_LOCK_RESOURCE_NVRAM, align 4, !tbaa !5 %38 = tail call i32 @bxe_release_hw_lock(ptr noundef %0, i32 noundef %37) #3 br label %39 39: ; preds = %36, %34 %40 = phi i32 [ -1, %34 ], [ 0, %36 ] ret i32 %40 } declare i32 @SC_PORT(ptr noundef) local_unnamed_addr #1 declare i64 @CHIP_REV_IS_SLOW(ptr noundef) local_unnamed_addr #1 declare i32 @REG_WR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_RD(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DELAY(i32 noundef) local_unnamed_addr #1 declare i32 @BLOGE(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bxe_release_hw_lock(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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/sys/dev/bxe/extr_bxe.c_bxe_release_nvram_lock.c' source_filename = "AnghaBench/freebsd/sys/dev/bxe/extr_bxe.c_bxe_release_nvram_lock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NVRAM_TIMEOUT_COUNT = common local_unnamed_addr global i32 0, align 4 @MCP_REG_MCPR_NVM_SW_ARB = common local_unnamed_addr global i32 0, align 4 @MCPR_NVM_SW_ARB_ARB_REQ_CLR1 = common local_unnamed_addr global i32 0, align 4 @MCPR_NVM_SW_ARB_ARB_ARB1 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [91 x i8] c"Cannot free access to nvram interface port %d val 0x%x (MCPR_NVM_SW_ARB_ARB_ARB1 << port)\0A\00", align 1 @HW_LOCK_RESOURCE_NVRAM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bxe_release_nvram_lock], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @bxe_release_nvram_lock(ptr noundef %0) #0 { %2 = tail call i32 @SC_PORT(ptr noundef %0) #3 %3 = load i32, ptr @NVRAM_TIMEOUT_COUNT, align 4, !tbaa !6 %4 = tail call i64 @CHIP_REV_IS_SLOW(ptr noundef %0) #3 %5 = icmp eq i64 %4, 0 %6 = mul nsw i32 %3, 100 %7 = select i1 %5, i32 %3, i32 %6 %8 = load i32, ptr @MCP_REG_MCPR_NVM_SW_ARB, align 4, !tbaa !6 %9 = load i32, ptr @MCPR_NVM_SW_ARB_ARB_REQ_CLR1, align 4, !tbaa !6 %10 = shl i32 %9, %2 %11 = tail call i32 @REG_WR(ptr noundef %0, i32 noundef %8, i32 noundef %10) #3 %12 = icmp sgt i32 %7, 0 br i1 %12, label %13, label %28 13: ; preds = %1 %14 = mul i32 %7, 10 %15 = tail call i32 @llvm.smax.i32(i32 %14, i32 1) br label %16 16: ; preds = %13, %24 %17 = phi i32 [ %26, %24 ], [ 0, %13 ] %18 = load i32, ptr @MCP_REG_MCPR_NVM_SW_ARB, align 4, !tbaa !6 %19 = tail call i32 @REG_RD(ptr noundef %0, i32 noundef %18) #3 %20 = load i32, ptr @MCPR_NVM_SW_ARB_ARB_ARB1, align 4, !tbaa !6 %21 = shl i32 %20, %2 %22 = and i32 %21, %19 %23 = icmp eq i32 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %16 %25 = tail call i32 @DELAY(i32 noundef 5) #3 %26 = add nuw nsw i32 %17, 1 %27 = icmp eq i32 %26, %15 br i1 %27, label %28, label %16, !llvm.loop !10 28: ; preds = %24, %16, %1 %29 = phi i32 [ 0, %1 ], [ %19, %16 ], [ %19, %24 ] %30 = load i32, ptr @MCPR_NVM_SW_ARB_ARB_ARB1, align 4, !tbaa !6 %31 = shl i32 %30, %2 %32 = and i32 %31, %29 %33 = icmp eq i32 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %28 %35 = tail call i32 @BLOGE(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %29) #3 br label %39 36: ; preds = %28 %37 = load i32, ptr @HW_LOCK_RESOURCE_NVRAM, align 4, !tbaa !6 %38 = tail call i32 @bxe_release_hw_lock(ptr noundef %0, i32 noundef %37) #3 br label %39 39: ; preds = %36, %34 %40 = phi i32 [ -1, %34 ], [ 0, %36 ] ret i32 %40 } declare i32 @SC_PORT(ptr noundef) local_unnamed_addr #1 declare i64 @CHIP_REV_IS_SLOW(ptr noundef) local_unnamed_addr #1 declare i32 @REG_WR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_RD(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DELAY(i32 noundef) local_unnamed_addr #1 declare i32 @BLOGE(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bxe_release_hw_lock(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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_sys_dev_bxe_extr_bxe.c_bxe_release_nvram_lock
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_cistpl.c_parse_manfid.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_cistpl.c_parse_manfid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, i64 } %struct.TYPE_6__ = type { ptr, ptr } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @parse_manfid], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @parse_manfid(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = icmp slt i32 %3, 4 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = load i32, ptr @EINVAL, align 4, !tbaa !11 %7 = sub nsw i32 0, %6 br label %16 8: ; preds = %2 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = tail call ptr @get_unaligned_le16(i64 noundef %10) #2 %12 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 store ptr %11, ptr %12, align 8, !tbaa !13 %13 = load i64, ptr %9, align 8, !tbaa !12 %14 = add nsw i64 %13, 2 %15 = tail call ptr @get_unaligned_le16(i64 noundef %14) #2 store ptr %15, ptr %1, align 8, !tbaa !16 br label %16 16: ; preds = %8, %5 %17 = phi i32 [ %7, %5 ], [ 0, %8 ] ret i32 %17 } declare ptr @get_unaligned_le16(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !15, i64 8} !14 = !{!"TYPE_6__", !15, i64 0, !15, i64 8} !15 = !{!"any pointer", !8, i64 0} !16 = !{!14, !15, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_cistpl.c_parse_manfid.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_cistpl.c_parse_manfid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @parse_manfid], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @parse_manfid(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = icmp slt i32 %3, 4 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = load i32, ptr @EINVAL, align 4, !tbaa !12 %7 = sub nsw i32 0, %6 br label %16 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i64, ptr %9, align 8, !tbaa !13 %11 = tail call ptr @get_unaligned_le16(i64 noundef %10) #2 %12 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %11, ptr %12, align 8, !tbaa !14 %13 = load i64, ptr %9, align 8, !tbaa !13 %14 = add nsw i64 %13, 2 %15 = tail call ptr @get_unaligned_le16(i64 noundef %14) #2 store ptr %15, ptr %1, align 8, !tbaa !17 br label %16 16: ; preds = %8, %5 %17 = phi i32 [ %7, %5 ], [ 0, %8 ] ret i32 %17 } declare ptr @get_unaligned_le16(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !16, i64 8} !15 = !{!"TYPE_6__", !16, i64 0, !16, i64 8} !16 = !{!"any pointer", !9, i64 0} !17 = !{!15, !16, i64 0}
fastsocket_kernel_drivers_pcmcia_extr_cistpl.c_parse_manfid
; ModuleID = 'AnghaBench/numpy/numpy/core/src/multiarray/extr_dtype_transfer.c__strided_cast_data_clone.c' source_filename = "AnghaBench/numpy/numpy/core/src/multiarray/extr_dtype_transfer.c__strided_cast_data_clone.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @_strided_cast_data_clone], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @_strided_cast_data_clone(ptr noundef %0) #0 { %2 = tail call i64 @PyArray_malloc(i32 noundef 8) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %12, label %4 4: ; preds = %1 %5 = inttoptr i64 %2 to ptr %6 = tail call i32 @memcpy(ptr noundef nonnull %5, ptr noundef %0, i32 noundef 8) #2 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = tail call i32 @Py_INCREF(i32 noundef %8) #2 %10 = load i32, ptr %5, align 4, !tbaa !10 %11 = tail call i32 @Py_INCREF(i32 noundef %10) #2 br label %12 12: ; preds = %1, %4 %13 = phi ptr [ %5, %4 ], [ null, %1 ] ret ptr %13 } declare i64 @PyArray_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @Py_INCREF(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 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/numpy/numpy/core/src/multiarray/extr_dtype_transfer.c__strided_cast_data_clone.c' source_filename = "AnghaBench/numpy/numpy/core/src/multiarray/extr_dtype_transfer.c__strided_cast_data_clone.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 @_strided_cast_data_clone], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @_strided_cast_data_clone(ptr noundef %0) #0 { %2 = tail call i64 @PyArray_malloc(i32 noundef 8) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %12, label %4 4: ; preds = %1 %5 = inttoptr i64 %2 to ptr %6 = tail call i32 @memcpy(ptr noundef nonnull %5, ptr noundef %0, i32 noundef 8) #2 %7 = getelementptr inbounds i8, ptr %5, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = tail call i32 @Py_INCREF(i32 noundef %8) #2 %10 = load i32, ptr %5, align 4, !tbaa !11 %11 = tail call i32 @Py_INCREF(i32 noundef %10) #2 br label %12 12: ; preds = %1, %4 %13 = phi ptr [ %5, %4 ], [ null, %1 ] ret ptr %13 } declare i64 @PyArray_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @Py_INCREF(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 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
numpy_numpy_core_src_multiarray_extr_dtype_transfer.c__strided_cast_data_clone
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_pc87360.c_cpu0_vid_show.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_pc87360.c_cpu0_vid_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.pc87360_data = type { i32, i32 } @.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @cpu0_vid_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cpu0_vid_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @pc87360_update_device(ptr noundef %0) #2 %5 = getelementptr inbounds %struct.pc87360_data, ptr %4, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = load i32, ptr %4, align 4, !tbaa !10 %8 = tail call i32 @vid_from_reg(i32 noundef %6, i32 noundef %7) #2 %9 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %8) #2 ret i32 %9 } declare ptr @pc87360_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vid_from_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"pc87360_data", !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/hwmon/extr_pc87360.c_cpu0_vid_show.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_pc87360.c_cpu0_vid_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @cpu0_vid_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cpu0_vid_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @pc87360_update_device(ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = load i32, ptr %4, align 4, !tbaa !11 %8 = tail call i32 @vid_from_reg(i32 noundef %6, i32 noundef %7) #2 %9 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %8) #2 ret i32 %9 } declare ptr @pc87360_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vid_from_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"pc87360_data", !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_hwmon_extr_pc87360.c_cpu0_vid_show
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_coex.c_iwl_mvm_bt_coex_tcm_based_ci.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_coex.c_iwl_mvm_bt_coex_tcm_based_ci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.iwl_bt_iterator_data = type { i64, i64, i32, i32, i64 } @jiffies = dso_local local_unnamed_addr global i64 0, align 8 @MVM_COEX_TCM_PERIOD = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @iwl_mvm_bt_coex_tcm_based_ci], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @iwl_mvm_bt_coex_tcm_based_ci(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr @jiffies, align 8, !tbaa !5 %4 = load i64, ptr %0, align 8, !tbaa !9 %5 = load i64, ptr @MVM_COEX_TCM_PERIOD, align 8, !tbaa !5 %6 = add i64 %5, %4 %7 = tail call i32 @time_after(i64 noundef %3, i64 noundef %6) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %24, label %9 9: ; preds = %2 store i64 %3, ptr %0, align 8, !tbaa !9 %10 = getelementptr inbounds %struct.iwl_bt_iterator_data, ptr %1, i64 0, i32 4 %11 = load i64, ptr %10, align 8, !tbaa !11 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %24 13: ; preds = %9 %14 = load i64, ptr %1, align 8, !tbaa !14 %15 = getelementptr inbounds %struct.iwl_bt_iterator_data, ptr %1, i64 0, i32 1 %16 = load i64, ptr %15, align 8, !tbaa !15 %17 = icmp slt i64 %14, %16 br i1 %17, label %18, label %24 18: ; preds = %13 %19 = getelementptr inbounds %struct.iwl_bt_iterator_data, ptr %1, i64 0, i32 3 %20 = load i32, ptr %19, align 4, !tbaa !16 %21 = getelementptr inbounds %struct.iwl_bt_iterator_data, ptr %1, i64 0, i32 2 %22 = load i32, ptr %21, align 8, !tbaa !17 %23 = tail call i32 @swap(i32 noundef %20, i32 noundef %22) #2 br label %24 24: ; preds = %13, %9, %2, %18 ret void } declare i32 @time_after(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @swap(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"iwl_mvm", !6, i64 0} !11 = !{!12, !6, i64 24} !12 = !{!"iwl_bt_iterator_data", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !6, i64 24} !13 = !{!"int", !7, i64 0} !14 = !{!12, !6, i64 0} !15 = !{!12, !6, i64 8} !16 = !{!12, !13, i64 20} !17 = !{!12, !13, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_coex.c_iwl_mvm_bt_coex_tcm_based_ci.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_coex.c_iwl_mvm_bt_coex_tcm_based_ci.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @jiffies = common local_unnamed_addr global i64 0, align 8 @MVM_COEX_TCM_PERIOD = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @iwl_mvm_bt_coex_tcm_based_ci], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @iwl_mvm_bt_coex_tcm_based_ci(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr @jiffies, align 8, !tbaa !6 %4 = load i64, ptr %0, align 8, !tbaa !10 %5 = load i64, ptr @MVM_COEX_TCM_PERIOD, align 8, !tbaa !6 %6 = add i64 %5, %4 %7 = tail call i32 @time_after(i64 noundef %3, i64 noundef %6) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %24, label %9 9: ; preds = %2 store i64 %3, ptr %0, align 8, !tbaa !10 %10 = getelementptr inbounds i8, ptr %1, i64 24 %11 = load i64, ptr %10, align 8, !tbaa !12 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %24 13: ; preds = %9 %14 = load i64, ptr %1, align 8, !tbaa !15 %15 = getelementptr inbounds i8, ptr %1, i64 8 %16 = load i64, ptr %15, align 8, !tbaa !16 %17 = icmp slt i64 %14, %16 br i1 %17, label %18, label %24 18: ; preds = %13 %19 = getelementptr inbounds i8, ptr %1, i64 20 %20 = load i32, ptr %19, align 4, !tbaa !17 %21 = getelementptr inbounds i8, ptr %1, i64 16 %22 = load i32, ptr %21, align 8, !tbaa !18 %23 = tail call i32 @swap(i32 noundef %20, i32 noundef %22) #2 br label %24 24: ; preds = %13, %9, %2, %18 ret void } declare i32 @time_after(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @swap(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"iwl_mvm", !7, i64 0} !12 = !{!13, !7, i64 24} !13 = !{!"iwl_bt_iterator_data", !7, i64 0, !7, i64 8, !14, i64 16, !14, i64 20, !7, i64 24} !14 = !{!"int", !8, i64 0} !15 = !{!13, !7, i64 0} !16 = !{!13, !7, i64 8} !17 = !{!13, !14, i64 20} !18 = !{!13, !14, i64 16}
linux_drivers_net_wireless_intel_iwlwifi_mvm_extr_coex.c_iwl_mvm_bt_coex_tcm_based_ci
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_wince-stub.c_thread_alive.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_wince-stub.c_thread_alive.c" target datalayout = "e-m:e-p270:32:32-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 [19 x i32] [i32 84, i32 104, i32 114, i32 101, i32 97, i32 100, i32 65, i32 108, i32 105, i32 118, i32 101, i32 32, i32 104, i32 97, i32 110, i32 100, i32 108, i32 101, i32 0], align 4 @GDB_THREADALIVE = dso_local local_unnamed_addr global i32 0, align 4 @WAIT_OBJECT_0 = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [24 x i32] [i32 87, i32 114, i32 105, i32 116, i32 101, i32 80, i32 114, i32 111, i32 99, i32 101, i32 115, i32 115, i32 77, i32 101, i32 109, i32 111, i32 114, i32 121, i32 32, i32 100, i32 97, i32 116, i32 97, i32 0], align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @thread_alive], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @thread_alive(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = load i32, ptr @GDB_THREADALIVE, align 4, !tbaa !5 %4 = tail call i32 @gethandle(ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = tail call i64 @WaitForSingleObject(i32 noundef %4, i32 noundef 0) #3 %6 = load i64, ptr @WAIT_OBJECT_0, align 8, !tbaa !9 %7 = icmp eq i64 %5, %6 %8 = zext i1 %7 to i32 store i32 %8, ptr %2, align 4, !tbaa !5 %9 = load i32, ptr @GDB_THREADALIVE, align 4, !tbaa !5 %10 = call i32 @putresult(ptr noundef nonnull @.str.1, i32 noundef %8, i32 noundef %0, i32 noundef %9, ptr noundef nonnull %2, i32 noundef 4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @gethandle(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @WaitForSingleObject(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @putresult(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_wince-stub.c_thread_alive.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_wince-stub.c_thread_alive.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 [19 x i32] [i32 84, i32 104, i32 114, i32 101, i32 97, i32 100, i32 65, i32 108, i32 105, i32 118, i32 101, i32 32, i32 104, i32 97, i32 110, i32 100, i32 108, i32 101, i32 0], align 4 @GDB_THREADALIVE = common local_unnamed_addr global i32 0, align 4 @WAIT_OBJECT_0 = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [24 x i32] [i32 87, i32 114, i32 105, i32 116, i32 101, i32 80, i32 114, i32 111, i32 99, i32 101, i32 115, i32 115, i32 77, i32 101, i32 109, i32 111, i32 114, i32 121, i32 32, i32 100, i32 97, i32 116, i32 97, i32 0], align 4 @llvm.used = appending global [1 x ptr] [ptr @thread_alive], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @thread_alive(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = load i32, ptr @GDB_THREADALIVE, align 4, !tbaa !6 %4 = tail call i32 @gethandle(ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = tail call i64 @WaitForSingleObject(i32 noundef %4, i32 noundef 0) #3 %6 = load i64, ptr @WAIT_OBJECT_0, align 8, !tbaa !10 %7 = icmp eq i64 %5, %6 %8 = zext i1 %7 to i32 store i32 %8, ptr %2, align 4, !tbaa !6 %9 = load i32, ptr @GDB_THREADALIVE, align 4, !tbaa !6 %10 = call i32 @putresult(ptr noundef nonnull @.str.1, i32 noundef %8, i32 noundef %0, i32 noundef %9, ptr noundef nonnull %2, i32 noundef 4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @gethandle(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @WaitForSingleObject(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @putresult(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
freebsd_contrib_gdb_gdb_extr_wince-stub.c_thread_alive
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_cxgb3_defs.h_stid2entry.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_cxgb3_defs.h_stid2entry.c" target datalayout = "e-m:e-p270:32:32-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.tid_info = type { i32, ptr } %union.listen_entry = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @stid2entry], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal ptr @stid2entry(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.tid_info, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %0, align 8, !tbaa !11 %6 = sub i32 %1, %5 %7 = zext i32 %6 to i64 %8 = getelementptr inbounds %union.listen_entry, ptr %4, i64 %7 ret ptr %8 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"tid_info", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_cxgb3_defs.h_stid2entry.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_cxgb3_defs.h_stid2entry.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %union.listen_entry = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @stid2entry], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal ptr @stid2entry(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = sub i32 %1, %5 %7 = zext i32 %6 to i64 %8 = getelementptr inbounds %union.listen_entry, ptr %4, i64 %7 ret ptr %8 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"tid_info", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_net_cxgb3_extr_cxgb3_defs.h_stid2entry
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/mouse/extr_appletouch.c_atp_suspend.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/input/mouse/extr_appletouch.c_atp_suspend.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @atp_suspend], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @atp_suspend(ptr noundef %0, i32 %1) #0 { %3 = tail call ptr @usb_get_intfdata(ptr noundef %0) #2 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @usb_kill_urb(i32 noundef %4) #2 ret i32 0 } declare ptr @usb_get_intfdata(ptr noundef) local_unnamed_addr #1 declare i32 @usb_kill_urb(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 = !{!"atp", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/mouse/extr_appletouch.c_atp_suspend.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/input/mouse/extr_appletouch.c_atp_suspend.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 @atp_suspend], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @atp_suspend(ptr noundef %0, i32 %1) #0 { %3 = tail call ptr @usb_get_intfdata(ptr noundef %0) #2 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @usb_kill_urb(i32 noundef %4) #2 ret i32 0 } declare ptr @usb_get_intfdata(ptr noundef) local_unnamed_addr #1 declare i32 @usb_kill_urb(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 = !{!"atp", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_input_mouse_extr_appletouch.c_atp_suspend
; ModuleID = 'AnghaBench/lede/package/kernel/lantiq/ltq-deu/src/extr_ifxmips_arc4.c_ifxdeu_fini_arc4.c' source_filename = "AnghaBench/lede/package/kernel/lantiq/ltq-deu/src/extr_ifxmips_arc4.c_ifxdeu_fini_arc4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ifxdeu_arc4_alg = dso_local global i32 0, align 4 @ifxdeu_ecb_arc4_alg = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ifxdeu_fini_arc4() local_unnamed_addr #0 { %1 = tail call i32 @crypto_unregister_alg(ptr noundef nonnull @ifxdeu_arc4_alg) #2 %2 = tail call i32 @crypto_unregister_alg(ptr noundef nonnull @ifxdeu_ecb_arc4_alg) #2 ret void } declare i32 @crypto_unregister_alg(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/lede/package/kernel/lantiq/ltq-deu/src/extr_ifxmips_arc4.c_ifxdeu_fini_arc4.c' source_filename = "AnghaBench/lede/package/kernel/lantiq/ltq-deu/src/extr_ifxmips_arc4.c_ifxdeu_fini_arc4.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ifxdeu_arc4_alg = common global i32 0, align 4 @ifxdeu_ecb_arc4_alg = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ifxdeu_fini_arc4() local_unnamed_addr #0 { %1 = tail call i32 @crypto_unregister_alg(ptr noundef nonnull @ifxdeu_arc4_alg) #2 %2 = tail call i32 @crypto_unregister_alg(ptr noundef nonnull @ifxdeu_ecb_arc4_alg) #2 ret void } declare i32 @crypto_unregister_alg(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)"}
lede_package_kernel_lantiq_ltq-deu_src_extr_ifxmips_arc4.c_ifxdeu_fini_arc4
; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_shash.c_shash_ahash_digest.c' source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_shash.c_shash_ahash_digest.c" target datalayout = "e-m:e-p270:32:32-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.ahash_request = type { i32, i32, ptr } %struct.scatterlist = type { i32, i32 } @PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @shash_ahash_digest(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.ahash_request, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = load i32, ptr %0, align 8, !tbaa !13 %7 = getelementptr inbounds %struct.scatterlist, ptr %4, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !14 %9 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !15 %10 = trunc i64 %9 to i32 %11 = sub i32 %10, %5 %12 = tail call i32 @min(i32 noundef %8, i32 noundef %11) #2 %13 = icmp ult i32 %6, %12 br i1 %13, label %14, label %25 14: ; preds = %2 %15 = tail call i32 @sg_page(ptr noundef nonnull %4) #2 %16 = tail call ptr @crypto_kmap(i32 noundef %15, i32 noundef 0) #2 %17 = zext i32 %5 to i64 %18 = getelementptr inbounds i8, ptr %16, i64 %17 %19 = getelementptr inbounds %struct.ahash_request, ptr %0, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !17 %21 = tail call i32 @crypto_shash_digest(ptr noundef %1, ptr noundef %18, i32 noundef %6, i32 noundef %20) #2 %22 = tail call i32 @crypto_kunmap(ptr noundef %16, i32 noundef 0) #2 %23 = load i32, ptr %1, align 4, !tbaa !18 %24 = tail call i32 @crypto_yield(i32 noundef %23) #2 br label %34 25: ; preds = %2 %26 = tail call i64 @crypto_shash_init(ptr noundef %1) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = tail call i32 @shash_ahash_finup(ptr noundef nonnull %0, ptr noundef %1) #2 %30 = zext i32 %29 to i64 br label %31 31: ; preds = %25, %28 %32 = phi i64 [ %30, %28 ], [ %26, %25 ] %33 = trunc i64 %32 to i32 br label %34 34: ; preds = %31, %14 %35 = phi i32 [ %21, %14 ], [ %33, %31 ] ret i32 %35 } declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @crypto_kmap(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sg_page(ptr noundef) local_unnamed_addr #1 declare i32 @crypto_shash_digest(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_kunmap(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_yield(i32 noundef) local_unnamed_addr #1 declare i64 @crypto_shash_init(ptr noundef) local_unnamed_addr #1 declare i32 @shash_ahash_finup(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"ahash_request", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"scatterlist", !7, i64 0, !7, i64 4} !13 = !{!6, !7, i64 0} !14 = !{!12, !7, i64 4} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!6, !7, i64 4} !18 = !{!19, !7, i64 0} !19 = !{!"shash_desc", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_shash.c_shash_ahash_digest.c' source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_shash.c_shash_ahash_digest.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SIZE = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @shash_ahash_digest(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = load i32, ptr %0, align 8, !tbaa !14 %7 = getelementptr inbounds i8, ptr %4, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !15 %9 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !16 %10 = trunc i64 %9 to i32 %11 = sub i32 %10, %5 %12 = tail call i32 @min(i32 noundef %8, i32 noundef %11) #2 %13 = icmp ult i32 %6, %12 br i1 %13, label %14, label %25 14: ; preds = %2 %15 = tail call i32 @sg_page(ptr noundef nonnull %4) #2 %16 = tail call ptr @crypto_kmap(i32 noundef %15, i32 noundef 0) #2 %17 = zext i32 %5 to i64 %18 = getelementptr inbounds i8, ptr %16, i64 %17 %19 = getelementptr inbounds i8, ptr %0, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !18 %21 = tail call i32 @crypto_shash_digest(ptr noundef %1, ptr noundef %18, i32 noundef %6, i32 noundef %20) #2 %22 = tail call i32 @crypto_kunmap(ptr noundef %16, i32 noundef 0) #2 %23 = load i32, ptr %1, align 4, !tbaa !19 %24 = tail call i32 @crypto_yield(i32 noundef %23) #2 br label %34 25: ; preds = %2 %26 = tail call i64 @crypto_shash_init(ptr noundef %1) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = tail call i32 @shash_ahash_finup(ptr noundef nonnull %0, ptr noundef %1) #2 %30 = zext i32 %29 to i64 br label %31 31: ; preds = %25, %28 %32 = phi i64 [ %30, %28 ], [ %26, %25 ] %33 = trunc i64 %32 to i32 br label %34 34: ; preds = %31, %14 %35 = phi i32 [ %21, %14 ], [ %33, %31 ] ret i32 %35 } declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @crypto_kmap(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sg_page(ptr noundef) local_unnamed_addr #1 declare i32 @crypto_shash_digest(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_kunmap(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_yield(i32 noundef) local_unnamed_addr #1 declare i64 @crypto_shash_init(ptr noundef) local_unnamed_addr #1 declare i32 @shash_ahash_finup(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"ahash_request", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"scatterlist", !8, i64 0, !8, i64 4} !14 = !{!7, !8, i64 0} !15 = !{!13, !8, i64 4} !16 = !{!17, !17, i64 0} !17 = !{!"long", !9, i64 0} !18 = !{!7, !8, i64 4} !19 = !{!20, !8, i64 0} !20 = !{!"shash_desc", !8, i64 0}
fastsocket_kernel_crypto_extr_shash.c_shash_ahash_digest
; ModuleID = 'AnghaBench/h2o/lib/handler/compress/extr_gzip.c_do_free.c' source_filename = "AnghaBench/h2o/lib/handler/compress/extr_gzip.c_do_free.c" target datalayout = "e-m:e-p270:32:32-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.st_gzip_context_t = type { %struct.TYPE_5__, %struct.TYPE_4__, i32, i64 } %struct.TYPE_5__ = type { i64, ptr } %struct.TYPE_4__ = type { i64, ptr } %struct.TYPE_6__ = type { ptr } @do_compress = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @do_free(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.st_gzip_context_t, ptr %0, i64 0, i32 3 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %14, label %5 5: ; preds = %1 %6 = load i64, ptr %0, align 8, !tbaa !14 %7 = load i64, ptr @do_compress, align 8, !tbaa !15 %8 = icmp eq i64 %6, %7 %9 = getelementptr inbounds %struct.st_gzip_context_t, ptr %0, i64 0, i32 2 br i1 %8, label %10, label %12 10: ; preds = %5 %11 = tail call i32 @deflateEnd(ptr noundef nonnull %9) #2 br label %14 12: ; preds = %5 %13 = tail call i32 @inflateEnd(ptr noundef nonnull %9) #2 br label %14 14: ; preds = %10, %12, %1 %15 = getelementptr inbounds %struct.st_gzip_context_t, ptr %0, i64 0, i32 1 %16 = load i64, ptr %15, align 8, !tbaa !16 %17 = icmp eq i64 %16, 0 br i1 %17, label %29, label %18 18: ; preds = %14 %19 = getelementptr inbounds %struct.st_gzip_context_t, ptr %0, i64 0, i32 1, i32 1 br label %20 20: ; preds = %18, %20 %21 = phi i64 [ 0, %18 ], [ %26, %20 ] %22 = load ptr, ptr %19, align 8, !tbaa !17 %23 = getelementptr inbounds %struct.TYPE_6__, ptr %22, i64 %21 %24 = load ptr, ptr %23, align 8, !tbaa !18 %25 = tail call i32 @free(ptr noundef %24) #2 %26 = add i64 %21, 1 %27 = load i64, ptr %15, align 8, !tbaa !16 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %20, !llvm.loop !20 29: ; preds = %20, %14 %30 = getelementptr inbounds %struct.st_gzip_context_t, ptr %0, i64 0, i32 1, i32 1 %31 = load ptr, ptr %30, align 8, !tbaa !17 %32 = tail call i32 @free(ptr noundef %31) #2 %33 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %34 = load ptr, ptr %33, align 8, !tbaa !22 %35 = tail call i32 @free(ptr noundef %34) #2 ret void } declare i32 @deflateEnd(ptr noundef) local_unnamed_addr #1 declare i32 @inflateEnd(ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 40} !6 = !{!"st_gzip_context_t", !7, i64 0, !12, i64 16, !13, i64 32, !8, i64 40} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_4__", !8, i64 0, !11, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!6, !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!6, !8, i64 16} !17 = !{!6, !11, i64 24} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_6__", !11, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!6, !11, i64 8}
; ModuleID = 'AnghaBench/h2o/lib/handler/compress/extr_gzip.c_do_free.c' source_filename = "AnghaBench/h2o/lib/handler/compress/extr_gzip.c_do_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_6__ = type { ptr } @do_compress = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @do_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @do_free(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 40 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %14, label %5 5: ; preds = %1 %6 = load i64, ptr %0, align 8, !tbaa !15 %7 = load i64, ptr @do_compress, align 8, !tbaa !16 %8 = icmp eq i64 %6, %7 %9 = getelementptr inbounds i8, ptr %0, i64 32 br i1 %8, label %10, label %12 10: ; preds = %5 %11 = tail call i32 @deflateEnd(ptr noundef nonnull %9) #2 br label %14 12: ; preds = %5 %13 = tail call i32 @inflateEnd(ptr noundef nonnull %9) #2 br label %14 14: ; preds = %10, %12, %1 %15 = getelementptr inbounds i8, ptr %0, i64 16 %16 = load i64, ptr %15, align 8, !tbaa !17 %17 = icmp eq i64 %16, 0 br i1 %17, label %29, label %18 18: ; preds = %14 %19 = getelementptr inbounds i8, ptr %0, i64 24 br label %20 20: ; preds = %18, %20 %21 = phi i64 [ 0, %18 ], [ %26, %20 ] %22 = load ptr, ptr %19, align 8, !tbaa !18 %23 = getelementptr inbounds %struct.TYPE_6__, ptr %22, i64 %21 %24 = load ptr, ptr %23, align 8, !tbaa !19 %25 = tail call i32 @free(ptr noundef %24) #2 %26 = add i64 %21, 1 %27 = load i64, ptr %15, align 8, !tbaa !17 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %20, !llvm.loop !21 29: ; preds = %20, %14 %30 = getelementptr inbounds i8, ptr %0, i64 24 %31 = load ptr, ptr %30, align 8, !tbaa !18 %32 = tail call i32 @free(ptr noundef %31) #2 %33 = getelementptr inbounds i8, ptr %0, i64 8 %34 = load ptr, ptr %33, align 8, !tbaa !23 %35 = tail call i32 @free(ptr noundef %34) #2 ret void } declare i32 @deflateEnd(ptr noundef) local_unnamed_addr #1 declare i32 @inflateEnd(ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 40} !7 = !{!"st_gzip_context_t", !8, i64 0, !13, i64 16, !14, i64 32, !9, i64 40} !8 = !{!"TYPE_5__", !9, i64 0, !12, i64 8} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!"TYPE_4__", !9, i64 0, !12, i64 8} !14 = !{!"int", !10, i64 0} !15 = !{!7, !9, i64 0} !16 = !{!9, !9, i64 0} !17 = !{!7, !9, i64 16} !18 = !{!7, !12, i64 24} !19 = !{!20, !12, i64 0} !20 = !{!"TYPE_6__", !12, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!7, !12, i64 8}
h2o_lib_handler_compress_extr_gzip.c_do_free
; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_socket.c_mac_socket_init.c' source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_socket.c_mac_socket_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.socket = type { ptr, ptr } @mac_labeled = dso_local local_unnamed_addr global i32 0, align 4 @MPC_OBJECT_SOCKET = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mac_socket_init(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @mac_labeled, align 4, !tbaa !5 %4 = load i32, ptr @MPC_OBJECT_SOCKET, align 4, !tbaa !5 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %20, label %7 7: ; preds = %2 %8 = tail call ptr @mac_socket_label_alloc(i32 noundef %1) #3 %9 = getelementptr inbounds %struct.socket, ptr %0, i64 0, i32 1 store ptr %8, ptr %9, align 8, !tbaa !9 %10 = icmp eq ptr %8, null br i1 %10, label %11, label %13 11: ; preds = %7 %12 = load i32, ptr @ENOMEM, align 4, !tbaa !5 br label %21 13: ; preds = %7 %14 = tail call ptr @mac_socketpeer_label_alloc(i32 noundef %1) #3 store ptr %14, ptr %0, align 8, !tbaa !12 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %21 16: ; preds = %13 %17 = load ptr, ptr %9, align 8, !tbaa !9 %18 = tail call i32 @mac_socket_label_free(ptr noundef %17) #3 store ptr null, ptr %9, align 8, !tbaa !9 %19 = load i32, ptr @ENOMEM, align 4, !tbaa !5 br label %21 20: ; preds = %2 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) br label %21 21: ; preds = %20, %13, %16, %11 %22 = phi i32 [ %12, %11 ], [ %19, %16 ], [ 0, %13 ], [ 0, %20 ] ret i32 %22 } declare ptr @mac_socket_label_alloc(i32 noundef) local_unnamed_addr #1 declare ptr @mac_socketpeer_label_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @mac_socket_label_free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"socket", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_socket.c_mac_socket_init.c' source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_socket.c_mac_socket_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mac_labeled = common local_unnamed_addr global i32 0, align 4 @MPC_OBJECT_SOCKET = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mac_socket_init(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @mac_labeled, align 4, !tbaa !6 %4 = load i32, ptr @MPC_OBJECT_SOCKET, align 4, !tbaa !6 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %20, label %7 7: ; preds = %2 %8 = tail call ptr @mac_socket_label_alloc(i32 noundef %1) #3 %9 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %8, ptr %9, align 8, !tbaa !10 %10 = icmp eq ptr %8, null br i1 %10, label %11, label %13 11: ; preds = %7 %12 = load i32, ptr @ENOMEM, align 4, !tbaa !6 br label %21 13: ; preds = %7 %14 = tail call ptr @mac_socketpeer_label_alloc(i32 noundef %1) #3 store ptr %14, ptr %0, align 8, !tbaa !13 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %21 16: ; preds = %13 %17 = load ptr, ptr %9, align 8, !tbaa !10 %18 = tail call i32 @mac_socket_label_free(ptr noundef %17) #3 store ptr null, ptr %9, align 8, !tbaa !10 %19 = load i32, ptr @ENOMEM, align 4, !tbaa !6 br label %21 20: ; preds = %2 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) br label %21 21: ; preds = %20, %13, %16, %11 %22 = phi i32 [ %12, %11 ], [ %19, %16 ], [ 0, %13 ], [ 0, %20 ] ret i32 %22 } declare ptr @mac_socket_label_alloc(i32 noundef) local_unnamed_addr #1 declare ptr @mac_socketpeer_label_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @mac_socket_label_free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"socket", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0}
freebsd_sys_security_mac_extr_mac_socket.c_mac_socket_init
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_fsl_linflexuart.c_linflex_tx_empty.c' source_filename = "AnghaBench/linux/drivers/tty/serial/extr_fsl_linflexuart.c_linflex_tx_empty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @UARTSR = dso_local local_unnamed_addr global i64 0, align 8 @LINFLEXD_UARTSR_DTFTFF = dso_local local_unnamed_addr global i64 0, align 8 @TIOCSER_TEMT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @linflex_tx_empty], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @linflex_tx_empty(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @UARTSR, align 8, !tbaa !10 %4 = add nsw i64 %3, %2 %5 = tail call i64 @readl(i64 noundef %4) #2 %6 = load i64, ptr @LINFLEXD_UARTSR_DTFTFF, align 8, !tbaa !10 %7 = and i64 %6, %5 %8 = icmp eq i64 %7, 0 %9 = load i32, ptr @TIOCSER_TEMT, align 4 %10 = select i1 %8, i32 0, i32 %9 ret i32 %10 } declare i64 @readl(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"uart_port", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_fsl_linflexuart.c_linflex_tx_empty.c' source_filename = "AnghaBench/linux/drivers/tty/serial/extr_fsl_linflexuart.c_linflex_tx_empty.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UARTSR = common local_unnamed_addr global i64 0, align 8 @LINFLEXD_UARTSR_DTFTFF = common local_unnamed_addr global i64 0, align 8 @TIOCSER_TEMT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @linflex_tx_empty], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @linflex_tx_empty(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @UARTSR, align 8, !tbaa !11 %4 = add nsw i64 %3, %2 %5 = tail call i64 @readl(i64 noundef %4) #2 %6 = load i64, ptr @LINFLEXD_UARTSR_DTFTFF, align 8, !tbaa !11 %7 = and i64 %6, %5 %8 = icmp eq i64 %7, 0 %9 = load i32, ptr @TIOCSER_TEMT, align 4 %10 = select i1 %8, i32 0, i32 %9 ret i32 %10 } declare i64 @readl(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"uart_port", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_tty_serial_extr_fsl_linflexuart.c_linflex_tx_empty
; ModuleID = 'AnghaBench/sumatrapdf/ext/mujs/extr_jsrun.c_js_gettop.c' source_filename = "AnghaBench/sumatrapdf/ext/mujs/extr_jsrun.c_js_gettop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TOP = dso_local local_unnamed_addr global i32 0, align 4 @BOT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i32 @js_gettop(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = load i32, ptr @TOP, align 4, !tbaa !5 %3 = load i32, ptr @BOT, align 4, !tbaa !5 %4 = sub nsw i32 %2, %3 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/sumatrapdf/ext/mujs/extr_jsrun.c_js_gettop.c' source_filename = "AnghaBench/sumatrapdf/ext/mujs/extr_jsrun.c_js_gettop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TOP = common local_unnamed_addr global i32 0, align 4 @BOT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i32 @js_gettop(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = load i32, ptr @TOP, align 4, !tbaa !6 %3 = load i32, ptr @BOT, align 4, !tbaa !6 %4 = sub nsw i32 %2, %3 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
sumatrapdf_ext_mujs_extr_jsrun.c_js_gettop
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_ssl_tls.c_mbedtls_ssl_conf_encrypt_then_mac.c' source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_ssl_tls.c_mbedtls_ssl_conf_encrypt_then_mac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define dso_local void @mbedtls_ssl_conf_encrypt_then_mac(ptr nocapture noundef writeonly %0, i8 noundef signext %1) local_unnamed_addr #0 { store i8 %1, ptr %0, align 1, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_ssl_tls.c_mbedtls_ssl_conf_encrypt_then_mac.c' source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_ssl_tls.c_mbedtls_ssl_conf_encrypt_then_mac.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define void @mbedtls_ssl_conf_encrypt_then_mac(ptr nocapture noundef writeonly %0, i8 noundef signext %1) local_unnamed_addr #0 { store i8 %1, ptr %0, align 1, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
RetroArch_deps_mbedtls_extr_ssl_tls.c_mbedtls_ssl_conf_encrypt_then_mac
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_serf/extr_..libsvn_rawrapper_template.h_compat_get_log.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_serf/extr_..libsvn_rawrapper_template.h_compat_get_log.c" target datalayout = "e-m:e-p270:32:32-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 } @VTBL = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @compat_get_log], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @compat_get_log(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3 %12 = call i32 @svn_compat_wrap_log_receiver(ptr noundef nonnull %10, ptr noundef nonnull %11, i32 noundef %6, ptr noundef %7, ptr noundef %8) #3 %13 = load ptr, ptr @VTBL, align 8, !tbaa !5 %14 = load i32, ptr @FALSE, align 4, !tbaa !10 %15 = call i32 @svn_compat_log_revprops_in(ptr noundef %8) #3 %16 = load i32, ptr %10, align 4, !tbaa !10 %17 = load ptr, ptr %11, align 8, !tbaa !12 %18 = call ptr %13(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef 0, i32 noundef %4, i32 noundef %5, i32 noundef %14, i32 noundef %15, i32 noundef %16, ptr noundef %17, ptr noundef %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 ret ptr %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @svn_compat_wrap_log_receiver(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_compat_log_revprops_in(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_serf/extr_..libsvn_rawrapper_template.h_compat_get_log.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_serf/extr_..libsvn_rawrapper_template.h_compat_get_log.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 } @VTBL = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @FALSE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @compat_get_log], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @compat_get_log(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3 %12 = call i32 @svn_compat_wrap_log_receiver(ptr noundef nonnull %10, ptr noundef nonnull %11, i32 noundef %6, ptr noundef %7, ptr noundef %8) #3 %13 = load ptr, ptr @VTBL, align 8, !tbaa !6 %14 = load i32, ptr @FALSE, align 4, !tbaa !11 %15 = call i32 @svn_compat_log_revprops_in(ptr noundef %8) #3 %16 = load i32, ptr %10, align 4, !tbaa !11 %17 = load ptr, ptr %11, align 8, !tbaa !13 %18 = call ptr %13(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef 0, i32 noundef %4, i32 noundef %5, i32 noundef %14, i32 noundef %15, i32 noundef %16, ptr noundef %17, ptr noundef %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 ret ptr %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @svn_compat_wrap_log_receiver(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_compat_log_revprops_in(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_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 = !{!8, !8, i64 0}
freebsd_contrib_subversion_subversion_libsvn_ra_serf_extr_..libsvn_rawrapper_template.h_compat_get_log
; ModuleID = 'AnghaBench/kphp-kdb/KPHP/extr_php-engine.c_lease_cron.c' source_filename = "AnghaBench/kphp-kdb/KPHP/extr_php-engine.c_lease_cron.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @lease_state = dso_local local_unnamed_addr global i64 0, align 8 @lst_on = dso_local local_unnamed_addr global i64 0, align 8 @rpc_lease_timeout = dso_local local_unnamed_addr global i64 0, align 8 @precise_now = dso_local local_unnamed_addr global i64 0, align 8 @lst_finish = dso_local local_unnamed_addr global i32 0, align 4 @lease_ready_flag = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @lease_cron() local_unnamed_addr #0 { %1 = load i64, ptr @lease_state, align 8, !tbaa !5 %2 = load i64, ptr @lst_on, align 8, !tbaa !5 %3 = icmp eq i64 %1, %2 br i1 %3, label %4, label %11 4: ; preds = %0 %5 = load i64, ptr @rpc_lease_timeout, align 8, !tbaa !5 %6 = load i64, ptr @precise_now, align 8, !tbaa !5 %7 = icmp slt i64 %5, %6 br i1 %7, label %8, label %11 8: ; preds = %4 %9 = load i32, ptr @lst_finish, align 4, !tbaa !9 %10 = tail call i32 @lease_change_state(i32 noundef %9) #2 br label %14 11: ; preds = %4, %0 %12 = load i64, ptr @lease_ready_flag, align 8, !tbaa !5 %13 = icmp eq i64 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %8, %11 %15 = tail call i32 (...) @run_rpc_lease() #2 br label %16 16: ; preds = %14, %11 ret void } declare i32 @lease_change_state(i32 noundef) local_unnamed_addr #1 declare i32 @run_rpc_lease(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/kphp-kdb/KPHP/extr_php-engine.c_lease_cron.c' source_filename = "AnghaBench/kphp-kdb/KPHP/extr_php-engine.c_lease_cron.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @lease_state = common local_unnamed_addr global i64 0, align 8 @lst_on = common local_unnamed_addr global i64 0, align 8 @rpc_lease_timeout = common local_unnamed_addr global i64 0, align 8 @precise_now = common local_unnamed_addr global i64 0, align 8 @lst_finish = common local_unnamed_addr global i32 0, align 4 @lease_ready_flag = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @lease_cron() local_unnamed_addr #0 { %1 = load i64, ptr @lease_state, align 8, !tbaa !6 %2 = load i64, ptr @lst_on, align 8, !tbaa !6 %3 = icmp eq i64 %1, %2 br i1 %3, label %4, label %11 4: ; preds = %0 %5 = load i64, ptr @rpc_lease_timeout, align 8, !tbaa !6 %6 = load i64, ptr @precise_now, align 8, !tbaa !6 %7 = icmp slt i64 %5, %6 br i1 %7, label %8, label %11 8: ; preds = %4 %9 = load i32, ptr @lst_finish, align 4, !tbaa !10 %10 = tail call i32 @lease_change_state(i32 noundef %9) #2 br label %14 11: ; preds = %4, %0 %12 = load i64, ptr @lease_ready_flag, align 8, !tbaa !6 %13 = icmp eq i64 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %8, %11 %15 = tail call i32 @run_rpc_lease() #2 br label %16 16: ; preds = %14, %11 ret void } declare i32 @lease_change_state(i32 noundef) local_unnamed_addr #1 declare i32 @run_rpc_lease(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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}
kphp-kdb_KPHP_extr_php-engine.c_lease_cron
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/crypto/extr_crypto_openssl.c_pbkdf2_sha1.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/crypto/extr_crypto_openssl.c_pbkdf2_sha1.c" target datalayout = "e-m:e-p270:32:32-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 @pbkdf2_sha1(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, i64 noundef %5) local_unnamed_addr #0 { %7 = tail call i32 @os_strlen(ptr noundef %0) #2 %8 = tail call i32 @PKCS5_PBKDF2_HMAC_SHA1(ptr noundef %0, i32 noundef %7, ptr noundef %1, i64 noundef %2, i32 noundef %3, i64 noundef %5, ptr noundef %4) #2 %9 = icmp ne i32 %8, 1 %10 = sext i1 %9 to i32 ret i32 %10 } declare i32 @PKCS5_PBKDF2_HMAC_SHA1(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @os_strlen(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/wpa/src/crypto/extr_crypto_openssl.c_pbkdf2_sha1.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/crypto/extr_crypto_openssl.c_pbkdf2_sha1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @pbkdf2_sha1(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, i64 noundef %5) local_unnamed_addr #0 { %7 = tail call i32 @os_strlen(ptr noundef %0) #2 %8 = tail call i32 @PKCS5_PBKDF2_HMAC_SHA1(ptr noundef %0, i32 noundef %7, ptr noundef %1, i64 noundef %2, i32 noundef %3, i64 noundef %5, ptr noundef %4) #2 %9 = icmp ne i32 %8, 1 %10 = sext i1 %9 to i32 ret i32 %10 } declare i32 @PKCS5_PBKDF2_HMAC_SHA1(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @os_strlen(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_wpa_src_crypto_extr_crypto_openssl.c_pbkdf2_sha1
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__Locale_codecvt_name.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__Locale_codecvt_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" @_C_name = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local ptr @_Locale_codecvt_name(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load ptr, ptr @_C_name, align 8, !tbaa !5 ret ptr %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__Locale_codecvt_name.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__Locale_codecvt_name.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @_C_name = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define ptr @_Locale_codecvt_name(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load ptr, ptr @_C_name, align 8, !tbaa !6 ret ptr %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
reactos_sdk_lib_3rdparty_stlport_src_c_locale_glibc_extr_c_locale_glibc2.c__Locale_codecvt_name
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/roken/extr_strftime.c_hour_24to12.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/roken/extr_strftime.c_hour_24to12.c" target datalayout = "e-m:e-p270:32:32-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 @hour_24to12], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @hour_24to12(i32 noundef %0) #0 { %2 = srem i32 %0, 12 %3 = icmp eq i32 %2, 0 %4 = select i1 %3, i32 12, i32 %2 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/roken/extr_strftime.c_hour_24to12.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/roken/extr_strftime.c_hour_24to12.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 @hour_24to12], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef range(i32 -11, 13) i32 @hour_24to12(i32 noundef %0) #0 { %2 = srem i32 %0, 12 %3 = icmp eq i32 %2, 0 %4 = select i1 %3, i32 12, i32 %2 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_crypto_heimdal_lib_roken_extr_strftime.c_hour_24to12
; ModuleID = 'AnghaBench/http-parser/extr_http_parser.c_http_parser_settings_init.c' source_filename = "AnghaBench/http-parser/extr_http_parser.c_http_parser_settings_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 @http_parser_settings_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 4) #2 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/http-parser/extr_http_parser.c_http_parser_settings_init.c' source_filename = "AnghaBench/http-parser/extr_http_parser.c_http_parser_settings_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 @http_parser_settings_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 4) #2 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
http-parser_extr_http_parser.c_http_parser_settings_init
; ModuleID = 'AnghaBench/obs-studio/plugins/win-capture/extr_game-capture.c_init_events.c' source_filename = "AnghaBench/obs-studio/plugins/win-capture/extr_game-capture.c_init_events.c" target datalayout = "e-m:e-p270:32:32-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.game_capture = type { ptr, ptr, ptr, ptr, ptr } @EVENT_CAPTURE_RESTART = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"init_events: failed to get hook_restart event: %lu\00", align 1 @EVENT_CAPTURE_STOP = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [48 x i8] c"init_events: failed to get hook_stop event: %lu\00", align 1 @EVENT_HOOK_INIT = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [48 x i8] c"init_events: failed to get hook_init event: %lu\00", align 1 @EVENT_HOOK_READY = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [49 x i8] c"init_events: failed to get hook_ready event: %lu\00", align 1 @EVENT_HOOK_EXIT = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [48 x i8] c"init_events: failed to get hook_exit event: %lu\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @init_events], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @init_events(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.game_capture, ptr %0, i64 0, i32 4 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %9 5: ; preds = %1 %6 = load i32, ptr @EVENT_CAPTURE_RESTART, align 4, !tbaa !10 %7 = tail call ptr @open_event_gc(ptr noundef nonnull %0, i32 noundef %6) #2 store ptr %7, ptr %2, align 8, !tbaa !5 %8 = icmp eq ptr %7, null br i1 %8, label %40, label %9 9: ; preds = %5, %1 %10 = getelementptr inbounds %struct.game_capture, ptr %0, i64 0, i32 3 %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %9 %14 = load i32, ptr @EVENT_CAPTURE_STOP, align 4, !tbaa !10 %15 = tail call ptr @open_event_gc(ptr noundef nonnull %0, i32 noundef %14) #2 store ptr %15, ptr %10, align 8, !tbaa !12 %16 = icmp eq ptr %15, null br i1 %16, label %40, label %17 17: ; preds = %13, %9 %18 = getelementptr inbounds %struct.game_capture, ptr %0, i64 0, i32 2 %19 = load ptr, ptr %18, align 8, !tbaa !13 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %25 21: ; preds = %17 %22 = load i32, ptr @EVENT_HOOK_INIT, align 4, !tbaa !10 %23 = tail call ptr @open_event_gc(ptr noundef nonnull %0, i32 noundef %22) #2 store ptr %23, ptr %18, align 8, !tbaa !13 %24 = icmp eq ptr %23, null br i1 %24, label %40, label %25 25: ; preds = %21, %17 %26 = getelementptr inbounds %struct.game_capture, ptr %0, i64 0, i32 1 %27 = load ptr, ptr %26, align 8, !tbaa !14 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %33 29: ; preds = %25 %30 = load i32, ptr @EVENT_HOOK_READY, align 4, !tbaa !10 %31 = tail call ptr @open_event_gc(ptr noundef nonnull %0, i32 noundef %30) #2 store ptr %31, ptr %26, align 8, !tbaa !14 %32 = icmp eq ptr %31, null br i1 %32, label %40, label %33 33: ; preds = %29, %25 %34 = load ptr, ptr %0, align 8, !tbaa !15 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %44 36: ; preds = %33 %37 = load i32, ptr @EVENT_HOOK_EXIT, align 4, !tbaa !10 %38 = tail call ptr @open_event_gc(ptr noundef nonnull %0, i32 noundef %37) #2 store ptr %38, ptr %0, align 8, !tbaa !15 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %44 40: ; preds = %36, %29, %21, %13, %5 %41 = phi ptr [ @.str, %5 ], [ @.str.1, %13 ], [ @.str.2, %21 ], [ @.str.3, %29 ], [ @.str.4, %36 ] %42 = tail call i32 (...) @GetLastError() #2 %43 = tail call i32 @warn(ptr noundef nonnull %41, i32 noundef %42) #2 br label %44 44: ; preds = %40, %33, %36 %45 = phi i32 [ 1, %36 ], [ 1, %33 ], [ 0, %40 ] ret i32 %45 } declare ptr @open_event_gc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @warn(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GetLastError(...) 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 32} !6 = !{!"game_capture", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32} !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 = !{!6, !7, i64 24} !13 = !{!6, !7, i64 16} !14 = !{!6, !7, i64 8} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/obs-studio/plugins/win-capture/extr_game-capture.c_init_events.c' source_filename = "AnghaBench/obs-studio/plugins/win-capture/extr_game-capture.c_init_events.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EVENT_CAPTURE_RESTART = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"init_events: failed to get hook_restart event: %lu\00", align 1 @EVENT_CAPTURE_STOP = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [48 x i8] c"init_events: failed to get hook_stop event: %lu\00", align 1 @EVENT_HOOK_INIT = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [48 x i8] c"init_events: failed to get hook_init event: %lu\00", align 1 @EVENT_HOOK_READY = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [49 x i8] c"init_events: failed to get hook_ready event: %lu\00", align 1 @EVENT_HOOK_EXIT = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [48 x i8] c"init_events: failed to get hook_exit event: %lu\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @init_events], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @init_events(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %9 5: ; preds = %1 %6 = load i32, ptr @EVENT_CAPTURE_RESTART, align 4, !tbaa !11 %7 = tail call ptr @open_event_gc(ptr noundef nonnull %0, i32 noundef %6) #2 store ptr %7, ptr %2, align 8, !tbaa !6 %8 = icmp eq ptr %7, null br i1 %8, label %40, label %9 9: ; preds = %5, %1 %10 = getelementptr inbounds i8, ptr %0, i64 24 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %9 %14 = load i32, ptr @EVENT_CAPTURE_STOP, align 4, !tbaa !11 %15 = tail call ptr @open_event_gc(ptr noundef nonnull %0, i32 noundef %14) #2 store ptr %15, ptr %10, align 8, !tbaa !13 %16 = icmp eq ptr %15, null br i1 %16, label %40, label %17 17: ; preds = %13, %9 %18 = getelementptr inbounds i8, ptr %0, i64 16 %19 = load ptr, ptr %18, align 8, !tbaa !14 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %25 21: ; preds = %17 %22 = load i32, ptr @EVENT_HOOK_INIT, align 4, !tbaa !11 %23 = tail call ptr @open_event_gc(ptr noundef nonnull %0, i32 noundef %22) #2 store ptr %23, ptr %18, align 8, !tbaa !14 %24 = icmp eq ptr %23, null br i1 %24, label %40, label %25 25: ; preds = %21, %17 %26 = getelementptr inbounds i8, ptr %0, i64 8 %27 = load ptr, ptr %26, align 8, !tbaa !15 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %33 29: ; preds = %25 %30 = load i32, ptr @EVENT_HOOK_READY, align 4, !tbaa !11 %31 = tail call ptr @open_event_gc(ptr noundef nonnull %0, i32 noundef %30) #2 store ptr %31, ptr %26, align 8, !tbaa !15 %32 = icmp eq ptr %31, null br i1 %32, label %40, label %33 33: ; preds = %29, %25 %34 = load ptr, ptr %0, align 8, !tbaa !16 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %44 36: ; preds = %33 %37 = load i32, ptr @EVENT_HOOK_EXIT, align 4, !tbaa !11 %38 = tail call ptr @open_event_gc(ptr noundef nonnull %0, i32 noundef %37) #2 store ptr %38, ptr %0, align 8, !tbaa !16 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %44 40: ; preds = %36, %29, %21, %13, %5 %41 = phi ptr [ @.str, %5 ], [ @.str.1, %13 ], [ @.str.2, %21 ], [ @.str.3, %29 ], [ @.str.4, %36 ] %42 = tail call i32 @GetLastError() #2 %43 = tail call i32 @warn(ptr noundef nonnull %41, i32 noundef %42) #2 br label %44 44: ; preds = %40, %33, %36 %45 = phi i32 [ 1, %36 ], [ 1, %33 ], [ 0, %40 ] ret i32 %45 } declare ptr @open_event_gc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @warn(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GetLastError(...) 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 32} !7 = !{!"game_capture", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32} !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 = !{!7, !8, i64 24} !14 = !{!7, !8, i64 16} !15 = !{!7, !8, i64 8} !16 = !{!7, !8, i64 0}
obs-studio_plugins_win-capture_extr_game-capture.c_init_events
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/zydas/zd1211rw/extr_zd_usb.c_zd_ep_regs_out_msg.c' source_filename = "AnghaBench/linux/drivers/net/wireless/zydas/zd1211rw/extr_zd_usb.c_zd_ep_regs_out_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" @EP_REGS_OUT = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @zd_ep_regs_out_msg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @zd_ep_regs_out_msg(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = load i32, ptr @EP_REGS_OUT, align 4, !tbaa !5 %7 = tail call i32 @usb_sndintpipe(ptr noundef %0, i32 noundef %6) #2 %8 = tail call ptr @usb_pipe_endpoint(ptr noundef %0, i32 noundef %7) #2 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %5 %11 = load i32, ptr @EINVAL, align 4, !tbaa !5 %12 = sub nsw i32 0, %11 br label %22 13: ; preds = %5 %14 = tail call i64 @usb_endpoint_xfer_int(ptr noundef nonnull %8) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %13 %17 = tail call i32 @usb_interrupt_msg(ptr noundef %0, i32 noundef %7, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #2 br label %22 18: ; preds = %13 %19 = load i32, ptr @EP_REGS_OUT, align 4, !tbaa !5 %20 = tail call i32 @usb_sndbulkpipe(ptr noundef %0, i32 noundef %19) #2 %21 = tail call i32 @usb_bulk_msg(ptr noundef %0, i32 noundef %20, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #2 br label %22 22: ; preds = %18, %16, %10 %23 = phi i32 [ %17, %16 ], [ %21, %18 ], [ %12, %10 ] ret i32 %23 } declare i32 @usb_sndintpipe(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @usb_pipe_endpoint(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @usb_endpoint_xfer_int(ptr noundef) local_unnamed_addr #1 declare i32 @usb_interrupt_msg(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_sndbulkpipe(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_bulk_msg(ptr noundef, i32 noundef, ptr 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/zydas/zd1211rw/extr_zd_usb.c_zd_ep_regs_out_msg.c' source_filename = "AnghaBench/linux/drivers/net/wireless/zydas/zd1211rw/extr_zd_usb.c_zd_ep_regs_out_msg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EP_REGS_OUT = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @zd_ep_regs_out_msg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @zd_ep_regs_out_msg(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = load i32, ptr @EP_REGS_OUT, align 4, !tbaa !6 %7 = tail call i32 @usb_sndintpipe(ptr noundef %0, i32 noundef %6) #2 %8 = tail call ptr @usb_pipe_endpoint(ptr noundef %0, i32 noundef %7) #2 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %5 %11 = load i32, ptr @EINVAL, align 4, !tbaa !6 %12 = sub nsw i32 0, %11 br label %22 13: ; preds = %5 %14 = tail call i64 @usb_endpoint_xfer_int(ptr noundef nonnull %8) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %13 %17 = tail call i32 @usb_interrupt_msg(ptr noundef %0, i32 noundef %7, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #2 br label %22 18: ; preds = %13 %19 = load i32, ptr @EP_REGS_OUT, align 4, !tbaa !6 %20 = tail call i32 @usb_sndbulkpipe(ptr noundef %0, i32 noundef %19) #2 %21 = tail call i32 @usb_bulk_msg(ptr noundef %0, i32 noundef %20, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #2 br label %22 22: ; preds = %18, %16, %10 %23 = phi i32 [ %17, %16 ], [ %21, %18 ], [ %12, %10 ] ret i32 %23 } declare i32 @usb_sndintpipe(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @usb_pipe_endpoint(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @usb_endpoint_xfer_int(ptr noundef) local_unnamed_addr #1 declare i32 @usb_interrupt_msg(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_sndbulkpipe(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_bulk_msg(ptr noundef, i32 noundef, ptr 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_wireless_zydas_zd1211rw_extr_zd_usb.c_zd_ep_regs_out_msg
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dpaa2-eth.c_free_dpbp.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dpaa2-eth.c_free_dpbp.c" target datalayout = "e-m:e-p270:32:32-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.dpaa2_eth_priv = type { ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @free_dpbp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @free_dpbp(ptr noundef %0) #0 { %2 = tail call i32 @drain_pool(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.dpaa2_eth_priv, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %0, align 8, !tbaa !11 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = tail call i32 @dpbp_disable(i32 noundef %4, i32 noundef 0, i32 noundef %6) #2 %8 = load i32, ptr %3, align 8, !tbaa !5 %9 = load ptr, ptr %0, align 8, !tbaa !11 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = tail call i32 @dpbp_close(i32 noundef %8, i32 noundef 0, i32 noundef %10) #2 %12 = load ptr, ptr %0, align 8, !tbaa !11 %13 = tail call i32 @fsl_mc_object_free(ptr noundef %12) #2 ret void } declare i32 @drain_pool(ptr noundef) local_unnamed_addr #1 declare i32 @dpbp_disable(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dpbp_close(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fsl_mc_object_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, !10, i64 8} !6 = !{!"dpaa2_eth_priv", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !10, i64 0} !13 = !{!"TYPE_2__", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dpaa2-eth.c_free_dpbp.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dpaa2-eth.c_free_dpbp.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 @free_dpbp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @free_dpbp(ptr noundef %0) #0 { %2 = tail call i32 @drain_pool(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %0, align 8, !tbaa !12 %6 = load i32, ptr %5, align 4, !tbaa !13 %7 = tail call i32 @dpbp_disable(i32 noundef %4, i32 noundef 0, i32 noundef %6) #2 %8 = load i32, ptr %3, align 8, !tbaa !6 %9 = load ptr, ptr %0, align 8, !tbaa !12 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = tail call i32 @dpbp_close(i32 noundef %8, i32 noundef 0, i32 noundef %10) #2 %12 = load ptr, ptr %0, align 8, !tbaa !12 %13 = tail call i32 @fsl_mc_object_free(ptr noundef %12) #2 ret void } declare i32 @drain_pool(ptr noundef) local_unnamed_addr #1 declare i32 @dpbp_disable(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dpbp_close(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fsl_mc_object_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, !11, i64 8} !7 = !{!"dpaa2_eth_priv", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_2__", !11, i64 0}
linux_drivers_net_ethernet_freescale_dpaa2_extr_dpaa2-eth.c_free_dpbp
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/l2cap/extr_l2c_fcr.c_l2c_fcr_adj_our_req_options.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/l2cap/extr_l2c_fcr.c_l2c_fcr_adj_our_req_options.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_14__ = type { i64, ptr, ptr, i64, ptr, %struct.TYPE_13__ } %struct.TYPE_13__ = type { i64, i64 } %struct.TYPE_12__ = type { i32, i64, %struct.TYPE_11__, %struct.TYPE_10__ } %struct.TYPE_11__ = type { ptr, %struct.TYPE_13__ } %struct.TYPE_10__ = type { i64, i32 } @.str = private unnamed_addr constant [76 x i8] c"l2c_fcr_adj_our_req_options - preferred_mode (%d), does not match mode (%d)\00", align 1 @L2CAP_FCR_CHAN_OPT_BASIC = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_FCR_BASIC_MODE = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [82 x i8] c"l2c_fcr_adj_our_req_options (mode %d): ERROR: No FCR options set using BASIC mode\00", align 1 @RECONFIG_FLAG = dso_local local_unnamed_addr global i32 0, align 4 @FALSE = dso_local local_unnamed_addr global ptr null, align 8 @L2CAP_FCR_STREAM_MODE = dso_local local_unnamed_addr global i64 0, align 8 @L2CAP_FCR_CHAN_OPT_STREAM = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [61 x i8] c"L2C CFG: mode is STREAM, but peer does not support; Try ERTM\00", align 1 @L2CAP_FCR_ERTM_MODE = dso_local local_unnamed_addr global i64 0, align 8 @L2CAP_FCR_CHAN_OPT_ERTM = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [60 x i8] c"L2C CFG: mode is ERTM, but peer does not support; Try BASIC\00", align 1 @.str.4 = private unnamed_addr constant [42 x i8] c"L2CAP - MTU: %u larger than buf size: %u\00", align 1 @L2CAP_DEFAULT_ERM_MPS = dso_local local_unnamed_addr global i64 0, align 8 @L2CAP_MPS_OVER_BR_EDR = dso_local local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [34 x i8] c"L2CAP - MPS %u invalid MTU: %u\00", align 1 @L2CAP_MTU_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @L2CAP_MAX_HEADER_FCS = dso_local local_unnamed_addr global i64 0, align 8 @TRUE = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @l2c_fcr_adj_our_req_options(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp ne ptr %0, null %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #3 %6 = icmp ne ptr %1, null %7 = zext i1 %6 to i32 %8 = tail call i32 @assert(i32 noundef %7) #3 %9 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 5 %10 = load i64, ptr %9, align 8, !tbaa !5 %11 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 3 %12 = load i64, ptr %11, align 8, !tbaa !10 %13 = icmp eq i64 %10, %12 br i1 %13, label %17, label %14 14: ; preds = %2 %15 = tail call i32 (ptr, i64, ...) @L2CAP_TRACE_WARNING(ptr noundef nonnull @.str, i64 noundef %12, i64 noundef %10) #3 %16 = load i64, ptr %11, align 8, !tbaa !10 store i64 %16, ptr %9, align 8, !tbaa !5 br label %17 17: ; preds = %14, %2 %18 = phi i64 [ %16, %14 ], [ %10, %2 ] %19 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 3, i32 1 %20 = load i32, ptr %19, align 8, !tbaa !16 %21 = load i32, ptr @L2CAP_FCR_CHAN_OPT_BASIC, align 4, !tbaa !17 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %35 23: ; preds = %17 %24 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 4 %25 = load ptr, ptr %24, align 8, !tbaa !18 %26 = icmp eq ptr %25, null %27 = load i64, ptr @L2CAP_FCR_BASIC_MODE, align 8, !tbaa !20 br i1 %26, label %33, label %28 28: ; preds = %23 %29 = icmp eq i64 %18, %27 br i1 %29, label %33, label %30 30: ; preds = %28 %31 = tail call i32 (ptr, i64, ...) @L2CAP_TRACE_WARNING(ptr noundef nonnull @.str.1, i64 noundef %18) #3 %32 = load i64, ptr @L2CAP_FCR_BASIC_MODE, align 8, !tbaa !20 br label %33 33: ; preds = %30, %28, %23 %34 = phi i64 [ %32, %30 ], [ %18, %28 ], [ %27, %23 ] store i64 %34, ptr %9, align 8, !tbaa !5 br label %35 35: ; preds = %33, %17 %36 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 4 %37 = load ptr, ptr %36, align 8, !tbaa !18 %38 = icmp eq ptr %37, null br i1 %38, label %122, label %39 39: ; preds = %35 %40 = load i32, ptr %0, align 8, !tbaa !21 %41 = load i32, ptr @RECONFIG_FLAG, align 4, !tbaa !17 %42 = and i32 %41, %40 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %122 44: ; preds = %39 %45 = tail call i32 @l2c_fcr_chk_chan_modes(ptr noundef nonnull %0) #3 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %44 %48 = tail call i32 @l2cu_disconnect_chnl(ptr noundef nonnull %0) #3 br label %125 49: ; preds = %44 %50 = load i32, ptr %19, align 8, !tbaa !16 %51 = load i32, ptr @L2CAP_FCR_CHAN_OPT_BASIC, align 4, !tbaa !17 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %58 53: ; preds = %49 %54 = load ptr, ptr @FALSE, align 8, !tbaa !22 store ptr %54, ptr %36, align 8, !tbaa !18 %55 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 2 store ptr %54, ptr %55, align 8, !tbaa !23 %56 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 1 store ptr %54, ptr %56, align 8, !tbaa !24 %57 = load i64, ptr %9, align 8, !tbaa !5 br label %81 58: ; preds = %49 %59 = load i64, ptr %9, align 8, !tbaa !5 %60 = load i64, ptr @L2CAP_FCR_STREAM_MODE, align 8, !tbaa !20 %61 = icmp eq i64 %59, %60 br i1 %61, label %62, label %69 62: ; preds = %58 %63 = load i32, ptr @L2CAP_FCR_CHAN_OPT_STREAM, align 4, !tbaa !17 %64 = and i32 %63, %50 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %62 %67 = tail call i32 @L2CAP_TRACE_DEBUG(ptr noundef nonnull @.str.2) #3 %68 = load i64, ptr @L2CAP_FCR_ERTM_MODE, align 8, !tbaa !20 store i64 %68, ptr %9, align 8, !tbaa !5 br label %69 69: ; preds = %66, %62, %58 %70 = phi i64 [ %68, %66 ], [ %59, %62 ], [ %59, %58 ] %71 = load i64, ptr @L2CAP_FCR_ERTM_MODE, align 8, !tbaa !20 %72 = icmp eq i64 %70, %71 br i1 %72, label %73, label %81 73: ; preds = %69 %74 = load i32, ptr %19, align 8, !tbaa !16 %75 = load i32, ptr @L2CAP_FCR_CHAN_OPT_ERTM, align 4, !tbaa !17 %76 = and i32 %75, %74 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %81 78: ; preds = %73 %79 = tail call i32 @L2CAP_TRACE_DEBUG(ptr noundef nonnull @.str.3) #3 %80 = load i64, ptr @L2CAP_FCR_BASIC_MODE, align 8, !tbaa !20 store i64 %80, ptr %9, align 8, !tbaa !5 br label %81 81: ; preds = %53, %78, %73, %69 %82 = phi i64 [ %57, %53 ], [ %80, %78 ], [ %70, %73 ], [ %70, %69 ] %83 = load i64, ptr @L2CAP_FCR_BASIC_MODE, align 8, !tbaa !20 %84 = icmp eq i64 %82, %83 br i1 %84, label %116, label %85 85: ; preds = %81 %86 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 3 %87 = load i64, ptr %86, align 8, !tbaa !25 %88 = icmp eq i64 %87, 0 br i1 %88, label %96, label %89 89: ; preds = %85 %90 = load i64, ptr %1, align 8, !tbaa !26 %91 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1 %92 = load i64, ptr %91, align 8, !tbaa !27 %93 = icmp sgt i64 %90, %92 br i1 %93, label %94, label %96 94: ; preds = %89 %95 = tail call i32 (ptr, i64, ...) @L2CAP_TRACE_WARNING(ptr noundef nonnull @.str.4, i64 noundef %90, i64 noundef %92) #3 br label %125 96: ; preds = %89, %85 %97 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 5, i32 1 %98 = load i64, ptr %97, align 8, !tbaa !28 %99 = load i64, ptr @L2CAP_DEFAULT_ERM_MPS, align 8, !tbaa !20 %100 = icmp eq i64 %98, %99 br i1 %100, label %101, label %103 101: ; preds = %96 %102 = load i64, ptr @L2CAP_MPS_OVER_BR_EDR, align 8, !tbaa !20 store i64 %102, ptr %97, align 8, !tbaa !28 br label %109 103: ; preds = %96 %104 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1 %105 = load i64, ptr %104, align 8, !tbaa !27 %106 = icmp sgt i64 %98, %105 br i1 %106, label %107, label %109 107: ; preds = %103 %108 = tail call i32 (ptr, i64, ...) @L2CAP_TRACE_WARNING(ptr noundef nonnull @.str.5, i64 noundef %98, i64 noundef %105) #3 br label %125 109: ; preds = %103, %101 %110 = phi i64 [ %98, %103 ], [ %102, %101 ] %111 = load i64, ptr @L2CAP_MTU_SIZE, align 8, !tbaa !20 %112 = load i64, ptr @L2CAP_MAX_HEADER_FCS, align 8, !tbaa !20 %113 = sub nsw i64 %111, %112 %114 = icmp sgt i64 %110, %113 br i1 %114, label %115, label %120 115: ; preds = %109 store i64 %113, ptr %97, align 8, !tbaa !28 br label %120 116: ; preds = %81 %117 = load ptr, ptr @FALSE, align 8, !tbaa !22 %118 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 2 store ptr %117, ptr %118, align 8, !tbaa !23 %119 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 1 store ptr %117, ptr %119, align 8, !tbaa !24 br label %120 120: ; preds = %109, %115, %116 %121 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2, i32 1 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %121, ptr noundef nonnull align 8 dereferenceable(16) %9, i64 16, i1 false), !tbaa.struct !29 br label %125 122: ; preds = %39, %35 %123 = load ptr, ptr @FALSE, align 8, !tbaa !22 %124 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2 store ptr %123, ptr %124, align 8, !tbaa !30 br label %125 125: ; preds = %120, %122, %107, %94, %47 %126 = phi ptr [ @FALSE, %94 ], [ @FALSE, %107 ], [ @FALSE, %47 ], [ @TRUE, %122 ], [ @TRUE, %120 ] %127 = load ptr, ptr %126, align 8, !tbaa !22 ret ptr %127 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @L2CAP_TRACE_WARNING(ptr noundef, i64 noundef, ...) local_unnamed_addr #1 declare i32 @l2c_fcr_chk_chan_modes(ptr noundef) local_unnamed_addr #1 declare i32 @l2cu_disconnect_chnl(ptr noundef) local_unnamed_addr #1 declare i32 @L2CAP_TRACE_DEBUG(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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_13__", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 40} !11 = !{!"TYPE_12__", !12, i64 0, !7, i64 8, !13, i64 16, !15, i64 40} !12 = !{!"int", !8, i64 0} !13 = !{!"TYPE_11__", !14, i64 0, !6, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!"TYPE_10__", !7, i64 0, !12, i64 8} !16 = !{!11, !12, i64 48} !17 = !{!12, !12, i64 0} !18 = !{!19, !14, i64 32} !19 = !{!"TYPE_14__", !7, i64 0, !14, i64 8, !14, i64 16, !7, i64 24, !14, i64 32, !6, i64 40} !20 = !{!7, !7, i64 0} !21 = !{!11, !12, i64 0} !22 = !{!14, !14, i64 0} !23 = !{!19, !14, i64 16} !24 = !{!19, !14, i64 8} !25 = !{!19, !7, i64 24} !26 = !{!19, !7, i64 0} !27 = !{!11, !7, i64 8} !28 = !{!6, !7, i64 8} !29 = !{i64 0, i64 8, !20, i64 8, i64 8, !20} !30 = !{!11, !14, i64 16}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/l2cap/extr_l2c_fcr.c_l2c_fcr_adj_our_req_options.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/l2cap/extr_l2c_fcr.c_l2c_fcr_adj_our_req_options.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 [76 x i8] c"l2c_fcr_adj_our_req_options - preferred_mode (%d), does not match mode (%d)\00", align 1 @L2CAP_FCR_CHAN_OPT_BASIC = common local_unnamed_addr global i32 0, align 4 @L2CAP_FCR_BASIC_MODE = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [82 x i8] c"l2c_fcr_adj_our_req_options (mode %d): ERROR: No FCR options set using BASIC mode\00", align 1 @RECONFIG_FLAG = common local_unnamed_addr global i32 0, align 4 @FALSE = common local_unnamed_addr global ptr null, align 8 @L2CAP_FCR_STREAM_MODE = common local_unnamed_addr global i64 0, align 8 @L2CAP_FCR_CHAN_OPT_STREAM = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [61 x i8] c"L2C CFG: mode is STREAM, but peer does not support; Try ERTM\00", align 1 @L2CAP_FCR_ERTM_MODE = common local_unnamed_addr global i64 0, align 8 @L2CAP_FCR_CHAN_OPT_ERTM = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [60 x i8] c"L2C CFG: mode is ERTM, but peer does not support; Try BASIC\00", align 1 @.str.4 = private unnamed_addr constant [42 x i8] c"L2CAP - MTU: %u larger than buf size: %u\00", align 1 @L2CAP_DEFAULT_ERM_MPS = common local_unnamed_addr global i64 0, align 8 @L2CAP_MPS_OVER_BR_EDR = common local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [34 x i8] c"L2CAP - MPS %u invalid MTU: %u\00", align 1 @L2CAP_MTU_SIZE = common local_unnamed_addr global i64 0, align 8 @L2CAP_MAX_HEADER_FCS = common local_unnamed_addr global i64 0, align 8 @TRUE = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @l2c_fcr_adj_our_req_options(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp ne ptr %0, null %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #3 %6 = icmp ne ptr %1, null %7 = zext i1 %6 to i32 %8 = tail call i32 @assert(i32 noundef %7) #3 %9 = getelementptr inbounds i8, ptr %1, i64 40 %10 = load i64, ptr %9, align 8, !tbaa !6 %11 = getelementptr inbounds i8, ptr %0, i64 40 %12 = load i64, ptr %11, align 8, !tbaa !11 %13 = icmp eq i64 %10, %12 br i1 %13, label %17, label %14 14: ; preds = %2 %15 = tail call i32 (ptr, i64, ...) @L2CAP_TRACE_WARNING(ptr noundef nonnull @.str, i64 noundef %12, i64 noundef %10) #3 %16 = load i64, ptr %11, align 8, !tbaa !11 store i64 %16, ptr %9, align 8, !tbaa !6 br label %17 17: ; preds = %14, %2 %18 = phi i64 [ %16, %14 ], [ %10, %2 ] %19 = getelementptr inbounds i8, ptr %0, i64 48 %20 = load i32, ptr %19, align 8, !tbaa !17 %21 = load i32, ptr @L2CAP_FCR_CHAN_OPT_BASIC, align 4, !tbaa !18 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %35 23: ; preds = %17 %24 = getelementptr inbounds i8, ptr %1, i64 32 %25 = load ptr, ptr %24, align 8, !tbaa !19 %26 = icmp eq ptr %25, null %27 = load i64, ptr @L2CAP_FCR_BASIC_MODE, align 8, !tbaa !21 br i1 %26, label %33, label %28 28: ; preds = %23 %29 = icmp eq i64 %18, %27 br i1 %29, label %33, label %30 30: ; preds = %28 %31 = tail call i32 (ptr, i64, ...) @L2CAP_TRACE_WARNING(ptr noundef nonnull @.str.1, i64 noundef %18) #3 %32 = load i64, ptr @L2CAP_FCR_BASIC_MODE, align 8, !tbaa !21 br label %33 33: ; preds = %30, %28, %23 %34 = phi i64 [ %32, %30 ], [ %18, %28 ], [ %27, %23 ] store i64 %34, ptr %9, align 8, !tbaa !6 br label %35 35: ; preds = %33, %17 %36 = getelementptr inbounds i8, ptr %1, i64 32 %37 = load ptr, ptr %36, align 8, !tbaa !19 %38 = icmp eq ptr %37, null br i1 %38, label %122, label %39 39: ; preds = %35 %40 = load i32, ptr %0, align 8, !tbaa !22 %41 = load i32, ptr @RECONFIG_FLAG, align 4, !tbaa !18 %42 = and i32 %41, %40 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %122 44: ; preds = %39 %45 = tail call i32 @l2c_fcr_chk_chan_modes(ptr noundef nonnull %0) #3 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %44 %48 = tail call i32 @l2cu_disconnect_chnl(ptr noundef nonnull %0) #3 br label %125 49: ; preds = %44 %50 = load i32, ptr %19, align 8, !tbaa !17 %51 = load i32, ptr @L2CAP_FCR_CHAN_OPT_BASIC, align 4, !tbaa !18 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %58 53: ; preds = %49 %54 = load ptr, ptr @FALSE, align 8, !tbaa !23 store ptr %54, ptr %36, align 8, !tbaa !19 %55 = getelementptr inbounds i8, ptr %1, i64 16 store ptr %54, ptr %55, align 8, !tbaa !24 %56 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %54, ptr %56, align 8, !tbaa !25 %57 = load i64, ptr %9, align 8, !tbaa !6 br label %81 58: ; preds = %49 %59 = load i64, ptr %9, align 8, !tbaa !6 %60 = load i64, ptr @L2CAP_FCR_STREAM_MODE, align 8, !tbaa !21 %61 = icmp eq i64 %59, %60 br i1 %61, label %62, label %69 62: ; preds = %58 %63 = load i32, ptr @L2CAP_FCR_CHAN_OPT_STREAM, align 4, !tbaa !18 %64 = and i32 %63, %50 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %62 %67 = tail call i32 @L2CAP_TRACE_DEBUG(ptr noundef nonnull @.str.2) #3 %68 = load i64, ptr @L2CAP_FCR_ERTM_MODE, align 8, !tbaa !21 store i64 %68, ptr %9, align 8, !tbaa !6 br label %69 69: ; preds = %66, %62, %58 %70 = phi i64 [ %68, %66 ], [ %59, %62 ], [ %59, %58 ] %71 = load i64, ptr @L2CAP_FCR_ERTM_MODE, align 8, !tbaa !21 %72 = icmp eq i64 %70, %71 br i1 %72, label %73, label %81 73: ; preds = %69 %74 = load i32, ptr %19, align 8, !tbaa !17 %75 = load i32, ptr @L2CAP_FCR_CHAN_OPT_ERTM, align 4, !tbaa !18 %76 = and i32 %75, %74 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %81 78: ; preds = %73 %79 = tail call i32 @L2CAP_TRACE_DEBUG(ptr noundef nonnull @.str.3) #3 %80 = load i64, ptr @L2CAP_FCR_BASIC_MODE, align 8, !tbaa !21 store i64 %80, ptr %9, align 8, !tbaa !6 br label %81 81: ; preds = %53, %78, %73, %69 %82 = phi i64 [ %57, %53 ], [ %80, %78 ], [ %70, %73 ], [ %70, %69 ] %83 = load i64, ptr @L2CAP_FCR_BASIC_MODE, align 8, !tbaa !21 %84 = icmp eq i64 %82, %83 br i1 %84, label %116, label %85 85: ; preds = %81 %86 = getelementptr inbounds i8, ptr %1, i64 24 %87 = load i64, ptr %86, align 8, !tbaa !26 %88 = icmp eq i64 %87, 0 br i1 %88, label %96, label %89 89: ; preds = %85 %90 = load i64, ptr %1, align 8, !tbaa !27 %91 = getelementptr inbounds i8, ptr %0, i64 8 %92 = load i64, ptr %91, align 8, !tbaa !28 %93 = icmp sgt i64 %90, %92 br i1 %93, label %94, label %96 94: ; preds = %89 %95 = tail call i32 (ptr, i64, ...) @L2CAP_TRACE_WARNING(ptr noundef nonnull @.str.4, i64 noundef %90, i64 noundef %92) #3 br label %125 96: ; preds = %89, %85 %97 = getelementptr inbounds i8, ptr %1, i64 48 %98 = load i64, ptr %97, align 8, !tbaa !29 %99 = load i64, ptr @L2CAP_DEFAULT_ERM_MPS, align 8, !tbaa !21 %100 = icmp eq i64 %98, %99 br i1 %100, label %101, label %103 101: ; preds = %96 %102 = load i64, ptr @L2CAP_MPS_OVER_BR_EDR, align 8, !tbaa !21 store i64 %102, ptr %97, align 8, !tbaa !29 br label %109 103: ; preds = %96 %104 = getelementptr inbounds i8, ptr %0, i64 8 %105 = load i64, ptr %104, align 8, !tbaa !28 %106 = icmp sgt i64 %98, %105 br i1 %106, label %107, label %109 107: ; preds = %103 %108 = tail call i32 (ptr, i64, ...) @L2CAP_TRACE_WARNING(ptr noundef nonnull @.str.5, i64 noundef %98, i64 noundef %105) #3 br label %125 109: ; preds = %103, %101 %110 = phi i64 [ %98, %103 ], [ %102, %101 ] %111 = load i64, ptr @L2CAP_MTU_SIZE, align 8, !tbaa !21 %112 = load i64, ptr @L2CAP_MAX_HEADER_FCS, align 8, !tbaa !21 %113 = sub nsw i64 %111, %112 %114 = icmp sgt i64 %110, %113 br i1 %114, label %115, label %120 115: ; preds = %109 store i64 %113, ptr %97, align 8, !tbaa !29 br label %120 116: ; preds = %81 %117 = load ptr, ptr @FALSE, align 8, !tbaa !23 %118 = getelementptr inbounds i8, ptr %1, i64 16 store ptr %117, ptr %118, align 8, !tbaa !24 %119 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %117, ptr %119, align 8, !tbaa !25 br label %120 120: ; preds = %109, %115, %116 %121 = getelementptr inbounds i8, ptr %0, i64 24 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %121, ptr noundef nonnull align 8 dereferenceable(16) %9, i64 16, i1 false), !tbaa.struct !30 br label %125 122: ; preds = %39, %35 %123 = load ptr, ptr @FALSE, align 8, !tbaa !23 %124 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %123, ptr %124, align 8, !tbaa !31 br label %125 125: ; preds = %120, %122, %107, %94, %47 %126 = phi ptr [ @FALSE, %94 ], [ @FALSE, %107 ], [ @FALSE, %47 ], [ @TRUE, %122 ], [ @TRUE, %120 ] %127 = load ptr, ptr %126, align 8, !tbaa !23 ret ptr %127 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @L2CAP_TRACE_WARNING(ptr noundef, i64 noundef, ...) local_unnamed_addr #1 declare i32 @l2c_fcr_chk_chan_modes(ptr noundef) local_unnamed_addr #1 declare i32 @l2cu_disconnect_chnl(ptr noundef) local_unnamed_addr #1 declare i32 @L2CAP_TRACE_DEBUG(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_13__", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 40} !12 = !{!"TYPE_12__", !13, i64 0, !8, i64 8, !14, i64 16, !16, i64 40} !13 = !{!"int", !9, i64 0} !14 = !{!"TYPE_11__", !15, i64 0, !7, i64 8} !15 = !{!"any pointer", !9, i64 0} !16 = !{!"TYPE_10__", !8, i64 0, !13, i64 8} !17 = !{!12, !13, i64 48} !18 = !{!13, !13, i64 0} !19 = !{!20, !15, i64 32} !20 = !{!"TYPE_14__", !8, i64 0, !15, i64 8, !15, i64 16, !8, i64 24, !15, i64 32, !7, i64 40} !21 = !{!8, !8, i64 0} !22 = !{!12, !13, i64 0} !23 = !{!15, !15, i64 0} !24 = !{!20, !15, i64 16} !25 = !{!20, !15, i64 8} !26 = !{!20, !8, i64 24} !27 = !{!20, !8, i64 0} !28 = !{!12, !8, i64 8} !29 = !{!7, !8, i64 8} !30 = !{i64 0, i64 8, !21, i64 8, i64 8, !21} !31 = !{!12, !15, i64 16}
esp-idf_components_bt_host_bluedroid_stack_l2cap_extr_l2c_fcr.c_l2c_fcr_adj_our_req_options
; ModuleID = 'AnghaBench/linux/drivers/infiniband/ulp/ipoib/extr_ipoib_main.c_ipoib_parent_unregister_pre.c' source_filename = "AnghaBench/linux/drivers/infiniband/ulp/ipoib/extr_ipoib_main.c_ipoib_parent_unregister_pre.c" target datalayout = "e-m:e-p270:32:32-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.ipoib_dev_priv = type { i32, ptr } @IFF_UP = dso_local local_unnamed_addr global i32 0, align 4 @ipoib_workqueue = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ipoib_parent_unregister_pre], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ipoib_parent_unregister_pre(ptr noundef %0) #0 { %2 = tail call ptr @ipoib_priv(ptr noundef %0) #2 %3 = tail call i32 (...) @rtnl_lock() #2 %4 = getelementptr inbounds %struct.ipoib_dev_priv, ptr %2, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = load i32, ptr @IFF_UP, align 4, !tbaa !13 %8 = xor i32 %7, -1 %9 = and i32 %6, %8 %10 = tail call i32 @dev_change_flags(ptr noundef nonnull %5, i32 noundef %9, ptr noundef null) #2 %11 = tail call i32 (...) @rtnl_unlock() #2 %12 = tail call i32 @ib_unregister_event_handler(ptr noundef %2) #2 %13 = load i32, ptr @ipoib_workqueue, align 4, !tbaa !13 %14 = tail call i32 @flush_workqueue(i32 noundef %13) #2 ret void } declare ptr @ipoib_priv(ptr noundef) local_unnamed_addr #1 declare i32 @rtnl_lock(...) local_unnamed_addr #1 declare i32 @dev_change_flags(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtnl_unlock(...) local_unnamed_addr #1 declare i32 @ib_unregister_event_handler(ptr noundef) local_unnamed_addr #1 declare i32 @flush_workqueue(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 = !{!"ipoib_dev_priv", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/ulp/ipoib/extr_ipoib_main.c_ipoib_parent_unregister_pre.c' source_filename = "AnghaBench/linux/drivers/infiniband/ulp/ipoib/extr_ipoib_main.c_ipoib_parent_unregister_pre.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IFF_UP = common local_unnamed_addr global i32 0, align 4 @ipoib_workqueue = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ipoib_parent_unregister_pre], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ipoib_parent_unregister_pre(ptr noundef %0) #0 { %2 = tail call ptr @ipoib_priv(ptr noundef %0) #2 %3 = tail call i32 @rtnl_lock() #2 %4 = getelementptr inbounds i8, ptr %2, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = load i32, ptr @IFF_UP, align 4, !tbaa !14 %8 = xor i32 %7, -1 %9 = and i32 %6, %8 %10 = tail call i32 @dev_change_flags(ptr noundef nonnull %5, i32 noundef %9, ptr noundef null) #2 %11 = tail call i32 @rtnl_unlock() #2 %12 = tail call i32 @ib_unregister_event_handler(ptr noundef %2) #2 %13 = load i32, ptr @ipoib_workqueue, align 4, !tbaa !14 %14 = tail call i32 @flush_workqueue(i32 noundef %13) #2 ret void } declare ptr @ipoib_priv(ptr noundef) local_unnamed_addr #1 declare i32 @rtnl_lock(...) local_unnamed_addr #1 declare i32 @dev_change_flags(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtnl_unlock(...) local_unnamed_addr #1 declare i32 @ib_unregister_event_handler(ptr noundef) local_unnamed_addr #1 declare i32 @flush_workqueue(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 = !{!"ipoib_dev_priv", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_2__", !8, i64 0} !14 = !{!8, !8, i64 0}
linux_drivers_infiniband_ulp_ipoib_extr_ipoib_main.c_ipoib_parent_unregister_pre
; ModuleID = 'AnghaBench/stb/extr_stb_vorbis.c_get_seek_page_info.c' source_filename = "AnghaBench/stb/extr_stb_vorbis.c_get_seek_page_info.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i8, i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @get_seek_page_info], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @get_seek_page_info(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = alloca [27 x i8], align 16 %4 = alloca [255 x i8], align 16 call void @llvm.lifetime.start.p0(i64 27, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 255, ptr nonnull %4) #4 %5 = tail call i64 @stb_vorbis_get_file_offset(ptr noundef %0) #4 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 store i64 %5, ptr %6, align 8, !tbaa !5 %7 = call i32 @getn(ptr noundef %0, ptr noundef nonnull %3, i8 noundef signext 27) #4 %8 = load <4 x i8>, ptr %3, align 16 %9 = freeze <4 x i8> %8 %10 = bitcast <4 x i8> %9 to i32 %11 = icmp eq i32 %10, 1399285583 br i1 %11, label %12, label %61 12: ; preds = %2 %13 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 26 %14 = load i8, ptr %13, align 2, !tbaa !10 %15 = call i32 @getn(ptr noundef %0, ptr noundef nonnull %4, i8 noundef signext %14) #4 %16 = load i8, ptr %13, align 2, !tbaa !10 %17 = icmp sgt i8 %16, 0 br i1 %17, label %18, label %51 18: ; preds = %12 %19 = zext nneg i8 %16 to i64 %20 = icmp ult i8 %16, 4 br i1 %20, label %35, label %21 21: ; preds = %18 %22 = and i64 %19, 124 br label %23 23: ; preds = %23, %21 %24 = phi i64 [ 0, %21 ], [ %30, %23 ] %25 = phi <4 x i32> [ zeroinitializer, %21 ], [ %29, %23 ] %26 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 %24 %27 = load <4 x i8>, ptr %26, align 4, !tbaa !10 %28 = sext <4 x i8> %27 to <4 x i32> %29 = add <4 x i32> %25, %28 %30 = add nuw i64 %24, 4 %31 = icmp eq i64 %30, %22 br i1 %31, label %32, label %23, !llvm.loop !11 32: ; preds = %23 %33 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %29) %34 = icmp eq i64 %22, %19 br i1 %34, label %47, label %35 35: ; preds = %18, %32 %36 = phi i64 [ 0, %18 ], [ %22, %32 ] %37 = phi i32 [ 0, %18 ], [ %33, %32 ] br label %38 38: ; preds = %35, %38 %39 = phi i64 [ %45, %38 ], [ %36, %35 ] %40 = phi i32 [ %44, %38 ], [ %37, %35 ] %41 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 %39 %42 = load i8, ptr %41, align 1, !tbaa !10 %43 = sext i8 %42 to i32 %44 = add nsw i32 %40, %43 %45 = add nuw nsw i64 %39, 1 %46 = icmp eq i64 %45, %19 br i1 %46, label %47, label %38, !llvm.loop !15 47: ; preds = %38, %32 %48 = phi i32 [ %33, %32 ], [ %44, %38 ] %49 = sext i32 %48 to i64 %50 = add nsw i64 %49, 27 br label %51 51: ; preds = %47, %12 %52 = phi i64 [ 27, %12 ], [ %50, %47 ] %53 = load i64, ptr %6, align 8, !tbaa !5 %54 = sext i8 %16 to i64 %55 = add nsw i64 %52, %54 %56 = add i64 %55, %53 %57 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2 store i64 %56, ptr %57, align 8, !tbaa !16 %58 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 6 %59 = load i8, ptr %58, align 2, !tbaa !10 store i8 %59, ptr %1, align 8, !tbaa !17 %60 = call i32 @set_file_offset(ptr noundef %0, i64 noundef %53) #4 br label %61 61: ; preds = %2, %51 %62 = phi i32 [ 1, %51 ], [ 0, %2 ] call void @llvm.lifetime.end.p0(i64 255, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 27, ptr nonnull %3) #4 ret i32 %62 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @stb_vorbis_get_file_offset(ptr noundef) local_unnamed_addr #2 declare i32 @getn(ptr noundef, ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i32 @set_file_offset(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !9, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !9, i64 8, !9, i64 16} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!"long", !7, i64 0} !10 = !{!7, !7, i64 0} !11 = distinct !{!11, !12, !13, !14} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!"llvm.loop.isvectorized", i32 1} !14 = !{!"llvm.loop.unroll.runtime.disable"} !15 = distinct !{!15, !12, !14, !13} !16 = !{!6, !9, i64 16} !17 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/stb/extr_stb_vorbis.c_get_seek_page_info.c' source_filename = "AnghaBench/stb/extr_stb_vorbis.c_get_seek_page_info.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_seek_page_info], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @get_seek_page_info(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = alloca [27 x i8], align 4 %4 = alloca [255 x i8], align 8 call void @llvm.lifetime.start.p0(i64 27, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 255, ptr nonnull %4) #4 %5 = tail call i64 @stb_vorbis_get_file_offset(ptr noundef %0) #4 %6 = getelementptr inbounds i8, ptr %1, i64 8 store i64 %5, ptr %6, align 8, !tbaa !6 %7 = call i32 @getn(ptr noundef %0, ptr noundef nonnull %3, i8 noundef signext 27) #4 %8 = load <4 x i8>, ptr %3, align 4 %9 = freeze <4 x i8> %8 %10 = bitcast <4 x i8> %9 to i32 %11 = icmp eq i32 %10, 1399285583 br i1 %11, label %12, label %106 12: ; preds = %2 %13 = getelementptr inbounds i8, ptr %3, i64 26 %14 = load i8, ptr %13, align 2, !tbaa !11 %15 = call i32 @getn(ptr noundef %0, ptr noundef nonnull %4, i8 noundef signext %14) #4 %16 = load i8, ptr %13, align 2, !tbaa !11 %17 = icmp sgt i8 %16, 0 br i1 %17, label %18, label %96 18: ; preds = %12 %19 = zext nneg i8 %16 to i64 %20 = icmp ult i8 %16, 32 br i1 %20, label %80, label %21 21: ; preds = %18 %22 = and i64 %19, 96 %23 = getelementptr inbounds i8, ptr %4, i64 8 %24 = getelementptr inbounds i8, ptr %4, i64 16 %25 = getelementptr inbounds i8, ptr %4, i64 24 %26 = load <8 x i8>, ptr %4, align 8, !tbaa !11 %27 = load <8 x i8>, ptr %23, align 8, !tbaa !11 %28 = load <8 x i8>, ptr %24, align 8, !tbaa !11 %29 = load <8 x i8>, ptr %25, align 8, !tbaa !11 %30 = sext <8 x i8> %26 to <8 x i32> %31 = sext <8 x i8> %27 to <8 x i32> %32 = sext <8 x i8> %28 to <8 x i32> %33 = sext <8 x i8> %29 to <8 x i32> %34 = icmp eq i64 %22, 32 br i1 %34, label %70, label %35, !llvm.loop !12 35: ; preds = %21 %36 = getelementptr inbounds i8, ptr %4, i64 32 %37 = getelementptr inbounds i8, ptr %4, i64 40 %38 = getelementptr inbounds i8, ptr %4, i64 48 %39 = getelementptr inbounds i8, ptr %4, i64 56 %40 = load <8 x i8>, ptr %36, align 8, !tbaa !11 %41 = load <8 x i8>, ptr %37, align 8, !tbaa !11 %42 = load <8 x i8>, ptr %38, align 8, !tbaa !11 %43 = load <8 x i8>, ptr %39, align 8, !tbaa !11 %44 = sext <8 x i8> %40 to <8 x i32> %45 = sext <8 x i8> %41 to <8 x i32> %46 = sext <8 x i8> %42 to <8 x i32> %47 = sext <8 x i8> %43 to <8 x i32> %48 = add nsw <8 x i32> %30, %44 %49 = add nsw <8 x i32> %31, %45 %50 = add nsw <8 x i32> %32, %46 %51 = add nsw <8 x i32> %33, %47 %52 = icmp eq i64 %22, 64 br i1 %52, label %70, label %53, !llvm.loop !12 53: ; preds = %35 %54 = getelementptr inbounds i8, ptr %4, i64 64 %55 = getelementptr inbounds i8, ptr %4, i64 72 %56 = getelementptr inbounds i8, ptr %4, i64 80 %57 = getelementptr inbounds i8, ptr %4, i64 88 %58 = load <8 x i8>, ptr %54, align 8, !tbaa !11 %59 = load <8 x i8>, ptr %55, align 8, !tbaa !11 %60 = load <8 x i8>, ptr %56, align 8, !tbaa !11 %61 = load <8 x i8>, ptr %57, align 8, !tbaa !11 %62 = sext <8 x i8> %58 to <8 x i32> %63 = sext <8 x i8> %59 to <8 x i32> %64 = sext <8 x i8> %60 to <8 x i32> %65 = sext <8 x i8> %61 to <8 x i32> %66 = add nsw <8 x i32> %48, %62 %67 = add nsw <8 x i32> %49, %63 %68 = add nsw <8 x i32> %50, %64 %69 = add nsw <8 x i32> %51, %65 br label %70 70: ; preds = %53, %35, %21 %71 = phi <8 x i32> [ %30, %21 ], [ %48, %35 ], [ %66, %53 ] %72 = phi <8 x i32> [ %31, %21 ], [ %49, %35 ], [ %67, %53 ] %73 = phi <8 x i32> [ %32, %21 ], [ %50, %35 ], [ %68, %53 ] %74 = phi <8 x i32> [ %33, %21 ], [ %51, %35 ], [ %69, %53 ] %75 = add nsw <8 x i32> %72, %71 %76 = add nsw <8 x i32> %73, %75 %77 = add nsw <8 x i32> %74, %76 %78 = call i32 @llvm.vector.reduce.add.v8i32(<8 x i32> %77) %79 = icmp eq i64 %22, %19 br i1 %79, label %92, label %80 80: ; preds = %70, %18 %81 = phi i64 [ 0, %18 ], [ %22, %70 ] %82 = phi i32 [ 0, %18 ], [ %78, %70 ] br label %83 83: ; preds = %80, %83 %84 = phi i64 [ %90, %83 ], [ %81, %80 ] %85 = phi i32 [ %89, %83 ], [ %82, %80 ] %86 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 %84 %87 = load i8, ptr %86, align 1, !tbaa !11 %88 = sext i8 %87 to i32 %89 = add nsw i32 %85, %88 %90 = add nuw nsw i64 %84, 1 %91 = icmp eq i64 %90, %19 br i1 %91, label %92, label %83, !llvm.loop !16 92: ; preds = %83, %70 %93 = phi i32 [ %78, %70 ], [ %89, %83 ] %94 = sext i32 %93 to i64 %95 = add nsw i64 %94, 27 br label %96 96: ; preds = %92, %12 %97 = phi i64 [ 27, %12 ], [ %95, %92 ] %98 = load i64, ptr %6, align 8, !tbaa !6 %99 = sext i8 %16 to i64 %100 = add nsw i64 %97, %99 %101 = add i64 %100, %98 %102 = getelementptr inbounds i8, ptr %1, i64 16 store i64 %101, ptr %102, align 8, !tbaa !17 %103 = getelementptr inbounds i8, ptr %3, i64 6 %104 = load i8, ptr %103, align 2, !tbaa !11 store i8 %104, ptr %1, align 8, !tbaa !18 %105 = call i32 @set_file_offset(ptr noundef %0, i64 noundef %98) #4 br label %106 106: ; preds = %2, %96 %107 = phi i32 [ 1, %96 ], [ 0, %2 ] call void @llvm.lifetime.end.p0(i64 255, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 27, ptr nonnull %3) #4 ret i32 %107 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @stb_vorbis_get_file_offset(ptr noundef) local_unnamed_addr #2 declare i32 @getn(ptr noundef, ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i32 @set_file_offset(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.add.v8i32(<8 x i32>) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !10, i64 8} !7 = !{!"TYPE_3__", !8, i64 0, !10, i64 8, !10, i64 16} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!8, !8, i64 0} !12 = distinct !{!12, !13, !14, !15} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!"llvm.loop.isvectorized", i32 1} !15 = !{!"llvm.loop.unroll.runtime.disable"} !16 = distinct !{!16, !13, !15, !14} !17 = !{!7, !10, i64 16} !18 = !{!7, !8, i64 0}
stb_extr_stb_vorbis.c_get_seek_page_info
; ModuleID = 'AnghaBench/linux/fs/fat/extr_dir.c_fat_get_short_entry.c' source_filename = "AnghaBench/linux/fs/fat/extr_dir.c_fat_get_short_entry.c" target datalayout = "e-m:e-p270:32:32-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.msdos_dir_entry = type { i32, i32 } @ATTR_VOLUME = dso_local local_unnamed_addr global i32 0, align 4 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fat_get_short_entry], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fat_get_short_entry(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = tail call i64 @fat_get_entry(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 %6 = icmp sgt i64 %5, -1 br i1 %6, label %7, label %22 7: ; preds = %4, %19 %8 = load ptr, ptr %3, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.msdos_dir_entry, ptr %8, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !9 %11 = tail call i32 @IS_FREE(i32 noundef %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %7 %14 = load ptr, ptr %3, align 8, !tbaa !5 %15 = load i32, ptr %14, align 4, !tbaa !12 %16 = load i32, ptr @ATTR_VOLUME, align 4, !tbaa !13 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %13, %7 %20 = tail call i64 @fat_get_entry(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3) #2 %21 = icmp sgt i64 %20, -1 br i1 %21, label %7, label %22, !llvm.loop !14 22: ; preds = %19, %4 %23 = load i32, ptr @ENOENT, align 4, !tbaa !13 %24 = sub nsw i32 0, %23 br label %25 25: ; preds = %13, %22 %26 = phi i32 [ %24, %22 ], [ 0, %13 ] ret i32 %26 } declare i64 @fat_get_entry(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IS_FREE(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 4} !10 = !{!"msdos_dir_entry", !11, i64 0, !11, i64 4} !11 = !{!"int", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!11, !11, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/fs/fat/extr_dir.c_fat_get_short_entry.c' source_filename = "AnghaBench/linux/fs/fat/extr_dir.c_fat_get_short_entry.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ATTR_VOLUME = common local_unnamed_addr global i32 0, align 4 @ENOENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fat_get_short_entry], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @fat_get_short_entry(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = tail call i64 @fat_get_entry(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 %6 = icmp sgt i64 %5, -1 br i1 %6, label %7, label %22 7: ; preds = %4, %19 %8 = load ptr, ptr %3, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %8, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = tail call i32 @IS_FREE(i32 noundef %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %7 %14 = load ptr, ptr %3, align 8, !tbaa !6 %15 = load i32, ptr %14, align 4, !tbaa !13 %16 = load i32, ptr @ATTR_VOLUME, align 4, !tbaa !14 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %13, %7 %20 = tail call i64 @fat_get_entry(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3) #2 %21 = icmp sgt i64 %20, -1 br i1 %21, label %7, label %22, !llvm.loop !15 22: ; preds = %19, %4 %23 = load i32, ptr @ENOENT, align 4, !tbaa !14 %24 = sub nsw i32 0, %23 br label %25 25: ; preds = %13, %22 %26 = phi i32 [ %24, %22 ], [ 0, %13 ] ret i32 %26 } declare i64 @fat_get_entry(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IS_FREE(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"msdos_dir_entry", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!12, !12, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
linux_fs_fat_extr_dir.c_fat_get_short_entry
; ModuleID = 'AnghaBench/RetroArch/libretro-common/glsym/extr_rglgen.c_rglgen_resolve_symbols_custom.c' source_filename = "AnghaBench/RetroArch/libretro-common/glsym/extr_rglgen.c_rglgen_resolve_symbols_custom.c" target datalayout = "e-m:e-p270:32:32-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.rglgen_sym_map = type { i32, i64 } ; Function Attrs: nounwind uwtable define dso_local void @rglgen_resolve_symbols_custom(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = getelementptr inbounds %struct.rglgen_sym_map, ptr %1, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %17, label %7 7: ; preds = %2, %7 %8 = phi i64 [ %15, %7 ], [ %5, %2 ] %9 = phi ptr [ %13, %7 ], [ %1, %2 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %10 = call i32 %0(i64 noundef %8) #3 store i32 %10, ptr %3, align 4, !tbaa !11 %11 = load i32, ptr %9, align 8, !tbaa !12 %12 = call i32 @memcpy(i32 noundef %11, ptr noundef nonnull %3, i32 noundef 4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 %13 = getelementptr inbounds %struct.rglgen_sym_map, ptr %9, i64 1 %14 = getelementptr inbounds %struct.rglgen_sym_map, ptr %9, i64 1, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !5 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %7, !llvm.loop !13 17: ; preds = %7, %2 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"rglgen_sym_map", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/RetroArch/libretro-common/glsym/extr_rglgen.c_rglgen_resolve_symbols_custom.c' source_filename = "AnghaBench/RetroArch/libretro-common/glsym/extr_rglgen.c_rglgen_resolve_symbols_custom.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 @rglgen_resolve_symbols_custom(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %17, label %7 7: ; preds = %2, %7 %8 = phi i64 [ %15, %7 ], [ %5, %2 ] %9 = phi ptr [ %13, %7 ], [ %1, %2 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %10 = call i32 %0(i64 noundef %8) #3 store i32 %10, ptr %3, align 4, !tbaa !12 %11 = load i32, ptr %9, align 8, !tbaa !13 %12 = call i32 @memcpy(i32 noundef %11, ptr noundef nonnull %3, i32 noundef 4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 %13 = getelementptr inbounds i8, ptr %9, i64 16 %14 = getelementptr inbounds i8, ptr %9, i64 24 %15 = load i64, ptr %14, align 8, !tbaa !6 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %7, !llvm.loop !14 17: ; preds = %7, %2 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"rglgen_sym_map", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
RetroArch_libretro-common_glsym_extr_rglgen.c_rglgen_resolve_symbols_custom
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_intr.c_intr_isrc_assign_cpu.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_intr.c_intr_isrc_assign_cpu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @INTR_ISRCF_BOUND = dso_local local_unnamed_addr global i32 0, align 4 @NOCPU = dso_local local_unnamed_addr global i32 0, align 4 @intr_irq_root_dev = dso_local local_unnamed_addr global i64 0, align 8 @irq_assign_cpu = dso_local local_unnamed_addr global i64 0, align 8 @isrc_table_lock = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @intr_isrc_assign_cpu], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @intr_isrc_assign_cpu(ptr nocapture readnone %0, i32 %1) #0 { %3 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_intr.c_intr_isrc_assign_cpu.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_intr.c_intr_isrc_assign_cpu.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @INTR_ISRCF_BOUND = common local_unnamed_addr global i32 0, align 4 @NOCPU = common local_unnamed_addr global i32 0, align 4 @intr_irq_root_dev = common local_unnamed_addr global i64 0, align 8 @irq_assign_cpu = common local_unnamed_addr global i64 0, align 8 @isrc_table_lock = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @intr_isrc_assign_cpu], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @intr_isrc_assign_cpu(ptr nocapture readnone %0, i32 %1) #0 { %3 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_kern_extr_subr_intr.c_intr_isrc_assign_cpu
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_iseries_veth.c_veth_stack_push.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_iseries_veth.c_veth_stack_push.c" target datalayout = "e-m:e-p270:32:32-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 @veth_stack_push], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal void @veth_stack_push(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 store ptr %3, ptr %1, align 8, !tbaa !10 store ptr %1, ptr %0, align 8, !tbaa !5 ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"veth_lpar_connection", !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 = !{!"veth_msg", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_iseries_veth.c_veth_stack_push.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_iseries_veth.c_veth_stack_push.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 @veth_stack_push], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal void @veth_stack_push(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 store ptr %3, ptr %1, align 8, !tbaa !11 store ptr %1, ptr %0, align 8, !tbaa !6 ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"veth_lpar_connection", !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 = !{!"veth_msg", !8, i64 0}
fastsocket_kernel_drivers_net_extr_iseries_veth.c_veth_stack_push
; ModuleID = 'AnghaBench/sqlcipher/src/extr_expr.c_sqlite3ExprVectorSize.c' source_filename = "AnghaBench/sqlcipher/src/extr_expr.c_sqlite3ExprVectorSize.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { i64, i64, %struct.TYPE_10__ } %struct.TYPE_10__ = type { ptr, ptr } @TK_REGISTER = dso_local local_unnamed_addr global i64 0, align 8 @TK_VECTOR = dso_local local_unnamed_addr global i64 0, align 8 @TK_SELECT = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @sqlite3ExprVectorSize(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @TK_REGISTER, align 8, !tbaa !12 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !13 br label %8 8: ; preds = %5, %1 %9 = phi i64 [ %7, %5 ], [ %2, %1 ] %10 = load i64, ptr @TK_VECTOR, align 8, !tbaa !12 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2, i32 1 br label %20 14: ; preds = %8 %15 = load i64, ptr @TK_SELECT, align 8, !tbaa !12 %16 = icmp eq i64 %9, %15 br i1 %16, label %17, label %24 17: ; preds = %14 %18 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2 %19 = load ptr, ptr %18, align 8, !tbaa !14 br label %20 20: ; preds = %12, %17 %21 = phi ptr [ %19, %17 ], [ %13, %12 ] %22 = load ptr, ptr %21, align 8, !tbaa !15 %23 = load i32, ptr %22, align 4, !tbaa !16 br label %24 24: ; preds = %20, %14 %25 = phi i32 [ 1, %14 ], [ %23, %20 ] ret i32 %25 } 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 0} !6 = !{!"TYPE_11__", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_10__", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 8} !14 = !{!6, !11, i64 16} !15 = !{!11, !11, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/sqlcipher/src/extr_expr.c_sqlite3ExprVectorSize.c' source_filename = "AnghaBench/sqlcipher/src/extr_expr.c_sqlite3ExprVectorSize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TK_REGISTER = common local_unnamed_addr global i64 0, align 8 @TK_VECTOR = common local_unnamed_addr global i64 0, align 8 @TK_SELECT = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define i32 @sqlite3ExprVectorSize(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @TK_REGISTER, align 8, !tbaa !13 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !14 br label %8 8: ; preds = %5, %1 %9 = phi i64 [ %7, %5 ], [ %2, %1 ] %10 = load i64, ptr @TK_VECTOR, align 8, !tbaa !13 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = getelementptr inbounds i8, ptr %0, i64 24 br label %20 14: ; preds = %8 %15 = load i64, ptr @TK_SELECT, align 8, !tbaa !13 %16 = icmp eq i64 %9, %15 br i1 %16, label %17, label %24 17: ; preds = %14 %18 = getelementptr inbounds i8, ptr %0, i64 16 %19 = load ptr, ptr %18, align 8, !tbaa !15 br label %20 20: ; preds = %12, %17 %21 = phi ptr [ %19, %17 ], [ %13, %12 ] %22 = load ptr, ptr %21, align 8, !tbaa !16 %23 = load i32, ptr %22, align 4, !tbaa !17 br label %24 24: ; preds = %20, %14 %25 = phi i32 [ 1, %14 ], [ %23, %20 ] ret i32 %25 } 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 0} !7 = !{!"TYPE_11__", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_10__", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 8} !15 = !{!7, !12, i64 16} !16 = !{!12, !12, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"int", !9, i64 0}
sqlcipher_src_extr_expr.c_sqlite3ExprVectorSize
; ModuleID = 'AnghaBench/linux/drivers/infiniband/ulp/srpt/extr_ib_srpt.c_srpt_tpg_attrib_srp_sq_size_store.c' source_filename = "AnghaBench/linux/drivers/infiniband/ulp/srpt/extr_ib_srpt.c_srpt_tpg_attrib_srp_sq_size_store.c" target datalayout = "e-m:e-p270:32:32-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 [32 x i8] c"kstrtoul() failed with ret: %d\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i64 0, align 8 @MAX_SRPT_SRQ_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [40 x i8] c"val: %lu exceeds MAX_SRPT_SRQ_SIZE: %d\0A\00", align 1 @MIN_SRPT_SRQ_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [45 x i8] c"val: %lu smaller than MIN_SRPT_SRQ_SIZE: %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @srpt_tpg_attrib_srp_sq_size_store], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @srpt_tpg_attrib_srp_sq_size_store(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = tail call ptr @attrib_to_tpg(ptr noundef %0) #3 %6 = tail call ptr @srpt_tpg_to_sport(ptr noundef %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %7 = call i32 @kstrtoul(ptr noundef %1, i32 noundef 0, ptr noundef nonnull %4) #3 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %3 %10 = sext i32 %7 to i64 %11 = call i32 (ptr, i64, ...) @pr_err(ptr noundef nonnull @.str, i64 noundef %10) #3 %12 = load i64, ptr @EINVAL, align 8, !tbaa !5 %13 = sub i64 0, %12 br label %30 14: ; preds = %3 %15 = load i64, ptr %4, align 8, !tbaa !5 %16 = load i64, ptr @MAX_SRPT_SRQ_SIZE, align 8, !tbaa !5 %17 = icmp ugt i64 %15, %16 br i1 %17, label %18, label %22 18: ; preds = %14 %19 = call i32 (ptr, i64, ...) @pr_err(ptr noundef nonnull @.str.1, i64 noundef %15, i64 noundef %16) #3 %20 = load i64, ptr @EINVAL, align 8, !tbaa !5 %21 = sub i64 0, %20 br label %30 22: ; preds = %14 %23 = load i64, ptr @MIN_SRPT_SRQ_SIZE, align 8, !tbaa !5 %24 = icmp ult i64 %15, %23 br i1 %24, label %25, label %29 25: ; preds = %22 %26 = call i32 (ptr, i64, ...) @pr_err(ptr noundef nonnull @.str.2, i64 noundef %15, i64 noundef %23) #3 %27 = load i64, ptr @EINVAL, align 8, !tbaa !5 %28 = sub i64 0, %27 br label %30 29: ; preds = %22 store i64 %15, ptr %6, align 8, !tbaa !9 br label %30 30: ; preds = %29, %25, %18, %9 %31 = phi i64 [ %13, %9 ], [ %21, %18 ], [ %28, %25 ], [ %2, %29 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i64 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @attrib_to_tpg(ptr noundef) local_unnamed_addr #2 declare ptr @srpt_tpg_to_sport(ptr noundef) local_unnamed_addr #2 declare i32 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef, i64 noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"srpt_port", !11, i64 0} !11 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/ulp/srpt/extr_ib_srpt.c_srpt_tpg_attrib_srp_sq_size_store.c' source_filename = "AnghaBench/linux/drivers/infiniband/ulp/srpt/extr_ib_srpt.c_srpt_tpg_attrib_srp_sq_size_store.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [32 x i8] c"kstrtoul() failed with ret: %d\0A\00", align 1 @EINVAL = common local_unnamed_addr global i64 0, align 8 @MAX_SRPT_SRQ_SIZE = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [40 x i8] c"val: %lu exceeds MAX_SRPT_SRQ_SIZE: %d\0A\00", align 1 @MIN_SRPT_SRQ_SIZE = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [45 x i8] c"val: %lu smaller than MIN_SRPT_SRQ_SIZE: %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @srpt_tpg_attrib_srp_sq_size_store], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @srpt_tpg_attrib_srp_sq_size_store(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = tail call ptr @attrib_to_tpg(ptr noundef %0) #3 %6 = tail call ptr @srpt_tpg_to_sport(ptr noundef %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %7 = call i32 @kstrtoul(ptr noundef %1, i32 noundef 0, ptr noundef nonnull %4) #3 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %3 %10 = sext i32 %7 to i64 %11 = call i32 (ptr, i64, ...) @pr_err(ptr noundef nonnull @.str, i64 noundef %10) #3 %12 = load i64, ptr @EINVAL, align 8, !tbaa !6 %13 = sub i64 0, %12 br label %30 14: ; preds = %3 %15 = load i64, ptr %4, align 8, !tbaa !6 %16 = load i64, ptr @MAX_SRPT_SRQ_SIZE, align 8, !tbaa !6 %17 = icmp ugt i64 %15, %16 br i1 %17, label %18, label %22 18: ; preds = %14 %19 = call i32 (ptr, i64, ...) @pr_err(ptr noundef nonnull @.str.1, i64 noundef %15, i64 noundef %16) #3 %20 = load i64, ptr @EINVAL, align 8, !tbaa !6 %21 = sub i64 0, %20 br label %30 22: ; preds = %14 %23 = load i64, ptr @MIN_SRPT_SRQ_SIZE, align 8, !tbaa !6 %24 = icmp ult i64 %15, %23 br i1 %24, label %25, label %29 25: ; preds = %22 %26 = call i32 (ptr, i64, ...) @pr_err(ptr noundef nonnull @.str.2, i64 noundef %15, i64 noundef %23) #3 %27 = load i64, ptr @EINVAL, align 8, !tbaa !6 %28 = sub i64 0, %27 br label %30 29: ; preds = %22 store i64 %15, ptr %6, align 8, !tbaa !10 br label %30 30: ; preds = %29, %25, %18, %9 %31 = phi i64 [ %13, %9 ], [ %21, %18 ], [ %28, %25 ], [ %2, %29 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i64 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @attrib_to_tpg(ptr noundef) local_unnamed_addr #2 declare ptr @srpt_tpg_to_sport(ptr noundef) local_unnamed_addr #2 declare i32 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef, i64 noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"srpt_port", !12, i64 0} !12 = !{!"TYPE_2__", !7, i64 0}
linux_drivers_infiniband_ulp_srpt_extr_ib_srpt.c_srpt_tpg_attrib_srp_sq_size_store
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_main.c_bnx2x_zero_sp_sb.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_main.c_bnx2x_zero_sp_sb.c" target datalayout = "e-m:e-p270:32:32-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.hc_sp_status_block_data = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @SB_DISABLED = dso_local local_unnamed_addr global i32 0, align 4 @BAR_CSTRORM_INTMEM = dso_local local_unnamed_addr global i64 0, align 8 @CSTORM_SP_STATUS_BLOCK_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @CSTORM_SP_SYNC_BLOCK_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2x_zero_sp_sb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bnx2x_zero_sp_sb(ptr noundef %0) #0 { %2 = alloca %struct.hc_sp_status_block_data, align 4 %3 = tail call i32 @BP_FUNC(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %4 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 8) #3 %5 = load i32, ptr @SB_DISABLED, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.hc_sp_status_block_data, ptr %2, i64 0, i32 1 store i32 %5, ptr %6, align 4, !tbaa !9 store i32 0, ptr %2, align 4, !tbaa !12 %7 = call i32 @bnx2x_wr_sp_sb_data(ptr noundef %0, ptr noundef nonnull %2) #3 %8 = load i64, ptr @BAR_CSTRORM_INTMEM, align 8, !tbaa !13 %9 = call i64 @CSTORM_SP_STATUS_BLOCK_OFFSET(i32 noundef %3) #3 %10 = add nsw i64 %9, %8 %11 = load i32, ptr @CSTORM_SP_STATUS_BLOCK_SIZE, align 4, !tbaa !5 %12 = call i32 @bnx2x_fill(ptr noundef %0, i64 noundef %10, i32 noundef 0, i32 noundef %11) #3 %13 = load i64, ptr @BAR_CSTRORM_INTMEM, align 8, !tbaa !13 %14 = call i64 @CSTORM_SP_SYNC_BLOCK_OFFSET(i32 noundef %3) #3 %15 = add nsw i64 %14, %13 %16 = load i32, ptr @CSTORM_SP_SYNC_BLOCK_SIZE, align 4, !tbaa !5 %17 = call i32 @bnx2x_fill(ptr noundef %0, i64 noundef %15, i32 noundef 0, i32 noundef %16) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BP_FUNC(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bnx2x_wr_sp_sb_data(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @bnx2x_fill(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @CSTORM_SP_STATUS_BLOCK_OFFSET(i32 noundef) local_unnamed_addr #2 declare i64 @CSTORM_SP_SYNC_BLOCK_OFFSET(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"hc_sp_status_block_data", !11, i64 0, !6, i64 4} !11 = !{!"TYPE_2__", !6, i64 0} !12 = !{!10, !6, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_main.c_bnx2x_zero_sp_sb.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_main.c_bnx2x_zero_sp_sb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.hc_sp_status_block_data = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @SB_DISABLED = common local_unnamed_addr global i32 0, align 4 @BAR_CSTRORM_INTMEM = common local_unnamed_addr global i64 0, align 8 @CSTORM_SP_STATUS_BLOCK_SIZE = common local_unnamed_addr global i32 0, align 4 @CSTORM_SP_SYNC_BLOCK_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bnx2x_zero_sp_sb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bnx2x_zero_sp_sb(ptr noundef %0) #0 { %2 = alloca %struct.hc_sp_status_block_data, align 4 %3 = tail call i32 @BP_FUNC(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %4 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 8) #3 %5 = load i32, ptr @SB_DISABLED, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %5, ptr %6, align 4, !tbaa !10 store i32 0, ptr %2, align 4, !tbaa !13 %7 = call i32 @bnx2x_wr_sp_sb_data(ptr noundef %0, ptr noundef nonnull %2) #3 %8 = load i64, ptr @BAR_CSTRORM_INTMEM, align 8, !tbaa !14 %9 = call i64 @CSTORM_SP_STATUS_BLOCK_OFFSET(i32 noundef %3) #3 %10 = add nsw i64 %9, %8 %11 = load i32, ptr @CSTORM_SP_STATUS_BLOCK_SIZE, align 4, !tbaa !6 %12 = call i32 @bnx2x_fill(ptr noundef %0, i64 noundef %10, i32 noundef 0, i32 noundef %11) #3 %13 = load i64, ptr @BAR_CSTRORM_INTMEM, align 8, !tbaa !14 %14 = call i64 @CSTORM_SP_SYNC_BLOCK_OFFSET(i32 noundef %3) #3 %15 = add nsw i64 %14, %13 %16 = load i32, ptr @CSTORM_SP_SYNC_BLOCK_SIZE, align 4, !tbaa !6 %17 = call i32 @bnx2x_fill(ptr noundef %0, i64 noundef %15, i32 noundef 0, i32 noundef %16) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BP_FUNC(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bnx2x_wr_sp_sb_data(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @bnx2x_fill(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @CSTORM_SP_STATUS_BLOCK_OFFSET(i32 noundef) local_unnamed_addr #2 declare i64 @CSTORM_SP_SYNC_BLOCK_OFFSET(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"hc_sp_status_block_data", !12, i64 0, !7, i64 4} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0}
linux_drivers_net_ethernet_broadcom_bnx2x_extr_bnx2x_main.c_bnx2x_zero_sp_sb
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/handwired/ibm122m/keymaps/default/extr_keymap.c_matrix_scan_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/ibm122m/keymaps/default/extr_keymap.c_matrix_scan_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @matrix_scan_user() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/handwired/ibm122m/keymaps/default/extr_keymap.c_matrix_scan_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/ibm122m/keymaps/default/extr_keymap.c_matrix_scan_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @matrix_scan_user() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
qmk_firmware_keyboards_handwired_ibm122m_keymaps_default_extr_keymap.c_matrix_scan_user
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_init.c_wl1271_ap_hw_init_post_mem.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_init.c_wl1271_ap_hw_init_post_mem.c" target datalayout = "e-m:e-p270:32:32-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 @wl1271_ap_hw_init_post_mem], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wl1271_ap_hw_init_post_mem(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @wl1271_ap_init_templates(ptr noundef %0, ptr noundef %1) #2 ret i32 %3 } declare i32 @wl1271_ap_init_templates(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/net/wireless/ti/wlcore/extr_init.c_wl1271_ap_hw_init_post_mem.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_init.c_wl1271_ap_hw_init_post_mem.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 @wl1271_ap_hw_init_post_mem], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @wl1271_ap_hw_init_post_mem(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @wl1271_ap_init_templates(ptr noundef %0, ptr noundef %1) #2 ret i32 %3 } declare i32 @wl1271_ap_init_templates(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_net_wireless_ti_wlcore_extr_init.c_wl1271_ap_hw_init_post_mem
; ModuleID = 'AnghaBench/linux/drivers/usb/serial/extr_pl2303.c_pl2303_update_line_status.c' source_filename = "AnghaBench/linux/drivers/usb/serial/extr_pl2303.c_pl2303_update_line_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.usb_serial_port = type { %struct.TYPE_4__, %struct.TYPE_3__, ptr } %struct.TYPE_4__ = type { i32 } %struct.TYPE_3__ = type { i32, i32, i32, i32 } %struct.pl2303_private = type { i32, i32 } @UART_STATE_INDEX = dso_local local_unnamed_addr global i32 0, align 4 @PL2303_QUIRK_UART_STATE_IDX0 = dso_local local_unnamed_addr global i32 0, align 4 @UART_BREAK_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @UART_STATE_MSR_MASK = dso_local local_unnamed_addr global i32 0, align 4 @UART_CTS = dso_local local_unnamed_addr global i32 0, align 4 @UART_DSR = dso_local local_unnamed_addr global i32 0, align 4 @UART_RING = dso_local local_unnamed_addr global i32 0, align 4 @UART_DCD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pl2303_update_line_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pl2303_update_line_status(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.usb_serial_port, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = tail call ptr @usb_get_serial_data(ptr noundef %5) #2 %7 = tail call ptr @usb_get_serial_port_data(ptr noundef %0) #2 %8 = load i32, ptr @UART_STATE_INDEX, align 4, !tbaa !13 %9 = load i32, ptr %6, align 4, !tbaa !14 %10 = load i32, ptr @PL2303_QUIRK_UART_STATE_IDX0, align 4, !tbaa !13 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 %13 = select i1 %12, i32 %8, i32 0 %14 = add i32 %13, 1 %15 = icmp ugt i32 %14, %2 br i1 %15, label %76, label %16 16: ; preds = %3 %17 = zext i32 %13 to i64 %18 = getelementptr inbounds i8, ptr %1, i64 %17 %19 = load i8, ptr %18, align 1, !tbaa !16 %20 = zext i8 %19 to i32 %21 = getelementptr inbounds %struct.pl2303_private, ptr %7, i64 0, i32 1 %22 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %21, i64 noundef undef) #2 %23 = load i32, ptr %7, align 4, !tbaa !17 %24 = xor i32 %23, %20 store i32 %20, ptr %7, align 4, !tbaa !17 %25 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %21, i64 noundef undef) #2 %26 = load i32, ptr @UART_BREAK_ERROR, align 4, !tbaa !13 %27 = and i32 %26, %20 %28 = icmp eq i32 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %16 %30 = tail call i32 @usb_serial_handle_break(ptr noundef nonnull %0) #2 br label %31 31: ; preds = %29, %16 %32 = load i32, ptr @UART_STATE_MSR_MASK, align 4, !tbaa !13 %33 = and i32 %32, %24 %34 = icmp eq i32 %33, 0 br i1 %34, label %76, label %35 35: ; preds = %31 %36 = load i32, ptr @UART_CTS, align 4, !tbaa !13 %37 = and i32 %36, %24 %38 = icmp eq i32 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %35 %40 = getelementptr inbounds %struct.usb_serial_port, ptr %0, i64 0, i32 1, i32 3 %41 = load i32, ptr %40, align 4, !tbaa !19 %42 = add nsw i32 %41, 1 store i32 %42, ptr %40, align 4, !tbaa !19 br label %43 43: ; preds = %39, %35 %44 = load i32, ptr @UART_DSR, align 4, !tbaa !13 %45 = and i32 %44, %24 %46 = icmp eq i32 %45, 0 br i1 %46, label %51, label %47 47: ; preds = %43 %48 = getelementptr inbounds %struct.usb_serial_port, ptr %0, i64 0, i32 1, i32 2 %49 = load i32, ptr %48, align 4, !tbaa !20 %50 = add nsw i32 %49, 1 store i32 %50, ptr %48, align 4, !tbaa !20 br label %51 51: ; preds = %47, %43 %52 = load i32, ptr @UART_RING, align 4, !tbaa !13 %53 = and i32 %52, %24 %54 = icmp eq i32 %53, 0 br i1 %54, label %59, label %55 55: ; preds = %51 %56 = getelementptr inbounds %struct.usb_serial_port, ptr %0, i64 0, i32 1, i32 1 %57 = load i32, ptr %56, align 4, !tbaa !21 %58 = add nsw i32 %57, 1 store i32 %58, ptr %56, align 4, !tbaa !21 br label %59 59: ; preds = %55, %51 %60 = load i32, ptr @UART_DCD, align 4, !tbaa !13 %61 = and i32 %60, %24 %62 = icmp eq i32 %61, 0 br i1 %62, label %74, label %63 63: ; preds = %59 %64 = getelementptr inbounds %struct.usb_serial_port, ptr %0, i64 0, i32 1 %65 = load i32, ptr %64, align 4, !tbaa !22 %66 = add nsw i32 %65, 1 store i32 %66, ptr %64, align 4, !tbaa !22 %67 = tail call ptr @tty_port_tty_get(ptr noundef nonnull %0) #2 %68 = icmp eq ptr %67, null br i1 %68, label %74, label %69 69: ; preds = %63 %70 = load i32, ptr @UART_DCD, align 4, !tbaa !13 %71 = and i32 %70, %20 %72 = tail call i32 @usb_serial_handle_dcd_change(ptr noundef nonnull %0, ptr noundef nonnull %67, i32 noundef %71) #2 %73 = tail call i32 @tty_kref_put(ptr noundef nonnull %67) #2 br label %74 74: ; preds = %63, %69, %59 %75 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %0) #2 br label %76 76: ; preds = %31, %74, %3 ret void } declare ptr @usb_get_serial_data(ptr noundef) local_unnamed_addr #1 declare ptr @usb_get_serial_port_data(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @usb_serial_handle_break(ptr noundef) local_unnamed_addr #1 declare ptr @tty_port_tty_get(ptr noundef) local_unnamed_addr #1 declare i32 @usb_serial_handle_dcd_change(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tty_kref_put(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up_interruptible(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, !12, i64 24} !6 = !{!"usb_serial_port", !7, i64 0, !11, i64 4, !12, i64 24} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"pl2303_serial_private", !8, i64 0} !16 = !{!9, !9, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"pl2303_private", !8, i64 0, !8, i64 4} !19 = !{!6, !8, i64 16} !20 = !{!6, !8, i64 12} !21 = !{!6, !8, i64 8} !22 = !{!6, !8, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/usb/serial/extr_pl2303.c_pl2303_update_line_status.c' source_filename = "AnghaBench/linux/drivers/usb/serial/extr_pl2303.c_pl2303_update_line_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UART_STATE_INDEX = common local_unnamed_addr global i32 0, align 4 @PL2303_QUIRK_UART_STATE_IDX0 = common local_unnamed_addr global i32 0, align 4 @UART_BREAK_ERROR = common local_unnamed_addr global i32 0, align 4 @UART_STATE_MSR_MASK = common local_unnamed_addr global i32 0, align 4 @UART_CTS = common local_unnamed_addr global i32 0, align 4 @UART_DSR = common local_unnamed_addr global i32 0, align 4 @UART_RING = common local_unnamed_addr global i32 0, align 4 @UART_DCD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pl2303_update_line_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pl2303_update_line_status(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 24 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = tail call ptr @usb_get_serial_data(ptr noundef %5) #2 %7 = tail call ptr @usb_get_serial_port_data(ptr noundef %0) #2 %8 = load i32, ptr @UART_STATE_INDEX, align 4, !tbaa !14 %9 = load i32, ptr %6, align 4, !tbaa !15 %10 = load i32, ptr @PL2303_QUIRK_UART_STATE_IDX0, align 4, !tbaa !14 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 %13 = select i1 %12, i32 %8, i32 0 %14 = add i32 %13, 1 %15 = icmp ugt i32 %14, %2 br i1 %15, label %76, label %16 16: ; preds = %3 %17 = zext i32 %13 to i64 %18 = getelementptr inbounds i8, ptr %1, i64 %17 %19 = load i8, ptr %18, align 1, !tbaa !17 %20 = zext i8 %19 to i32 %21 = getelementptr inbounds i8, ptr %7, i64 4 %22 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %21, i64 noundef undef) #2 %23 = load i32, ptr %7, align 4, !tbaa !18 %24 = xor i32 %23, %20 store i32 %20, ptr %7, align 4, !tbaa !18 %25 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %21, i64 noundef undef) #2 %26 = load i32, ptr @UART_BREAK_ERROR, align 4, !tbaa !14 %27 = and i32 %26, %20 %28 = icmp eq i32 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %16 %30 = tail call i32 @usb_serial_handle_break(ptr noundef nonnull %0) #2 br label %31 31: ; preds = %29, %16 %32 = load i32, ptr @UART_STATE_MSR_MASK, align 4, !tbaa !14 %33 = and i32 %32, %24 %34 = icmp eq i32 %33, 0 br i1 %34, label %76, label %35 35: ; preds = %31 %36 = load i32, ptr @UART_CTS, align 4, !tbaa !14 %37 = and i32 %36, %24 %38 = icmp eq i32 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %35 %40 = getelementptr inbounds i8, ptr %0, i64 16 %41 = load i32, ptr %40, align 4, !tbaa !20 %42 = add nsw i32 %41, 1 store i32 %42, ptr %40, align 4, !tbaa !20 br label %43 43: ; preds = %39, %35 %44 = load i32, ptr @UART_DSR, align 4, !tbaa !14 %45 = and i32 %44, %24 %46 = icmp eq i32 %45, 0 br i1 %46, label %51, label %47 47: ; preds = %43 %48 = getelementptr inbounds i8, ptr %0, i64 12 %49 = load i32, ptr %48, align 4, !tbaa !21 %50 = add nsw i32 %49, 1 store i32 %50, ptr %48, align 4, !tbaa !21 br label %51 51: ; preds = %47, %43 %52 = load i32, ptr @UART_RING, align 4, !tbaa !14 %53 = and i32 %52, %24 %54 = icmp eq i32 %53, 0 br i1 %54, label %59, label %55 55: ; preds = %51 %56 = getelementptr inbounds i8, ptr %0, i64 8 %57 = load i32, ptr %56, align 4, !tbaa !22 %58 = add nsw i32 %57, 1 store i32 %58, ptr %56, align 4, !tbaa !22 br label %59 59: ; preds = %55, %51 %60 = load i32, ptr @UART_DCD, align 4, !tbaa !14 %61 = and i32 %60, %24 %62 = icmp eq i32 %61, 0 br i1 %62, label %74, label %63 63: ; preds = %59 %64 = getelementptr inbounds i8, ptr %0, i64 4 %65 = load i32, ptr %64, align 4, !tbaa !23 %66 = add nsw i32 %65, 1 store i32 %66, ptr %64, align 4, !tbaa !23 %67 = tail call ptr @tty_port_tty_get(ptr noundef nonnull %0) #2 %68 = icmp eq ptr %67, null br i1 %68, label %74, label %69 69: ; preds = %63 %70 = load i32, ptr @UART_DCD, align 4, !tbaa !14 %71 = and i32 %70, %20 %72 = tail call i32 @usb_serial_handle_dcd_change(ptr noundef nonnull %0, ptr noundef nonnull %67, i32 noundef %71) #2 %73 = tail call i32 @tty_kref_put(ptr noundef nonnull %67) #2 br label %74 74: ; preds = %63, %69, %59 %75 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %0) #2 br label %76 76: ; preds = %31, %74, %3 ret void } declare ptr @usb_get_serial_data(ptr noundef) local_unnamed_addr #1 declare ptr @usb_get_serial_port_data(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @usb_serial_handle_break(ptr noundef) local_unnamed_addr #1 declare ptr @tty_port_tty_get(ptr noundef) local_unnamed_addr #1 declare i32 @usb_serial_handle_dcd_change(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tty_kref_put(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up_interruptible(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, !13, i64 24} !7 = !{!"usb_serial_port", !8, i64 0, !12, i64 4, !13, i64 24} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_3__", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12} !13 = !{!"any pointer", !10, i64 0} !14 = !{!9, !9, i64 0} !15 = !{!16, !9, i64 0} !16 = !{!"pl2303_serial_private", !9, i64 0} !17 = !{!10, !10, i64 0} !18 = !{!19, !9, i64 0} !19 = !{!"pl2303_private", !9, i64 0, !9, i64 4} !20 = !{!7, !9, i64 16} !21 = !{!7, !9, i64 12} !22 = !{!7, !9, i64 8} !23 = !{!7, !9, i64 4}
linux_drivers_usb_serial_extr_pl2303.c_pl2303_update_line_status
; ModuleID = 'AnghaBench/linux/drivers/media/rc/extr_ite-cir.c_ite_set_tx_duty_cycle.c' source_filename = "AnghaBench/linux/drivers/media/rc/extr_ite-cir.c_ite_set_tx_duty_cycle.c" target datalayout = "e-m:e-p270:32:32-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.ite_dev = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ite_set_tx_duty_cycle], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ite_set_tx_duty_cycle(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %5 = getelementptr inbounds %struct.ite_dev, ptr %3, i64 0, i32 1 store i32 %1, ptr %5, align 4, !tbaa !10 %6 = tail call i32 @ite_set_carrier_params(ptr noundef %3) #2 %7 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 ret i32 0 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ite_set_carrier_params(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"rc_dev", !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 = !{!"ite_dev", !12, i64 0, !13, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!"TYPE_2__", !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/rc/extr_ite-cir.c_ite_set_tx_duty_cycle.c' source_filename = "AnghaBench/linux/drivers/media/rc/extr_ite-cir.c_ite_set_tx_duty_cycle.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 @ite_set_tx_duty_cycle], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ite_set_tx_duty_cycle(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %5 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %1, ptr %5, align 4, !tbaa !11 %6 = tail call i32 @ite_set_carrier_params(ptr noundef %3) #2 %7 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 ret i32 0 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ite_set_carrier_params(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"rc_dev", !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 = !{!"ite_dev", !13, i64 0, !14, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!"TYPE_2__", !13, i64 0}
linux_drivers_media_rc_extr_ite-cir.c_ite_set_tx_duty_cycle
; ModuleID = 'AnghaBench/reactos/dll/win32/msg711.acm/extr_msg711.c_R16.c' source_filename = "AnghaBench/reactos/dll/win32/msg711.acm/extr_msg711.c_R16.c" target datalayout = "e-m:e-p270:32:32-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 @R16], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal signext i16 @R16(ptr nocapture noundef readonly %0) #0 { %2 = load i16, ptr %0, align 1 ret i16 %2 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/reactos/dll/win32/msg711.acm/extr_msg711.c_R16.c' source_filename = "AnghaBench/reactos/dll/win32/msg711.acm/extr_msg711.c_R16.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 @R16], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal signext i16 @R16(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !6 %3 = zext i8 %2 to i16 %4 = getelementptr inbounds i8, ptr %0, i64 1 %5 = load i8, ptr %4, align 1, !tbaa !6 %6 = zext i8 %5 to i16 %7 = shl nuw i16 %6, 8 %8 = or disjoint i16 %7, %3 ret i16 %8 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
reactos_dll_win32_msg711.acm_extr_msg711.c_R16
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-object.c_pdf_array_get_bool.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-object.c_pdf_array_get_bool.c" target datalayout = "e-m:e-p270:32:32-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 @pdf_array_get_bool(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @pdf_array_get(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 %5 = tail call i32 @pdf_to_bool(ptr noundef %0, i32 noundef %4) #2 ret i32 %5 } declare i32 @pdf_to_bool(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pdf_array_get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-object.c_pdf_array_get_bool.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-object.c_pdf_array_get_bool.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 @pdf_array_get_bool(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @pdf_array_get(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 %5 = tail call i32 @pdf_to_bool(ptr noundef %0, i32 noundef %4) #2 ret i32 %5 } declare i32 @pdf_to_bool(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pdf_array_get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
sumatrapdf_mupdf_source_pdf_extr_pdf-object.c_pdf_array_get_bool
; ModuleID = 'AnghaBench/linux/drivers/media/usb/cx231xx/extr_cx231xx-avcore.c_vid_blk_write_byte.c' source_filename = "AnghaBench/linux/drivers/media/usb/cx231xx/extr_cx231xx-avcore.c_vid_blk_write_byte.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @VID_BLK_I2C_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vid_blk_write_byte], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vid_blk_write_byte(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @VID_BLK_I2C_ADDRESS, align 4, !tbaa !5 %5 = tail call i32 @cx231xx_write_i2c_data(ptr noundef %0, i32 noundef %4, i32 noundef %1, i32 noundef 2, i32 noundef %2, i32 noundef 1) #2 ret i32 %5 } declare i32 @cx231xx_write_i2c_data(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/cx231xx/extr_cx231xx-avcore.c_vid_blk_write_byte.c' source_filename = "AnghaBench/linux/drivers/media/usb/cx231xx/extr_cx231xx-avcore.c_vid_blk_write_byte.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VID_BLK_I2C_ADDRESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vid_blk_write_byte], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vid_blk_write_byte(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @VID_BLK_I2C_ADDRESS, align 4, !tbaa !6 %5 = tail call i32 @cx231xx_write_i2c_data(ptr noundef %0, i32 noundef %4, i32 noundef %1, i32 noundef 2, i32 noundef %2, i32 noundef 1) #2 ret i32 %5 } declare i32 @cx231xx_write_i2c_data(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_media_usb_cx231xx_extr_cx231xx-avcore.c_vid_blk_write_byte
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet6/extr_in6.c_in6_getassocids.c' source_filename = "AnghaBench/darwin-xnu/bsd/netinet6/extr_in6.c_in6_getassocids.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @INPCB_STATE_DEAD = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @SAE_ASSOCID_ANY = dso_local local_unnamed_addr global i32 0, align 4 @USER_ADDR_NULL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @in6_getassocids], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @in6_getassocids(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @sotoin6pcb(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = icmp eq ptr %5, null br i1 %6, label %11, label %7 7: ; preds = %3 %8 = load i64, ptr %5, align 8, !tbaa !5 %9 = load i64, ptr @INPCB_STATE_DEAD, align 8, !tbaa !10 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %13 11: ; preds = %7, %3 %12 = load i32, ptr @EINVAL, align 4, !tbaa !11 br label %19 13: ; preds = %7 %14 = load i32, ptr @SAE_ASSOCID_ANY, align 4, !tbaa !11 store i32 %14, ptr %4, align 4, !tbaa !11 store i64 0, ptr %1, align 8, !tbaa !10 %15 = load i32, ptr @USER_ADDR_NULL, align 4, !tbaa !11 %16 = icmp eq i32 %15, %2 br i1 %16, label %19, label %17 17: ; preds = %13 %18 = call i32 @copyout(ptr noundef nonnull %4, i32 noundef %2, i32 noundef 4) #3 br label %19 19: ; preds = %13, %17, %11 %20 = phi i32 [ %12, %11 ], [ %18, %17 ], [ 0, %13 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @sotoin6pcb(ptr noundef) local_unnamed_addr #2 declare i32 @copyout(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"in6pcb", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet6/extr_in6.c_in6_getassocids.c' source_filename = "AnghaBench/darwin-xnu/bsd/netinet6/extr_in6.c_in6_getassocids.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INPCB_STATE_DEAD = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @SAE_ASSOCID_ANY = common local_unnamed_addr global i32 0, align 4 @USER_ADDR_NULL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @in6_getassocids], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @in6_getassocids(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @sotoin6pcb(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = icmp eq ptr %5, null br i1 %6, label %11, label %7 7: ; preds = %3 %8 = load i64, ptr %5, align 8, !tbaa !6 %9 = load i64, ptr @INPCB_STATE_DEAD, align 8, !tbaa !11 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %13 11: ; preds = %7, %3 %12 = load i32, ptr @EINVAL, align 4, !tbaa !12 br label %19 13: ; preds = %7 %14 = load i32, ptr @SAE_ASSOCID_ANY, align 4, !tbaa !12 store i32 %14, ptr %4, align 4, !tbaa !12 store i64 0, ptr %1, align 8, !tbaa !11 %15 = load i32, ptr @USER_ADDR_NULL, align 4, !tbaa !12 %16 = icmp eq i32 %15, %2 br i1 %16, label %19, label %17 17: ; preds = %13 %18 = call i32 @copyout(ptr noundef nonnull %4, i32 noundef %2, i32 noundef 4) #3 br label %19 19: ; preds = %13, %17, %11 %20 = phi i32 [ %12, %11 ], [ %18, %17 ], [ 0, %13 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @sotoin6pcb(ptr noundef) local_unnamed_addr #2 declare i32 @copyout(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"in6pcb", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0}
darwin-xnu_bsd_netinet6_extr_in6.c_in6_getassocids
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_wayland_ctx.c_gfx_ctx_wl_suppress_screensaver.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_wayland_ctx.c_gfx_ctx_wl_suppress_screensaver.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr, i32, ptr } @.str = private unnamed_addr constant [36 x i8] c"[Wayland]: Enabling idle inhibitor\0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"[Wayland]: Disabling the idle inhibitor\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @gfx_ctx_wl_suppress_screensaver], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @gfx_ctx_wl_suppress_screensaver(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = icmp eq ptr %4, null br i1 %5, label %25, label %6 6: ; preds = %2 %7 = load ptr, ptr %0, align 8, !tbaa !11 %8 = icmp ne ptr %7, null %9 = zext i1 %8 to i32 %10 = icmp eq i32 %9, %1 br i1 %10, label %25, label %11 11: ; preds = %6 %12 = icmp eq i32 %1, 0 br i1 %12, label %19, label %13 13: ; preds = %11 %14 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str) #2 %15 = load ptr, ptr %3, align 8, !tbaa !5 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %17 = load i32, ptr %16, align 8, !tbaa !12 %18 = tail call ptr @zwp_idle_inhibit_manager_v1_create_inhibitor(ptr noundef %15, i32 noundef %17) #2 br label %23 19: ; preds = %11 %20 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str.1) #2 %21 = load ptr, ptr %0, align 8, !tbaa !11 %22 = tail call i32 @zwp_idle_inhibitor_v1_destroy(ptr noundef %21) #2 br label %23 23: ; preds = %19, %13 %24 = phi ptr [ null, %19 ], [ %18, %13 ] store ptr %24, ptr %0, align 8, !tbaa !11 br label %25 25: ; preds = %6, %2, %23 %26 = phi i32 [ 1, %23 ], [ 0, %2 ], [ 1, %6 ] ret i32 %26 } declare i32 @RARCH_LOG(ptr noundef) local_unnamed_addr #1 declare ptr @zwp_idle_inhibit_manager_v1_create_inhibitor(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zwp_idle_inhibitor_v1_destroy(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 16} !6 = !{!"TYPE_2__", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_wayland_ctx.c_gfx_ctx_wl_suppress_screensaver.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_wayland_ctx.c_gfx_ctx_wl_suppress_screensaver.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 [36 x i8] c"[Wayland]: Enabling idle inhibitor\0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"[Wayland]: Disabling the idle inhibitor\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @gfx_ctx_wl_suppress_screensaver], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @gfx_ctx_wl_suppress_screensaver(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = icmp eq ptr %4, null br i1 %5, label %25, label %6 6: ; preds = %2 %7 = load ptr, ptr %0, align 8, !tbaa !12 %8 = icmp ne ptr %7, null %9 = zext i1 %8 to i32 %10 = icmp eq i32 %9, %1 br i1 %10, label %25, label %11 11: ; preds = %6 %12 = icmp eq i32 %1, 0 br i1 %12, label %19, label %13 13: ; preds = %11 %14 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str) #2 %15 = load ptr, ptr %3, align 8, !tbaa !6 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = load i32, ptr %16, align 8, !tbaa !13 %18 = tail call ptr @zwp_idle_inhibit_manager_v1_create_inhibitor(ptr noundef %15, i32 noundef %17) #2 br label %23 19: ; preds = %11 %20 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str.1) #2 %21 = load ptr, ptr %0, align 8, !tbaa !12 %22 = tail call i32 @zwp_idle_inhibitor_v1_destroy(ptr noundef %21) #2 br label %23 23: ; preds = %19, %13 %24 = phi ptr [ null, %19 ], [ %18, %13 ] store ptr %24, ptr %0, align 8, !tbaa !12 br label %25 25: ; preds = %6, %2, %23 %26 = phi i32 [ 1, %23 ], [ 0, %2 ], [ 1, %6 ] ret i32 %26 } declare i32 @RARCH_LOG(ptr noundef) local_unnamed_addr #1 declare ptr @zwp_idle_inhibit_manager_v1_create_inhibitor(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zwp_idle_inhibitor_v1_destroy(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 16} !7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !11, i64 8}
RetroArch_gfx_drivers_context_extr_wayland_ctx.c_gfx_ctx_wl_suppress_screensaver
; ModuleID = 'AnghaBench/macvim/src/extr_if_python.c_python_end.c' source_filename = "AnghaBench/macvim/src/extr_if_python.c_python_end.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @python_end.recurse = internal unnamed_addr global i32 0, align 4 @hinstPython = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @python_end() local_unnamed_addr #0 { %1 = load i32, ptr @python_end.recurse, align 4, !tbaa !5 %2 = icmp eq i32 %1, 0 br i1 %2, label %3, label %12 3: ; preds = %0 store i32 1, ptr @python_end.recurse, align 4, !tbaa !5 %4 = tail call i64 (...) @Py_IsInitialized() #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %3 %7 = tail call i32 (...) @Python_RestoreThread() #2 %8 = tail call i32 (...) @Py_Finalize() #2 br label %9 9: ; preds = %6, %3 %10 = load i32, ptr @python_end.recurse, align 4, !tbaa !5 %11 = add nsw i32 %10, -1 store i32 %11, ptr @python_end.recurse, align 4, !tbaa !5 br label %12 12: ; preds = %0, %9 ret void } declare i64 @Py_IsInitialized(...) local_unnamed_addr #1 declare i32 @Python_RestoreThread(...) local_unnamed_addr #1 declare i32 @Py_Finalize(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/macvim/src/extr_if_python.c_python_end.c' source_filename = "AnghaBench/macvim/src/extr_if_python.c_python_end.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @python_end.recurse = internal unnamed_addr global i32 0, align 4 @hinstPython = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @python_end() local_unnamed_addr #0 { %1 = load i32, ptr @python_end.recurse, align 4, !tbaa !6 %2 = icmp eq i32 %1, 0 br i1 %2, label %3, label %12 3: ; preds = %0 store i32 1, ptr @python_end.recurse, align 4, !tbaa !6 %4 = tail call i64 @Py_IsInitialized() #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %3 %7 = tail call i32 @Python_RestoreThread() #2 %8 = tail call i32 @Py_Finalize() #2 br label %9 9: ; preds = %6, %3 %10 = load i32, ptr @python_end.recurse, align 4, !tbaa !6 %11 = add nsw i32 %10, -1 store i32 %11, ptr @python_end.recurse, align 4, !tbaa !6 br label %12 12: ; preds = %0, %9 ret void } declare i64 @Py_IsInitialized(...) local_unnamed_addr #1 declare i32 @Python_RestoreThread(...) local_unnamed_addr #1 declare i32 @Py_Finalize(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
macvim_src_extr_if_python.c_python_end
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/arm/winedbg/extr_be_arm.c_arm_disasm_coprocdataop.c' source_filename = "AnghaBench/radare2/libr/asm/arch/arm/winedbg/extr_be_arm.c_arm_disasm_coprocdataop.c" target datalayout = "e-m:e-p270:32:32-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 [37 x i8] c"cdp%s %u, %u, cr%u, cr%u, cr%u, {%u}\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @arm_disasm_coprocdataop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @arm_disasm_coprocdataop(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = and i32 %1, 15 %4 = lshr i32 %1, 5 %5 = and i32 %4, 7 %6 = lshr i32 %1, 8 %7 = and i32 %6, 15 %8 = lshr i32 %1, 12 %9 = and i32 %8, 15 %10 = lshr i32 %1, 16 %11 = and i32 %10, 15 %12 = lshr i32 %1, 20 %13 = and i32 %12, 15 %14 = load i32, ptr %0, align 4, !tbaa !5 %15 = tail call i32 @get_cond(i32 noundef %1) #2 %16 = tail call i32 @r_str_appendf(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %7, i32 noundef %5, i32 noundef %9, i32 noundef %11, i32 noundef %3, i32 noundef %13) #2 store i32 %16, ptr %0, align 4, !tbaa !5 ret i32 0 } declare i32 @r_str_appendf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_cond(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 = !{!"winedbg_arm_insn", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/arm/winedbg/extr_be_arm.c_arm_disasm_coprocdataop.c' source_filename = "AnghaBench/radare2/libr/asm/arch/arm/winedbg/extr_be_arm.c_arm_disasm_coprocdataop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [37 x i8] c"cdp%s %u, %u, cr%u, cr%u, cr%u, {%u}\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @arm_disasm_coprocdataop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @arm_disasm_coprocdataop(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = and i32 %1, 15 %4 = lshr i32 %1, 5 %5 = and i32 %4, 7 %6 = lshr i32 %1, 8 %7 = and i32 %6, 15 %8 = lshr i32 %1, 12 %9 = and i32 %8, 15 %10 = lshr i32 %1, 16 %11 = and i32 %10, 15 %12 = lshr i32 %1, 20 %13 = and i32 %12, 15 %14 = load i32, ptr %0, align 4, !tbaa !6 %15 = tail call i32 @get_cond(i32 noundef %1) #2 %16 = tail call i32 @r_str_appendf(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %7, i32 noundef %5, i32 noundef %9, i32 noundef %11, i32 noundef %3, i32 noundef %13) #2 store i32 %16, ptr %0, align 4, !tbaa !6 ret i32 0 } declare i32 @r_str_appendf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_cond(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 = !{!"winedbg_arm_insn", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
radare2_libr_asm_arch_arm_winedbg_extr_be_arm.c_arm_disasm_coprocdataop
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-loop-niter.c_infer_loop_bounds_from_undefined.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-loop-niter.c_infer_loop_bounds_from_undefined.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.loop = type { i32, i32, i32 } @CDI_DOMINATORS = dso_local local_unnamed_addr global i32 0, align 4 @ARRAY_REF = dso_local local_unnamed_addr global i32 0, align 4 @flag_wrapv = dso_local local_unnamed_addr global i32 0, align 4 @SSA_NAME = dso_local local_unnamed_addr global i32 0, align 4 @NULL_TREE = dso_local local_unnamed_addr global i32 0, align 4 @INTEGER_CST = dso_local local_unnamed_addr global i32 0, align 4 @integer_zero_node = dso_local local_unnamed_addr global i32 0, align 4 @MINUS_EXPR = dso_local local_unnamed_addr global i32 0, align 4 @CEIL_DIV_EXPR = dso_local local_unnamed_addr global i32 0, align 4 @boolean_true_node = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @infer_loop_bounds_from_undefined], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @infer_loop_bounds_from_undefined(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call ptr @get_loop_body(ptr noundef %0) #3 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %137, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.loop, ptr %0, i64 0, i32 2 %8 = getelementptr inbounds %struct.loop, ptr %0, i64 0, i32 1 br label %9 9: ; preds = %6, %132 %10 = phi i64 [ 0, %6 ], [ %133, %132 ] %11 = getelementptr inbounds i32, ptr %3, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !10 %13 = load i32, ptr @CDI_DOMINATORS, align 4, !tbaa !10 %14 = load i32, ptr %7, align 4, !tbaa !11 %15 = call i32 @dominated_by_p(i32 noundef %13, i32 noundef %14, i32 noundef %12) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %132, label %17 17: ; preds = %9 %18 = call i32 @bsi_start(i32 noundef %12) #3 store i32 %18, ptr %2, align 4, !tbaa !10 %19 = call i32 @bsi_end_p(i32 noundef %18) #3 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %132 21: ; preds = %17, %127 %22 = load i32, ptr %2, align 4, !tbaa !10 %23 = call i32 @bsi_stmt(i32 noundef %22) #3 %24 = call i32 @TREE_CODE(i32 noundef %23) #3 switch i32 %24, label %127 [ i32 128, label %25 i32 129, label %108 ] 25: ; preds = %21 %26 = call i32 @TREE_OPERAND(i32 noundef %23, i32 noundef 0) #3 %27 = call i32 @TREE_OPERAND(i32 noundef %23, i32 noundef 1) #3 %28 = call i32 @TREE_CODE(i32 noundef %27) #3 %29 = load i32, ptr @ARRAY_REF, align 4, !tbaa !10 %30 = icmp eq i32 %28, %29 br i1 %30, label %31, label %36 31: ; preds = %25 %32 = call i32 @array_ref_contains_indirect_ref(i32 noundef %27) #3 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 @estimate_iters_using_array(i32 noundef %23, i32 noundef %27) #3 br label %36 36: ; preds = %34, %31, %25 %37 = call i32 @TREE_CODE(i32 noundef %26) #3 %38 = load i32, ptr @ARRAY_REF, align 4, !tbaa !10 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %45 40: ; preds = %36 %41 = call i32 @array_ref_contains_indirect_ref(i32 noundef %26) #3 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %40 %44 = call i32 @estimate_iters_using_array(i32 noundef %23, i32 noundef %26) #3 br label %127 45: ; preds = %40, %36 %46 = load i32, ptr @flag_wrapv, align 4, !tbaa !10 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %127 48: ; preds = %45 %49 = call i32 @TREE_CODE(i32 noundef %26) #3 %50 = load i32, ptr @SSA_NAME, align 4, !tbaa !10 %51 = icmp eq i32 %49, %50 br i1 %51, label %52, label %127 52: ; preds = %48 %53 = call i32 @analyze_scalar_evolution(ptr noundef nonnull %0, i32 noundef %26) #3 %54 = call i32 @instantiate_parameters(ptr noundef nonnull %0, i32 noundef %53) #3 %55 = call i32 @chrec_type(i32 noundef %54) #3 %56 = call i32 @chrec_contains_undetermined(i32 noundef %54) #3 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %127 58: ; preds = %52 %59 = call i32 @TYPE_OVERFLOW_WRAPS(i32 noundef %55) #3 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %127 61: ; preds = %58 %62 = load i32, ptr %8, align 4, !tbaa !12 %63 = call i32 @initial_condition_in_loop_num(i32 noundef %54, i32 noundef %62) #3 %64 = load i32, ptr %8, align 4, !tbaa !12 %65 = call i32 @evolution_part_in_loop_num(i32 noundef %54, i32 noundef %64) #3 %66 = load i32, ptr @NULL_TREE, align 4, !tbaa !10 %67 = icmp eq i32 %63, %66 %68 = icmp eq i32 %65, %66 %69 = select i1 %67, i1 true, i1 %68 br i1 %69, label %127, label %70 70: ; preds = %61 %71 = call i32 @TREE_CODE(i32 noundef %63) #3 %72 = load i32, ptr @INTEGER_CST, align 4, !tbaa !10 %73 = icmp eq i32 %71, %72 br i1 %73, label %74, label %127 74: ; preds = %70 %75 = call i32 @TREE_CODE(i32 noundef %65) #3 %76 = load i32, ptr @INTEGER_CST, align 4, !tbaa !10 %77 = icmp eq i32 %75, %76 br i1 %77, label %78, label %127 78: ; preds = %74 %79 = call i32 @TYPE_MIN_VALUE(i32 noundef %55) #3 %80 = load i32, ptr @NULL_TREE, align 4, !tbaa !10 %81 = icmp eq i32 %79, %80 br i1 %81, label %127, label %82 82: ; preds = %78 %83 = call i32 @TYPE_MAX_VALUE(i32 noundef %55) #3 %84 = load i32, ptr @NULL_TREE, align 4, !tbaa !10 %85 = icmp eq i32 %83, %84 br i1 %85, label %127, label %86 86: ; preds = %82 %87 = call i32 @integer_nonzerop(i32 noundef %65) #3 %88 = icmp eq i32 %87, 0 br i1 %88, label %127, label %89 89: ; preds = %86 %90 = load i32, ptr @integer_zero_node, align 4, !tbaa !10 %91 = call i32 @tree_int_cst_lt(i32 noundef %65, i32 noundef %90) #3 %92 = icmp eq i32 %91, 0 %93 = load i32, ptr @MINUS_EXPR, align 4, !tbaa !10 br i1 %92, label %97, label %94 94: ; preds = %89 %95 = call i32 @TYPE_MIN_VALUE(i32 noundef %55) #3 %96 = call i32 @fold_build2(i32 noundef %93, i32 noundef %55, i32 noundef %63, i32 noundef %95) #3 br label %100 97: ; preds = %89 %98 = call i32 @TYPE_MAX_VALUE(i32 noundef %55) #3 %99 = call i32 @fold_build2(i32 noundef %93, i32 noundef %55, i32 noundef %98, i32 noundef %63) #3 br label %100 100: ; preds = %97, %94 %101 = phi i32 [ %96, %94 ], [ %99, %97 ] %102 = call i32 @unsigned_type_for(i32 noundef %55) #3 %103 = load i32, ptr @CEIL_DIV_EXPR, align 4, !tbaa !10 %104 = call i32 @fold_build2(i32 noundef %103, i32 noundef %55, i32 noundef %101, i32 noundef %65) #3 %105 = call i32 @fold_convert(i32 noundef %102, i32 noundef %104) #3 %106 = load i32, ptr @boolean_true_node, align 4, !tbaa !10 %107 = call i32 @record_estimate(ptr noundef nonnull %0, i32 noundef %105, i32 noundef %106, i32 noundef %23) #3 br label %127 108: ; preds = %21 %109 = call i32 @TREE_OPERAND(i32 noundef %23, i32 noundef 1) #3 %110 = icmp eq i32 %109, 0 br i1 %110, label %127, label %111 111: ; preds = %108, %124 %112 = phi i32 [ %125, %124 ], [ %109, %108 ] %113 = call i32 @TREE_VALUE(i32 noundef %112) #3 %114 = call i32 @TREE_CODE(i32 noundef %113) #3 %115 = load i32, ptr @ARRAY_REF, align 4, !tbaa !10 %116 = icmp eq i32 %114, %115 br i1 %116, label %117, label %124 117: ; preds = %111 %118 = call i32 @TREE_VALUE(i32 noundef %112) #3 %119 = call i32 @array_ref_contains_indirect_ref(i32 noundef %118) #3 %120 = icmp eq i32 %119, 0 br i1 %120, label %121, label %124 121: ; preds = %117 %122 = call i32 @TREE_VALUE(i32 noundef %112) #3 %123 = call i32 @estimate_iters_using_array(i32 noundef %23, i32 noundef %122) #3 br label %124 124: ; preds = %111, %117, %121 %125 = call i32 @TREE_CHAIN(i32 noundef %112) #3 %126 = icmp eq i32 %125, 0 br i1 %126, label %127, label %111, !llvm.loop !13 127: ; preds = %124, %108, %100, %86, %45, %48, %43, %61, %70, %74, %78, %82, %52, %58, %21 %128 = call i32 @bsi_next(ptr noundef nonnull %2) #3 %129 = load i32, ptr %2, align 4, !tbaa !10 %130 = call i32 @bsi_end_p(i32 noundef %129) #3 %131 = icmp eq i32 %130, 0 br i1 %131, label %21, label %132, !llvm.loop !15 132: ; preds = %127, %17, %9 %133 = add nuw nsw i64 %10, 1 %134 = load i32, ptr %0, align 4, !tbaa !5 %135 = zext i32 %134 to i64 %136 = icmp ult i64 %133, %135 br i1 %136, label %9, label %137, !llvm.loop !16 137: ; preds = %132, %1 %138 = call i32 @compute_estimated_nb_iterations(ptr noundef nonnull %0) #3 %139 = call i32 @free(ptr noundef %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @get_loop_body(ptr noundef) local_unnamed_addr #2 declare i32 @dominated_by_p(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bsi_start(i32 noundef) local_unnamed_addr #2 declare i32 @bsi_end_p(i32 noundef) local_unnamed_addr #2 declare i32 @bsi_stmt(i32 noundef) local_unnamed_addr #2 declare i32 @TREE_CODE(i32 noundef) local_unnamed_addr #2 declare i32 @TREE_OPERAND(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @array_ref_contains_indirect_ref(i32 noundef) local_unnamed_addr #2 declare i32 @estimate_iters_using_array(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @instantiate_parameters(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @analyze_scalar_evolution(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @chrec_type(i32 noundef) local_unnamed_addr #2 declare i32 @chrec_contains_undetermined(i32 noundef) local_unnamed_addr #2 declare i32 @TYPE_OVERFLOW_WRAPS(i32 noundef) local_unnamed_addr #2 declare i32 @initial_condition_in_loop_num(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @evolution_part_in_loop_num(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @TYPE_MIN_VALUE(i32 noundef) local_unnamed_addr #2 declare i32 @TYPE_MAX_VALUE(i32 noundef) local_unnamed_addr #2 declare i32 @integer_nonzerop(i32 noundef) local_unnamed_addr #2 declare i32 @tree_int_cst_lt(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fold_build2(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @unsigned_type_for(i32 noundef) local_unnamed_addr #2 declare i32 @record_estimate(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fold_convert(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @TREE_VALUE(i32 noundef) local_unnamed_addr #2 declare i32 @TREE_CHAIN(i32 noundef) local_unnamed_addr #2 declare i32 @bsi_next(ptr noundef) local_unnamed_addr #2 declare i32 @compute_estimated_nb_iterations(ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"loop", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 4} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14} !16 = distinct !{!16, !14}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-loop-niter.c_infer_loop_bounds_from_undefined.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-loop-niter.c_infer_loop_bounds_from_undefined.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CDI_DOMINATORS = common local_unnamed_addr global i32 0, align 4 @ARRAY_REF = common local_unnamed_addr global i32 0, align 4 @flag_wrapv = common local_unnamed_addr global i32 0, align 4 @SSA_NAME = common local_unnamed_addr global i32 0, align 4 @NULL_TREE = common local_unnamed_addr global i32 0, align 4 @INTEGER_CST = common local_unnamed_addr global i32 0, align 4 @integer_zero_node = common local_unnamed_addr global i32 0, align 4 @MINUS_EXPR = common local_unnamed_addr global i32 0, align 4 @CEIL_DIV_EXPR = common local_unnamed_addr global i32 0, align 4 @boolean_true_node = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @infer_loop_bounds_from_undefined], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @infer_loop_bounds_from_undefined(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call ptr @get_loop_body(ptr noundef %0) #3 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %137, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = getelementptr inbounds i8, ptr %0, i64 4 br label %9 9: ; preds = %6, %132 %10 = phi i64 [ 0, %6 ], [ %133, %132 ] %11 = getelementptr inbounds i32, ptr %3, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = load i32, ptr @CDI_DOMINATORS, align 4, !tbaa !11 %14 = load i32, ptr %7, align 4, !tbaa !12 %15 = call i32 @dominated_by_p(i32 noundef %13, i32 noundef %14, i32 noundef %12) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %132, label %17 17: ; preds = %9 %18 = call i32 @bsi_start(i32 noundef %12) #3 store i32 %18, ptr %2, align 4, !tbaa !11 %19 = call i32 @bsi_end_p(i32 noundef %18) #3 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %132 21: ; preds = %17, %127 %22 = load i32, ptr %2, align 4, !tbaa !11 %23 = call i32 @bsi_stmt(i32 noundef %22) #3 %24 = call i32 @TREE_CODE(i32 noundef %23) #3 switch i32 %24, label %127 [ i32 128, label %25 i32 129, label %108 ] 25: ; preds = %21 %26 = call i32 @TREE_OPERAND(i32 noundef %23, i32 noundef 0) #3 %27 = call i32 @TREE_OPERAND(i32 noundef %23, i32 noundef 1) #3 %28 = call i32 @TREE_CODE(i32 noundef %27) #3 %29 = load i32, ptr @ARRAY_REF, align 4, !tbaa !11 %30 = icmp eq i32 %28, %29 br i1 %30, label %31, label %36 31: ; preds = %25 %32 = call i32 @array_ref_contains_indirect_ref(i32 noundef %27) #3 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 @estimate_iters_using_array(i32 noundef %23, i32 noundef %27) #3 br label %36 36: ; preds = %34, %31, %25 %37 = call i32 @TREE_CODE(i32 noundef %26) #3 %38 = load i32, ptr @ARRAY_REF, align 4, !tbaa !11 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %45 40: ; preds = %36 %41 = call i32 @array_ref_contains_indirect_ref(i32 noundef %26) #3 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %40 %44 = call i32 @estimate_iters_using_array(i32 noundef %23, i32 noundef %26) #3 br label %127 45: ; preds = %40, %36 %46 = load i32, ptr @flag_wrapv, align 4, !tbaa !11 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %127 48: ; preds = %45 %49 = call i32 @TREE_CODE(i32 noundef %26) #3 %50 = load i32, ptr @SSA_NAME, align 4, !tbaa !11 %51 = icmp eq i32 %49, %50 br i1 %51, label %52, label %127 52: ; preds = %48 %53 = call i32 @analyze_scalar_evolution(ptr noundef nonnull %0, i32 noundef %26) #3 %54 = call i32 @instantiate_parameters(ptr noundef nonnull %0, i32 noundef %53) #3 %55 = call i32 @chrec_type(i32 noundef %54) #3 %56 = call i32 @chrec_contains_undetermined(i32 noundef %54) #3 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %127 58: ; preds = %52 %59 = call i32 @TYPE_OVERFLOW_WRAPS(i32 noundef %55) #3 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %127 61: ; preds = %58 %62 = load i32, ptr %8, align 4, !tbaa !13 %63 = call i32 @initial_condition_in_loop_num(i32 noundef %54, i32 noundef %62) #3 %64 = load i32, ptr %8, align 4, !tbaa !13 %65 = call i32 @evolution_part_in_loop_num(i32 noundef %54, i32 noundef %64) #3 %66 = load i32, ptr @NULL_TREE, align 4, !tbaa !11 %67 = icmp eq i32 %63, %66 %68 = icmp eq i32 %65, %66 %69 = select i1 %67, i1 true, i1 %68 br i1 %69, label %127, label %70 70: ; preds = %61 %71 = call i32 @TREE_CODE(i32 noundef %63) #3 %72 = load i32, ptr @INTEGER_CST, align 4, !tbaa !11 %73 = icmp eq i32 %71, %72 br i1 %73, label %74, label %127 74: ; preds = %70 %75 = call i32 @TREE_CODE(i32 noundef %65) #3 %76 = load i32, ptr @INTEGER_CST, align 4, !tbaa !11 %77 = icmp eq i32 %75, %76 br i1 %77, label %78, label %127 78: ; preds = %74 %79 = call i32 @TYPE_MIN_VALUE(i32 noundef %55) #3 %80 = load i32, ptr @NULL_TREE, align 4, !tbaa !11 %81 = icmp eq i32 %79, %80 br i1 %81, label %127, label %82 82: ; preds = %78 %83 = call i32 @TYPE_MAX_VALUE(i32 noundef %55) #3 %84 = load i32, ptr @NULL_TREE, align 4, !tbaa !11 %85 = icmp eq i32 %83, %84 br i1 %85, label %127, label %86 86: ; preds = %82 %87 = call i32 @integer_nonzerop(i32 noundef %65) #3 %88 = icmp eq i32 %87, 0 br i1 %88, label %127, label %89 89: ; preds = %86 %90 = load i32, ptr @integer_zero_node, align 4, !tbaa !11 %91 = call i32 @tree_int_cst_lt(i32 noundef %65, i32 noundef %90) #3 %92 = icmp eq i32 %91, 0 %93 = load i32, ptr @MINUS_EXPR, align 4, !tbaa !11 br i1 %92, label %97, label %94 94: ; preds = %89 %95 = call i32 @TYPE_MIN_VALUE(i32 noundef %55) #3 %96 = call i32 @fold_build2(i32 noundef %93, i32 noundef %55, i32 noundef %63, i32 noundef %95) #3 br label %100 97: ; preds = %89 %98 = call i32 @TYPE_MAX_VALUE(i32 noundef %55) #3 %99 = call i32 @fold_build2(i32 noundef %93, i32 noundef %55, i32 noundef %98, i32 noundef %63) #3 br label %100 100: ; preds = %97, %94 %101 = phi i32 [ %96, %94 ], [ %99, %97 ] %102 = call i32 @unsigned_type_for(i32 noundef %55) #3 %103 = load i32, ptr @CEIL_DIV_EXPR, align 4, !tbaa !11 %104 = call i32 @fold_build2(i32 noundef %103, i32 noundef %55, i32 noundef %101, i32 noundef %65) #3 %105 = call i32 @fold_convert(i32 noundef %102, i32 noundef %104) #3 %106 = load i32, ptr @boolean_true_node, align 4, !tbaa !11 %107 = call i32 @record_estimate(ptr noundef nonnull %0, i32 noundef %105, i32 noundef %106, i32 noundef %23) #3 br label %127 108: ; preds = %21 %109 = call i32 @TREE_OPERAND(i32 noundef %23, i32 noundef 1) #3 %110 = icmp eq i32 %109, 0 br i1 %110, label %127, label %111 111: ; preds = %108, %124 %112 = phi i32 [ %125, %124 ], [ %109, %108 ] %113 = call i32 @TREE_VALUE(i32 noundef %112) #3 %114 = call i32 @TREE_CODE(i32 noundef %113) #3 %115 = load i32, ptr @ARRAY_REF, align 4, !tbaa !11 %116 = icmp eq i32 %114, %115 br i1 %116, label %117, label %124 117: ; preds = %111 %118 = call i32 @TREE_VALUE(i32 noundef %112) #3 %119 = call i32 @array_ref_contains_indirect_ref(i32 noundef %118) #3 %120 = icmp eq i32 %119, 0 br i1 %120, label %121, label %124 121: ; preds = %117 %122 = call i32 @TREE_VALUE(i32 noundef %112) #3 %123 = call i32 @estimate_iters_using_array(i32 noundef %23, i32 noundef %122) #3 br label %124 124: ; preds = %111, %117, %121 %125 = call i32 @TREE_CHAIN(i32 noundef %112) #3 %126 = icmp eq i32 %125, 0 br i1 %126, label %127, label %111, !llvm.loop !14 127: ; preds = %124, %108, %100, %86, %45, %48, %43, %61, %70, %74, %78, %82, %52, %58, %21 %128 = call i32 @bsi_next(ptr noundef nonnull %2) #3 %129 = load i32, ptr %2, align 4, !tbaa !11 %130 = call i32 @bsi_end_p(i32 noundef %129) #3 %131 = icmp eq i32 %130, 0 br i1 %131, label %21, label %132, !llvm.loop !16 132: ; preds = %127, %17, %9 %133 = add nuw nsw i64 %10, 1 %134 = load i32, ptr %0, align 4, !tbaa !6 %135 = zext i32 %134 to i64 %136 = icmp ult i64 %133, %135 br i1 %136, label %9, label %137, !llvm.loop !17 137: ; preds = %132, %1 %138 = call i32 @compute_estimated_nb_iterations(ptr noundef nonnull %0) #3 %139 = call i32 @free(ptr noundef %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @get_loop_body(ptr noundef) local_unnamed_addr #2 declare i32 @dominated_by_p(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bsi_start(i32 noundef) local_unnamed_addr #2 declare i32 @bsi_end_p(i32 noundef) local_unnamed_addr #2 declare i32 @bsi_stmt(i32 noundef) local_unnamed_addr #2 declare i32 @TREE_CODE(i32 noundef) local_unnamed_addr #2 declare i32 @TREE_OPERAND(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @array_ref_contains_indirect_ref(i32 noundef) local_unnamed_addr #2 declare i32 @estimate_iters_using_array(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @instantiate_parameters(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @analyze_scalar_evolution(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @chrec_type(i32 noundef) local_unnamed_addr #2 declare i32 @chrec_contains_undetermined(i32 noundef) local_unnamed_addr #2 declare i32 @TYPE_OVERFLOW_WRAPS(i32 noundef) local_unnamed_addr #2 declare i32 @initial_condition_in_loop_num(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @evolution_part_in_loop_num(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @TYPE_MIN_VALUE(i32 noundef) local_unnamed_addr #2 declare i32 @TYPE_MAX_VALUE(i32 noundef) local_unnamed_addr #2 declare i32 @integer_nonzerop(i32 noundef) local_unnamed_addr #2 declare i32 @tree_int_cst_lt(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fold_build2(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @unsigned_type_for(i32 noundef) local_unnamed_addr #2 declare i32 @record_estimate(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fold_convert(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @TREE_VALUE(i32 noundef) local_unnamed_addr #2 declare i32 @TREE_CHAIN(i32 noundef) local_unnamed_addr #2 declare i32 @bsi_next(ptr noundef) local_unnamed_addr #2 declare i32 @compute_estimated_nb_iterations(ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"loop", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 4} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15} !17 = distinct !{!17, !15}
freebsd_contrib_gcc_extr_tree-ssa-loop-niter.c_infer_loop_bounds_from_undefined
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/misc/sgi-xp/extr_xpc_uv.c_xpc_cache_remote_gru_mq_desc_uv.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/misc/sgi-xp/extr_xpc_uv.c_xpc_cache_remote_gru_mq_desc_uv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @xpSuccess = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xpc_cache_remote_gru_mq_desc_uv], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @xpc_cache_remote_gru_mq_desc_uv(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call i32 @uv_gpa(ptr noundef %0) #2 %4 = tail call i32 @xp_remote_memcpy(i32 noundef %3, i64 noundef %1, i32 noundef 8) #2 %5 = load i32, ptr @xpSuccess, align 4, !tbaa !5 %6 = icmp eq i32 %4, %5 br i1 %6, label %7, label %8 7: ; preds = %2 store ptr null, ptr %0, align 8, !tbaa !9 br label %8 8: ; preds = %7, %2 ret i32 %4 } declare i32 @xp_remote_memcpy(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uv_gpa(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 = !{!"gru_message_queue_desc", !11, i64 0} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/misc/sgi-xp/extr_xpc_uv.c_xpc_cache_remote_gru_mq_desc_uv.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/misc/sgi-xp/extr_xpc_uv.c_xpc_cache_remote_gru_mq_desc_uv.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @xpSuccess = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xpc_cache_remote_gru_mq_desc_uv], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @xpc_cache_remote_gru_mq_desc_uv(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call i32 @uv_gpa(ptr noundef %0) #2 %4 = tail call i32 @xp_remote_memcpy(i32 noundef %3, i64 noundef %1, i32 noundef 8) #2 %5 = load i32, ptr @xpSuccess, align 4, !tbaa !6 %6 = icmp eq i32 %4, %5 br i1 %6, label %7, label %8 7: ; preds = %2 store ptr null, ptr %0, align 8, !tbaa !10 br label %8 8: ; preds = %7, %2 ret i32 %4 } declare i32 @xp_remote_memcpy(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uv_gpa(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 = !{!"gru_message_queue_desc", !12, i64 0} !12 = !{!"any pointer", !8, i64 0}
fastsocket_kernel_drivers_misc_sgi-xp_extr_xpc_uv.c_xpc_cache_remote_gru_mq_desc_uv
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_copy.c_EndCopyFrom.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_copy.c_EndCopyFrom.c" target datalayout = "e-m:e-p270:32:32-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 @EndCopyFrom(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @EndCopy(i32 noundef %0) #2 ret void } declare i32 @EndCopy(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/postgres/src/backend/commands/extr_copy.c_EndCopyFrom.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_copy.c_EndCopyFrom.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 @EndCopyFrom(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @EndCopy(i32 noundef %0) #2 ret void } declare i32 @EndCopy(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)"}
postgres_src_backend_commands_extr_copy.c_EndCopyFrom
; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_hwcontext_dxva2.c_dxva2_device_free.c' source_filename = "AnghaBench/FFmpeg/libavutil/extr_hwcontext_dxva2.c_dxva2_device_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { ptr, ptr } %struct.TYPE_6__ = type { i64, i64, i64, i64, i64 } @INVALID_HANDLE_VALUE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @dxva2_device_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dxva2_device_free(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %0, align 8, !tbaa !10 %5 = load i64, ptr %3, align 8, !tbaa !11 %6 = icmp eq i64 %5, 0 br i1 %6, label %18, label %7 7: ; preds = %1 %8 = load i64, ptr %4, align 8, !tbaa !14 %9 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !16 %10 = icmp eq i64 %8, %9 br i1 %10, label %15, label %11 11: ; preds = %7 %12 = tail call i32 @IDirect3DDeviceManager9_CloseDeviceHandle(i64 noundef %5, i64 noundef %8) #2 %13 = load i64, ptr %3, align 8, !tbaa !11 %14 = icmp eq i64 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %7, %11 %16 = phi i64 [ %13, %11 ], [ %5, %7 ] %17 = tail call i32 @IDirect3DDeviceManager9_Release(i64 noundef %16) #2 br label %18 18: ; preds = %1, %15, %11 %19 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 4 %20 = load i64, ptr %19, align 8, !tbaa !17 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %18 %23 = tail call i32 @IDirect3DDevice9_Release(i64 noundef %20) #2 br label %24 24: ; preds = %22, %18 %25 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 3 %26 = load i64, ptr %25, align 8, !tbaa !18 %27 = icmp eq i64 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %24 %29 = tail call i32 @IDirect3D9_Release(i64 noundef %26) #2 br label %30 30: ; preds = %28, %24 %31 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 2 %32 = load i64, ptr %31, align 8, !tbaa !19 %33 = icmp eq i64 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %30 %35 = tail call i32 @dlclose(i64 noundef %32) #2 br label %36 36: ; preds = %34, %30 %37 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 1 %38 = load i64, ptr %37, align 8, !tbaa !20 %39 = icmp eq i64 %38, 0 br i1 %39, label %42, label %40 40: ; preds = %36 %41 = tail call i32 @dlclose(i64 noundef %38) #2 br label %42 42: ; preds = %40, %36 %43 = tail call i32 @av_freep(ptr noundef nonnull %0) #2 ret void } declare i32 @IDirect3DDeviceManager9_CloseDeviceHandle(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @IDirect3DDeviceManager9_Release(i64 noundef) local_unnamed_addr #1 declare i32 @IDirect3DDevice9_Release(i64 noundef) local_unnamed_addr #1 declare i32 @IDirect3D9_Release(i64 noundef) local_unnamed_addr #1 declare i32 @dlclose(i64 noundef) local_unnamed_addr #1 declare i32 @av_freep(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_7__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_8__", !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_6__", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32} !16 = !{!13, !13, i64 0} !17 = !{!15, !13, i64 32} !18 = !{!15, !13, i64 24} !19 = !{!15, !13, i64 16} !20 = !{!15, !13, i64 8}
; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_hwcontext_dxva2.c_dxva2_device_free.c' source_filename = "AnghaBench/FFmpeg/libavutil/extr_hwcontext_dxva2.c_dxva2_device_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INVALID_HANDLE_VALUE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @dxva2_device_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dxva2_device_free(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %0, align 8, !tbaa !11 %5 = load i64, ptr %3, align 8, !tbaa !12 %6 = icmp eq i64 %5, 0 br i1 %6, label %18, label %7 7: ; preds = %1 %8 = load i64, ptr %4, align 8, !tbaa !15 %9 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !17 %10 = icmp eq i64 %8, %9 br i1 %10, label %15, label %11 11: ; preds = %7 %12 = tail call i32 @IDirect3DDeviceManager9_CloseDeviceHandle(i64 noundef %5, i64 noundef %8) #2 %13 = load i64, ptr %3, align 8, !tbaa !12 %14 = icmp eq i64 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %7, %11 %16 = phi i64 [ %13, %11 ], [ %5, %7 ] %17 = tail call i32 @IDirect3DDeviceManager9_Release(i64 noundef %16) #2 br label %18 18: ; preds = %1, %15, %11 %19 = getelementptr inbounds i8, ptr %4, i64 32 %20 = load i64, ptr %19, align 8, !tbaa !18 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %18 %23 = tail call i32 @IDirect3DDevice9_Release(i64 noundef %20) #2 br label %24 24: ; preds = %22, %18 %25 = getelementptr inbounds i8, ptr %4, i64 24 %26 = load i64, ptr %25, align 8, !tbaa !19 %27 = icmp eq i64 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %24 %29 = tail call i32 @IDirect3D9_Release(i64 noundef %26) #2 br label %30 30: ; preds = %28, %24 %31 = getelementptr inbounds i8, ptr %4, i64 16 %32 = load i64, ptr %31, align 8, !tbaa !20 %33 = icmp eq i64 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %30 %35 = tail call i32 @dlclose(i64 noundef %32) #2 br label %36 36: ; preds = %34, %30 %37 = getelementptr inbounds i8, ptr %4, i64 8 %38 = load i64, ptr %37, align 8, !tbaa !21 %39 = icmp eq i64 %38, 0 br i1 %39, label %42, label %40 40: ; preds = %36 %41 = tail call i32 @dlclose(i64 noundef %38) #2 br label %42 42: ; preds = %40, %36 %43 = tail call i32 @av_freep(ptr noundef nonnull %0) #2 ret void } declare i32 @IDirect3DDeviceManager9_CloseDeviceHandle(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @IDirect3DDeviceManager9_Release(i64 noundef) local_unnamed_addr #1 declare i32 @IDirect3DDevice9_Release(i64 noundef) local_unnamed_addr #1 declare i32 @IDirect3D9_Release(i64 noundef) local_unnamed_addr #1 declare i32 @dlclose(i64 noundef) local_unnamed_addr #1 declare i32 @av_freep(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_7__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_8__", !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"TYPE_6__", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32} !17 = !{!14, !14, i64 0} !18 = !{!16, !14, i64 32} !19 = !{!16, !14, i64 24} !20 = !{!16, !14, i64 16} !21 = !{!16, !14, i64 8}
FFmpeg_libavutil_extr_hwcontext_dxva2.c_dxva2_device_free
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_mad_rmpp.c_process_ds_ack.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_mad_rmpp.c_process_ds_ack.c" target datalayout = "e-m:e-p270:32:32-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.mad_rmpp_recv = type { i64, i32 } @RMPP_STATE_COMPLETE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @process_ds_ack], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @process_ds_ack(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @find_rmpp_recv(ptr noundef %0, ptr noundef %1) #2 %5 = icmp eq ptr %4, null br i1 %5, label %12, label %6 6: ; preds = %3 %7 = load i64, ptr %4, align 8, !tbaa !5 %8 = load i64, ptr @RMPP_STATE_COMPLETE, align 8, !tbaa !11 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %12 10: ; preds = %6 %11 = getelementptr inbounds %struct.mad_rmpp_recv, ptr %4, i64 0, i32 1 store i32 %2, ptr %11, align 8, !tbaa !12 br label %12 12: ; preds = %10, %6, %3 ret void } declare ptr @find_rmpp_recv(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 = !{!"mad_rmpp_recv", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_mad_rmpp.c_process_ds_ack.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_mad_rmpp.c_process_ds_ack.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RMPP_STATE_COMPLETE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @process_ds_ack], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @process_ds_ack(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @find_rmpp_recv(ptr noundef %0, ptr noundef %1) #2 %5 = icmp eq ptr %4, null br i1 %5, label %12, label %6 6: ; preds = %3 %7 = load i64, ptr %4, align 8, !tbaa !6 %8 = load i64, ptr @RMPP_STATE_COMPLETE, align 8, !tbaa !12 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %12 10: ; preds = %6 %11 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %2, ptr %11, align 8, !tbaa !13 br label %12 12: ; preds = %10, %6, %3 ret void } declare ptr @find_rmpp_recv(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 = !{!"mad_rmpp_recv", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8}
fastsocket_kernel_drivers_infiniband_core_extr_mad_rmpp.c_process_ds_ack
; ModuleID = 'AnghaBench/linux/drivers/media/platform/sti/bdisp/extr_bdisp-v4l2.c_bdisp_unregister_device.c' source_filename = "AnghaBench/linux/drivers/media/platform/sti/bdisp/extr_bdisp-v4l2.c_bdisp_unregister_device.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @bdisp_unregister_device], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bdisp_unregister_device(ptr noundef readonly %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %12, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @v4l2_m2m_release(i64 noundef %5) #2 br label %9 9: ; preds = %7, %3 %10 = load i32, ptr %0, align 8, !tbaa !12 %11 = tail call i32 @video_unregister_device(i32 noundef %10) #2 br label %12 12: ; preds = %1, %9 ret void } declare i32 @v4l2_m2m_release(i64 noundef) local_unnamed_addr #1 declare i32 @video_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, !11, i64 8} !6 = !{!"bdisp_dev", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/sti/bdisp/extr_bdisp-v4l2.c_bdisp_unregister_device.c' source_filename = "AnghaBench/linux/drivers/media/platform/sti/bdisp/extr_bdisp-v4l2.c_bdisp_unregister_device.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @bdisp_unregister_device], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bdisp_unregister_device(ptr noundef readonly %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %12, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @v4l2_m2m_release(i64 noundef %5) #2 br label %9 9: ; preds = %7, %3 %10 = load i32, ptr %0, align 8, !tbaa !13 %11 = tail call i32 @video_unregister_device(i32 noundef %10) #2 br label %12 12: ; preds = %1, %9 ret void } declare i32 @v4l2_m2m_release(i64 noundef) local_unnamed_addr #1 declare i32 @video_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, !12, i64 8} !7 = !{!"bdisp_dev", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"long", !10, i64 0} !13 = !{!7, !9, i64 0}
linux_drivers_media_platform_sti_bdisp_extr_bdisp-v4l2.c_bdisp_unregister_device
; ModuleID = 'AnghaBench/libgit2/tests/fetchhead/extr_nonetwork.c_test_fetchhead_nonetwork__unborn_with_upstream.c' source_filename = "AnghaBench/libgit2/tests/fetchhead/extr_nonetwork.c_test_fetchhead_nonetwork__unborn_with_upstream.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @cleanup_repository = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"./test1\00", align 1 @g_repo = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"./repowithunborn\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"origin\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"testrepo.git\00", align 1 @assert_master_for_merge = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @test_fetchhead_nonetwork__unborn_with_upstream() local_unnamed_addr #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = tail call i32 @cl_set_cleanup(ptr noundef nonnull @cleanup_repository, ptr noundef nonnull @.str) #3 %4 = tail call i32 @git_repository_init(ptr noundef nonnull @g_repo, ptr noundef nonnull @.str, i32 noundef 0) #3 %5 = tail call i32 @cl_git_pass(i32 noundef %4) #3 %6 = tail call i32 @cl_set_cleanup(ptr noundef nonnull @cleanup_repository, ptr noundef nonnull @.str.1) #3 %7 = call i32 @git_clone(ptr noundef nonnull %1, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef null) #3 %8 = call i32 @cl_git_pass(i32 noundef %7) #3 %9 = load ptr, ptr %1, align 8, !tbaa !5 %10 = call i32 @cl_fixture(ptr noundef nonnull @.str.3) #3 %11 = call i32 @git_remote_set_url(ptr noundef %9, ptr noundef nonnull @.str.2, i32 noundef %10) #3 %12 = call i32 @cl_git_pass(i32 noundef %11) #3 %13 = load ptr, ptr %1, align 8, !tbaa !5 %14 = call i32 @git_remote_lookup(ptr noundef nonnull %2, ptr noundef %13, ptr noundef nonnull @.str.2) #3 %15 = call i32 @cl_git_pass(i32 noundef %14) #3 %16 = load ptr, ptr %2, align 8, !tbaa !5 %17 = call i32 @git_remote_fetch(ptr noundef %16, ptr noundef null, ptr noundef null, ptr noundef null) #3 %18 = call i32 @cl_git_pass(i32 noundef %17) #3 %19 = load ptr, ptr %2, align 8, !tbaa !5 %20 = call i32 @git_remote_free(ptr noundef %19) #3 %21 = load ptr, ptr %1, align 8, !tbaa !5 %22 = load i32, ptr @assert_master_for_merge, align 4, !tbaa !9 %23 = call i32 @git_repository_fetchhead_foreach(ptr noundef %21, i32 noundef %22, ptr noundef null) #3 %24 = call i32 @cl_git_pass(i32 noundef %23) #3 %25 = load ptr, ptr %1, align 8, !tbaa !5 %26 = call i32 @git_repository_free(ptr noundef %25) #3 %27 = call i32 @cl_fixture_cleanup(ptr noundef nonnull @.str.1) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cl_set_cleanup(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2 declare i32 @git_repository_init(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_clone(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_remote_set_url(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_fixture(ptr noundef) local_unnamed_addr #2 declare i32 @git_remote_lookup(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_remote_fetch(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_remote_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_repository_fetchhead_foreach(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_repository_free(ptr noundef) local_unnamed_addr #2 declare i32 @cl_fixture_cleanup(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/libgit2/tests/fetchhead/extr_nonetwork.c_test_fetchhead_nonetwork__unborn_with_upstream.c' source_filename = "AnghaBench/libgit2/tests/fetchhead/extr_nonetwork.c_test_fetchhead_nonetwork__unborn_with_upstream.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @cleanup_repository = common global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"./test1\00", align 1 @g_repo = common global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"./repowithunborn\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"origin\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"testrepo.git\00", align 1 @assert_master_for_merge = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_fetchhead_nonetwork__unborn_with_upstream() local_unnamed_addr #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = tail call i32 @cl_set_cleanup(ptr noundef nonnull @cleanup_repository, ptr noundef nonnull @.str) #3 %4 = tail call i32 @git_repository_init(ptr noundef nonnull @g_repo, ptr noundef nonnull @.str, i32 noundef 0) #3 %5 = tail call i32 @cl_git_pass(i32 noundef %4) #3 %6 = tail call i32 @cl_set_cleanup(ptr noundef nonnull @cleanup_repository, ptr noundef nonnull @.str.1) #3 %7 = call i32 @git_clone(ptr noundef nonnull %1, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef null) #3 %8 = call i32 @cl_git_pass(i32 noundef %7) #3 %9 = load ptr, ptr %1, align 8, !tbaa !6 %10 = call i32 @cl_fixture(ptr noundef nonnull @.str.3) #3 %11 = call i32 @git_remote_set_url(ptr noundef %9, ptr noundef nonnull @.str.2, i32 noundef %10) #3 %12 = call i32 @cl_git_pass(i32 noundef %11) #3 %13 = load ptr, ptr %1, align 8, !tbaa !6 %14 = call i32 @git_remote_lookup(ptr noundef nonnull %2, ptr noundef %13, ptr noundef nonnull @.str.2) #3 %15 = call i32 @cl_git_pass(i32 noundef %14) #3 %16 = load ptr, ptr %2, align 8, !tbaa !6 %17 = call i32 @git_remote_fetch(ptr noundef %16, ptr noundef null, ptr noundef null, ptr noundef null) #3 %18 = call i32 @cl_git_pass(i32 noundef %17) #3 %19 = load ptr, ptr %2, align 8, !tbaa !6 %20 = call i32 @git_remote_free(ptr noundef %19) #3 %21 = load ptr, ptr %1, align 8, !tbaa !6 %22 = load i32, ptr @assert_master_for_merge, align 4, !tbaa !10 %23 = call i32 @git_repository_fetchhead_foreach(ptr noundef %21, i32 noundef %22, ptr noundef null) #3 %24 = call i32 @cl_git_pass(i32 noundef %23) #3 %25 = load ptr, ptr %1, align 8, !tbaa !6 %26 = call i32 @git_repository_free(ptr noundef %25) #3 %27 = call i32 @cl_fixture_cleanup(ptr noundef nonnull @.str.1) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cl_set_cleanup(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2 declare i32 @git_repository_init(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_clone(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_remote_set_url(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_fixture(ptr noundef) local_unnamed_addr #2 declare i32 @git_remote_lookup(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_remote_fetch(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_remote_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_repository_fetchhead_foreach(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_repository_free(ptr noundef) local_unnamed_addr #2 declare i32 @cl_fixture_cleanup(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
libgit2_tests_fetchhead_extr_nonetwork.c_test_fetchhead_nonetwork__unborn_with_upstream
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov5640.c_ov5640_try_frame_interval.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov5640.c_ov5640_try_frame_interval.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.v4l2_fract = type { i32, i32 } @OV5640_15_FPS = dso_local local_unnamed_addr global i64 0, align 8 @ov5640_framerates = dso_local local_unnamed_addr global ptr null, align 8 @OV5640_60_FPS = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ov5640_try_frame_interval], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ov5640_try_frame_interval(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load ptr, ptr @ov5640_framerates, align 8, !tbaa !5 %6 = load i64, ptr @OV5640_60_FPS, align 8, !tbaa !9 %7 = getelementptr inbounds i32, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = load i32, ptr %1, align 4, !tbaa !13 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %4 %12 = getelementptr inbounds %struct.v4l2_fract, ptr %1, i64 0, i32 1 store i32 %8, ptr %12, align 4, !tbaa !15 store i32 1, ptr %1, align 4, !tbaa !13 %13 = trunc i64 %6 to i32 br label %49 14: ; preds = %4 %15 = load i64, ptr @OV5640_15_FPS, align 8, !tbaa !9 %16 = getelementptr inbounds i32, ptr %5, i64 %15 %17 = load i32, ptr %16, align 4, !tbaa !11 %18 = trunc i64 %15 to i32 %19 = getelementptr inbounds %struct.v4l2_fract, ptr %1, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !15 %21 = tail call i32 @DIV_ROUND_CLOSEST(i32 noundef %20, i32 noundef %9) #2 %22 = tail call i32 @clamp_val(i32 noundef %21, i32 noundef %17, i32 noundef %8) #2 %23 = load ptr, ptr @ov5640_framerates, align 8, !tbaa !5 %24 = tail call i32 @ARRAY_SIZE(ptr noundef %23) #2 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %46 26: ; preds = %14, %26 %27 = phi i64 [ %41, %26 ], [ 0, %14 ] %28 = phi i32 [ %40, %26 ], [ %18, %14 ] %29 = phi i32 [ %38, %26 ], [ %17, %14 ] %30 = load ptr, ptr @ov5640_framerates, align 8, !tbaa !5 %31 = getelementptr inbounds i32, ptr %30, i64 %27 %32 = load i32, ptr %31, align 4, !tbaa !11 %33 = sub nsw i32 %32, %22 %34 = tail call i64 @abs(i32 noundef %33) #2 %35 = sub nsw i32 %29, %22 %36 = tail call i64 @abs(i32 noundef %35) #2 %37 = icmp slt i64 %34, %36 %38 = select i1 %37, i32 %32, i32 %29 %39 = trunc i64 %27 to i32 %40 = select i1 %37, i32 %39, i32 %28 %41 = add nuw nsw i64 %27, 1 %42 = load ptr, ptr @ov5640_framerates, align 8, !tbaa !5 %43 = tail call i32 @ARRAY_SIZE(ptr noundef %42) #2 %44 = sext i32 %43 to i64 %45 = icmp slt i64 %41, %44 br i1 %45, label %26, label %46, !llvm.loop !16 46: ; preds = %26, %14 %47 = phi i32 [ %17, %14 ], [ %38, %26 ] %48 = phi i32 [ %18, %14 ], [ %40, %26 ] store i32 1, ptr %1, align 4, !tbaa !13 store i32 %47, ptr %19, align 4, !tbaa !15 br label %49 49: ; preds = %46, %11 %50 = phi i32 [ %13, %11 ], [ %48, %46 ] %51 = tail call ptr @ov5640_find_mode(ptr noundef %0, i32 noundef %50, i32 noundef %2, i32 noundef %3, i32 noundef 0) #2 %52 = icmp eq ptr %51, null %53 = load i32, ptr @EINVAL, align 4 %54 = sub nsw i32 0, %53 %55 = select i1 %52, i32 %54, i32 %50 ret i32 %55 } declare i32 @clamp_val(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DIV_ROUND_CLOSEST(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i64 @abs(i32 noundef) local_unnamed_addr #1 declare ptr @ov5640_find_mode(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"v4l2_fract", !12, i64 0, !12, i64 4} !15 = !{!14, !12, i64 4} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov5640.c_ov5640_try_frame_interval.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov5640.c_ov5640_try_frame_interval.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OV5640_15_FPS = common local_unnamed_addr global i64 0, align 8 @ov5640_framerates = common local_unnamed_addr global ptr null, align 8 @OV5640_60_FPS = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ov5640_try_frame_interval], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ov5640_try_frame_interval(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load ptr, ptr @ov5640_framerates, align 8, !tbaa !6 %6 = load i64, ptr @OV5640_60_FPS, align 8, !tbaa !10 %7 = getelementptr inbounds i32, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = load i32, ptr %1, align 4, !tbaa !14 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %4 %12 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %8, ptr %12, align 4, !tbaa !16 store i32 1, ptr %1, align 4, !tbaa !14 %13 = trunc i64 %6 to i32 br label %49 14: ; preds = %4 %15 = load i64, ptr @OV5640_15_FPS, align 8, !tbaa !10 %16 = getelementptr inbounds i32, ptr %5, i64 %15 %17 = load i32, ptr %16, align 4, !tbaa !12 %18 = trunc i64 %15 to i32 %19 = getelementptr inbounds i8, ptr %1, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !16 %21 = tail call i32 @DIV_ROUND_CLOSEST(i32 noundef %20, i32 noundef %9) #2 %22 = tail call i32 @clamp_val(i32 noundef %21, i32 noundef %17, i32 noundef %8) #2 %23 = load ptr, ptr @ov5640_framerates, align 8, !tbaa !6 %24 = tail call i32 @ARRAY_SIZE(ptr noundef %23) #2 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %46 26: ; preds = %14, %26 %27 = phi i64 [ %41, %26 ], [ 0, %14 ] %28 = phi i32 [ %40, %26 ], [ %18, %14 ] %29 = phi i32 [ %38, %26 ], [ %17, %14 ] %30 = load ptr, ptr @ov5640_framerates, align 8, !tbaa !6 %31 = getelementptr inbounds i32, ptr %30, i64 %27 %32 = load i32, ptr %31, align 4, !tbaa !12 %33 = sub nsw i32 %32, %22 %34 = tail call i64 @abs(i32 noundef %33) #2 %35 = sub nsw i32 %29, %22 %36 = tail call i64 @abs(i32 noundef %35) #2 %37 = icmp slt i64 %34, %36 %38 = select i1 %37, i32 %32, i32 %29 %39 = trunc nuw nsw i64 %27 to i32 %40 = select i1 %37, i32 %39, i32 %28 %41 = add nuw nsw i64 %27, 1 %42 = load ptr, ptr @ov5640_framerates, align 8, !tbaa !6 %43 = tail call i32 @ARRAY_SIZE(ptr noundef %42) #2 %44 = sext i32 %43 to i64 %45 = icmp slt i64 %41, %44 br i1 %45, label %26, label %46, !llvm.loop !17 46: ; preds = %26, %14 %47 = phi i32 [ %17, %14 ], [ %38, %26 ] %48 = phi i32 [ %18, %14 ], [ %40, %26 ] store i32 1, ptr %1, align 4, !tbaa !14 store i32 %47, ptr %19, align 4, !tbaa !16 br label %49 49: ; preds = %46, %11 %50 = phi i32 [ %13, %11 ], [ %48, %46 ] %51 = tail call ptr @ov5640_find_mode(ptr noundef %0, i32 noundef %50, i32 noundef %2, i32 noundef %3, i32 noundef 0) #2 %52 = icmp eq ptr %51, null %53 = load i32, ptr @EINVAL, align 4 %54 = sub nsw i32 0, %53 %55 = select i1 %52, i32 %54, i32 %50 ret i32 %55 } declare i32 @clamp_val(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DIV_ROUND_CLOSEST(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i64 @abs(i32 noundef) local_unnamed_addr #1 declare ptr @ov5640_find_mode(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"v4l2_fract", !13, i64 0, !13, i64 4} !16 = !{!15, !13, i64 4} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
linux_drivers_media_i2c_extr_ov5640.c_ov5640_try_frame_interval
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/via/extr_hw.c_viafb_get_pixclock.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/via/extr_hw.c_viafb_get_pixclock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32, i32, i32 } @NUM_TOTAL_RES_MAP_REFRESH = dso_local local_unnamed_addr global i32 0, align 4 @res_map_refresh_tbl = dso_local local_unnamed_addr global ptr null, align 8 @RES_640X480_60HZ_PIXCLOCK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local i32 @viafb_get_pixclock(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @NUM_TOTAL_RES_MAP_REFRESH, align 4, !tbaa !5 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %27 6: ; preds = %3 %7 = load ptr, ptr @res_map_refresh_tbl, align 8, !tbaa !9 %8 = zext nneg i32 %4 to i64 br label %9 9: ; preds = %6, %24 %10 = phi i64 [ 0, %6 ], [ %25, %24 ] %11 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = icmp eq i32 %12, %0 br i1 %13, label %14, label %24 14: ; preds = %9 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %10, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !13 %17 = icmp eq i32 %16, %1 br i1 %17, label %18, label %24 18: ; preds = %14 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %10, i32 2 %20 = load i32, ptr %19, align 4, !tbaa !14 %21 = icmp eq i32 %20, %2 br i1 %21, label %22, label %24 22: ; preds = %18 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %10, i32 3 br label %27 24: ; preds = %9, %14, %18 %25 = add nuw nsw i64 %10, 1 %26 = icmp eq i64 %25, %8 br i1 %26, label %27, label %9, !llvm.loop !15 27: ; preds = %24, %3, %22 %28 = phi ptr [ %23, %22 ], [ @RES_640X480_60HZ_PIXCLOCK, %3 ], [ @RES_640X480_60HZ_PIXCLOCK, %24 ] %29 = load i32, ptr %28, align 4, !tbaa !5 ret i32 %29 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12} !13 = !{!12, !6, i64 4} !14 = !{!12, !6, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/via/extr_hw.c_viafb_get_pixclock.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/via/extr_hw.c_viafb_get_pixclock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, i32, i32, i32 } @NUM_TOTAL_RES_MAP_REFRESH = common local_unnamed_addr global i32 0, align 4 @res_map_refresh_tbl = common local_unnamed_addr global ptr null, align 8 @RES_640X480_60HZ_PIXCLOCK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define i32 @viafb_get_pixclock(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @NUM_TOTAL_RES_MAP_REFRESH, align 4, !tbaa !6 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %27 6: ; preds = %3 %7 = load ptr, ptr @res_map_refresh_tbl, align 8, !tbaa !10 %8 = zext nneg i32 %4 to i64 br label %9 9: ; preds = %6, %24 %10 = phi i64 [ 0, %6 ], [ %25, %24 ] %11 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = icmp eq i32 %12, %0 br i1 %13, label %14, label %24 14: ; preds = %9 %15 = getelementptr inbounds i8, ptr %11, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !14 %17 = icmp eq i32 %16, %1 br i1 %17, label %18, label %24 18: ; preds = %14 %19 = getelementptr inbounds i8, ptr %11, i64 8 %20 = load i32, ptr %19, align 4, !tbaa !15 %21 = icmp eq i32 %20, %2 br i1 %21, label %22, label %24 22: ; preds = %18 %23 = getelementptr inbounds i8, ptr %11, i64 12 br label %27 24: ; preds = %9, %14, %18 %25 = add nuw nsw i64 %10, 1 %26 = icmp eq i64 %25, %8 br i1 %26, label %27, label %9, !llvm.loop !16 27: ; preds = %24, %3, %22 %28 = phi ptr [ %23, %22 ], [ @RES_640X480_60HZ_PIXCLOCK, %3 ], [ @RES_640X480_60HZ_PIXCLOCK, %24 ] %29 = load i32, ptr %28, align 4, !tbaa !6 ret i32 %29 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !14 = !{!13, !7, i64 4} !15 = !{!13, !7, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_video_via_extr_hw.c_viafb_get_pixclock
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_sungem_phy.c_bcm5401_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_sungem_phy.c_bcm5401_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" @MII_PHYSID2 = dso_local local_unnamed_addr global i32 0, align 4 @MII_BCM5400_GB_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @MII_BCM5400_GB_CONTROL_FULLDUPLEXCAP = dso_local local_unnamed_addr global i32 0, align 4 @MII_BCM5201_MULTIPHY = dso_local local_unnamed_addr global i32 0, align 4 @MII_BCM5201_MULTIPHY_SERIALMODE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bcm5401_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @bcm5401_init(ptr noundef %0) #0 { %2 = load i32, ptr @MII_PHYSID2, align 4, !tbaa !5 %3 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %2) #2 %4 = and i32 %3, 15 switch i32 %4, label %17 [ i32 3, label %5 i32 0, label %5 ] 5: ; preds = %1, %1 %6 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 24, i32 noundef 3104) #2 %7 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 23, i32 noundef 18) #2 %8 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 21, i32 noundef 6148) #2 %9 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 23, i32 noundef 19) #2 %10 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 21, i32 noundef 4612) #2 %11 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 23, i32 noundef 32774) #2 %12 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 21, i32 noundef 306) #2 %13 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 23, i32 noundef 32774) #2 %14 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 21, i32 noundef 562) #2 %15 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 23, i32 noundef 8223) #2 %16 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 21, i32 noundef 2592) #2 br label %17 17: ; preds = %1, %5 %18 = load i32, ptr @MII_BCM5400_GB_CONTROL, align 4, !tbaa !5 %19 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %18) #2 %20 = load i32, ptr @MII_BCM5400_GB_CONTROL_FULLDUPLEXCAP, align 4, !tbaa !5 %21 = or i32 %20, %19 %22 = load i32, ptr @MII_BCM5400_GB_CONTROL, align 4, !tbaa !5 %23 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %22, i32 noundef %21) #2 %24 = tail call i32 @udelay(i32 noundef 10) #2 %25 = tail call i32 @reset_one_mii_phy(ptr noundef %0, i32 noundef 31) #2 %26 = load i32, ptr @MII_BCM5201_MULTIPHY, align 4, !tbaa !5 %27 = tail call i32 @__phy_read(ptr noundef %0, i32 noundef 31, i32 noundef %26) #2 %28 = load i32, ptr @MII_BCM5201_MULTIPHY_SERIALMODE, align 4, !tbaa !5 %29 = or i32 %28, %27 %30 = load i32, ptr @MII_BCM5201_MULTIPHY, align 4, !tbaa !5 %31 = tail call i32 @__phy_write(ptr noundef %0, i32 noundef 31, i32 noundef %30, i32 noundef %29) #2 ret i32 0 } declare i32 @phy_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @reset_one_mii_phy(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__phy_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__phy_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_sungem_phy.c_bcm5401_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_sungem_phy.c_bcm5401_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MII_PHYSID2 = common local_unnamed_addr global i32 0, align 4 @MII_BCM5400_GB_CONTROL = common local_unnamed_addr global i32 0, align 4 @MII_BCM5400_GB_CONTROL_FULLDUPLEXCAP = common local_unnamed_addr global i32 0, align 4 @MII_BCM5201_MULTIPHY = common local_unnamed_addr global i32 0, align 4 @MII_BCM5201_MULTIPHY_SERIALMODE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bcm5401_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @bcm5401_init(ptr noundef %0) #0 { %2 = load i32, ptr @MII_PHYSID2, align 4, !tbaa !6 %3 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %2) #2 %4 = and i32 %3, 15 switch i32 %4, label %17 [ i32 3, label %5 i32 0, label %5 ] 5: ; preds = %1, %1 %6 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 24, i32 noundef 3104) #2 %7 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 23, i32 noundef 18) #2 %8 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 21, i32 noundef 6148) #2 %9 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 23, i32 noundef 19) #2 %10 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 21, i32 noundef 4612) #2 %11 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 23, i32 noundef 32774) #2 %12 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 21, i32 noundef 306) #2 %13 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 23, i32 noundef 32774) #2 %14 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 21, i32 noundef 562) #2 %15 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 23, i32 noundef 8223) #2 %16 = tail call i32 @phy_write(ptr noundef %0, i32 noundef 21, i32 noundef 2592) #2 br label %17 17: ; preds = %1, %5 %18 = load i32, ptr @MII_BCM5400_GB_CONTROL, align 4, !tbaa !6 %19 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %18) #2 %20 = load i32, ptr @MII_BCM5400_GB_CONTROL_FULLDUPLEXCAP, align 4, !tbaa !6 %21 = or i32 %20, %19 %22 = load i32, ptr @MII_BCM5400_GB_CONTROL, align 4, !tbaa !6 %23 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %22, i32 noundef %21) #2 %24 = tail call i32 @udelay(i32 noundef 10) #2 %25 = tail call i32 @reset_one_mii_phy(ptr noundef %0, i32 noundef 31) #2 %26 = load i32, ptr @MII_BCM5201_MULTIPHY, align 4, !tbaa !6 %27 = tail call i32 @__phy_read(ptr noundef %0, i32 noundef 31, i32 noundef %26) #2 %28 = load i32, ptr @MII_BCM5201_MULTIPHY_SERIALMODE, align 4, !tbaa !6 %29 = or i32 %28, %27 %30 = load i32, ptr @MII_BCM5201_MULTIPHY, align 4, !tbaa !6 %31 = tail call i32 @__phy_write(ptr noundef %0, i32 noundef 31, i32 noundef %30, i32 noundef %29) #2 ret i32 0 } declare i32 @phy_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @reset_one_mii_phy(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__phy_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__phy_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_net_extr_sungem_phy.c_bcm5401_init
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_nand_bbt.c_nand_create_badblock_pattern.c' source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_nand_bbt.c_nand_create_badblock_pattern.c" target datalayout = "e-m:e-p270:32:32-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.nand_chip = type { i32, i32, ptr, i32 } %struct.nand_bbt_descr = type { i32, i32, i32, i32 } @.str = private unnamed_addr constant [52 x i8] c"Bad block pattern already allocated; not replacing\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 @BADBLOCK_SCAN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @NAND_BUSWIDTH_16 = dso_local local_unnamed_addr global i32 0, align 4 @scan_ff_pattern = dso_local local_unnamed_addr global i32 0, align 4 @NAND_BBT_DYNAMICSTRUCT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nand_create_badblock_pattern], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nand_create_badblock_pattern(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.nand_chip, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %9, label %5 5: ; preds = %1 %6 = tail call i32 @pr_warn(ptr noundef nonnull @.str) #2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !11 %8 = sub nsw i32 0, %7 br label %34 9: ; preds = %1 %10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %11 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %10) #2 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %15 = sub nsw i32 0, %14 br label %34 16: ; preds = %9 %17 = load i32, ptr %0, align 8, !tbaa !12 %18 = load i32, ptr @BADBLOCK_SCAN_MASK, align 4, !tbaa !11 %19 = and i32 %18, %17 store i32 %19, ptr %11, align 4, !tbaa !13 %20 = getelementptr inbounds %struct.nand_chip, ptr %0, i64 0, i32 3 %21 = load i32, ptr %20, align 8, !tbaa !15 %22 = getelementptr inbounds %struct.nand_bbt_descr, ptr %11, i64 0, i32 3 store i32 %21, ptr %22, align 4, !tbaa !16 %23 = getelementptr inbounds %struct.nand_chip, ptr %0, i64 0, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !17 %25 = load i32, ptr @NAND_BUSWIDTH_16, align 4, !tbaa !11 %26 = and i32 %25, %24 %27 = icmp eq i32 %26, 0 %28 = select i1 %27, i32 1, i32 2 %29 = getelementptr inbounds %struct.nand_bbt_descr, ptr %11, i64 0, i32 1 store i32 %28, ptr %29, align 4, !tbaa !18 %30 = load i32, ptr @scan_ff_pattern, align 4, !tbaa !11 %31 = getelementptr inbounds %struct.nand_bbt_descr, ptr %11, i64 0, i32 2 store i32 %30, ptr %31, align 4, !tbaa !19 %32 = load i32, ptr @NAND_BBT_DYNAMICSTRUCT, align 4, !tbaa !11 %33 = or i32 %32, %19 store i32 %33, ptr %11, align 4, !tbaa !13 store ptr %11, ptr %2, align 8, !tbaa !5 br label %34 34: ; preds = %16, %13, %5 %35 = phi i32 [ %8, %5 ], [ 0, %16 ], [ %15, %13 ] ret i32 %35 } declare i32 @pr_warn(ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"nand_chip", !7, i64 0, !7, i64 4, !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 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"nand_bbt_descr", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !15 = !{!6, !7, i64 16} !16 = !{!14, !7, i64 12} !17 = !{!6, !7, i64 4} !18 = !{!14, !7, i64 4} !19 = !{!14, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_nand_bbt.c_nand_create_badblock_pattern.c' source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_nand_bbt.c_nand_create_badblock_pattern.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 [52 x i8] c"Bad block pattern already allocated; not replacing\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 @BADBLOCK_SCAN_MASK = common local_unnamed_addr global i32 0, align 4 @NAND_BUSWIDTH_16 = common local_unnamed_addr global i32 0, align 4 @scan_ff_pattern = common local_unnamed_addr global i32 0, align 4 @NAND_BBT_DYNAMICSTRUCT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nand_create_badblock_pattern], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @nand_create_badblock_pattern(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %9, label %5 5: ; preds = %1 %6 = tail call i32 @pr_warn(ptr noundef nonnull @.str) #2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !12 %8 = sub nsw i32 0, %7 br label %34 9: ; preds = %1 %10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %11 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %10) #2 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %15 = sub nsw i32 0, %14 br label %34 16: ; preds = %9 %17 = load i32, ptr %0, align 8, !tbaa !13 %18 = load i32, ptr @BADBLOCK_SCAN_MASK, align 4, !tbaa !12 %19 = and i32 %18, %17 store i32 %19, ptr %11, align 4, !tbaa !14 %20 = getelementptr inbounds i8, ptr %0, i64 16 %21 = load i32, ptr %20, align 8, !tbaa !16 %22 = getelementptr inbounds i8, ptr %11, i64 12 store i32 %21, ptr %22, align 4, !tbaa !17 %23 = getelementptr inbounds i8, ptr %0, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !18 %25 = load i32, ptr @NAND_BUSWIDTH_16, align 4, !tbaa !12 %26 = and i32 %25, %24 %27 = icmp eq i32 %26, 0 %28 = select i1 %27, i32 1, i32 2 %29 = getelementptr inbounds i8, ptr %11, i64 4 store i32 %28, ptr %29, align 4, !tbaa !19 %30 = load i32, ptr @scan_ff_pattern, align 4, !tbaa !12 %31 = getelementptr inbounds i8, ptr %11, i64 8 store i32 %30, ptr %31, align 4, !tbaa !20 %32 = load i32, ptr @NAND_BBT_DYNAMICSTRUCT, align 4, !tbaa !12 %33 = or i32 %32, %19 store i32 %33, ptr %11, align 4, !tbaa !14 store ptr %11, ptr %2, align 8, !tbaa !6 br label %34 34: ; preds = %16, %13, %5 %35 = phi i32 [ %8, %5 ], [ 0, %16 ], [ %15, %13 ] ret i32 %35 } declare i32 @pr_warn(ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"nand_chip", !8, i64 0, !8, i64 4, !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 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"nand_bbt_descr", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !16 = !{!7, !8, i64 16} !17 = !{!15, !8, i64 12} !18 = !{!7, !8, i64 4} !19 = !{!15, !8, i64 4} !20 = !{!15, !8, i64 8}
linux_drivers_mtd_nand_raw_extr_nand_bbt.c_nand_create_badblock_pattern
; ModuleID = 'AnghaBench/git/extr_transport-helper.c_push_update_refs_status.c' source_filename = "AnghaBench/git/extr_transport-helper.c_push_update_refs_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.strbuf = type { i32 } %struct.helper_data = type { %struct.TYPE_2__, i64 } %struct.TYPE_2__ = type { i32 } %struct.ref = type { i32, i32 } @STRBUF_INIT = dso_local local_unnamed_addr global %struct.strbuf zeroinitializer, align 4 @TRANSPORT_PUSH_DRY_RUN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"update by helper\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @push_update_refs_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @push_update_refs_status(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.strbuf, align 4 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = load i32, ptr @STRBUF_INIT, align 4, !tbaa !5 store i32 %6, ptr %4, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr %1, ptr %5, align 8, !tbaa !9 %7 = call i64 @recvline(ptr noundef %0, ptr noundef nonnull %4) #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %40 9: ; preds = %3 %10 = getelementptr inbounds %struct.helper_data, ptr %0, i64 0, i32 1 br label %11 11: ; preds = %9, %37 %12 = load i32, ptr %4, align 4, !tbaa !11 %13 = icmp eq i32 %12, 0 br i1 %13, label %40, label %14 14: ; preds = %11 %15 = call i64 @push_update_ref_status(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %1) #3 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %37 17: ; preds = %14 %18 = load i32, ptr @TRANSPORT_PUSH_DRY_RUN, align 4, !tbaa !5 %19 = and i32 %18, %2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %37 21: ; preds = %17 %22 = load i32, ptr %0, align 8, !tbaa !13 %23 = icmp eq i32 %22, 0 br i1 %23, label %37, label %24 24: ; preds = %21 %25 = load i64, ptr %10, align 8, !tbaa !17 %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %37 27: ; preds = %24 %28 = load ptr, ptr %5, align 8, !tbaa !9 %29 = getelementptr inbounds %struct.ref, ptr %28, i64 0, i32 1 %30 = load i32, ptr %29, align 4, !tbaa !18 %31 = call ptr @apply_refspecs(ptr noundef nonnull %0, i32 noundef %30) #3 %32 = icmp eq ptr %31, null br i1 %32, label %37, label %33 33: ; preds = %27 %34 = load ptr, ptr %5, align 8, !tbaa !9 %35 = call i32 @update_ref(ptr noundef nonnull @.str, ptr noundef nonnull %31, ptr noundef %34, ptr noundef null, i32 noundef 0, i32 noundef 0) #3 %36 = call i32 @free(ptr noundef nonnull %31) #3 br label %37 37: ; preds = %27, %17, %21, %24, %14, %33 %38 = call i64 @recvline(ptr noundef %0, ptr noundef nonnull %4) #3 %39 = icmp eq i64 %38, 0 br i1 %39, label %11, label %40 40: ; preds = %11, %37, %3 %41 = phi i32 [ 1, %3 ], [ 1, %37 ], [ 0, %11 ] %42 = call i32 @strbuf_release(ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @recvline(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @push_update_ref_status(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @apply_refspecs(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @update_ref(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @strbuf_release(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"strbuf", !6, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"helper_data", !15, i64 0, !16, i64 8} !15 = !{!"TYPE_2__", !6, i64 0} !16 = !{!"long", !7, i64 0} !17 = !{!14, !16, i64 8} !18 = !{!19, !6, i64 4} !19 = !{!"ref", !6, i64 0, !6, i64 4}
; ModuleID = 'AnghaBench/git/extr_transport-helper.c_push_update_refs_status.c' source_filename = "AnghaBench/git/extr_transport-helper.c_push_update_refs_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.strbuf = type { i32 } @STRBUF_INIT = common local_unnamed_addr global %struct.strbuf zeroinitializer, align 4 @TRANSPORT_PUSH_DRY_RUN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"update by helper\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @push_update_refs_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @push_update_refs_status(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.strbuf, align 4 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = load i32, ptr @STRBUF_INIT, align 4, !tbaa !6 store i32 %6, ptr %4, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr %1, ptr %5, align 8, !tbaa !10 %7 = call i64 @recvline(ptr noundef %0, ptr noundef nonnull %4) #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %40 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %0, i64 8 br label %11 11: ; preds = %9, %37 %12 = load i32, ptr %4, align 4, !tbaa !12 %13 = icmp eq i32 %12, 0 br i1 %13, label %40, label %14 14: ; preds = %11 %15 = call i64 @push_update_ref_status(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %1) #3 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %37 17: ; preds = %14 %18 = load i32, ptr @TRANSPORT_PUSH_DRY_RUN, align 4, !tbaa !6 %19 = and i32 %18, %2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %37 21: ; preds = %17 %22 = load i32, ptr %0, align 8, !tbaa !14 %23 = icmp eq i32 %22, 0 br i1 %23, label %37, label %24 24: ; preds = %21 %25 = load i64, ptr %10, align 8, !tbaa !18 %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %37 27: ; preds = %24 %28 = load ptr, ptr %5, align 8, !tbaa !10 %29 = getelementptr inbounds i8, ptr %28, i64 4 %30 = load i32, ptr %29, align 4, !tbaa !19 %31 = call ptr @apply_refspecs(ptr noundef nonnull %0, i32 noundef %30) #3 %32 = icmp eq ptr %31, null br i1 %32, label %37, label %33 33: ; preds = %27 %34 = load ptr, ptr %5, align 8, !tbaa !10 %35 = call i32 @update_ref(ptr noundef nonnull @.str, ptr noundef nonnull %31, ptr noundef %34, ptr noundef null, i32 noundef 0, i32 noundef 0) #3 %36 = call i32 @free(ptr noundef nonnull %31) #3 br label %37 37: ; preds = %27, %17, %21, %24, %14, %33 %38 = call i64 @recvline(ptr noundef %0, ptr noundef nonnull %4) #3 %39 = icmp eq i64 %38, 0 br i1 %39, label %11, label %40 40: ; preds = %11, %37, %3 %41 = phi i32 [ 1, %3 ], [ 1, %37 ], [ 0, %11 ] %42 = call i32 @strbuf_release(ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @recvline(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @push_update_ref_status(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @apply_refspecs(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @update_ref(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @strbuf_release(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"strbuf", !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"helper_data", !16, i64 0, !17, i64 8} !16 = !{!"TYPE_2__", !7, i64 0} !17 = !{!"long", !8, i64 0} !18 = !{!15, !17, i64 8} !19 = !{!20, !7, i64 4} !20 = !{!"ref", !7, i64 0, !7, i64 4}
git_extr_transport-helper.c_push_update_refs_status
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945.c_il3945_apm_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945.c_il3945_apm_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" @APMG_RTC_INT_MSK_REG = dso_local local_unnamed_addr global i32 0, align 4 @APMG_RTC_INT_STT_REG = dso_local local_unnamed_addr global i32 0, align 4 @APMG_PS_CTRL_REG = dso_local local_unnamed_addr global i32 0, align 4 @APMG_PS_CTRL_VAL_RESET_REQ = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @il3945_apm_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @il3945_apm_init(ptr noundef %0) #0 { %2 = tail call i32 @il_apm_init(ptr noundef %0) #2 %3 = load i32, ptr @APMG_RTC_INT_MSK_REG, align 4, !tbaa !5 %4 = tail call i32 @il_wr_prph(ptr noundef %0, i32 noundef %3, i32 noundef 0) #2 %5 = load i32, ptr @APMG_RTC_INT_STT_REG, align 4, !tbaa !5 %6 = tail call i32 @il_wr_prph(ptr noundef %0, i32 noundef %5, i32 noundef -1) #2 %7 = load i32, ptr @APMG_PS_CTRL_REG, align 4, !tbaa !5 %8 = load i32, ptr @APMG_PS_CTRL_VAL_RESET_REQ, align 4, !tbaa !5 %9 = tail call i32 @il_set_bits_prph(ptr noundef %0, i32 noundef %7, i32 noundef %8) #2 %10 = tail call i32 @udelay(i32 noundef 5) #2 %11 = load i32, ptr @APMG_PS_CTRL_REG, align 4, !tbaa !5 %12 = load i32, ptr @APMG_PS_CTRL_VAL_RESET_REQ, align 4, !tbaa !5 %13 = tail call i32 @il_clear_bits_prph(ptr noundef %0, i32 noundef %11, i32 noundef %12) #2 ret i32 %2 } declare i32 @il_apm_init(ptr noundef) local_unnamed_addr #1 declare i32 @il_wr_prph(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @il_set_bits_prph(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @il_clear_bits_prph(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945.c_il3945_apm_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945.c_il3945_apm_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @APMG_RTC_INT_MSK_REG = common local_unnamed_addr global i32 0, align 4 @APMG_RTC_INT_STT_REG = common local_unnamed_addr global i32 0, align 4 @APMG_PS_CTRL_REG = common local_unnamed_addr global i32 0, align 4 @APMG_PS_CTRL_VAL_RESET_REQ = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @il3945_apm_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @il3945_apm_init(ptr noundef %0) #0 { %2 = tail call i32 @il_apm_init(ptr noundef %0) #2 %3 = load i32, ptr @APMG_RTC_INT_MSK_REG, align 4, !tbaa !6 %4 = tail call i32 @il_wr_prph(ptr noundef %0, i32 noundef %3, i32 noundef 0) #2 %5 = load i32, ptr @APMG_RTC_INT_STT_REG, align 4, !tbaa !6 %6 = tail call i32 @il_wr_prph(ptr noundef %0, i32 noundef %5, i32 noundef -1) #2 %7 = load i32, ptr @APMG_PS_CTRL_REG, align 4, !tbaa !6 %8 = load i32, ptr @APMG_PS_CTRL_VAL_RESET_REQ, align 4, !tbaa !6 %9 = tail call i32 @il_set_bits_prph(ptr noundef %0, i32 noundef %7, i32 noundef %8) #2 %10 = tail call i32 @udelay(i32 noundef 5) #2 %11 = load i32, ptr @APMG_PS_CTRL_REG, align 4, !tbaa !6 %12 = load i32, ptr @APMG_PS_CTRL_VAL_RESET_REQ, align 4, !tbaa !6 %13 = tail call i32 @il_clear_bits_prph(ptr noundef %0, i32 noundef %11, i32 noundef %12) #2 ret i32 %2 } declare i32 @il_apm_init(ptr noundef) local_unnamed_addr #1 declare i32 @il_wr_prph(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @il_set_bits_prph(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @il_clear_bits_prph(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_net_wireless_iwlegacy_extr_3945.c_il3945_apm_init
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_main.c_bnx2x_sp_post.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_main.c_bnx2x_sp_post.c" target datalayout = "e-m:e-p270:32:32-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.bnx2x = type { i32, i32, i32, i64, i64, i32, i32, i32 } %struct.eth_spe = type { %struct.TYPE_6__, %struct.TYPE_4__ } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { ptr, ptr } %struct.TYPE_4__ = type { i32, ptr } @.str = private unnamed_addr constant [20 x i8] c"BUG! EQ ring full!\0A\00", align 1 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"BUG! SPQ ring full!\0A\00", align 1 @SPE_HDR_CMD_ID_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @SPE_HDR_FUNCTION_ID = dso_local local_unnamed_addr global i32 0, align 4 @SPE_HDR_CONN_TYPE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @SPE_HDR_CONN_TYPE = dso_local local_unnamed_addr global i32 0, align 4 @SPE_HDR_FUNCTION_ID_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @BNX2X_MSG_SP = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [100 x i8] c"SPQE[%x] (%x:%x) (cmd, common?) (%d,%d) hw_cid %x data (%x:%x) type(0x%x) left (CQ, EQ) (%x,%x)\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @bnx2x_sp_post(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = tail call i32 @bnx2x_is_contextless_ramrod(i32 noundef %1, i32 noundef %5) #2 %8 = tail call i32 @spin_lock_bh(ptr noundef %0) #2 %9 = icmp eq i32 %7, 0 br i1 %9, label %20, label %10 10: ; preds = %6 %11 = getelementptr inbounds %struct.bnx2x, ptr %0, i64 0, i32 1 %12 = tail call i32 @atomic_read(ptr noundef nonnull %11) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %30 14: ; preds = %10 %15 = tail call i32 @BNX2X_ERR(ptr noundef nonnull @.str) #2 %16 = tail call i32 @spin_unlock_bh(ptr noundef %0) #2 %17 = tail call i32 (...) @bnx2x_panic() #2 %18 = load i32, ptr @EBUSY, align 4, !tbaa !5 %19 = sub nsw i32 0, %18 br label %90 20: ; preds = %6 %21 = getelementptr inbounds %struct.bnx2x, ptr %0, i64 0, i32 2 %22 = tail call i32 @atomic_read(ptr noundef nonnull %21) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %30 24: ; preds = %20 %25 = tail call i32 @BNX2X_ERR(ptr noundef nonnull @.str.1) #2 %26 = tail call i32 @spin_unlock_bh(ptr noundef %0) #2 %27 = tail call i32 (...) @bnx2x_panic() #2 %28 = load i32, ptr @EBUSY, align 4, !tbaa !5 %29 = sub nsw i32 0, %28 br label %90 30: ; preds = %20, %10 %31 = tail call ptr @bnx2x_sp_get_next(ptr noundef %0) #2 %32 = load i32, ptr @SPE_HDR_CMD_ID_SHIFT, align 4, !tbaa !5 %33 = shl i32 %1, %32 %34 = tail call i32 @HW_CID(ptr noundef %0, i32 noundef %2) #2 %35 = or i32 %33, %34 %36 = tail call ptr @cpu_to_le32(i32 noundef %35) #2 %37 = getelementptr inbounds %struct.eth_spe, ptr %31, i64 0, i32 1 %38 = getelementptr inbounds %struct.eth_spe, ptr %31, i64 0, i32 1, i32 1 store ptr %36, ptr %38, align 8, !tbaa !9 %39 = load i32, ptr @SPE_HDR_FUNCTION_ID, align 4, !tbaa !5 %40 = and i32 %39, %5 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %53 42: ; preds = %30 %43 = load i32, ptr @SPE_HDR_CONN_TYPE_SHIFT, align 4, !tbaa !5 %44 = shl i32 %5, %43 %45 = load i32, ptr @SPE_HDR_CONN_TYPE, align 4, !tbaa !5 %46 = and i32 %44, %45 %47 = tail call i32 @BP_FUNC(ptr noundef %0) #2 %48 = load i32, ptr @SPE_HDR_FUNCTION_ID_SHIFT, align 4, !tbaa !5 %49 = shl i32 %47, %48 %50 = load i32, ptr @SPE_HDR_FUNCTION_ID, align 4, !tbaa !5 %51 = and i32 %49, %50 %52 = or i32 %51, %46 br label %53 53: ; preds = %30, %42 %54 = phi i32 [ %52, %42 ], [ %5, %30 ] %55 = tail call i32 @cpu_to_le16(i32 noundef %54) #2 store i32 %55, ptr %37, align 8, !tbaa !15 %56 = tail call ptr @cpu_to_le32(i32 noundef %3) #2 %57 = getelementptr inbounds %struct.TYPE_5__, ptr %31, i64 0, i32 1 store ptr %56, ptr %57, align 8, !tbaa !16 %58 = tail call ptr @cpu_to_le32(i32 noundef %4) #2 store ptr %58, ptr %31, align 8, !tbaa !17 %59 = getelementptr inbounds %struct.bnx2x, ptr %0, i64 0, i32 2 %60 = getelementptr inbounds %struct.bnx2x, ptr %0, i64 0, i32 1 %61 = select i1 %9, ptr %59, ptr %60 %62 = tail call i32 @atomic_dec(ptr noundef nonnull %61) #2 %63 = load i32, ptr @BNX2X_MSG_SP, align 4, !tbaa !5 %64 = getelementptr inbounds %struct.bnx2x, ptr %0, i64 0, i32 6 %65 = load i32, ptr %64, align 4, !tbaa !18 %66 = getelementptr inbounds %struct.bnx2x, ptr %0, i64 0, i32 5 %67 = load i32, ptr %66, align 8, !tbaa !21 %68 = tail call i64 @U64_HI(i32 noundef %67) #2 %69 = trunc i64 %68 to i32 %70 = load i32, ptr %66, align 8, !tbaa !21 %71 = tail call i32 @U64_LO(i32 noundef %70) #2 %72 = getelementptr inbounds %struct.bnx2x, ptr %0, i64 0, i32 4 %73 = load i64, ptr %72, align 8, !tbaa !22 %74 = inttoptr i64 %73 to ptr %75 = sext i32 %71 to i64 %76 = getelementptr inbounds i8, ptr %74, i64 %75 %77 = getelementptr inbounds %struct.bnx2x, ptr %0, i64 0, i32 3 %78 = load i64, ptr %77, align 8, !tbaa !23 %79 = ptrtoint ptr %76 to i64 %80 = sub i64 %79, %78 %81 = trunc i64 %80 to i32 %82 = tail call i32 @HW_CID(ptr noundef %0, i32 noundef %2) #2 %83 = getelementptr inbounds %struct.bnx2x, ptr %0, i64 0, i32 2 %84 = tail call i32 @atomic_read(ptr noundef nonnull %83) #2 %85 = getelementptr inbounds %struct.bnx2x, ptr %0, i64 0, i32 1 %86 = tail call i32 @atomic_read(ptr noundef nonnull %85) #2 %87 = tail call i32 @DP(i32 noundef %63, ptr noundef nonnull @.str.2, i32 noundef %65, i32 noundef %69, i32 noundef %81, i32 noundef %1, i32 noundef %7, i32 noundef %82, i32 noundef %3, i32 noundef %4, i32 noundef %54, i32 noundef %84, i32 noundef %86) #2 %88 = tail call i32 @bnx2x_sp_prod_update(ptr noundef %0) #2 %89 = tail call i32 @spin_unlock_bh(ptr noundef %0) #2 br label %90 90: ; preds = %53, %24, %14 %91 = phi i32 [ 0, %53 ], [ %19, %14 ], [ %29, %24 ] ret i32 %91 } declare i32 @bnx2x_is_contextless_ramrod(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @BNX2X_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_panic(...) local_unnamed_addr #1 declare ptr @bnx2x_sp_get_next(ptr noundef) local_unnamed_addr #1 declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @HW_CID(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_FUNC(ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1 declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1 declare i32 @DP(i32 noundef, ptr noundef, 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 i64 @U64_HI(i32 noundef) local_unnamed_addr #1 declare i32 @U64_LO(i32 noundef) local_unnamed_addr #1 declare i32 @bnx2x_sp_prod_update(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !13, i64 24} !10 = !{!"eth_spe", !11, i64 0, !14, i64 16} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"TYPE_5__", !13, i64 0, !13, i64 8} !13 = !{!"any pointer", !7, i64 0} !14 = !{!"TYPE_4__", !6, i64 0, !13, i64 8} !15 = !{!10, !6, i64 16} !16 = !{!10, !13, i64 8} !17 = !{!10, !13, i64 0} !18 = !{!19, !6, i64 36} !19 = !{!"bnx2x", !6, i64 0, !6, i64 4, !6, i64 8, !20, i64 16, !20, i64 24, !6, i64 32, !6, i64 36, !6, i64 40} !20 = !{!"long", !7, i64 0} !21 = !{!19, !6, i64 32} !22 = !{!19, !20, i64 24} !23 = !{!19, !20, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_main.c_bnx2x_sp_post.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_main.c_bnx2x_sp_post.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [20 x i8] c"BUG! EQ ring full!\0A\00", align 1 @EBUSY = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"BUG! SPQ ring full!\0A\00", align 1 @SPE_HDR_CMD_ID_SHIFT = common local_unnamed_addr global i32 0, align 4 @SPE_HDR_FUNCTION_ID = common local_unnamed_addr global i32 0, align 4 @SPE_HDR_CONN_TYPE_SHIFT = common local_unnamed_addr global i32 0, align 4 @SPE_HDR_CONN_TYPE = common local_unnamed_addr global i32 0, align 4 @SPE_HDR_FUNCTION_ID_SHIFT = common local_unnamed_addr global i32 0, align 4 @BNX2X_MSG_SP = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [100 x i8] c"SPQE[%x] (%x:%x) (cmd, common?) (%d,%d) hw_cid %x data (%x:%x) type(0x%x) left (CQ, EQ) (%x,%x)\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @bnx2x_sp_post(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = tail call i32 @bnx2x_is_contextless_ramrod(i32 noundef %1, i32 noundef %5) #2 %8 = tail call i32 @spin_lock_bh(ptr noundef %0) #2 %9 = icmp eq i32 %7, 0 br i1 %9, label %20, label %10 10: ; preds = %6 %11 = getelementptr inbounds i8, ptr %0, i64 4 %12 = tail call i32 @atomic_read(ptr noundef nonnull %11) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %30 14: ; preds = %10 %15 = tail call i32 @BNX2X_ERR(ptr noundef nonnull @.str) #2 %16 = tail call i32 @spin_unlock_bh(ptr noundef %0) #2 %17 = tail call i32 @bnx2x_panic() #2 %18 = load i32, ptr @EBUSY, align 4, !tbaa !6 %19 = sub nsw i32 0, %18 br label %87 20: ; preds = %6 %21 = getelementptr inbounds i8, ptr %0, i64 8 %22 = tail call i32 @atomic_read(ptr noundef nonnull %21) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %30 24: ; preds = %20 %25 = tail call i32 @BNX2X_ERR(ptr noundef nonnull @.str.1) #2 %26 = tail call i32 @spin_unlock_bh(ptr noundef %0) #2 %27 = tail call i32 @bnx2x_panic() #2 %28 = load i32, ptr @EBUSY, align 4, !tbaa !6 %29 = sub nsw i32 0, %28 br label %87 30: ; preds = %20, %10 %31 = tail call ptr @bnx2x_sp_get_next(ptr noundef %0) #2 %32 = load i32, ptr @SPE_HDR_CMD_ID_SHIFT, align 4, !tbaa !6 %33 = shl i32 %1, %32 %34 = tail call i32 @HW_CID(ptr noundef %0, i32 noundef %2) #2 %35 = or i32 %33, %34 %36 = tail call ptr @cpu_to_le32(i32 noundef %35) #2 %37 = getelementptr inbounds i8, ptr %31, i64 16 %38 = getelementptr inbounds i8, ptr %31, i64 24 store ptr %36, ptr %38, align 8, !tbaa !10 %39 = load i32, ptr @SPE_HDR_FUNCTION_ID, align 4, !tbaa !6 %40 = and i32 %39, %5 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %53 42: ; preds = %30 %43 = load i32, ptr @SPE_HDR_CONN_TYPE_SHIFT, align 4, !tbaa !6 %44 = shl i32 %5, %43 %45 = load i32, ptr @SPE_HDR_CONN_TYPE, align 4, !tbaa !6 %46 = and i32 %44, %45 %47 = tail call i32 @BP_FUNC(ptr noundef %0) #2 %48 = load i32, ptr @SPE_HDR_FUNCTION_ID_SHIFT, align 4, !tbaa !6 %49 = shl i32 %47, %48 %50 = load i32, ptr @SPE_HDR_FUNCTION_ID, align 4, !tbaa !6 %51 = and i32 %49, %50 %52 = or i32 %51, %46 br label %53 53: ; preds = %30, %42 %54 = phi i32 [ %52, %42 ], [ %5, %30 ] %55 = tail call i32 @cpu_to_le16(i32 noundef %54) #2 store i32 %55, ptr %37, align 8, !tbaa !16 %56 = tail call ptr @cpu_to_le32(i32 noundef %3) #2 %57 = getelementptr inbounds i8, ptr %31, i64 8 store ptr %56, ptr %57, align 8, !tbaa !17 %58 = tail call ptr @cpu_to_le32(i32 noundef %4) #2 store ptr %58, ptr %31, align 8, !tbaa !18 %59 = select i1 %9, i64 8, i64 4 %60 = getelementptr inbounds i8, ptr %0, i64 %59 %61 = tail call i32 @atomic_dec(ptr noundef nonnull %60) #2 %62 = load i32, ptr @BNX2X_MSG_SP, align 4, !tbaa !6 %63 = getelementptr inbounds i8, ptr %0, i64 36 %64 = load i32, ptr %63, align 4, !tbaa !19 %65 = getelementptr inbounds i8, ptr %0, i64 32 %66 = load i32, ptr %65, align 8, !tbaa !22 %67 = tail call i64 @U64_HI(i32 noundef %66) #2 %68 = trunc i64 %67 to i32 %69 = load i32, ptr %65, align 8, !tbaa !22 %70 = tail call i32 @U64_LO(i32 noundef %69) #2 %71 = getelementptr inbounds i8, ptr %0, i64 24 %72 = load i64, ptr %71, align 8, !tbaa !23 %73 = zext i32 %70 to i64 %74 = getelementptr inbounds i8, ptr %0, i64 16 %75 = load i64, ptr %74, align 8, !tbaa !24 %76 = add i64 %72, %73 %77 = sub i64 %76, %75 %78 = trunc i64 %77 to i32 %79 = tail call i32 @HW_CID(ptr noundef %0, i32 noundef %2) #2 %80 = getelementptr inbounds i8, ptr %0, i64 8 %81 = tail call i32 @atomic_read(ptr noundef nonnull %80) #2 %82 = getelementptr inbounds i8, ptr %0, i64 4 %83 = tail call i32 @atomic_read(ptr noundef nonnull %82) #2 %84 = tail call i32 @DP(i32 noundef %62, ptr noundef nonnull @.str.2, i32 noundef %64, i32 noundef %68, i32 noundef %78, i32 noundef %1, i32 noundef %7, i32 noundef %79, i32 noundef %3, i32 noundef %4, i32 noundef %54, i32 noundef %81, i32 noundef %83) #2 %85 = tail call i32 @bnx2x_sp_prod_update(ptr noundef %0) #2 %86 = tail call i32 @spin_unlock_bh(ptr noundef %0) #2 br label %87 87: ; preds = %53, %24, %14 %88 = phi i32 [ 0, %53 ], [ %19, %14 ], [ %29, %24 ] ret i32 %88 } declare i32 @bnx2x_is_contextless_ramrod(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @BNX2X_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_panic(...) local_unnamed_addr #1 declare ptr @bnx2x_sp_get_next(ptr noundef) local_unnamed_addr #1 declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @HW_CID(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_FUNC(ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1 declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1 declare i32 @DP(i32 noundef, ptr noundef, 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 i64 @U64_HI(i32 noundef) local_unnamed_addr #1 declare i32 @U64_LO(i32 noundef) local_unnamed_addr #1 declare i32 @bnx2x_sp_prod_update(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !14, i64 24} !11 = !{!"eth_spe", !12, i64 0, !15, i64 16} !12 = !{!"TYPE_6__", !13, i64 0} !13 = !{!"TYPE_5__", !14, i64 0, !14, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!"TYPE_4__", !7, i64 0, !14, i64 8} !16 = !{!11, !7, i64 16} !17 = !{!11, !14, i64 8} !18 = !{!11, !14, i64 0} !19 = !{!20, !7, i64 36} !20 = !{!"bnx2x", !7, i64 0, !7, i64 4, !7, i64 8, !21, i64 16, !21, i64 24, !7, i64 32, !7, i64 36, !7, i64 40} !21 = !{!"long", !8, i64 0} !22 = !{!20, !7, i64 32} !23 = !{!20, !21, i64 24} !24 = !{!20, !21, i64 16}
linux_drivers_net_ethernet_broadcom_bnx2x_extr_bnx2x_main.c_bnx2x_sp_post
; ModuleID = 'AnghaBench/stb/deprecated/extr_stb_image.c_stbi_tga_load.c' source_filename = "AnghaBench/stb/deprecated/extr_stb_image.c_stbi_tga_load.c" target datalayout = "e-m:e-p270:32:32-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 @stbi_tga_load], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @stbi_tga_load(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = tail call ptr @tga_load(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #2 ret ptr %6 } declare ptr @tga_load(ptr noundef, ptr 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/stb/deprecated/extr_stb_image.c_stbi_tga_load.c' source_filename = "AnghaBench/stb/deprecated/extr_stb_image.c_stbi_tga_load.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 @stbi_tga_load], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @stbi_tga_load(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = tail call ptr @tga_load(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #2 ret ptr %6 } declare ptr @tga_load(ptr noundef, ptr 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)"}
stb_deprecated_extr_stb_image.c_stbi_tga_load
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8993.c_wm8993_read.c' source_filename = "AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8993.c_wm8993_read.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @WM8993_MAX_REGISTER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wm8993_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wm8993_read(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr @WM8993_MAX_REGISTER, align 4, !tbaa !10 %5 = icmp ult i32 %4, %1 %6 = zext i1 %5 to i32 %7 = tail call i32 @BUG_ON(i32 noundef %6) #2 %8 = tail call i64 @wm8993_volatile(i32 noundef %1) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %2 %11 = tail call i32 @wm8993_read_hw(ptr noundef nonnull %0, i32 noundef %1) #2 br label %16 12: ; preds = %2 %13 = zext i32 %1 to i64 %14 = getelementptr inbounds i32, ptr %3, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !10 br label %16 16: ; preds = %12, %10 %17 = phi i32 [ %11, %10 ], [ %15, %12 ] ret i32 %17 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @wm8993_volatile(i32 noundef) local_unnamed_addr #1 declare i32 @wm8993_read_hw(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_soc_codec", !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/sound/soc/codecs/extr_wm8993.c_wm8993_read.c' source_filename = "AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8993.c_wm8993_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WM8993_MAX_REGISTER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wm8993_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @wm8993_read(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr @WM8993_MAX_REGISTER, align 4, !tbaa !11 %5 = icmp ult i32 %4, %1 %6 = zext i1 %5 to i32 %7 = tail call i32 @BUG_ON(i32 noundef %6) #2 %8 = tail call i64 @wm8993_volatile(i32 noundef %1) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %2 %11 = tail call i32 @wm8993_read_hw(ptr noundef nonnull %0, i32 noundef %1) #2 br label %16 12: ; preds = %2 %13 = zext i32 %1 to i64 %14 = getelementptr inbounds i32, ptr %3, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !11 br label %16 16: ; preds = %12, %10 %17 = phi i32 [ %11, %10 ], [ %15, %12 ] ret i32 %17 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @wm8993_volatile(i32 noundef) local_unnamed_addr #1 declare i32 @wm8993_read_hw(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_soc_codec", !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_sound_soc_codecs_extr_wm8993.c_wm8993_read
; ModuleID = 'AnghaBench/esp-idf/components/wpa_supplicant/src/tls/extr_tlsv1_client_write.c_tlsv1_key_x_anon_dh.c' source_filename = "AnghaBench/esp-idf/components/wpa_supplicant/src/tls/extr_tlsv1_client_write.c_tlsv1_key_x_anon_dh.c" target datalayout = "e-m:e-p270:32:32-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.tlsv1_client = type { i64, i32, i32, i32, i32, i32 } @MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"TLSv1: Failed to allocate memory for Yc (Diffie-Hellman)\00", align 1 @TLS_ALERT_LEVEL_FATAL = dso_local local_unnamed_addr global i32 0, align 4 @TLS_ALERT_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [52 x i8] c"TLSv1: Failed to get random data for Diffie-Hellman\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"TLSv1: DH client's secret value\00", align 1 @.str.3 = private unnamed_addr constant [52 x i8] c"TLSv1: Failed to allocate memory for Diffie-Hellman\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"TLSv1: DH Yc (client's public value)\00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"TLSv1: Not enough room in the message buffer for Yc\00", align 1 @.str.6 = private unnamed_addr constant [40 x i8] c"TLSv1: Could not allocate memory for DH\00", align 1 @.str.7 = private unnamed_addr constant [42 x i8] c"TLSv1: Shared secret from DH key exchange\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"TLSv1: Failed to derive keys\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @tlsv1_key_x_anon_dh], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @tlsv1_key_x_anon_dh(ptr noundef %0, ptr nocapture noundef %1, ptr noundef readnone %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = load i64, ptr %0, align 8, !tbaa !5 %7 = tail call ptr @os_malloc(i64 noundef %6) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %15 9: ; preds = %3 %10 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !11 %11 = tail call i32 @wpa_printf(i32 noundef %10, ptr noundef nonnull @.str) #3 %12 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !11 %13 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !11 %14 = tail call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %13) #3 br label %148 15: ; preds = %3 %16 = tail call i64 @random_get_bytes(ptr noundef nonnull %7, i64 noundef %6) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %25, label %18 18: ; preds = %15 %19 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !11 %20 = tail call i32 @wpa_printf(i32 noundef %19, ptr noundef nonnull @.str.1) #3 %21 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !11 %22 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !11 %23 = tail call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %21, i32 noundef %22) #3 %24 = tail call i32 @os_free(ptr noundef nonnull %7) #3 br label %148 25: ; preds = %15 %26 = getelementptr inbounds %struct.tlsv1_client, ptr %0, i64 0, i32 1 %27 = load i32, ptr %26, align 8, !tbaa !12 %28 = tail call i64 @os_memcmp(ptr noundef nonnull %7, i32 noundef %27, i64 noundef %6) #3 %29 = icmp sgt i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %25 store i64 0, ptr %7, align 8, !tbaa !13 br label %31 31: ; preds = %30, %25 %32 = icmp ugt i64 %6, 1 br i1 %32, label %33, label %46 33: ; preds = %31 %34 = shl i64 %6, 3 %35 = getelementptr i8, ptr %7, i64 %34 %36 = getelementptr i8, ptr %35, i64 -8 br label %37 37: ; preds = %33, %42 %38 = phi i64 [ %44, %42 ], [ %6, %33 ] %39 = phi ptr [ %43, %42 ], [ %7, %33 ] %40 = load i64, ptr %39, align 8, !tbaa !13 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %46 42: ; preds = %37 %43 = getelementptr inbounds i64, ptr %39, i64 1 %44 = add i64 %38, -1 %45 = icmp ugt i64 %44, 1 br i1 %45, label %37, label %46, !llvm.loop !14 46: ; preds = %37, %42, %31 %47 = phi ptr [ %7, %31 ], [ %36, %42 ], [ %39, %37 ] %48 = phi i64 [ %6, %31 ], [ 1, %42 ], [ %38, %37 ] %49 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !11 %50 = tail call i32 @wpa_hexdump_key(i32 noundef %49, ptr noundef nonnull @.str.2, ptr noundef nonnull %47, i64 noundef %48) #3 %51 = load i64, ptr %0, align 8, !tbaa !5 store i64 %51, ptr %4, align 8, !tbaa !13 %52 = tail call ptr @os_malloc(i64 noundef %51) #3 %53 = icmp eq ptr %52, null br i1 %53, label %54, label %61 54: ; preds = %46 %55 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !11 %56 = tail call i32 @wpa_printf(i32 noundef %55, ptr noundef nonnull @.str.3) #3 %57 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !11 %58 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !11 %59 = tail call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %58) #3 %60 = tail call i32 @os_free(ptr noundef nonnull %7) #3 br label %148 61: ; preds = %46 %62 = getelementptr inbounds %struct.tlsv1_client, ptr %0, i64 0, i32 5 %63 = load i32, ptr %62, align 8, !tbaa !16 %64 = getelementptr inbounds %struct.tlsv1_client, ptr %0, i64 0, i32 4 %65 = load i32, ptr %64, align 4, !tbaa !17 %66 = load i32, ptr %26, align 8, !tbaa !12 %67 = load i64, ptr %0, align 8, !tbaa !5 %68 = call i64 @crypto_mod_exp(i32 noundef %63, i32 noundef %65, ptr noundef nonnull %47, i64 noundef %48, i32 noundef %66, i64 noundef %67, ptr noundef nonnull %52, ptr noundef nonnull %4) #3 %69 = icmp eq i64 %68, 0 br i1 %69, label %76, label %70 70: ; preds = %61 %71 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !11 %72 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !11 %73 = call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %71, i32 noundef %72) #3 %74 = call i32 @os_free(ptr noundef nonnull %7) #3 %75 = call i32 @os_free(ptr noundef nonnull %52) #3 br label %148 76: ; preds = %61 %77 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !11 %78 = load i64, ptr %4, align 8, !tbaa !13 %79 = call i32 @wpa_hexdump(i32 noundef %77, ptr noundef nonnull @.str.4, ptr noundef nonnull %52, i64 noundef %78) #3 %80 = load ptr, ptr %1, align 8, !tbaa !18 %81 = load i64, ptr %4, align 8, !tbaa !13 %82 = call i32 @WPA_PUT_BE16(ptr noundef %80, i64 noundef %81) #3 %83 = load ptr, ptr %1, align 8, !tbaa !18 %84 = getelementptr inbounds i64, ptr %83, i64 2 store ptr %84, ptr %1, align 8, !tbaa !18 %85 = load i64, ptr %4, align 8, !tbaa !13 %86 = getelementptr inbounds i64, ptr %84, i64 %85 %87 = icmp ugt ptr %86, %2 br i1 %87, label %88, label %96 88: ; preds = %76 %89 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !11 %90 = call i32 @wpa_printf(i32 noundef %89, ptr noundef nonnull @.str.5) #3 %91 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !11 %92 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !11 %93 = call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %91, i32 noundef %92) #3 %94 = call i32 @os_free(ptr noundef nonnull %7) #3 %95 = call i32 @os_free(ptr noundef nonnull %52) #3 br label %148 96: ; preds = %76 %97 = call i32 @os_memcpy(ptr noundef nonnull %84, ptr noundef nonnull %52, i64 noundef %85) #3 %98 = load i64, ptr %4, align 8, !tbaa !13 %99 = load ptr, ptr %1, align 8, !tbaa !18 %100 = getelementptr inbounds i64, ptr %99, i64 %98 store ptr %100, ptr %1, align 8, !tbaa !18 %101 = call i32 @os_free(ptr noundef nonnull %52) #3 %102 = load i64, ptr %0, align 8, !tbaa !5 store i64 %102, ptr %5, align 8, !tbaa !13 %103 = call ptr @os_malloc(i64 noundef %102) #3 %104 = icmp eq ptr %103, null br i1 %104, label %105, label %112 105: ; preds = %96 %106 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !11 %107 = call i32 @wpa_printf(i32 noundef %106, ptr noundef nonnull @.str.6) #3 %108 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !11 %109 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !11 %110 = call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %108, i32 noundef %109) #3 %111 = call i32 @os_free(ptr noundef nonnull %7) #3 br label %148 112: ; preds = %96 %113 = getelementptr inbounds %struct.tlsv1_client, ptr %0, i64 0, i32 3 %114 = load i32, ptr %113, align 8, !tbaa !20 %115 = getelementptr inbounds %struct.tlsv1_client, ptr %0, i64 0, i32 2 %116 = load i32, ptr %115, align 4, !tbaa !21 %117 = load i32, ptr %26, align 8, !tbaa !12 %118 = load i64, ptr %0, align 8, !tbaa !5 %119 = call i64 @crypto_mod_exp(i32 noundef %114, i32 noundef %116, ptr noundef nonnull %47, i64 noundef %48, i32 noundef %117, i64 noundef %118, ptr noundef nonnull %103, ptr noundef nonnull %5) #3 %120 = icmp eq i64 %119, 0 br i1 %120, label %127, label %121 121: ; preds = %112 %122 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !11 %123 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !11 %124 = call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %122, i32 noundef %123) #3 %125 = call i32 @os_free(ptr noundef nonnull %7) #3 %126 = call i32 @os_free(ptr noundef nonnull %103) #3 br label %148 127: ; preds = %112 %128 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !11 %129 = load i64, ptr %5, align 8, !tbaa !13 %130 = call i32 @wpa_hexdump_key(i32 noundef %128, ptr noundef nonnull @.str.7, ptr noundef nonnull %103, i64 noundef %129) #3 %131 = call i32 @os_memset(ptr noundef nonnull %47, i32 noundef 0, i64 noundef %48) #3 %132 = call i32 @os_free(ptr noundef nonnull %7) #3 %133 = load i64, ptr %5, align 8, !tbaa !13 %134 = call i64 @tls_derive_keys(ptr noundef nonnull %0, ptr noundef nonnull %103, i64 noundef %133) #3 %135 = icmp eq i64 %134, 0 br i1 %135, label %143, label %136 136: ; preds = %127 %137 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !11 %138 = call i32 @wpa_printf(i32 noundef %137, ptr noundef nonnull @.str.8) #3 %139 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !11 %140 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !11 %141 = call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %139, i32 noundef %140) #3 %142 = call i32 @os_free(ptr noundef nonnull %103) #3 br label %148 143: ; preds = %127 %144 = load i64, ptr %5, align 8, !tbaa !13 %145 = call i32 @os_memset(ptr noundef nonnull %103, i32 noundef 0, i64 noundef %144) #3 %146 = call i32 @os_free(ptr noundef nonnull %103) #3 %147 = call i32 @tlsv1_client_free_dh(ptr noundef nonnull %0) #3 br label %148 148: ; preds = %143, %136, %121, %105, %88, %70, %54, %18, %9 %149 = phi i32 [ -1, %9 ], [ -1, %18 ], [ -1, %54 ], [ -1, %70 ], [ -1, %88 ], [ -1, %105 ], [ -1, %121 ], [ -1, %136 ], [ 0, %143 ] 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 %149 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @os_malloc(i64 noundef) local_unnamed_addr #2 declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tls_alert(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @random_get_bytes(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @os_free(ptr noundef) local_unnamed_addr #2 declare i64 @os_memcmp(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @wpa_hexdump_key(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @crypto_mod_exp(i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wpa_hexdump(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @WPA_PUT_BE16(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @os_memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @os_memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @tls_derive_keys(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @tlsv1_client_free_dh(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 = !{!"tlsv1_client", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!7, !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!6, !10, i64 24} !17 = !{!6, !10, i64 20} !18 = !{!19, !19, i64 0} !19 = !{!"any pointer", !8, i64 0} !20 = !{!6, !10, i64 16} !21 = !{!6, !10, i64 12}
; ModuleID = 'AnghaBench/esp-idf/components/wpa_supplicant/src/tls/extr_tlsv1_client_write.c_tlsv1_key_x_anon_dh.c' source_filename = "AnghaBench/esp-idf/components/wpa_supplicant/src/tls/extr_tlsv1_client_write.c_tlsv1_key_x_anon_dh.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MSG_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"TLSv1: Failed to allocate memory for Yc (Diffie-Hellman)\00", align 1 @TLS_ALERT_LEVEL_FATAL = common local_unnamed_addr global i32 0, align 4 @TLS_ALERT_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [52 x i8] c"TLSv1: Failed to get random data for Diffie-Hellman\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"TLSv1: DH client's secret value\00", align 1 @.str.3 = private unnamed_addr constant [52 x i8] c"TLSv1: Failed to allocate memory for Diffie-Hellman\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"TLSv1: DH Yc (client's public value)\00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"TLSv1: Not enough room in the message buffer for Yc\00", align 1 @.str.6 = private unnamed_addr constant [40 x i8] c"TLSv1: Could not allocate memory for DH\00", align 1 @.str.7 = private unnamed_addr constant [42 x i8] c"TLSv1: Shared secret from DH key exchange\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"TLSv1: Failed to derive keys\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @tlsv1_key_x_anon_dh], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @tlsv1_key_x_anon_dh(ptr noundef %0, ptr nocapture noundef %1, ptr noundef readnone %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = load i64, ptr %0, align 8, !tbaa !6 %7 = tail call ptr @os_malloc(i64 noundef %6) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %15 9: ; preds = %3 %10 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !12 %11 = tail call i32 @wpa_printf(i32 noundef %10, ptr noundef nonnull @.str) #3 %12 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !12 %13 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !12 %14 = tail call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %13) #3 br label %148 15: ; preds = %3 %16 = tail call i64 @random_get_bytes(ptr noundef nonnull %7, i64 noundef %6) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %25, label %18 18: ; preds = %15 %19 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !12 %20 = tail call i32 @wpa_printf(i32 noundef %19, ptr noundef nonnull @.str.1) #3 %21 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !12 %22 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !12 %23 = tail call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %21, i32 noundef %22) #3 %24 = tail call i32 @os_free(ptr noundef nonnull %7) #3 br label %148 25: ; preds = %15 %26 = getelementptr inbounds i8, ptr %0, i64 8 %27 = load i32, ptr %26, align 8, !tbaa !13 %28 = tail call i64 @os_memcmp(ptr noundef nonnull %7, i32 noundef %27, i64 noundef %6) #3 %29 = icmp sgt i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %25 store i64 0, ptr %7, align 8, !tbaa !14 br label %31 31: ; preds = %30, %25 %32 = icmp ugt i64 %6, 1 br i1 %32, label %33, label %46 33: ; preds = %31 %34 = shl i64 %6, 3 %35 = getelementptr i8, ptr %7, i64 %34 %36 = getelementptr i8, ptr %35, i64 -8 br label %37 37: ; preds = %33, %42 %38 = phi i64 [ %44, %42 ], [ %6, %33 ] %39 = phi ptr [ %43, %42 ], [ %7, %33 ] %40 = load i64, ptr %39, align 8, !tbaa !14 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %46 42: ; preds = %37 %43 = getelementptr inbounds i8, ptr %39, i64 8 %44 = add i64 %38, -1 %45 = icmp ugt i64 %44, 1 br i1 %45, label %37, label %46, !llvm.loop !15 46: ; preds = %37, %42, %31 %47 = phi ptr [ %7, %31 ], [ %36, %42 ], [ %39, %37 ] %48 = phi i64 [ %6, %31 ], [ 1, %42 ], [ %38, %37 ] %49 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !12 %50 = tail call i32 @wpa_hexdump_key(i32 noundef %49, ptr noundef nonnull @.str.2, ptr noundef nonnull %47, i64 noundef %48) #3 %51 = load i64, ptr %0, align 8, !tbaa !6 store i64 %51, ptr %4, align 8, !tbaa !14 %52 = tail call ptr @os_malloc(i64 noundef %51) #3 %53 = icmp eq ptr %52, null br i1 %53, label %54, label %61 54: ; preds = %46 %55 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !12 %56 = tail call i32 @wpa_printf(i32 noundef %55, ptr noundef nonnull @.str.3) #3 %57 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !12 %58 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !12 %59 = tail call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %58) #3 %60 = tail call i32 @os_free(ptr noundef nonnull %7) #3 br label %148 61: ; preds = %46 %62 = getelementptr inbounds i8, ptr %0, i64 24 %63 = load i32, ptr %62, align 8, !tbaa !17 %64 = getelementptr inbounds i8, ptr %0, i64 20 %65 = load i32, ptr %64, align 4, !tbaa !18 %66 = load i32, ptr %26, align 8, !tbaa !13 %67 = load i64, ptr %0, align 8, !tbaa !6 %68 = call i64 @crypto_mod_exp(i32 noundef %63, i32 noundef %65, ptr noundef nonnull %47, i64 noundef %48, i32 noundef %66, i64 noundef %67, ptr noundef nonnull %52, ptr noundef nonnull %4) #3 %69 = icmp eq i64 %68, 0 br i1 %69, label %76, label %70 70: ; preds = %61 %71 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !12 %72 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !12 %73 = call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %71, i32 noundef %72) #3 %74 = call i32 @os_free(ptr noundef nonnull %7) #3 %75 = call i32 @os_free(ptr noundef nonnull %52) #3 br label %148 76: ; preds = %61 %77 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !12 %78 = load i64, ptr %4, align 8, !tbaa !14 %79 = call i32 @wpa_hexdump(i32 noundef %77, ptr noundef nonnull @.str.4, ptr noundef nonnull %52, i64 noundef %78) #3 %80 = load ptr, ptr %1, align 8, !tbaa !19 %81 = load i64, ptr %4, align 8, !tbaa !14 %82 = call i32 @WPA_PUT_BE16(ptr noundef %80, i64 noundef %81) #3 %83 = load ptr, ptr %1, align 8, !tbaa !19 %84 = getelementptr inbounds i8, ptr %83, i64 16 store ptr %84, ptr %1, align 8, !tbaa !19 %85 = load i64, ptr %4, align 8, !tbaa !14 %86 = getelementptr inbounds i64, ptr %84, i64 %85 %87 = icmp ugt ptr %86, %2 br i1 %87, label %88, label %96 88: ; preds = %76 %89 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !12 %90 = call i32 @wpa_printf(i32 noundef %89, ptr noundef nonnull @.str.5) #3 %91 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !12 %92 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !12 %93 = call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %91, i32 noundef %92) #3 %94 = call i32 @os_free(ptr noundef nonnull %7) #3 %95 = call i32 @os_free(ptr noundef nonnull %52) #3 br label %148 96: ; preds = %76 %97 = call i32 @os_memcpy(ptr noundef nonnull %84, ptr noundef nonnull %52, i64 noundef %85) #3 %98 = load i64, ptr %4, align 8, !tbaa !14 %99 = load ptr, ptr %1, align 8, !tbaa !19 %100 = getelementptr inbounds i64, ptr %99, i64 %98 store ptr %100, ptr %1, align 8, !tbaa !19 %101 = call i32 @os_free(ptr noundef nonnull %52) #3 %102 = load i64, ptr %0, align 8, !tbaa !6 store i64 %102, ptr %5, align 8, !tbaa !14 %103 = call ptr @os_malloc(i64 noundef %102) #3 %104 = icmp eq ptr %103, null br i1 %104, label %105, label %112 105: ; preds = %96 %106 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !12 %107 = call i32 @wpa_printf(i32 noundef %106, ptr noundef nonnull @.str.6) #3 %108 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !12 %109 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !12 %110 = call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %108, i32 noundef %109) #3 %111 = call i32 @os_free(ptr noundef nonnull %7) #3 br label %148 112: ; preds = %96 %113 = getelementptr inbounds i8, ptr %0, i64 16 %114 = load i32, ptr %113, align 8, !tbaa !21 %115 = getelementptr inbounds i8, ptr %0, i64 12 %116 = load i32, ptr %115, align 4, !tbaa !22 %117 = load i32, ptr %26, align 8, !tbaa !13 %118 = load i64, ptr %0, align 8, !tbaa !6 %119 = call i64 @crypto_mod_exp(i32 noundef %114, i32 noundef %116, ptr noundef nonnull %47, i64 noundef %48, i32 noundef %117, i64 noundef %118, ptr noundef nonnull %103, ptr noundef nonnull %5) #3 %120 = icmp eq i64 %119, 0 br i1 %120, label %127, label %121 121: ; preds = %112 %122 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !12 %123 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !12 %124 = call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %122, i32 noundef %123) #3 %125 = call i32 @os_free(ptr noundef nonnull %7) #3 %126 = call i32 @os_free(ptr noundef nonnull %103) #3 br label %148 127: ; preds = %112 %128 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !12 %129 = load i64, ptr %5, align 8, !tbaa !14 %130 = call i32 @wpa_hexdump_key(i32 noundef %128, ptr noundef nonnull @.str.7, ptr noundef nonnull %103, i64 noundef %129) #3 %131 = call i32 @os_memset(ptr noundef nonnull %47, i32 noundef 0, i64 noundef %48) #3 %132 = call i32 @os_free(ptr noundef nonnull %7) #3 %133 = load i64, ptr %5, align 8, !tbaa !14 %134 = call i64 @tls_derive_keys(ptr noundef nonnull %0, ptr noundef nonnull %103, i64 noundef %133) #3 %135 = icmp eq i64 %134, 0 br i1 %135, label %143, label %136 136: ; preds = %127 %137 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !12 %138 = call i32 @wpa_printf(i32 noundef %137, ptr noundef nonnull @.str.8) #3 %139 = load i32, ptr @TLS_ALERT_LEVEL_FATAL, align 4, !tbaa !12 %140 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !12 %141 = call i32 @tls_alert(ptr noundef nonnull %0, i32 noundef %139, i32 noundef %140) #3 %142 = call i32 @os_free(ptr noundef nonnull %103) #3 br label %148 143: ; preds = %127 %144 = load i64, ptr %5, align 8, !tbaa !14 %145 = call i32 @os_memset(ptr noundef nonnull %103, i32 noundef 0, i64 noundef %144) #3 %146 = call i32 @os_free(ptr noundef nonnull %103) #3 %147 = call i32 @tlsv1_client_free_dh(ptr noundef nonnull %0) #3 br label %148 148: ; preds = %143, %136, %121, %105, %88, %70, %54, %18, %9 %149 = phi i32 [ -1, %9 ], [ -1, %18 ], [ -1, %54 ], [ -1, %70 ], [ -1, %88 ], [ -1, %105 ], [ -1, %121 ], [ -1, %136 ], [ 0, %143 ] 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 %149 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @os_malloc(i64 noundef) local_unnamed_addr #2 declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tls_alert(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @random_get_bytes(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @os_free(ptr noundef) local_unnamed_addr #2 declare i64 @os_memcmp(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @wpa_hexdump_key(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @crypto_mod_exp(i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wpa_hexdump(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @WPA_PUT_BE16(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @os_memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @os_memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @tls_derive_keys(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @tlsv1_client_free_dh(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 = !{!"tlsv1_client", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!8, !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!7, !11, i64 24} !18 = !{!7, !11, i64 20} !19 = !{!20, !20, i64 0} !20 = !{!"any pointer", !9, i64 0} !21 = !{!7, !11, i64 16} !22 = !{!7, !11, i64 12}
esp-idf_components_wpa_supplicant_src_tls_extr_tlsv1_client_write.c_tlsv1_key_x_anon_dh
; ModuleID = 'AnghaBench/libgit2/tests/config/extr_memory.c_test_config_memory__multiple_sections.c' source_filename = "AnghaBench/libgit2/tests/config/extr_memory.c_test_config_memory__multiple_sections.c" target datalayout = "e-m:e-p270:32:32-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 [38 x i8] c"[general]\0Afoo=bar\0A\0A[other]\0Akey=value\0A\00", align 1 @backend = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"general.foo\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"bar\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"other.key\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"value\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @test_config_memory__multiple_sections() local_unnamed_addr #0 { %1 = tail call i32 @setup_backend(ptr noundef nonnull @.str) #2 %2 = load i32, ptr @backend, align 4, !tbaa !5 %3 = tail call i32 @assert_config_contains(i32 noundef %2, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #2 %4 = load i32, ptr @backend, align 4, !tbaa !5 %5 = tail call i32 @assert_config_contains(i32 noundef %4, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4) #2 ret void } declare i32 @setup_backend(ptr noundef) local_unnamed_addr #1 declare i32 @assert_config_contains(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/libgit2/tests/config/extr_memory.c_test_config_memory__multiple_sections.c' source_filename = "AnghaBench/libgit2/tests/config/extr_memory.c_test_config_memory__multiple_sections.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 [38 x i8] c"[general]\0Afoo=bar\0A\0A[other]\0Akey=value\0A\00", align 1 @backend = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"general.foo\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"bar\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"other.key\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"value\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_config_memory__multiple_sections() local_unnamed_addr #0 { %1 = tail call i32 @setup_backend(ptr noundef nonnull @.str) #2 %2 = load i32, ptr @backend, align 4, !tbaa !6 %3 = tail call i32 @assert_config_contains(i32 noundef %2, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #2 %4 = load i32, ptr @backend, align 4, !tbaa !6 %5 = tail call i32 @assert_config_contains(i32 noundef %4, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4) #2 ret void } declare i32 @setup_backend(ptr noundef) local_unnamed_addr #1 declare i32 @assert_config_contains(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
libgit2_tests_config_extr_memory.c_test_config_memory__multiple_sections
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgb/extr_ixgb_main.c_ixgb_setup_tx_resources.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgb/extr_ixgb_main.c_ixgb_setup_tx_resources.c" target datalayout = "e-m:e-p270:32:32-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.ixgb_adapter = type { ptr, %struct.ixgb_desc_ring } %struct.ixgb_desc_ring = type { i32, i32, i64, i64, i32, i32, i32 } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ixgb_setup_tx_resources(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.ixgb_adapter, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr %2, align 8, !tbaa !13 %5 = shl i32 %4, 2 %6 = tail call i32 @vzalloc(i32 noundef %5) #3 %7 = getelementptr inbounds %struct.ixgb_adapter, ptr %0, i64 0, i32 1, i32 4 store i32 %6, ptr %7, align 8, !tbaa !14 %8 = icmp eq i32 %6, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %11 = sub nsw i32 0, %10 br label %29 12: ; preds = %1 %13 = load i32, ptr %2, align 8, !tbaa !13 %14 = shl i32 %13, 2 %15 = getelementptr inbounds %struct.ixgb_adapter, ptr %0, i64 0, i32 1, i32 1 store i32 %14, ptr %15, align 4, !tbaa !16 %16 = tail call i32 @ALIGN(i32 noundef %14, i32 noundef 4096) #3 store i32 %16, ptr %15, align 4, !tbaa !16 %17 = getelementptr inbounds %struct.ixgb_adapter, ptr %0, i64 0, i32 1, i32 6 %18 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !15 %19 = tail call i32 @dma_alloc_coherent(ptr noundef %3, i32 noundef %16, ptr noundef nonnull %17, i32 noundef %18) #3 %20 = getelementptr inbounds %struct.ixgb_adapter, ptr %0, i64 0, i32 1, i32 5 store i32 %19, ptr %20, align 4, !tbaa !17 %21 = icmp eq i32 %19, 0 br i1 %21, label %22, label %27 22: ; preds = %12 %23 = load i32, ptr %7, align 8, !tbaa !14 %24 = tail call i32 @vfree(i32 noundef %23) #3 %25 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %26 = sub nsw i32 0, %25 br label %29 27: ; preds = %12 %28 = getelementptr inbounds %struct.ixgb_adapter, ptr %0, i64 0, i32 1, i32 2 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %28, i8 0, i64 16, i1 false) br label %29 29: ; preds = %27, %22, %9 %30 = phi i32 [ 0, %27 ], [ %26, %22 ], [ %11, %9 ] ret i32 %30 } declare i32 @vzalloc(i32 noundef) local_unnamed_addr #1 declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_alloc_coherent(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vfree(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ixgb_adapter", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"ixgb_desc_ring", !11, i64 0, !11, i64 4, !12, i64 8, !12, i64 16, !11, i64 24, !11, i64 28, !11, i64 32} !11 = !{!"int", !8, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!10, !11, i64 0} !14 = !{!10, !11, i64 24} !15 = !{!11, !11, i64 0} !16 = !{!10, !11, i64 4} !17 = !{!10, !11, i64 28}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgb/extr_ixgb_main.c_ixgb_setup_tx_resources.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgb/extr_ixgb_main.c_ixgb_setup_tx_resources.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOMEM = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @ixgb_setup_tx_resources(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr %2, align 8, !tbaa !14 %5 = shl i32 %4, 2 %6 = tail call i32 @vzalloc(i32 noundef %5) #3 %7 = getelementptr inbounds i8, ptr %0, i64 32 store i32 %6, ptr %7, align 8, !tbaa !15 %8 = icmp eq i32 %6, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %11 = sub nsw i32 0, %10 br label %29 12: ; preds = %1 %13 = load i32, ptr %2, align 8, !tbaa !14 %14 = shl i32 %13, 2 %15 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %14, ptr %15, align 4, !tbaa !17 %16 = tail call i32 @ALIGN(i32 noundef %14, i32 noundef 4096) #3 store i32 %16, ptr %15, align 4, !tbaa !17 %17 = getelementptr inbounds i8, ptr %0, i64 40 %18 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16 %19 = tail call i32 @dma_alloc_coherent(ptr noundef %3, i32 noundef %16, ptr noundef nonnull %17, i32 noundef %18) #3 %20 = getelementptr inbounds i8, ptr %0, i64 36 store i32 %19, ptr %20, align 4, !tbaa !18 %21 = icmp eq i32 %19, 0 br i1 %21, label %22, label %27 22: ; preds = %12 %23 = load i32, ptr %7, align 8, !tbaa !15 %24 = tail call i32 @vfree(i32 noundef %23) #3 %25 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %26 = sub nsw i32 0, %25 br label %29 27: ; preds = %12 %28 = getelementptr inbounds i8, ptr %0, i64 16 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %28, i8 0, i64 16, i1 false) br label %29 29: ; preds = %27, %22, %9 %30 = phi i32 [ 0, %27 ], [ %26, %22 ], [ %11, %9 ] ret i32 %30 } declare i32 @vzalloc(i32 noundef) local_unnamed_addr #1 declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_alloc_coherent(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vfree(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ixgb_adapter", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"ixgb_desc_ring", !12, i64 0, !12, i64 4, !13, i64 8, !13, i64 16, !12, i64 24, !12, i64 28, !12, i64 32} !12 = !{!"int", !9, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!11, !12, i64 0} !15 = !{!11, !12, i64 24} !16 = !{!12, !12, i64 0} !17 = !{!11, !12, i64 4} !18 = !{!11, !12, i64 28}
linux_drivers_net_ethernet_intel_ixgb_extr_ixgb_main.c_ixgb_setup_tx_resources
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/console/extr_mdacon.c_mdacon_switch.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/console/extr_mdacon.c_mdacon_switch.c" target datalayout = "e-m:e-p270:32:32-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 @mdacon_switch], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @mdacon_switch(ptr nocapture readnone %0) #0 { ret i32 1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/video/console/extr_mdacon.c_mdacon_switch.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/console/extr_mdacon.c_mdacon_switch.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 @mdacon_switch], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @mdacon_switch(ptr nocapture readnone %0) #0 { ret i32 1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_video_console_extr_mdacon.c_mdacon_switch
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/genet/extr_bcmgenet.c_bcmgenet_get_coalesce.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/genet/extr_bcmgenet.c_bcmgenet_get_coalesce.c" target datalayout = "e-m:e-p270:32:32-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.ethtool_coalesce = type { i32, i32, i32, i32 } %struct.bcmgenet_priv = type { ptr, ptr } %struct.bcmgenet_rx_ring = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } @DESC_INDEX = dso_local local_unnamed_addr global i64 0, align 8 @DMA_MBUF_DONE_THRESH = dso_local local_unnamed_addr global i32 0, align 4 @DMA_RING16_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bcmgenet_get_coalesce], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @bcmgenet_get_coalesce(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #3 %4 = load i64, ptr @DESC_INDEX, align 8, !tbaa !5 %5 = load i32, ptr @DMA_MBUF_DONE_THRESH, align 4, !tbaa !9 %6 = tail call i32 @bcmgenet_tdma_ring_readl(ptr noundef %3, i64 noundef %4, i32 noundef %5) #3 %7 = getelementptr inbounds %struct.ethtool_coalesce, ptr %1, i64 0, i32 3 store i32 %6, ptr %7, align 4, !tbaa !11 %8 = load i64, ptr @DESC_INDEX, align 8, !tbaa !5 %9 = load i32, ptr @DMA_MBUF_DONE_THRESH, align 4, !tbaa !9 %10 = tail call i32 @bcmgenet_rdma_ring_readl(ptr noundef %3, i64 noundef %8, i32 noundef %9) #3 %11 = getelementptr inbounds %struct.ethtool_coalesce, ptr %1, i64 0, i32 2 store i32 %10, ptr %11, align 4, !tbaa !13 %12 = load i32, ptr @DMA_RING16_TIMEOUT, align 4, !tbaa !9 %13 = tail call i32 @bcmgenet_rdma_readl(ptr noundef %3, i32 noundef %12) #3 %14 = shl nsw i32 %13, 13 %15 = sdiv i32 %14, 1000 store i32 %15, ptr %1, align 4, !tbaa !14 %16 = getelementptr inbounds %struct.bcmgenet_priv, ptr %3, i64 0, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !15 %18 = load i32, ptr %17, align 4, !tbaa !18 %19 = icmp eq i32 %18, 0 %20 = load ptr, ptr %3, align 8, !tbaa !20 %21 = getelementptr inbounds %struct.ethtool_coalesce, ptr %1, i64 0, i32 1 %22 = load i32, ptr %21, align 4, !tbaa !21 br i1 %19, label %56, label %23 23: ; preds = %2 %24 = zext i32 %18 to i64 %25 = icmp ult i32 %18, 8 br i1 %25, label %45, label %26 26: ; preds = %23 %27 = and i64 %24, 4294967288 %28 = insertelement <4 x i32> <i32 poison, i32 0, i32 0, i32 0>, i32 %22, i64 0 br label %29 29: ; preds = %29, %26 %30 = phi i64 [ 0, %26 ], [ %39, %29 ] %31 = phi <4 x i32> [ %28, %26 ], [ %37, %29 ] %32 = phi <4 x i32> [ zeroinitializer, %26 ], [ %38, %29 ] %33 = getelementptr inbounds %struct.bcmgenet_rx_ring, ptr %20, i64 %30 %34 = getelementptr inbounds i32, ptr %33, i64 4 %35 = load <4 x i32>, ptr %33, align 4, !tbaa !22 %36 = load <4 x i32>, ptr %34, align 4, !tbaa !22 %37 = or <4 x i32> %31, %35 %38 = or <4 x i32> %32, %36 %39 = add nuw i64 %30, 8 %40 = icmp eq i64 %39, %27 br i1 %40, label %41, label %29, !llvm.loop !25 41: ; preds = %29 %42 = or <4 x i32> %38, %37 %43 = tail call i32 @llvm.vector.reduce.or.v4i32(<4 x i32> %42) %44 = icmp eq i64 %27, %24 br i1 %44, label %56, label %45 45: ; preds = %23, %41 %46 = phi i64 [ 0, %23 ], [ %27, %41 ] %47 = phi i32 [ %22, %23 ], [ %43, %41 ] br label %48 48: ; preds = %45, %48 %49 = phi i64 [ %54, %48 ], [ %46, %45 ] %50 = phi i32 [ %53, %48 ], [ %47, %45 ] %51 = getelementptr inbounds %struct.bcmgenet_rx_ring, ptr %20, i64 %49 %52 = load i32, ptr %51, align 4, !tbaa !22 %53 = or i32 %50, %52 %54 = add nuw nsw i64 %49, 1 %55 = icmp eq i64 %54, %24 br i1 %55, label %56, label %48, !llvm.loop !29 56: ; preds = %48, %41, %2 %57 = phi i32 [ %22, %2 ], [ %43, %41 ], [ %53, %48 ] %58 = load i64, ptr @DESC_INDEX, align 8, !tbaa !5 %59 = getelementptr inbounds %struct.bcmgenet_rx_ring, ptr %20, i64 %58 %60 = load i32, ptr %59, align 4, !tbaa !22 %61 = getelementptr inbounds %struct.ethtool_coalesce, ptr %1, i64 0, i32 1 %62 = or i32 %57, %60 store i32 %62, ptr %61, align 4, !tbaa !21 ret i32 0 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @bcmgenet_tdma_ring_readl(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bcmgenet_rdma_ring_readl(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bcmgenet_rdma_readl(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.or.v4i32(<4 x i32>) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 12} !12 = !{!"ethtool_coalesce", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12} !13 = !{!12, !10, i64 8} !14 = !{!12, !10, i64 0} !15 = !{!16, !17, i64 8} !16 = !{!"bcmgenet_priv", !17, i64 0, !17, i64 8} !17 = !{!"any pointer", !7, i64 0} !18 = !{!19, !10, i64 0} !19 = !{!"TYPE_3__", !10, i64 0} !20 = !{!16, !17, i64 0} !21 = !{!12, !10, i64 4} !22 = !{!23, !10, i64 0} !23 = !{!"bcmgenet_rx_ring", !24, i64 0} !24 = !{!"TYPE_4__", !10, i64 0} !25 = distinct !{!25, !26, !27, !28} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!"llvm.loop.isvectorized", i32 1} !28 = !{!"llvm.loop.unroll.runtime.disable"} !29 = distinct !{!29, !26, !28, !27}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/genet/extr_bcmgenet.c_bcmgenet_get_coalesce.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/genet/extr_bcmgenet.c_bcmgenet_get_coalesce.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.bcmgenet_rx_ring = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } @DESC_INDEX = common local_unnamed_addr global i64 0, align 8 @DMA_MBUF_DONE_THRESH = common local_unnamed_addr global i32 0, align 4 @DMA_RING16_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bcmgenet_get_coalesce], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @bcmgenet_get_coalesce(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #3 %4 = load i64, ptr @DESC_INDEX, align 8, !tbaa !6 %5 = load i32, ptr @DMA_MBUF_DONE_THRESH, align 4, !tbaa !10 %6 = tail call i32 @bcmgenet_tdma_ring_readl(ptr noundef %3, i64 noundef %4, i32 noundef %5) #3 %7 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %6, ptr %7, align 4, !tbaa !12 %8 = load i64, ptr @DESC_INDEX, align 8, !tbaa !6 %9 = load i32, ptr @DMA_MBUF_DONE_THRESH, align 4, !tbaa !10 %10 = tail call i32 @bcmgenet_rdma_ring_readl(ptr noundef %3, i64 noundef %8, i32 noundef %9) #3 %11 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %10, ptr %11, align 4, !tbaa !14 %12 = load i32, ptr @DMA_RING16_TIMEOUT, align 4, !tbaa !10 %13 = tail call i32 @bcmgenet_rdma_readl(ptr noundef %3, i32 noundef %12) #3 %14 = shl nsw i32 %13, 13 %15 = sdiv i32 %14, 1000 store i32 %15, ptr %1, align 4, !tbaa !15 %16 = getelementptr inbounds i8, ptr %3, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !16 %18 = load i32, ptr %17, align 4, !tbaa !19 %19 = icmp eq i32 %18, 0 %20 = load ptr, ptr %3, align 8, !tbaa !21 %21 = getelementptr inbounds i8, ptr %1, i64 4 %22 = load i32, ptr %21, align 4, !tbaa !22 br i1 %19, label %66, label %23 23: ; preds = %2 %24 = zext i32 %18 to i64 %25 = icmp ult i32 %18, 16 br i1 %25, label %55, label %26 26: ; preds = %23 %27 = and i64 %24, 4294967280 %28 = insertelement <4 x i32> <i32 poison, i32 0, i32 0, i32 0>, i32 %22, i64 0 br label %29 29: ; preds = %29, %26 %30 = phi i64 [ 0, %26 ], [ %47, %29 ] %31 = phi <4 x i32> [ %28, %26 ], [ %43, %29 ] %32 = phi <4 x i32> [ zeroinitializer, %26 ], [ %44, %29 ] %33 = phi <4 x i32> [ zeroinitializer, %26 ], [ %45, %29 ] %34 = phi <4 x i32> [ zeroinitializer, %26 ], [ %46, %29 ] %35 = getelementptr inbounds %struct.bcmgenet_rx_ring, ptr %20, i64 %30 %36 = getelementptr inbounds i8, ptr %35, i64 16 %37 = getelementptr inbounds i8, ptr %35, i64 32 %38 = getelementptr inbounds i8, ptr %35, i64 48 %39 = load <4 x i32>, ptr %35, align 4, !tbaa !23 %40 = load <4 x i32>, ptr %36, align 4, !tbaa !23 %41 = load <4 x i32>, ptr %37, align 4, !tbaa !23 %42 = load <4 x i32>, ptr %38, align 4, !tbaa !23 %43 = or <4 x i32> %31, %39 %44 = or <4 x i32> %32, %40 %45 = or <4 x i32> %33, %41 %46 = or <4 x i32> %34, %42 %47 = add nuw i64 %30, 16 %48 = icmp eq i64 %47, %27 br i1 %48, label %49, label %29, !llvm.loop !26 49: ; preds = %29 %50 = or <4 x i32> %44, %43 %51 = or <4 x i32> %45, %50 %52 = or <4 x i32> %46, %51 %53 = tail call i32 @llvm.vector.reduce.or.v4i32(<4 x i32> %52) %54 = icmp eq i64 %27, %24 br i1 %54, label %66, label %55 55: ; preds = %49, %23 %56 = phi i64 [ 0, %23 ], [ %27, %49 ] %57 = phi i32 [ %22, %23 ], [ %53, %49 ] br label %58 58: ; preds = %55, %58 %59 = phi i64 [ %64, %58 ], [ %56, %55 ] %60 = phi i32 [ %63, %58 ], [ %57, %55 ] %61 = getelementptr inbounds %struct.bcmgenet_rx_ring, ptr %20, i64 %59 %62 = load i32, ptr %61, align 4, !tbaa !23 %63 = or i32 %60, %62 %64 = add nuw nsw i64 %59, 1 %65 = icmp eq i64 %64, %24 br i1 %65, label %66, label %58, !llvm.loop !30 66: ; preds = %58, %49, %2 %67 = phi i32 [ %22, %2 ], [ %53, %49 ], [ %63, %58 ] %68 = load i64, ptr @DESC_INDEX, align 8, !tbaa !6 %69 = getelementptr inbounds %struct.bcmgenet_rx_ring, ptr %20, i64 %68 %70 = load i32, ptr %69, align 4, !tbaa !23 %71 = or i32 %67, %70 store i32 %71, ptr %21, align 4, !tbaa !22 ret i32 0 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @bcmgenet_tdma_ring_readl(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bcmgenet_rdma_ring_readl(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bcmgenet_rdma_readl(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.or.v4i32(<4 x i32>) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 12} !13 = !{!"ethtool_coalesce", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12} !14 = !{!13, !11, i64 8} !15 = !{!13, !11, i64 0} !16 = !{!17, !18, i64 8} !17 = !{!"bcmgenet_priv", !18, i64 0, !18, i64 8} !18 = !{!"any pointer", !8, i64 0} !19 = !{!20, !11, i64 0} !20 = !{!"TYPE_3__", !11, i64 0} !21 = !{!17, !18, i64 0} !22 = !{!13, !11, i64 4} !23 = !{!24, !11, i64 0} !24 = !{!"bcmgenet_rx_ring", !25, i64 0} !25 = !{!"TYPE_4__", !11, i64 0} !26 = distinct !{!26, !27, !28, !29} !27 = !{!"llvm.loop.mustprogress"} !28 = !{!"llvm.loop.isvectorized", i32 1} !29 = !{!"llvm.loop.unroll.runtime.disable"} !30 = distinct !{!30, !27, !29, !28}
linux_drivers_net_ethernet_broadcom_genet_extr_bcmgenet.c_bcmgenet_get_coalesce
; ModuleID = 'AnghaBench/radare2/libr/util/extr_zip.c_gzerr.c' source_filename = "AnghaBench/radare2/libr/util/extr_zip.c_gzerr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"file error\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"stream error\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"data error\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"insufficient memory\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"buffer error\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"incompatible version\00", align 1 @reltable.gzerr = private unnamed_addr constant [7 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.gzerr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.gzerr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.gzerr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.gzerr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.4 to i64), i64 ptrtoint (ptr @reltable.gzerr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.5 to i64), i64 ptrtoint (ptr @reltable.gzerr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.6 to i64), i64 ptrtoint (ptr @reltable.gzerr to i64)) to i32)], align 4 @.str.7 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @gzerr], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal ptr @gzerr(i32 noundef %0) #0 { %2 = add i32 %0, -7 %3 = icmp ult i32 %2, -6 br i1 %3, label %8, label %4 4: ; preds = %1 %5 = zext nneg i32 %0 to i64 %6 = shl i64 %5, 2 %7 = call ptr @llvm.load.relative.i64(ptr @reltable.gzerr, i64 %6) br label %8 8: ; preds = %1, %4 %9 = phi ptr [ %7, %4 ], [ @.str.7, %1 ] ret ptr %9 } ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read) declare ptr @llvm.load.relative.i64(ptr, i64) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/radare2/libr/util/extr_zip.c_gzerr.c' source_filename = "AnghaBench/radare2/libr/util/extr_zip.c_gzerr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"file error\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"stream error\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"data error\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"insufficient memory\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"buffer error\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"incompatible version\00", align 1 @__const.gzerr.errors = private unnamed_addr constant [7 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 8 @.str.7 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @gzerr], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal ptr @gzerr(i32 noundef %0) #0 { %2 = add i32 %0, -7 %3 = icmp ult i32 %2, -6 br i1 %3, label %8, label %4 4: ; preds = %1 %5 = zext nneg i32 %0 to i64 %6 = getelementptr inbounds [7 x ptr], ptr @__const.gzerr.errors, i64 0, i64 %5 %7 = load ptr, ptr %6, align 8, !tbaa !6 br label %8 8: ; preds = %1, %4 %9 = phi ptr [ %7, %4 ], [ @.str.7, %1 ] ret ptr %9 } 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)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
radare2_libr_util_extr_zip.c_gzerr
; ModuleID = 'AnghaBench/exploitdb/exploits/solaris/remote/extr_19669.c_xdr_nm_send_header.c' source_filename = "AnghaBench/exploitdb/exploits/solaris/remote/extr_19669.c_xdr_nm_send_header.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.nm_send_header = type { i32, i32, i32, i32, %struct.TYPE_16__, i32, %struct.TYPE_15__, i32, i32, i32, %struct.TYPE_14__, i32, i32, %struct.TYPE_13__, %struct.TYPE_12__, i32, i32, i32, i32, i32, %struct.TYPE_11__, %struct.TYPE_10__, %struct.TYPE_9__ } %struct.TYPE_16__ = type { i32, i32 } %struct.TYPE_15__ = type { i32, i32 } %struct.TYPE_14__ = type { i32 } %struct.TYPE_13__ = type { i32 } %struct.TYPE_12__ = type { i32 } %struct.TYPE_11__ = type { i32, i32 } %struct.TYPE_10__ = type { i32, i32 } %struct.TYPE_9__ = type { i32, i32 } @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @xdr_nm_send_header(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i64 4, ptr %4, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 22, i32 1 %6 = tail call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %5) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %118, label %8 8: ; preds = %2 %9 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 22 %10 = tail call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %9) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %118, label %12 12: ; preds = %8 %13 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 21, i32 1 %14 = tail call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %13) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %118, label %16 16: ; preds = %12 %17 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 21 %18 = tail call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %118, label %20 20: ; preds = %16 %21 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 20, i32 1 %22 = tail call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %21) #3 %23 = icmp eq i32 %22, 0 br i1 %23, label %118, label %24 24: ; preds = %20 %25 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 20 %26 = tail call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %25) #3 %27 = icmp eq i32 %26, 0 br i1 %27, label %118, label %28 28: ; preds = %24 %29 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 19 %30 = tail call i32 @xdr_u_int(ptr noundef %0, ptr noundef nonnull %29) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %118, label %32 32: ; preds = %28 %33 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 18 %34 = tail call i32 @xdr_u_int(ptr noundef %0, ptr noundef nonnull %33) #3 %35 = icmp eq i32 %34, 0 br i1 %35, label %118, label %36 36: ; preds = %32 %37 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 17 %38 = tail call i32 @xdr_u_int(ptr noundef %0, ptr noundef nonnull %37) #3 %39 = icmp eq i32 %38, 0 br i1 %39, label %118, label %40 40: ; preds = %36 %41 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 16 %42 = tail call i32 @xdr_u_int(ptr noundef %0, ptr noundef nonnull %41) #3 %43 = icmp eq i32 %42, 0 br i1 %43, label %118, label %44 44: ; preds = %40 %45 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 15 %46 = tail call i32 @xdr_u_int(ptr noundef %0, ptr noundef nonnull %45) #3 %47 = icmp eq i32 %46, 0 br i1 %47, label %118, label %48 48: ; preds = %44 %49 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 14 store ptr %49, ptr %3, align 8, !tbaa !9 %50 = call i32 @xdr_bytes(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 4) #3 %51 = icmp eq i32 %50, 0 br i1 %51, label %118, label %52 52: ; preds = %48 %53 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 13 store ptr %53, ptr %3, align 8, !tbaa !9 %54 = load i64, ptr %4, align 8, !tbaa !5 %55 = call i32 @xdr_bytes(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef %54) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %118, label %57 57: ; preds = %52 %58 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 12 %59 = call i32 @xdr_u_long(ptr noundef %0, ptr noundef nonnull %58) #3 %60 = icmp eq i32 %59, 0 br i1 %60, label %118, label %61 61: ; preds = %57 %62 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 11 %63 = call i32 @xdr_u_long(ptr noundef %0, ptr noundef nonnull %62) #3 %64 = icmp eq i32 %63, 0 br i1 %64, label %118, label %65 65: ; preds = %61 %66 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 10 store ptr %66, ptr %3, align 8, !tbaa !9 %67 = load i64, ptr %4, align 8, !tbaa !5 %68 = call i32 @xdr_bytes(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef %67) #3 %69 = icmp eq i32 %68, 0 br i1 %69, label %118, label %70 70: ; preds = %65 %71 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 9 %72 = call i32 @xdr_u_long(ptr noundef %0, ptr noundef nonnull %71) #3 %73 = icmp eq i32 %72, 0 br i1 %73, label %118, label %74 74: ; preds = %70 %75 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 8 %76 = call i32 @xdr_u_long(ptr noundef %0, ptr noundef nonnull %75) #3 %77 = icmp eq i32 %76, 0 br i1 %77, label %118, label %78 78: ; preds = %74 %79 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 7 %80 = call i32 @xdr_u_long(ptr noundef %0, ptr noundef nonnull %79) #3 %81 = icmp eq i32 %80, 0 br i1 %81, label %118, label %82 82: ; preds = %78 %83 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 6, i32 1 %84 = call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %83) #3 %85 = icmp eq i32 %84, 0 br i1 %85, label %118, label %86 86: ; preds = %82 %87 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 6 %88 = call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %87) #3 %89 = icmp eq i32 %88, 0 br i1 %89, label %118, label %90 90: ; preds = %86 %91 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 5 %92 = call i32 @xdr_u_int(ptr noundef %0, ptr noundef nonnull %91) #3 %93 = icmp eq i32 %92, 0 br i1 %93, label %118, label %94 94: ; preds = %90 %95 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 4, i32 1 %96 = call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %95) #3 %97 = icmp eq i32 %96, 0 br i1 %97, label %118, label %98 98: ; preds = %94 %99 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 4 %100 = call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %99) #3 %101 = icmp eq i32 %100, 0 br i1 %101, label %118, label %102 102: ; preds = %98 %103 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 3 %104 = call i32 @xdr_wrapstring(ptr noundef %0, ptr noundef nonnull %103) #3 %105 = icmp eq i32 %104, 0 br i1 %105, label %118, label %106 106: ; preds = %102 %107 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 2 %108 = call i32 @xdr_wrapstring(ptr noundef %0, ptr noundef nonnull %107) #3 %109 = icmp eq i32 %108, 0 br i1 %109, label %118, label %110 110: ; preds = %106 %111 = getelementptr inbounds %struct.nm_send_header, ptr %1, i64 0, i32 1 %112 = call i32 @xdr_wrapstring(ptr noundef %0, ptr noundef nonnull %111) #3 %113 = icmp eq i32 %112, 0 br i1 %113, label %118, label %114 114: ; preds = %110 %115 = call i32 @xdr_u_int(ptr noundef %0, ptr noundef %1) #3 %116 = icmp eq i32 %115, 0 %117 = select i1 %116, ptr @FALSE, ptr @TRUE br label %118 118: ; preds = %114, %110, %106, %102, %98, %94, %90, %86, %82, %78, %74, %70, %65, %61, %57, %52, %48, %44, %40, %36, %32, %28, %24, %20, %16, %12, %8, %2 %119 = phi ptr [ @FALSE, %2 ], [ @FALSE, %8 ], [ @FALSE, %12 ], [ @FALSE, %16 ], [ @FALSE, %20 ], [ @FALSE, %24 ], [ @FALSE, %28 ], [ @FALSE, %32 ], [ @FALSE, %36 ], [ @FALSE, %40 ], [ @FALSE, %44 ], [ @FALSE, %48 ], [ @FALSE, %52 ], [ @FALSE, %57 ], [ @FALSE, %61 ], [ @FALSE, %65 ], [ @FALSE, %70 ], [ @FALSE, %74 ], [ @FALSE, %78 ], [ @FALSE, %82 ], [ @FALSE, %86 ], [ @FALSE, %90 ], [ @FALSE, %94 ], [ @FALSE, %98 ], [ @FALSE, %102 ], [ @FALSE, %106 ], [ @FALSE, %110 ], [ %117, %114 ] %120 = load i32, ptr %119, align 4, !tbaa !11 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %120 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @xdr_long(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xdr_u_int(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xdr_bytes(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @xdr_u_long(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xdr_wrapstring(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/exploitdb/exploits/solaris/remote/extr_19669.c_xdr_nm_send_header.c' source_filename = "AnghaBench/exploitdb/exploits/solaris/remote/extr_19669.c_xdr_nm_send_header.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @xdr_nm_send_header(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i64 4, ptr %4, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 108 %6 = tail call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %5) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %118, label %8 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %1, i64 104 %10 = tail call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %9) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %118, label %12 12: ; preds = %8 %13 = getelementptr inbounds i8, ptr %1, i64 100 %14 = tail call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %13) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %118, label %16 16: ; preds = %12 %17 = getelementptr inbounds i8, ptr %1, i64 96 %18 = tail call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %118, label %20 20: ; preds = %16 %21 = getelementptr inbounds i8, ptr %1, i64 92 %22 = tail call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %21) #3 %23 = icmp eq i32 %22, 0 br i1 %23, label %118, label %24 24: ; preds = %20 %25 = getelementptr inbounds i8, ptr %1, i64 88 %26 = tail call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %25) #3 %27 = icmp eq i32 %26, 0 br i1 %27, label %118, label %28 28: ; preds = %24 %29 = getelementptr inbounds i8, ptr %1, i64 84 %30 = tail call i32 @xdr_u_int(ptr noundef %0, ptr noundef nonnull %29) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %118, label %32 32: ; preds = %28 %33 = getelementptr inbounds i8, ptr %1, i64 80 %34 = tail call i32 @xdr_u_int(ptr noundef %0, ptr noundef nonnull %33) #3 %35 = icmp eq i32 %34, 0 br i1 %35, label %118, label %36 36: ; preds = %32 %37 = getelementptr inbounds i8, ptr %1, i64 76 %38 = tail call i32 @xdr_u_int(ptr noundef %0, ptr noundef nonnull %37) #3 %39 = icmp eq i32 %38, 0 br i1 %39, label %118, label %40 40: ; preds = %36 %41 = getelementptr inbounds i8, ptr %1, i64 72 %42 = tail call i32 @xdr_u_int(ptr noundef %0, ptr noundef nonnull %41) #3 %43 = icmp eq i32 %42, 0 br i1 %43, label %118, label %44 44: ; preds = %40 %45 = getelementptr inbounds i8, ptr %1, i64 68 %46 = tail call i32 @xdr_u_int(ptr noundef %0, ptr noundef nonnull %45) #3 %47 = icmp eq i32 %46, 0 br i1 %47, label %118, label %48 48: ; preds = %44 %49 = getelementptr inbounds i8, ptr %1, i64 64 store ptr %49, ptr %3, align 8, !tbaa !10 %50 = call i32 @xdr_bytes(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 4) #3 %51 = icmp eq i32 %50, 0 br i1 %51, label %118, label %52 52: ; preds = %48 %53 = getelementptr inbounds i8, ptr %1, i64 60 store ptr %53, ptr %3, align 8, !tbaa !10 %54 = load i64, ptr %4, align 8, !tbaa !6 %55 = call i32 @xdr_bytes(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef %54) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %118, label %57 57: ; preds = %52 %58 = getelementptr inbounds i8, ptr %1, i64 56 %59 = call i32 @xdr_u_long(ptr noundef %0, ptr noundef nonnull %58) #3 %60 = icmp eq i32 %59, 0 br i1 %60, label %118, label %61 61: ; preds = %57 %62 = getelementptr inbounds i8, ptr %1, i64 52 %63 = call i32 @xdr_u_long(ptr noundef %0, ptr noundef nonnull %62) #3 %64 = icmp eq i32 %63, 0 br i1 %64, label %118, label %65 65: ; preds = %61 %66 = getelementptr inbounds i8, ptr %1, i64 48 store ptr %66, ptr %3, align 8, !tbaa !10 %67 = load i64, ptr %4, align 8, !tbaa !6 %68 = call i32 @xdr_bytes(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef %67) #3 %69 = icmp eq i32 %68, 0 br i1 %69, label %118, label %70 70: ; preds = %65 %71 = getelementptr inbounds i8, ptr %1, i64 44 %72 = call i32 @xdr_u_long(ptr noundef %0, ptr noundef nonnull %71) #3 %73 = icmp eq i32 %72, 0 br i1 %73, label %118, label %74 74: ; preds = %70 %75 = getelementptr inbounds i8, ptr %1, i64 40 %76 = call i32 @xdr_u_long(ptr noundef %0, ptr noundef nonnull %75) #3 %77 = icmp eq i32 %76, 0 br i1 %77, label %118, label %78 78: ; preds = %74 %79 = getelementptr inbounds i8, ptr %1, i64 36 %80 = call i32 @xdr_u_long(ptr noundef %0, ptr noundef nonnull %79) #3 %81 = icmp eq i32 %80, 0 br i1 %81, label %118, label %82 82: ; preds = %78 %83 = getelementptr inbounds i8, ptr %1, i64 32 %84 = call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %83) #3 %85 = icmp eq i32 %84, 0 br i1 %85, label %118, label %86 86: ; preds = %82 %87 = getelementptr inbounds i8, ptr %1, i64 28 %88 = call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %87) #3 %89 = icmp eq i32 %88, 0 br i1 %89, label %118, label %90 90: ; preds = %86 %91 = getelementptr inbounds i8, ptr %1, i64 24 %92 = call i32 @xdr_u_int(ptr noundef %0, ptr noundef nonnull %91) #3 %93 = icmp eq i32 %92, 0 br i1 %93, label %118, label %94 94: ; preds = %90 %95 = getelementptr inbounds i8, ptr %1, i64 20 %96 = call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %95) #3 %97 = icmp eq i32 %96, 0 br i1 %97, label %118, label %98 98: ; preds = %94 %99 = getelementptr inbounds i8, ptr %1, i64 16 %100 = call i32 @xdr_long(ptr noundef %0, ptr noundef nonnull %99) #3 %101 = icmp eq i32 %100, 0 br i1 %101, label %118, label %102 102: ; preds = %98 %103 = getelementptr inbounds i8, ptr %1, i64 12 %104 = call i32 @xdr_wrapstring(ptr noundef %0, ptr noundef nonnull %103) #3 %105 = icmp eq i32 %104, 0 br i1 %105, label %118, label %106 106: ; preds = %102 %107 = getelementptr inbounds i8, ptr %1, i64 8 %108 = call i32 @xdr_wrapstring(ptr noundef %0, ptr noundef nonnull %107) #3 %109 = icmp eq i32 %108, 0 br i1 %109, label %118, label %110 110: ; preds = %106 %111 = getelementptr inbounds i8, ptr %1, i64 4 %112 = call i32 @xdr_wrapstring(ptr noundef %0, ptr noundef nonnull %111) #3 %113 = icmp eq i32 %112, 0 br i1 %113, label %118, label %114 114: ; preds = %110 %115 = call i32 @xdr_u_int(ptr noundef %0, ptr noundef %1) #3 %116 = icmp eq i32 %115, 0 %117 = select i1 %116, ptr @FALSE, ptr @TRUE br label %118 118: ; preds = %114, %110, %106, %102, %98, %94, %90, %86, %82, %78, %74, %70, %65, %61, %57, %52, %48, %44, %40, %36, %32, %28, %24, %20, %16, %12, %8, %2 %119 = phi ptr [ @FALSE, %2 ], [ @FALSE, %8 ], [ @FALSE, %12 ], [ @FALSE, %16 ], [ @FALSE, %20 ], [ @FALSE, %24 ], [ @FALSE, %28 ], [ @FALSE, %32 ], [ @FALSE, %36 ], [ @FALSE, %40 ], [ @FALSE, %44 ], [ @FALSE, %48 ], [ @FALSE, %52 ], [ @FALSE, %57 ], [ @FALSE, %61 ], [ @FALSE, %65 ], [ @FALSE, %70 ], [ @FALSE, %74 ], [ @FALSE, %78 ], [ @FALSE, %82 ], [ @FALSE, %86 ], [ @FALSE, %90 ], [ @FALSE, %94 ], [ @FALSE, %98 ], [ @FALSE, %102 ], [ @FALSE, %106 ], [ @FALSE, %110 ], [ %117, %114 ] %120 = load i32, ptr %119, align 4, !tbaa !12 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %120 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @xdr_long(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xdr_u_int(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xdr_bytes(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @xdr_u_long(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xdr_wrapstring(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
exploitdb_exploits_solaris_remote_extr_19669.c_xdr_nm_send_header
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-zx2967.c_zx2967_i2c_fill_tx_fifo.c' source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-zx2967.c_zx2967_i2c_fill_tx_fifo.c" target datalayout = "e-m:e-p270:32:32-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.zx2967_i2c = type { i64, ptr } @.str = private unnamed_addr constant [15 x i8] c"residue is %d\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @I2C_FIFO_MAX = dso_local local_unnamed_addr global i64 0, align 8 @REG_DATA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @zx2967_i2c_fill_tx_fifo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @zx2967_i2c_fill_tx_fifo(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.zx2967_i2c, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = icmp eq i64 %2, 0 br i1 %5, label %6, label %11 6: ; preds = %1 %7 = tail call i32 @DEV(ptr noundef nonnull %0) #2 %8 = tail call i32 @dev_err(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef 0) #2 %9 = load i32, ptr @EINVAL, align 4, !tbaa !12 %10 = sub nsw i32 0, %9 br label %28 11: ; preds = %1 %12 = load i64, ptr @I2C_FIFO_MAX, align 8, !tbaa !14 %13 = icmp ugt i64 %2, %12 %14 = load i32, ptr @REG_DATA, align 4, !tbaa !12 br i1 %13, label %17, label %15 15: ; preds = %11 %16 = tail call i32 @zx2967_i2c_writesb(ptr noundef nonnull %0, ptr noundef %4, i32 noundef %14, i64 noundef %2) #2 store i64 0, ptr %0, align 8, !tbaa !5 br label %25 17: ; preds = %11 %18 = tail call i32 @zx2967_i2c_writesb(ptr noundef nonnull %0, ptr noundef %4, i32 noundef %14, i64 noundef %12) #2 %19 = load i64, ptr @I2C_FIFO_MAX, align 8, !tbaa !14 %20 = load i64, ptr %0, align 8, !tbaa !5 %21 = sub i64 %20, %19 store i64 %21, ptr %0, align 8, !tbaa !5 %22 = load i64, ptr @I2C_FIFO_MAX, align 8, !tbaa !14 %23 = load ptr, ptr %3, align 8, !tbaa !11 %24 = getelementptr inbounds i32, ptr %23, i64 %22 br label %25 25: ; preds = %17, %15 %26 = phi ptr [ %24, %17 ], [ null, %15 ] store ptr %26, ptr %3, align 8, !tbaa !11 %27 = tail call i32 (...) @barrier() #2 br label %28 28: ; preds = %25, %6 %29 = phi i32 [ %10, %6 ], [ 0, %25 ] ret i32 %29 } declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DEV(ptr noundef) local_unnamed_addr #1 declare i32 @zx2967_i2c_writesb(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @barrier(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"zx2967_i2c", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-zx2967.c_zx2967_i2c_fill_tx_fifo.c' source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-zx2967.c_zx2967_i2c_fill_tx_fifo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [15 x i8] c"residue is %d\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @I2C_FIFO_MAX = common local_unnamed_addr global i64 0, align 8 @REG_DATA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @zx2967_i2c_fill_tx_fifo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @zx2967_i2c_fill_tx_fifo(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !12 %5 = icmp eq i64 %2, 0 br i1 %5, label %6, label %11 6: ; preds = %1 %7 = tail call i32 @DEV(ptr noundef nonnull %0) #2 %8 = tail call i32 @dev_err(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef 0) #2 %9 = load i32, ptr @EINVAL, align 4, !tbaa !13 %10 = sub nsw i32 0, %9 br label %28 11: ; preds = %1 %12 = load i64, ptr @I2C_FIFO_MAX, align 8, !tbaa !15 %13 = icmp ugt i64 %2, %12 %14 = load i32, ptr @REG_DATA, align 4, !tbaa !13 br i1 %13, label %17, label %15 15: ; preds = %11 %16 = tail call i32 @zx2967_i2c_writesb(ptr noundef nonnull %0, ptr noundef %4, i32 noundef %14, i64 noundef %2) #2 store i64 0, ptr %0, align 8, !tbaa !6 br label %25 17: ; preds = %11 %18 = tail call i32 @zx2967_i2c_writesb(ptr noundef nonnull %0, ptr noundef %4, i32 noundef %14, i64 noundef %12) #2 %19 = load i64, ptr @I2C_FIFO_MAX, align 8, !tbaa !15 %20 = load i64, ptr %0, align 8, !tbaa !6 %21 = sub i64 %20, %19 store i64 %21, ptr %0, align 8, !tbaa !6 %22 = load i64, ptr @I2C_FIFO_MAX, align 8, !tbaa !15 %23 = load ptr, ptr %3, align 8, !tbaa !12 %24 = getelementptr inbounds i32, ptr %23, i64 %22 br label %25 25: ; preds = %17, %15 %26 = phi ptr [ %24, %17 ], [ null, %15 ] store ptr %26, ptr %3, align 8, !tbaa !12 %27 = tail call i32 @barrier() #2 br label %28 28: ; preds = %25, %6 %29 = phi i32 [ %10, %6 ], [ 0, %25 ] ret i32 %29 } declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DEV(ptr noundef) local_unnamed_addr #1 declare i32 @zx2967_i2c_writesb(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @barrier(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"zx2967_i2c", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!8, !8, i64 0}
linux_drivers_i2c_busses_extr_i2c-zx2967.c_zx2967_i2c_fill_tx_fifo